/* ============================================================
   TCI Construcciones — Design System
   Verde + tierra · Archivo / Public Sans
   ============================================================ */

:root {
  /* --- Color: verde bosque + tierra cálida --- */
  --green-900: oklch(0.27 0.045 158);
  --green-800: oklch(0.33 0.058 157);
  --green-700: oklch(0.42 0.075 156);
  --green-600: oklch(0.50 0.085 155);
  --green-500: oklch(0.58 0.090 154);
  --green-100: oklch(0.93 0.030 150);
  --green-50:  oklch(0.97 0.016 150);

  --clay-600:  oklch(0.56 0.095 52);   /* terracota / tierra acento */
  --clay-500:  oklch(0.64 0.105 56);
  --clay-100:  oklch(0.93 0.030 60);

  --sand:      oklch(0.94 0.014 78);
  --paper:     oklch(0.985 0.005 85);
  --paper-2:   oklch(0.965 0.008 82);
  --ink:       oklch(0.24 0.012 70);
  --ink-soft:  oklch(0.38 0.012 70);
  --muted:     oklch(0.53 0.010 70);
  --line:      oklch(0.90 0.008 75);
  --line-soft: oklch(0.93 0.006 75);

  --shadow-sm: 0 1px 2px oklch(0.27 0.04 158 / 0.06), 0 1px 3px oklch(0.27 0.04 158 / 0.05);
  --shadow-md: 0 6px 18px oklch(0.27 0.04 158 / 0.08), 0 2px 6px oklch(0.27 0.04 158 / 0.05);
  --shadow-lg: 0 24px 60px oklch(0.27 0.04 158 / 0.14), 0 8px 20px oklch(0.27 0.04 158 / 0.08);

  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 9px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 28px;
}

.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }

/* --- Eyebrow --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--clay-600);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--green-100); }
.eyebrow.center { justify-content: center; }

.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-top: 18px;
}
.section-sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.075rem;
  max-width: 56ch;
}
.section-head.center .section-sub { margin-inline: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --bg: var(--green-700);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--clay { --bg: var(--clay-600); }
.btn--clay:hover { --bg: var(--clay-500); }
.btn--dark { --bg: var(--green-900); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--green-600); color: var(--green-700); box-shadow: none; }
.btn--ghost.on-dark { --fg: #fff; border-color: oklch(1 0 0 / 0.28); }
.btn--ghost.on-dark:hover { border-color: #fff; background: oklch(1 0 0 / 0.06); color: #fff; }

.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   Top bar + Nav
   ============================================================ */
.topbar {
  background: var(--green-900);
  color: oklch(0.92 0.02 150);
  font-size: 0.84rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
}
.topbar .tb-group { display: flex; align-items: center; gap: 22px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar .tb-item svg { width: 14px; height: 14px; opacity: 0.8; }
.topbar a:hover { color: #fff; }
.topbar .tb-strong { color: #fff; font-weight: 700; }

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: oklch(0.985 0.005 85 / 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 20px oklch(0.27 0.04 158 / 0.06);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--green-700);
  display: grid; place-items: center;
  flex: none;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.12);
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-word span {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink-soft);
  position: relative;
  padding-block: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--clay-600);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 0.97rem; color: var(--green-800);
}
.nav-phone svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  z-index: 80;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: 26px;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 70;
  background: oklch(0.2 0.02 158 / 0.4);
  opacity: 0; transition: opacity 0.3s;
}
.mobile-backdrop.open { opacity: 1; }
.mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mm-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.mm-close svg { width: 20px; height: 20px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .mm-foot { margin-top: auto; padding-top: 22px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 50vw; height: 120%;
  background: radial-gradient(ellipse at center, var(--green-50), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(3.5rem, 6vw, 6rem);
  position: relative;
}
.hero-copy { max-width: 600px; }
.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.7rem);
  line-height: 0.98;
  margin-top: 22px;
}
.hero h1 .accent { color: var(--green-700); }
.hero-sub {
  margin-top: 24px;
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 50ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust {
  margin-top: 30px;
  display: flex; align-items: center; gap: 14px;
  font-size: 0.95rem; color: var(--muted);
}
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay-600); }

