/* ==========================================================================
   AutomaTech Solutions — Design System v4
   Graphite canvas · silver type · blue accent · Satoshi throughout
   ========================================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700,900&f[]=general-sans@400,500,600&display=swap');

:root {
  /* Canvas — graphite */
  --bg:       #0E1116;
  --bg-2:     #12161C;
  --surface:  #171B22;
  --surface-2:#1E232C;
  --raise:    #262C36;

  /* Text — silver */
  --fg:       #DDE3EA;
  --fg-2:     #A8B2BF;
  --fg-3:     #8A94A3;
  --fg-4:     #59626F;

  /* Accent — blue (var names kept so markup stays stable) */
  --lime:     #4D8DF7;
  --lime-dim: #3B78DB;
  --lime-glow:rgba(77,141,247,0.15);
  --sage:     #A8B8CC;

  /* Lines */
  --line:     #232932;
  --line-2:   #323A46;

  --font: 'Satoshi', 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-s:  8px;
  --r:    14px;
  --r-l:  24px;
  --r-xl: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t:    0.4s var(--ease);

  --nav-h: 76px;
  --max:   1280px;
  --gut:   44px;
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 32px); }

body {
  background: var(--bg);
  color: var(--fg-2);
  font-family: var(--font);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--lime); color: #0B0F14; }

/* ── Type ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--fg); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }

.xl { font-size: clamp(2.9rem, 7.4vw, 6.4rem); font-weight: 900; letter-spacing: -0.045em; line-height: 0.94; }
.lg { font-size: clamp(2.1rem, 4.6vw, 3.8rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.0; }
.md { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.022em; line-height: 1.25; }

.hl { color: var(--lime); }
.dim { color: var(--fg-3); }

p { max-width: 66ch; }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--fg-2); line-height: 1.62; font-weight: 400; }

.label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--lime);
}
.label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex: none; }
.label.bare::before { display: none; }
.label.muted { color: var(--fg-3); }
.label.muted::before { background: var(--fg-4); }

/* ── Layout ──────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.wide { max-width: 1560px; }
.section { padding: clamp(86px, 10vw, 156px) 0; }
.tight { padding: clamp(56px, 6vw, 90px) 0; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font);
  font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em;
  padding: 14px 26px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(4px); }

.btn-lime  { background: var(--lime); color: #0B0F14; }
.btn-lime:hover { background: #6BA1F9; }

.btn-line  { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--lime); color: var(--lime); }

.btn-dark  { background: var(--bg); color: var(--fg); }
.btn-dark:hover { background: var(--surface-2); }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.92rem; color: var(--fg);
  transition: color var(--t), gap var(--t);
}
.tlink:hover { color: var(--lime); gap: 13px; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200; height: var(--nav-h);
  background: rgba(14,17,22,0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.nav.scrolled { border-color: var(--line); background: rgba(14,17,22,0.9); }
.nav > .container { max-width: 1560px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 30px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  position: relative; display: block;
  font-size: 0.9rem; font-weight: 500; color: var(--fg-3);
  padding: 8px 14px; border-radius: 100px;
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--fg); background: var(--surface); }
.nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--lime);
}

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--fg); transition: transform var(--t), opacity var(--t); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══ HERO — asymmetric split ═══════════════════════════════════════════ */
.hero { position: relative; padding: clamp(72px, 8vw, 124px) 0 clamp(72px, 8.5vw, 128px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -30%; right: -18%;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, var(--lime-glow), transparent 60%);
  pointer-events: none; filter: blur(10px);
}
.hero > .container { position: relative; max-width: 1560px; }

.hero-grid {
  display: grid; grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(40px, 5vw, 80px); align-items: end;
  padding-bottom: clamp(48px, 6vw, 84px);
}
.hero-copy .xl { margin: 26px 0 0; }
.hero-copy .lede { margin-top: clamp(34px, 3.6vw, 52px); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: clamp(38px, 3.6vw, 52px); }

