/* ============================================================
   InTech Solutions — corporate site
   Dark masthead + dark footer, light content between.
   Brand (Traceline · Palette 1): navy #0B2A5B · blue #3EB9F0 · white
   Type: Archivo (display) + Figtree (body)
   ============================================================ */

:root {
  /* light content */
  --bg: #ffffff;
  --bg-soft: #f2f7fc;
  --surface: #ffffff;
  --line: #dce6f2;
  --line-soft: #e8eff7;
  --ink: #12253d;
  --ink-soft: #33465f;
  --muted: #5a6d87;

  /* dark zones (header, hero, band, footer) */
  --d-bg: #060d1a;
  --d-bg-2: #0a1526;
  --d-surface: #0f1c31;
  --d-line: rgba(146, 180, 226, 0.16);
  --d-line-strong: rgba(146, 180, 226, 0.3);
  --d-ink: #eaf2fc;
  --d-muted: #93a9c6;

  /* brand */
  --navy: #0b2a5b;
  --blue: #3eb9f0;
  --blue-bright: #6fd0fb;
  --blue-dark: #1477b4;
  --blue-soft: #a8dcf5;

  --radius: 16px;
  --grad: linear-gradient(120deg, #3eb9f0, #1e88c9);
  --grad-text: linear-gradient(100deg, #6fd0fb, #3eb9f0 55%, #a8dcf5);
  --shadow-sm: 0 2px 10px rgba(11, 42, 91, .06);
  --shadow: 0 20px 48px rgba(11, 42, 91, .14);
  --shadow-dark: 0 24px 60px rgba(0, 0, 0, .5);
  --maxw: 1160px;
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --grid-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 .5H.5V48' fill='none' stroke='%233EB9F0' stroke-opacity='.08'/%3E%3C/svg%3E");

  /* Dark banner treatment, shared by the masthead, the hero, the page heroes and the
     accent band so every dark zone is the same material. A deep, even slate-navy with
     one restrained highlight — calmer and more corporate than a saturated blue wash. */
  --banner-base: linear-gradient(165deg, #06111f 0%, #0a1c31 52%, #10283f 100%);
  --banner-glow: radial-gradient(900px 420px at 86% -25%, rgba(62, 185, 240, .10), transparent 66%);
  --banner-bg: var(--banner-glow), var(--banner-base);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: none; color: var(--navy); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

::selection { background: rgba(62, 185, 240, .28); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ============================================================
   DARK MASTHEAD — header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* The masthead is its own chrome, not a continuation of the hero: a flat, deeper bar
     that stays constant on every page and while scrolling over light content. Opaque —
     the old translucent version let the white page show through and turned it grey. */
  background: #050c17;
  border-bottom: 1px solid rgba(146, 180, 226, .12);
}
.site-header .container { position: relative; z-index: 1; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-lockup { height: 60px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--d-muted); font-weight: 600; font-size: 15px;
  padding: 6px 0; position: relative; transition: color .2s;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(62, 185, 240, .7);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.main-nav a:not(.btn):hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a.active { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--d-ink);
  margin: 5px 0; transition: transform .25s, opacity .25s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 15px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.btn::after { content: "\2192"; font-weight: 600; transition: transform .18s; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:hover::after { transform: translateX(3px); }
.btn.no-arrow::after { content: none; }

.btn-primary {
  background: var(--grad); color: #04121f;
  box-shadow: 0 10px 26px rgba(62, 185, 240, .32);
}
.btn-primary:hover { color: #04121f; box-shadow: 0 14px 34px rgba(62, 185, 240, .45); }

/* The masthead CTA is deliberately quieter than the in-page ones: a corporate
   rectangle in the deeper brand blue rather than a glowing neon pill, so it sits
   alongside the navigation links instead of shouting over them. */
.main-nav .btn-primary {
  background: linear-gradient(180deg, #2f9dd6, #1477b4);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 2px 10px rgba(4, 18, 31, .4);
}
.main-nav .btn-primary::after { content: none; }   /* no arrow in the navigation */
.main-nav .btn-primary:hover {
  background: linear-gradient(180deg, #3aabe4, #1a86c6);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 5px 16px rgba(20, 119, 180, .42);
  color: #fff;
  transform: translateY(-1px);
}

/* on light sections */
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* on dark / gradient grounds */
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 28px rgba(0, 0, 0, .28); }
.btn-light:hover { color: var(--navy); box-shadow: 0 14px 34px rgba(0, 0, 0, .36); }
.btn-ghost { border-color: var(--d-line-strong); color: #fff; }
.btn-ghost:hover { background: rgba(62, 185, 240, .14); border-color: var(--blue); color: #fff; }

/* ============================================================
   DARK MASTHEAD — hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: var(--d-ink);
  background: var(--banner-bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grid-img); opacity: .9; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute;
  width: 560px; height: 560px; right: -150px; top: -220px;
  background: radial-gradient(circle, rgba(62, 185, 240, .2), transparent 62%);
  filter: blur(18px); pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-40px, 40px, 0) scale(1.08); }
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 100px 0 108px;
}
.hero .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 3.4px; text-transform: uppercase;
  color: var(--blue); font-weight: 700; margin-bottom: 22px;
  font-family: var(--font-display);
  padding: 7px 16px 7px 14px; border-radius: 999px;
  background: rgba(62, 185, 240, .1);
  border: 1px solid rgba(62, 185, 240, .26);
}
.hero .kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 10px var(--blue);
  animation: blip 2.6s ease-in-out infinite;
}
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 {
  font-size: clamp(40px, 5.6vw, 64px); line-height: 1.03; font-weight: 800;
  letter-spacing: -1.5px; text-wrap: balance; color: #fff;
}
.hero h1 .accent {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(62, 185, 240, .35));
}
.hero p.lead { margin: 26px 0 36px; font-size: 19px; color: #c3d4e8; max-width: 570px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points {
  display: flex; gap: 26px; flex-wrap: wrap; margin-top: 46px;
  font-size: 14px; color: var(--d-muted);
}
.hero-points span { display: flex; align-items: center; gap: 9px; }
.hero-points .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none;
  box-shadow: 0 0 10px rgba(62, 185, 240, .9);
}

.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -8% -6%;
  background: radial-gradient(ellipse at center, rgba(62, 185, 240, .22), transparent 66%);
  filter: blur(16px);
}
.hero-visual img {
  position: relative; width: 100%; height: auto; border-radius: 18px;
  filter: drop-shadow(0 36px 64px rgba(0, 0, 0, .6));
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

/* Page hero (subpages) — dark masthead */
.page-hero {
  position: relative; overflow: hidden; padding: 76px 0 66px; color: var(--d-ink);
  background: var(--banner-bg);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grid-img); opacity: .9; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; letter-spacing: -1.1px; color: #fff;
}
.page-hero h1::after {
  content: ""; display: block; margin-top: 18px;
  width: 92px; height: 3px; border-radius: 3px;
  background: var(--grad); box-shadow: 0 0 18px rgba(62, 185, 240, .8);
}
.page-hero p { margin-top: 18px; color: #c3d4e8; max-width: 660px; font-size: 17.5px; }

/* ============================================================
   LIGHT CONTENT
   ============================================================ */
.section { padding: 92px 0; position: relative; }
.section.soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 2.8px; text-transform: uppercase;
  color: var(--blue-dark); font-weight: 700; margin-bottom: 14px;
  font-family: var(--font-display);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2.5px; border-radius: 2px; background: var(--grad);
}
.section-head.center .eyebrow::after {
  content: ""; width: 26px; height: 2.5px; border-radius: 2px; background: var(--grad);
}
.section-head h2 {
  font-size: clamp(30px, 3.8vw, 42px); line-height: 1.1;
  font-weight: 800; letter-spacing: -0.9px; text-wrap: balance;
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17.5px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .38s ease;
}
.card::after {
  content: ""; position: absolute; width: 220px; height: 220px;
  top: -110px; right: -110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 185, 240, .14), transparent 66%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(62, 185, 240, .5);
  box-shadow: var(--shadow);
}
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }

.card .icon {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 15px;
  background: linear-gradient(145deg, rgba(62, 185, 240, .16), rgba(30, 136, 201, .08));
  border: 1px solid rgba(62, 185, 240, .32);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: var(--blue-dark);
  transition: background .3s, color .3s, box-shadow .3s, border-color .3s;
}
.card:hover .icon {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 10px 24px rgba(62, 185, 240, .38);
}
.card .icon svg { width: 27px; height: 27px; }
.card h3 { position: relative; z-index: 1; font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.card p { position: relative; z-index: 1; color: var(--muted); font-size: 15.5px; }
.card .more {
  position: relative; z-index: 1;
  display: inline-block; margin-top: 18px; font-weight: 700; font-size: 14.5px;
}

/* Feature list rows */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center;
  padding: 52px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row h3 {
  font-size: 28px; margin-bottom: 14px; font-weight: 800; letter-spacing: -0.5px;
}
.feature-row p { color: var(--muted); margin-bottom: 18px; }
.feature-row ul { list-style: none; }
.feature-row li {
  padding-left: 32px; position: relative; margin-bottom: 11px;
  color: var(--ink-soft); font-size: 15.5px;
}
.feature-row li b { color: var(--navy); }
.feature-row li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(62, 185, 240, .14);
  border: 1px solid rgba(62, 185, 240, .32);
}
.feature-row li::after {
  content: ""; position: absolute; left: 5.5px; top: 12.5px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--blue-dark); border-bottom: 2px solid var(--blue-dark);
  transform: rotate(-45deg);
}
/* the illustration stage stays dark — the artwork is a dark UI screen */
.feature-visual {
  position: relative; border-radius: 20px; padding: 22px;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(62, 185, 240, .16), transparent 70%),
    linear-gradient(160deg, #0b1526, #060d1a);
  border: 1px solid rgba(11, 42, 91, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow);
  transition: transform .32s ease, box-shadow .32s ease;
}
.feature-visual::before {
  content: ""; position: absolute; inset: 0; border-radius: 20px;
  background-image: var(--grid-img); opacity: .6; pointer-events: none;
}
.feature-row:hover .feature-visual {
  transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 28px 60px rgba(11, 42, 91, .26);
}
.feature-visual img {
  position: relative; width: 100%; height: auto; border-radius: 12px;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .45));
}

/* Pills / tags */
.pill {
  display: inline-block;
  background: #e8f5fd; color: var(--blue-dark);
  border: 1px solid rgba(62, 185, 240, .4);
  border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 700;
  margin: 0 6px 8px 0;
}

/* ---------- Product cards ---------- */
.product-card { display: flex; flex-direction: column; }
.product-card .price-model {
  position: relative; z-index: 1;
  margin-top: auto; padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--blue-dark); font-weight: 700;
}

/* ============================================================
   DARK ACCENT — stats band
   ============================================================ */
.band {
  position: relative; overflow: hidden; padding: 70px 0;
  background: var(--banner-bg);
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grid-img); opacity: .9;
}
.band .container { position: relative; z-index: 1; }
.band .grid-4 { text-align: center; }
.band .num {
  font-family: var(--font-display);
  font-size: 46px; font-weight: 800; letter-spacing: -1.4px; line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 20px rgba(62, 185, 240, .38));
}
.band .lbl { font-size: 14px; color: var(--d-muted); margin-top: 8px; }

/* ---------- CTA strip ---------- */
.cta-strip {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 240px at 88% -30%, rgba(255, 255, 255, .2), transparent 62%),
    var(--grad);
  color: #fff; border-radius: 22px;
  padding: 54px 54px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap;
  box-shadow: 0 22px 50px rgba(30, 136, 201, .34);
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.6px; color: #fff; }
.cta-strip p { color: #eaf7fe; margin-top: 8px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 22px; padding: 22px 0; }
.step + .step { border-top: 1px solid var(--line); }
.step .no {
  counter-increment: step; flex: none;
  width: 48px; height: 48px; border-radius: 15px;
  background: var(--grad); color: #fff; font-weight: 800;
  font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  box-shadow: 0 8px 20px rgba(62, 185, 240, .3);
}
.step .no::before { content: counter(step); }
.step h4 { font-size: 18px; font-weight: 700; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Team (kept for future use) ---------- */
.team-card { text-align: center; }
.team-card .avatar {
  position: relative; z-index: 1;
  width: 94px; height: 94px; border-radius: 50%;
  background: linear-gradient(145deg, var(--navy), #14507f);
  color: #fff; font-size: 26px; font-weight: 800;
  font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 5px rgba(62, 185, 240, .12);
}
.team-card .role {
  position: relative; z-index: 1;
  color: var(--blue-dark); font-weight: 700; font-size: 14px; margin-bottom: 12px;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item .ci-icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(145deg, rgba(62, 185, 240, .16), rgba(30, 136, 201, .07));
  border: 1px solid rgba(62, 185, 240, .32);
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.contact-item p { color: var(--muted); font-size: 15px; }
.contact-item a { font-size: 15px; }

.form-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 36px; box-shadow: var(--shadow);
}
.form-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
}
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 11px;
  font: inherit; color: var(--ink); background: #fbfdff;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #93a4ba; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(62, 185, 240, .16); background: #fff;
}
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ============================================================
   DARK FOOTER
   ============================================================ */
.site-footer {
  position: relative; margin-top: 0;
  color: var(--d-muted);
  background:
    radial-gradient(600px 280px at 82% 0%, rgba(62, 185, 240, .14), transparent 60%),
    linear-gradient(180deg, #0a1526, #040810);
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(62, 185, 240, .85), transparent);
}
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px;
  padding: 66px 0 46px;
}
.footer-main h4 {
  color: #fff; font-size: 13.5px; margin-bottom: 18px;
  letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700;
}
.footer-main a { display: block; color: var(--d-muted); font-size: 14.5px; margin-bottom: 11px; }
.footer-main a:hover { color: var(--blue); }
.footer-brand p { font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid var(--d-line);
  padding: 22px 0; font-size: 13px; color: #74899f;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
.grid > .reveal:nth-child(2) { transition-delay: .09s; }
.grid > .reveal:nth-child(3) { transition-delay: .18s; }
.grid > .reveal:nth-child(4) { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual img, .hero::after, .hero .kicker::before { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 74px 0 84px; }
  .hero-visual { max-width: 580px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .cta-strip { padding: 34px 26px; }
  .brand-lockup { height: 50px; }

  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 88px 0 auto 0;
    background: rgba(6, 13, 26, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--d-line);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 10px 24px 20px;
    transform: translateY(-140%); transition: transform .28s ease;
  }
  .nav-open .main-nav { transform: none; }
  .main-nav a { padding: 14px 0; width: 100%; font-size: 16px; }
  .main-nav a:not(.btn)::after { content: none; }
  .main-nav .btn { margin-top: 10px; justify-content: center; width: 100%; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .feature-visual { padding: 14px; }
}