/* Hero media */
.hero-media { position: relative; }
.hero-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-badge {
  position: absolute;
  left: -22px; bottom: 34px;
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 16px;
}
.hero-badge .big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.7rem;
  line-height: 1;
  color: #fff;
}
.hero-badge .lbl { font-size: 0.85rem; line-height: 1.3; color: oklch(0.9 0.02 150); max-width: 12ch; }

/* Image placeholder */
.ph {
  width: 100%; height: 100%;
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      oklch(0.9 0.02 150) 0 2px,
      transparent 2px 11px),
    linear-gradient(160deg, var(--green-100), var(--sand));
  display: grid; place-items: center;
  color: var(--green-800);
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  background: oklch(1 0 0 / 0.7);
  color: var(--green-800);
  padding: 7px 13px;
  border-radius: 6px;
  border: 1px solid oklch(1 0 0 / 0.6);
  text-align: center;
}

/* ============================================================
   Stat ribbon
   ============================================================ */
.ribbon { background: var(--green-900); color: #fff; }
.ribbon .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ribbon-item {
  padding: 30px 26px;
  border-left: 1px solid oklch(1 0 0 / 0.1);
}
.ribbon-item:first-child { border-left: 0; padding-left: 0; }
.ribbon-item .n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.3rem;
  line-height: 1;
  color: #fff;
}
.ribbon-item .n em { color: var(--clay-500); font-style: normal; }
.ribbon-item .t { margin-top: 10px; font-size: 0.92rem; color: oklch(0.86 0.02 150); }

/* ============================================================
   Services
   ============================================================ */
.svc-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.filter {
  display: inline-flex;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}
.filter button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.filter button[aria-selected="true"] { background: var(--green-700); color: #fff; }

.svc-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.svc-ico {
  width: 54px; height: 54px;
  border-radius: 13px;
  background: var(--green-50);
  display: grid; place-items: center;
  color: var(--green-700);
  margin-bottom: 22px;
}
.svc-ico svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 1.32rem; }
.svc-card p { margin-top: 11px; color: var(--muted); font-size: 0.98rem; }
.svc-tag {
  margin-top: 20px;
  align-self: flex-start;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 6px;
}
.svc-tag.ind { background: var(--green-50); color: var(--green-800); }
.svc-tag.hog { background: var(--clay-100); color: var(--clay-600); }
.svc-card.hide { display: none; }

/* ============================================================
   Audiences split
   ============================================================ */
.aud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.aud {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  color: #fff;
  isolation: isolate;
}
.aud .ph { position: absolute; inset: 0; z-index: -2; }
.aud::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
}
.aud.ind::after { background: linear-gradient(200deg, oklch(0.30 0.05 158 / 0.55), oklch(0.24 0.045 158 / 0.92)); }
.aud.hog::after { background: linear-gradient(200deg, oklch(0.40 0.07 50 / 0.45), oklch(0.26 0.04 55 / 0.92)); }
.aud-body { margin-top: auto; padding: 36px; }
.aud-body .k {
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: oklch(0.9 0.03 150);
}
.aud.hog .aud-body .k { color: var(--clay-100); }
.aud-body h3 { color: #fff; font-size: 1.9rem; margin-top: 12px; }
.aud-body p { margin-top: 12px; color: oklch(0.92 0.01 150); font-size: 1rem; max-width: 38ch; }
.aud-list { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.aud-list li {
  font-size: 0.85rem; font-weight: 600;
  padding: 6px 13px; border-radius: 999px;
  background: oklch(1 0 0 / 0.14);
  border: 1px solid oklch(1 0 0 / 0.18);
}

/* ============================================================
   Projects gallery
   ============================================================ */
.proj-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.proj {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.proj .ph { position: absolute; inset: 0; }
.proj .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(to top, oklch(0.24 0.04 158 / 0.85), transparent);
  color: #fff;
  z-index: 1;
  transform: translateY(8px);
  opacity: 0;
  transition: 0.3s var(--ease);
}
.proj:hover .cap { transform: translateY(0); opacity: 1; }
.proj .cap b { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; display: block; }
.proj .cap span { font-size: 0.82rem; color: oklch(0.88 0.02 150); }
.proj.w2 { grid-column: span 2; }
.proj.w3 { grid-column: span 3; }
.proj.w4 { grid-column: span 4; }
.proj.h2 { grid-row: span 2; }

/* ============================================================
   Process
   ============================================================ */
.proc-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.proc {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--line);
}
.proc::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--clay-600);
  position: absolute;
  top: -2px; left: 0;
  border-top: 2px solid var(--clay-600);
  padding-top: 8px;
}
.proc h3 { font-size: 1.28rem; margin-top: 14px; }
.proc p { margin-top: 10px; color: var(--muted); font-size: 0.96rem; }