/* Hero side panel */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 30px 32px 32px;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-bottom: 20px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.panel-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line);
}
.panel-row:last-child { border-bottom: 0; padding-bottom: 0; }
.panel-k { font-size: 0.82rem; color: var(--fg-3); font-weight: 500; }
.panel-v { font-size: 0.95rem; color: var(--fg); font-weight: 600; text-align: right; letter-spacing: -0.02em; }
.panel-v.hl { color: var(--lime); }

/* Ticker */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 46px; padding-right: 46px; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--fg-3); white-space: nowrap;
}
.ticker-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); opacity: 0.55; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ══ STATEMENT band — oversized type ══════════════════════════════════ */
.statement { padding: clamp(90px, 11vw, 170px) 0; }
.statement-text {
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  font-weight: 500; line-height: 1.16; letter-spacing: -0.038em;
  color: var(--fg-3); max-width: 22ch;
}
.statement-text strong { color: var(--fg); font-weight: 700; }
.statement-foot {
  display: flex; flex-wrap: wrap; gap: 32px 60px;
  margin-top: clamp(48px, 6vw, 78px); padding-top: 34px;
  border-top: 1px solid var(--line);
}
.stat-block { flex: 1 1 190px; }
.stat-n { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.045em; color: var(--lime); line-height: 1; }
.stat-l { font-size: 0.86rem; color: var(--fg-3); margin-top: 12px; max-width: 24ch; }

/* ══ INDEXED LIST — differentiators ═══════════════════════════════════ */
.idx-layout { display: grid; grid-template-columns: 340px 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.idx-aside { position: sticky; top: calc(var(--nav-h) + 52px); }
.idx-aside .lg { margin: 22px 0 22px; }

.idx-list { border-top: 1px solid var(--line); }
.idx-row {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 26px; padding: 30px 0 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left var(--t);
}
.idx-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: -1px;
  width: 2px; background: var(--lime);
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t);
}
.idx-row:hover { padding-left: 22px; }
.idx-row:hover::before { transform: scaleY(1); }
.idx-n { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; color: var(--fg-4); padding-top: 5px; transition: color var(--t); }
.idx-row:hover .idx-n { color: var(--lime); }
.idx-row h3 { margin-bottom: 9px; }
.idx-row p { font-size: 0.95rem; color: var(--fg-3); }

/* ══ DIFFERENTIATORS — header on top, ghost-numeral card grid ═════════ */
.diff-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px clamp(40px, 6vw, 90px); align-items: end;
  padding-bottom: clamp(30px, 3.4vw, 44px);
  margin-bottom: clamp(36px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
}
.diff-head .lg { margin: 0; }
.diff-head p { color: var(--fg-3); font-size: 0.97rem; }

.diff-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.diff-card {
  position: relative; overflow: hidden; grid-column: span 2;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: clamp(28px, 3vw, 38px);
  transition: border-color var(--t), background var(--t);
}
.diff-card.wide { grid-column: span 3; }
.diff-card:hover { border-color: var(--line-2); background: var(--surface-2); }
.diff-ghost {
  position: absolute; top: -20px; right: 4px;
  font-size: 6.4rem; font-weight: 900; letter-spacing: -0.06em;
  line-height: 1; color: var(--fg); opacity: 0.055;
  pointer-events: none; transition: color var(--t), opacity var(--t);
}
.diff-card:hover .diff-ghost { color: var(--lime); opacity: 0.2; }
.diff-card h3 { position: relative; margin-bottom: 12px; }
.diff-card p { position: relative; font-size: 0.94rem; color: var(--fg-3); }

/* ══ ROADMAP (kept) ═══════════════════════════════════════════════════ */
.road-layout { display: grid; grid-template-columns: 390px 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.road-aside { position: sticky; top: calc(var(--nav-h) + 52px); }
.road-aside .lg { margin: 22px 0 24px; }
.road-aside p { color: var(--fg-3); font-size: 0.95rem; margin-bottom: 18px; }

.steps { border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 92px 1fr;
  gap: 30px; padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.step-n {
  font-size: 2.5rem; font-weight: 900; line-height: 0.9;
  letter-spacing: -0.05em; color: var(--fg-4);
  transition: color var(--t);
}
.step:hover .step-n { color: var(--lime); }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.95rem; color: var(--fg-3); }
.step-note {
  display: inline-block; margin-top: 15px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--lime); background: var(--lime-glow);
  padding: 6px 13px; border-radius: 100px;
}