/* ============================================================
   Why us
   ============================================================ */
.why { background: var(--green-900); color: #fff; }
.why .section-title, .why h3 { color: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.why-list { display: grid; gap: 8px; }
.why-item {
  display: flex; gap: 18px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.08);
  transition: background 0.25s;
}
.why-item:hover { background: oklch(1 0 0 / 0.07); }
.why-check {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--green-600);
  display: grid; place-items: center;
}
.why-check svg { width: 20px; height: 20px; color: #fff; }
.why-item h3 { font-size: 1.18rem; }
.why-item p { margin-top: 6px; color: oklch(0.85 0.015 150); font-size: 0.95rem; }
.why .section-sub { color: oklch(0.86 0.015 150); }

/* ============================================================
   CTA band
   ============================================================ */
.cta {
  background: var(--clay-600);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, oklch(1 0 0 / 0.05) 0 1px, transparent 1px 16px);
}
.cta .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; position: relative;
}
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 18ch; }
.cta p { margin-top: 10px; color: oklch(0.96 0.02 60); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn--clay { --bg: #fff; --fg: var(--clay-600); }
.cta .btn--clay:hover { --bg: var(--green-900); --fg: #fff; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700; font-size: 0.86rem;
  margin-bottom: 8px; color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px var(--green-50);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.84rem; color: var(--muted); margin-top: 6px; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-800);
  font-weight: 600;
  font-size: 0.95rem;
}
.form-success.show { display: block; }

.contact-info { display: grid; gap: 16px; }
.info-card {
  display: flex; gap: 16px;
  padding: 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.info-ico {
  flex: none; width: 46px; height: 46px;
  border-radius: 11px; background: var(--green-700);
  display: grid; place-items: center; color: #fff;
}
.info-ico svg { width: 22px; height: 22px; }
.info-card .k { font-size: 0.8rem; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.info-card .v { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; margin-top: 4px; }
.info-card .v.small { font-size: 1.02rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--green-900); color: oklch(0.82 0.02 150); padding-block: 64px 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer .logo-word b { color: #fff; }
.footer .logo-word span { color: oklch(0.7 0.02 150); }
.footer-about { margin-top: 20px; font-size: 0.95rem; max-width: 32ch; color: oklch(0.78 0.02 150); }
.footer h4 {
  color: #fff; font-family: var(--font-body); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { display: grid; gap: 11px; }
.footer ul a, .footer ul li { font-size: 0.95rem; color: oklch(0.8 0.02 150); }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  margin-top: 50px; padding-top: 24px;
  border-top: 1px solid oklch(1 0 0 / 0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.86rem; color: oklch(0.66 0.02 150);
}

/* ============================================================
   Reveal animation
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: 0.08s; }
  .reveal.d2 { transition-delay: 0.16s; }
  .reveal.d3 { transition-delay: 0.24s; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: grid; }
  .mobile-menu { display: flex; }
  .mobile-backdrop.open { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; }
  .ribbon .container { grid-template-columns: 1fr 1fr; }
  .ribbon-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .ribbon-item { border-top: 1px solid oklch(1 0 0 / 0.1); }
  .ribbon-item:nth-child(-n+2) { border-top: 0; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .proj.w2, .proj.w3, .proj.w4 { grid-column: span 2; }
  .proj.h2 { grid-row: span 1; }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 20px; }
  .svc-grid { grid-template-columns: 1fr; }
  .ribbon .container { grid-template-columns: 1fr 1fr; }
  .proc-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 0; }
  .topbar .tb-group.secondary { display: none; }
}