/* ══ ENGAGEMENT MODELS (kept) ═════════════════════════════════════════ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; }
table.compare th, table.compare td { text-align: left; padding: 22px 28px; vertical-align: top; border-bottom: 1px solid var(--line); }
table.compare thead th { background: var(--surface-2); border-bottom: 1px solid var(--line-2); }
table.compare thead th:first-child { width: 220px; }
table.compare thead .model-sub { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-4); display: block; margin-bottom: 8px; }
table.compare thead .model-name { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.03em; color: var(--fg); display: block; line-height: 1.1; }
table.compare thead th:nth-child(2) .model-name { color: var(--lime); }
table.compare tbody th {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--fg-4);
}
table.compare td { font-size: 0.93rem; color: var(--fg-2); }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tbody tr:hover td, table.compare tbody tr:hover th { background: var(--surface-2); }

/* ══ SERVICES — asymmetric bento ══════════════════════════════════════ */
.svc-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.svc-stack { display: grid; gap: 16px; }

.svc {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(28px, 3vw, 40px);
  transition: border-color var(--t), background var(--t);
}
.svc::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0; transition: opacity var(--t);
}
.svc:hover { border-color: var(--line-2); background: var(--surface-2); }
.svc:hover::after { opacity: 1; }
.svc-lead { min-height: 420px; justify-content: space-between; }
.svc-lead h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.035em; }
.svc h3 { margin-bottom: 12px; }
.svc p { font-size: 0.95rem; color: var(--fg-3); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }

.icon {
  width: 46px; height: 46px; border-radius: var(--r-s); flex: none;
  background: var(--lime-glow); color: var(--lime);
  display: grid; place-items: center;
}
.icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.tag {
  display: inline-block; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
  border: 1px solid var(--line-2); color: var(--fg-3);
}
.tag-lime { background: var(--lime-glow); border-color: transparent; color: var(--lime); }
.tag-sage { background: rgba(168,184,204,0.14); border-color: transparent; color: #B4C4DC; }

/* ══ CARD GRID (generic, subpages) ════════════════════════════════════ */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; }
.c6 { grid-column: span 6; } .c8 { grid-column: span 8; } .c12 { grid-column: span 12; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: clamp(26px, 3vw, 36px);
  transition: border-color var(--t), background var(--t);
}
.card:hover { border-color: var(--line-2); background: var(--surface-2); }
.card h3 { margin-bottom: 11px; }
.card p { font-size: 0.94rem; color: var(--fg-3); }
.card .icon { margin-bottom: 26px; }
.card-n { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; color: var(--fg-4); margin-bottom: 20px; }

/* ══ ABOUT — offset ═══════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.about-grid .lg { margin: 22px 0 26px; }
.about-grid > div > p { margin-bottom: 18px; }

.pull {
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  font-weight: 500; line-height: 1.32; letter-spacing: -0.03em;
  color: var(--fg); margin: 34px 0;
  padding-left: 26px; border-left: 2px solid var(--lime);
  max-width: 30ch;
}

.specs { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.spec { display: flex; justify-content: space-between; align-items: baseline; gap: 22px; padding: 18px 26px; border-bottom: 1px solid var(--line); }
.spec:last-child { border-bottom: 0; }
.spec:nth-child(odd) { background: var(--surface); }
.spec-k { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-4); }
.spec-v { font-size: 0.93rem; font-weight: 600; color: var(--fg); text-align: right; letter-spacing: -0.02em; }

/* ══ CHECKLIST ════════════════════════════════════════════════════════ */
.checklist li { position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 0.95rem; color: var(--fg-3); }
.checklist li::before {
  content: ''; position: absolute; left: 2px; top: 7px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}

/* ══ CTA — inverted lime block ════════════════════════════════════════ */
.cta {
  background: var(--lime); color: #0B0F14;
  border-radius: var(--r-xl);
  padding: clamp(48px, 6.5vw, 92px);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; right: -10%; bottom: -70%;
  width: 620px; height: 620px; border-radius: 50%;
  background: rgba(11,15,20,0.08); pointer-events: none;
}
.cta-inner { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 36px; }
.cta h2 { color: #0B0F14; max-width: 15ch; }
.cta p { color: rgba(14,17,22,0.72); margin-top: 18px; max-width: 44ch; font-weight: 500; }
.cta .label { color: rgba(11,15,20,0.62); }
.cta .label::before { background: #0B0F14; }

/* ══ SUBPAGE HERO ═════════════════════════════════════════════════════ */
.page-hero { position: relative; overflow: hidden; padding: clamp(60px, 7.5vw, 108px) 0 clamp(52px, 6vw, 82px); border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ''; position: absolute; top: -40%; left: 50%;
  width: 820px; height: 820px; border-radius: 50%;
  background: radial-gradient(circle, var(--lime-glow), transparent 62%);
  pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero .xl { font-size: clamp(2.6rem, 6vw, 5rem); margin: 0 0 clamp(30px, 3.2vw, 44px); }
.page-hero .lede { max-width: 58ch; }
.page-hero .hero-actions { margin-top: clamp(36px, 3.4vw, 50px); }

.status {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 18px 9px 15px; border-radius: 100px;
  background: var(--lime-glow); color: var(--lime);
  font-size: 0.85rem; font-weight: 600; letter-spacing: -0.01em;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: blip 2.4s ease-in-out infinite; }
@keyframes blip { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.8); } }
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }

/* ══ SCREENSHOTS ══════════════════════════════════════════════════════ */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; transition: border-color var(--t); }
.shot:hover { border-color: var(--line-2); }
.shot-media { background: var(--bg-2); border-bottom: 1px solid var(--line); height: 300px; display: grid; place-items: center; }
.shot-media img { width: 100%; height: 100%; object-fit: contain; }
.shot figcaption { padding: 26px 28px 30px; }
.shot h4 { font-size: 1.05rem; font-weight: 600; color: var(--fg); margin-bottom: 10px; letter-spacing: -0.025em; }
.shot p { font-size: 0.91rem; color: var(--fg-3); }

/* ══ SECTION HEAD ═════════════════════════════════════════════════════ */
.head { max-width: 800px; margin-bottom: clamp(46px, 5.5vw, 74px); }
.head .lg { margin: 22px 0 24px; }

/* ══ FOOTER ═══════════════════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--line); padding: clamp(60px, 6.5vw, 92px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 50px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; color: var(--fg-3); max-width: 32ch; }
.footer h4 { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 20px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a, .footer-col span { font-size: 0.9rem; color: var(--fg-3); transition: color var(--t); }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: clamp(50px, 5vw, 76px); padding-top: 28px;
  border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--fg-4);
}

/* ══ REVEAL ═══════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ══ RESPONSIVE ═══════════════════════════════════════════════════════ */
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .idx-layout, .road-layout, .about-grid { grid-template-columns: 1fr; }
  .idx-aside, .road-aside { position: static; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-lead { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
  .c3, .c4 { grid-column: span 6; } .c8 { grid-column: span 12; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-card, .diff-card.wide { grid-column: span 1; }
}

@media (max-width: 860px) {
  :root { --gut: 22px; }
  .c3, .c4, .c6 { grid-column: span 12; }
  .shots { grid-template-columns: 1fr; }
  .statement-text { max-width: none; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 10px var(--gut) 28px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity var(--t), transform var(--t);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 15px 0; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a:hover { background: transparent; }
  .nav-links a.active::after { left: 0; right: auto; width: 22px; bottom: 8px; }
  .nav-menu .btn { margin-top: 22px; justify-content: center; }

  .idx-row { grid-template-columns: 46px 1fr; gap: 16px; }
  .diff-head { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; gap: 18px; }
  .step-n { font-size: 1.9rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .spec { flex-direction: column; gap: 5px; }
  .spec-v { text-align: left; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .panel { padding: 24px 22px 26px; }
}
