/* =========================================================
   BTAV Technologies Pvt Ltd — Main Stylesheet
   Concept: "Blueprint" — premium edition.
   Midnight blueprint #0A1F3F · Ivory paper #F6F2EA · Champagne gold #C9A86A
   Fonts: Zodiak (display) · Switzer (body) — Indian Type Foundry · IBM Plex Mono (annotations)
   ========================================================= */

:root {
  --bp: #0A1F3F;
  --bp-2: #10294F;
  --bp-deep: #06152C;
  --bp-line: #8FB0D8;
  --paper: #F6F2EA;
  --paper-2: #EFE9DD;
  --paper-3: #FCFAF6;
  --gold: #C9A86A;
  --gold-2: #DCC08A;
  --gold-ink: #7E5F26;
  --green: #25D366;
  --ink: var(--bp);

  --bg: var(--paper);
  --text: #0A1F3F;
  --text-2: #33435E;
  --muted: #66708A;
  --line: rgba(10, 31, 63, .12);
  --line-strong: rgba(10, 31, 63, .28);
  --mark: rgba(126, 95, 38, .55);
  --accent-text: var(--gold-ink);

  --font: "Switzer", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Zodiak", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --header-h: 80px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --shadow-soft: 0 30px 60px -32px rgba(6, 21, 44, .38), 0 10px 20px -12px rgba(6, 21, 44, .12);
  --shadow-deep: 0 50px 90px -40px rgba(6, 21, 44, .55), 0 18px 34px -18px rgba(6, 21, 44, .25);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grid-paper: radial-gradient(rgba(10, 31, 63, .075) 1px, transparent 1.4px) 0 0 / 26px 26px;
  --grid-bp:
    linear-gradient(rgba(143, 176, 216, .085) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, rgba(143, 176, 216, .085) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(rgba(143, 176, 216, .035) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(143, 176, 216, .035) 1px, transparent 1px) 0 0 / 24px 24px;
}

/* Blueprint (dark) surfaces re-map the same tokens */
.dark {
  --bg: var(--bp);
  --text: #F4F1EA;
  --text-2: #CFD9E8;
  --muted: #93A5C2;
  --line: rgba(201, 168, 106, .16);
  --line-strong: rgba(201, 168, 106, .32);
  --mark: rgba(201, 168, 106, .6);
  --accent-text: var(--gold);
  background: var(--noise), var(--grid-bp), var(--bp);
  color: var(--text);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--gold); color: var(--bp); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

h1, h2 { font-family: var(--font-head); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; }
h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.4vw, 2.95rem); margin-bottom: 20px; }

.gradient-text { font-style: italic; color: var(--accent-text); }
.green-text { font-style: italic; color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px; border-radius: var(--radius);
  font-family: var(--font); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
  white-space: nowrap;
}
/* light sweep on hover */
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease); pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.btn-sm { padding: 12px 20px; font-size: .72rem; }
.btn-block { width: 100%; }

.btn-primary, .btn-brand { background: var(--gold); color: var(--bp); }
.btn-primary:hover, .btn-brand:hover { background: var(--gold-2); box-shadow: 0 18px 36px -16px rgba(201, 168, 106, .75); }

.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--accent-text); }
.dark .btn-ghost { border-color: rgba(244, 241, 234, .3); }
.dark .btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

.btn-green { background: var(--green); color: #052B14; }
.btn-green:hover { box-shadow: 0 18px 36px -16px rgba(37, 211, 102, .7); }

.btn-light { background: var(--gold); color: var(--bp); }
.btn-light:hover { background: var(--gold-2); box-shadow: 0 18px 36px -16px rgba(201, 168, 106, .75); }
.btn-outline-light { border-color: rgba(244, 241, 234, .35); color: #F4F1EA; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); color: #F4F1EA;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, height .4s var(--ease);
}
.header.scrolled {
  background: rgba(6, 21, 44, .82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: rgba(201, 168, 106, .2);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { border-radius: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font); font-size: 1.12rem; font-weight: 600; letter-spacing: .32em; }
.brand-text small { font-family: var(--font-mono); font-size: .56rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); opacity: .9; margin-top: 5px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) {
  font-size: .86rem; font-weight: 500; letter-spacing: .03em;
  opacity: .78; position: relative; transition: opacity .3s;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -8px; height: 1px; background: var(--gold);
  transition: left .35s var(--ease), right .35s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a.active { opacity: 1; }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { left: 0; right: 0; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; color: inherit; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: .3s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 56px) 0 100px; overflow: hidden; }
.hero.dark { background: var(--noise), radial-gradient(900px 620px at 78% 38%, rgba(201,168,106,.09), transparent 62%), var(--grid-bp), var(--bp-deep); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob { display: none; }
.grid-overlay { position: absolute; inset: 0; background: radial-gradient(1200px 700px at 30% 110%, rgba(16, 41, 79, .9), transparent 60%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 100px;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 34px;
}
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201,168,106,.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(201,168,106,0); } 100% { box-shadow: 0 0 0 0 rgba(201,168,106,0); } }

.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); margin-bottom: 28px; }
.lead { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--muted); max-width: 520px; margin-bottom: 40px; }
.lead strong { color: var(--text); font-weight: 500; white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points svg { width: 13px; height: 13px; color: var(--gold); stroke-width: 2.5; }

/* Hero technical drawing (inline SVG) */
.hero-visual { position: relative; min-width: 0; }
.drawing { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }
.drawing .ln { fill: none; stroke: var(--bp-line); stroke-width: 1.1; }
.drawing .thin { stroke-width: .8; opacity: .55; }
.drawing .bar { stroke: rgba(143, 176, 216, .75); stroke-width: 6; stroke-linecap: butt; }
.drawing .red { stroke: var(--gold); }
.drawing .solid { fill: var(--bp-deep); }
.drawing .tint { fill: rgba(143, 176, 216, .45); stroke: none; }
.drawing .dash { stroke-dasharray: 3 4; }
.drawing .lbl { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; fill: #CFD9E8; stroke: none; }
.drawing .lbl-sm { font-size: 8.5px; fill: #93A5C2; }
.drawing .lbl-red { fill: var(--gold); }
.drawing .balloon { fill: var(--bp-deep); stroke: var(--gold); stroke-width: 1; }
.drawing .bn { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; fill: var(--gold); stroke: none; text-anchor: middle; dominant-baseline: central; }
.drawing .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2s cubic-bezier(.6,.1,.2,1) forwards; }
.drawing .fade { opacity: 0; animation: fade .8s ease forwards; }
.drawing .d1 { animation-delay: .4s; } .drawing .d2 { animation-delay: .8s; } .drawing .d3 { animation-delay: 1.2s; }
.drawing .d4 { animation-delay: 1.6s; } .drawing .d5 { animation-delay: 2s; } .drawing .d6 { animation-delay: 2.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; background: var(--noise), var(--bp-deep); border-block: 1px solid rgba(201, 168, 106, .18); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: scroll 60s linear infinite; }
.marquee-track span { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: #93A5C2; white-space: nowrap; display: flex; align-items: center; gap: 34px; }
.marquee-track span::after { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); opacity: .8; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections (each is a numbered sheet) ---------- */
main { counter-reset: sheet; }
.section { padding: 130px 0; position: relative; background: var(--grid-paper), var(--paper); }
main > .section { counter-increment: sheet; }
.section.section-alt { background: var(--grid-paper), var(--paper-2); }
.section.dark { background: var(--noise), var(--grid-bp), var(--bp); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 72px; }
.section-head.left { text-align: left; margin: 0; }
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin-inline: auto; }
.section-head.left p { margin-inline: 0; }
.section-head::after {
  content: ""; display: block; width: 64px; height: 1px; margin: 34px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-head.left::after { margin-left: 0; background: linear-gradient(90deg, var(--gold), transparent); }

.tag {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent-text);
}
.tag::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.section .tag::before {
  content: counter(sheet, decimal-leading-zero); width: auto; height: auto; transform: none; background: none;
  padding: 3px 7px; border: 1px solid var(--mark); color: var(--accent-text); font-size: .62rem; letter-spacing: .08em;
}
.tag::after { content: ""; width: 34px; height: 1px; background: var(--mark); }
.tag-green { color: #7CF0A9; }
.tag-green::before, .section .tag-green::before { border-color: rgba(37,211,102,.5); color: #7CF0A9; }

/* Fine registration brackets around key panels */
.service-card::before, .plan::before, .post-card::before {
  content: ""; position: absolute; inset: -7px; pointer-events: none; opacity: .8;
  background:
    linear-gradient(var(--mark), var(--mark)) 0 0 / 9px 1px,
    linear-gradient(var(--mark), var(--mark)) 0 0 / 1px 9px,
    linear-gradient(var(--mark), var(--mark)) 100% 0 / 9px 1px,
    linear-gradient(var(--mark), var(--mark)) 100% 0 / 1px 9px,
    linear-gradient(var(--mark), var(--mark)) 0 100% / 9px 1px,
    linear-gradient(var(--mark), var(--mark)) 0 100% / 1px 9px,
    linear-gradient(var(--mark), var(--mark)) 100% 100% / 9px 1px,
    linear-gradient(var(--mark), var(--mark)) 100% 100% / 1px 9px;
  background-repeat: no-repeat;
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: spec; }
.service-card {
  position: relative; padding: 48px 34px 34px; counter-increment: spec;
  background: var(--paper-3); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease), color .5s var(--ease), border-color .5s;
}
.service-card::after {
  content: "SPEC—" counter(spec, decimal-leading-zero);
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-mono); font-size: .6rem; font-weight: 500; letter-spacing: .2em; color: var(--gold-ink); opacity: .8;
}
.service-card:hover { background: var(--noise), var(--bp); color: #F4F1EA; border-color: rgba(201,168,106,.35); transform: translateY(-8px); box-shadow: var(--shadow-deep); }
.service-card:hover::after { color: var(--gold); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 30px; border: 1px solid var(--mark); color: var(--bp); transition: color .5s, border-color .5s; }
.service-icon svg { width: 25px; height: 25px; stroke-width: 1.4; }
.service-card:hover .service-icon { color: var(--gold); border-color: rgba(201,168,106,.6); }
.service-card h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.42rem; line-height: 1.15; letter-spacing: -.015em; margin-bottom: 12px; }
.service-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; transition: color .5s; }
.service-card:hover > p { color: #AFBDD4; }
.service-card ul { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; flex: 1; padding-top: 22px; border-top: 1px solid var(--line); }
.service-card li { font-size: .89rem; color: var(--text-2); padding-left: 20px; position: relative; transition: color .5s; }
.service-card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.service-card:hover ul { border-top-color: rgba(201,168,106,.2); }
.service-card:hover li { color: #D9E2EF; }

.card-link { font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); display: inline-flex; gap: 10px; transition: color .3s; }
.card-link span { transition: transform .35s var(--ease); }
.card-link:hover span { transform: translateX(6px); }
.service-card:hover .card-link { color: var(--gold); }
.card-links-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.card-link-secondary { font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.card-link-secondary:hover { color: var(--text); border-color: var(--gold); }
.service-card:hover .card-link-secondary { color: #AFBDD4; border-color: rgba(201,168,106,.35); }
.service-card.spec-open { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.spec-open .service-icon { color: var(--gold-ink); }

/* ---------- WhatsApp ---------- */
.section.wa-section { background: var(--noise), radial-gradient(640px 480px at 80% 50%, rgba(37,211,102,.09), transparent 70%), var(--grid-bp), var(--bp); }
.wa-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.wa-copy > p { color: var(--muted); font-size: 1.06rem; margin-bottom: 40px; }
.wa-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 36px; }
.wa-feature { display: flex; gap: 16px; padding: 24px 22px; background: var(--bp); transition: background .4s; }
.wa-feature:hover { background: var(--bp-2); }
.wf-icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(37,211,102,.45); color: var(--green); }
.wf-icon svg { width: 17px; height: 17px; stroke-width: 1.6; }
.wa-feature h4 { font-size: .95rem; margin-bottom: 5px; }
.wa-feature p { font-size: .86rem; color: var(--muted); line-height: 1.55; }

.phone-wrap { position: relative; display: grid; place-items: center; padding: 20px 0 48px; }
.phone-wrap::before {
  content: ""; position: absolute; top: 20px; height: 600px; left: calc(50% - 182px); width: 7px;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  background: linear-gradient(var(--gold), var(--gold)) center / 1px 100% no-repeat; opacity: .45;
}
.phone-wrap::after { content: "FIG. 02 — WHATSAPP FLOW"; position: absolute; bottom: 8px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .24em; color: var(--muted); }
.phone {
  position: relative; z-index: 1; width: 300px; height: 600px; border-radius: 46px;
  background: #0B141A; border: 9px solid #1A2131; box-shadow: var(--shadow-deep), 0 0 0 1px rgba(201,168,106,.25);
  overflow: hidden; display: flex; flex-direction: column;
}
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #000; z-index: 2; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 44px 16px 14px; background: #1F2C34; }
.chat-head strong { display: flex; align-items: center; gap: 5px; font-size: .95rem; }
.chat-head small { color: #8696A0; font-size: .75rem; }
.verified { width: 16px; height: 16px; stroke: none; }
.verified circle { fill: var(--green); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--bp); display: grid; place-items: center; font-weight: 700; }
.chat-body {
  flex: 1; padding: 18px 12px; display: flex; flex-direction: column; gap: 10px;
  background: #0B141A radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 18px 18px;
}
.msg { max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: .85rem; line-height: 1.45; color: #E9EDEF; opacity: 0; animation: pop .5s ease forwards; }
.msg.in { align-self: flex-start; background: #202C33; border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: #005C4B; border-top-right-radius: 4px; }
.quick-replies { align-self: flex-end; display: grid; gap: 6px; width: 70%; opacity: 0; animation: pop .5s ease forwards; }
.quick-replies span { text-align: center; padding: 8px; border-radius: 10px; background: #1F2C34; color: #53BDEB; font-size: .82rem; font-weight: 600; }
.chat-body > :nth-child(1) { animation-delay: .4s; }
.chat-body > :nth-child(2) { animation-delay: 1.2s; }
.chat-body > :nth-child(3) { animation-delay: 1.8s; }
.chat-body > :nth-child(4) { animation-delay: 2.6s; }
.chat-body > :nth-child(5) { animation-delay: 3.3s; }
.typing { display: flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9FD8C9; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.wa-glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: var(--green); filter: blur(130px); opacity: .12; }

/* ---------- Training ---------- */
.track-switch {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%;
  margin: 0 auto 56px; padding: 5px; background: var(--paper-3); border: 1px solid var(--line); border-radius: 100px;
}
.track-btn {
  padding: 11px 24px; border: 0; border-radius: 100px; background: transparent; cursor: pointer;
  font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; transition: background .35s var(--ease), color .35s;
}
.track-btn:hover { color: var(--bp); }
.track-btn.active { background: var(--bp); color: var(--gold); }

.track-links { text-align: center; color: var(--muted); font-size: .86rem; margin: -36px 0 52px; }
.track-links a { color: var(--gold-ink); font-weight: 600; border-bottom: 1px solid var(--mark); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: stretch; }
.plan {
  position: relative; padding: 46px 34px 34px;
  background: var(--paper-3); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.plan-featured {
  --text: #F4F1EA; --text-2: #CFD9E8; --muted: #93A5C2; --line: rgba(201,168,106,.18); --line-strong: rgba(201,168,106,.35);
  --accent-text: var(--gold);
  background: var(--noise), radial-gradient(420px 260px at 50% 0%, rgba(201,168,106,.12), transparent 70%), var(--bp);
  color: var(--text); border-color: rgba(201,168,106,.45); box-shadow: var(--shadow-deep);
}
.plan-featured:hover { box-shadow: var(--shadow-deep), 0 0 0 1px rgba(201,168,106,.5); }
.ribbon {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 6px 16px;
  background: var(--gold); color: var(--bp);
  font-family: var(--font-mono); font-size: .6rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
}
.duration { display: block; font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.plan h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.6rem; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 16px; }
.price { font-family: var(--font-head); font-size: 2.5rem; letter-spacing: -.02em; font-weight: 400; line-height: 1; color: var(--text); margin-bottom: 16px; }
.price small { font-family: var(--font-mono); font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
.plan-top p { color: var(--muted); font-size: .93rem; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan-list { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 20px; font-size: .92rem; color: var(--text-2); animation: fadeIn .4s ease both; }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
@keyframes fadeIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.plan-perks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.plan-perks span { font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--text-2); }
.plan-featured .btn-ghost { color: #F4F1EA; }

.training-strip { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); background: var(--paper-3); }
.training-strip div { padding: 22px 26px; display: grid; gap: 6px; }
.training-strip div + div { border-left: 1px solid var(--line-strong); }
.training-strip strong { font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); }
.training-strip span { color: var(--text-2); font-size: .95rem; }
.article-body .training-strip strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text); }
.article-body .training-strip span { font-size: .9rem; color: var(--muted); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process::before {
  content: ""; position: absolute; top: 32px; left: 12.5%; right: 12.5%; height: 7px; transform: translateY(-3px);
  border-left: 1px solid var(--mark); border-right: 1px solid var(--mark);
  background: linear-gradient(var(--mark), var(--mark)) center / 100% 1px no-repeat;
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step-no {
  position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 28px;
  border-radius: 50%; border: 1px solid var(--mark); background: var(--paper);
  font-family: var(--font-head); font-style: italic; font-size: 1.25rem; color: var(--gold-ink); transition: background .4s, color .4s;
}
.step-no::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid var(--line); }
.step:hover .step-no { background: var(--bp); color: var(--gold); }
.step h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.35rem; letter-spacing: -.015em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- Why ---------- */
.section.why-section { background: var(--noise), radial-gradient(700px 480px at 0% 0%, rgba(201,168,106,.08), transparent 70%), var(--grid-bp), var(--bp-deep); }
.why-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: center; }
.why-copy p { color: var(--muted); font-size: 1.06rem; margin-bottom: 36px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-card { position: relative; padding: 30px 24px; background: var(--bp-deep); transition: background .4s; }
.why-card:hover { background: var(--bp-2); }
.why-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid rgba(201,168,106,.45); color: var(--gold); }
.why-icon svg { width: 18px; height: 18px; stroke-width: 1.6; }
.why-card h4 { font-size: .98rem; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: .86rem; line-height: 1.55; }

/* ---------- CTA ---------- */
.cta-band { position: relative; z-index: 1; padding: 130px 0 0; background: var(--grid-paper), var(--paper); }
.cta-inner {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: 72px 64px; color: #F4F1EA;
  background: var(--noise), radial-gradient(600px 300px at 100% 0%, rgba(201,168,106,.16), transparent 70%), var(--grid-bp), var(--bp);
  box-shadow: var(--shadow-deep);
}
/* inset hairline frame */
.cta-inner::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201,168,106,.3); pointer-events: none; }
.cta-inner > div:first-child { max-width: 640px; }
.cta-inner h2 { color: #F4F1EA; margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-inner p { color: #AFBDD4; }
.cta-actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.faq-inner .section-head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-list { display: grid; border-top: 1px solid var(--line-strong); }
.faq { border-bottom: 1px solid var(--line-strong); transition: background .4s; }
.faq[open] { background: var(--paper-3); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 70px 26px 20px; position: relative;
  font-weight: 500; font-size: 1.02rem; transition: color .3s;
}
.faq summary:hover { color: var(--gold-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--mark);
  font-family: var(--font); font-weight: 300; font-size: 1.15rem; color: var(--gold-ink); transition: transform .4s var(--ease), background .3s, color .3s;
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--bp); color: var(--gold); border-color: var(--bp); }
.faq p { padding: 0 70px 26px 20px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 1.06rem; margin-bottom: 36px; }
.info-cards { display: grid; border-top: 1px solid var(--line-strong); }
.info-card { display: flex; align-items: center; gap: 18px; padding: 22px 8px; border-bottom: 1px solid var(--line-strong); transition: background .3s, padding .4s var(--ease); }
a.info-card:hover { background: var(--paper-3); padding-left: 18px; }
.info-card small { display: block; font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 2px; }
.info-card strong { font-size: 1rem; font-weight: 500; word-break: break-word; }
.ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--mark); color: var(--bp); }
.ic svg { width: 18px; height: 18px; stroke-width: 1.6; }
.ic-green { border-color: rgba(22,163,74,.5); color: #16A34A; }

.contact-form { position: relative; padding: 56px 46px 42px; background: var(--paper-3); border: 1px solid var(--line); box-shadow: var(--shadow-deep); }
.contact-form::before {
  content: "Work order — Quote request"; position: absolute; top: 24px; left: 46px;
  font-family: var(--font-mono); font-size: .6rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink);
}
.contact-form h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.7rem; letter-spacing: -.015em; line-height: 1.1; margin: 8px 0 30px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label { font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 0;
  background: #fff; border: 1px solid var(--line-strong); color: var(--text);
  transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237E5F26' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA1B2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,168,106,.18); }
.field.invalid input, .field.invalid select { border-color: #C2410C; box-shadow: 0 0 0 4px rgba(194,65,12,.12); }
.form-note { margin-top: 16px; font-size: .82rem; color: var(--muted); text-align: center; }
.form-note.error { color: #C2410C; }
.form-note.success { color: #16A34A; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { padding: 96px 0 92px; background: var(--noise), var(--grid-bp), var(--bp-deep); border-top: 1px solid rgba(201,168,106,.18); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin: 22px 0 26px; max-width: 340px; }
.footer h4 { font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 12px; }
.footer-grid > div:not(.footer-brand) a { color: var(--muted); font-size: .92rem; transition: color .3s; width: fit-content; }
.footer-grid > div:not(.footer-brand) a:hover { color: #F4F1EA; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--muted); transition: .3s; }
.socials a:hover { color: var(--bp); background: var(--gold); border-color: var(--gold); }
.socials svg { width: 17px; height: 17px; stroke-width: 1.6; }
.footer-bottom { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); color: var(--muted); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em; }
.footer-bottom > p { padding: 14px 18px; }
.footer-legal { grid-column: 1 / -1; border-bottom: 1px solid var(--line); line-height: 1.9; }
.footer-bottom > p:nth-child(2) { border-right: 1px solid var(--line); }
.footer-bottom > p:last-child { text-align: right; }
.footer-legal .dot { margin: 0 10px; color: var(--gold); opacity: .6; }
.footer-legal [data-tel-link], .footer-legal [data-mail-link] { white-space: nowrap; }
/* separators are the wrap points between the address, phone and email */
.footer-legal .dot { display: inline-block; }

/* Closing statement at the top of every footer */
.footer-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; padding-bottom: 72px; margin-bottom: 72px; border-bottom: 1px solid var(--line); }
.footer-cta h2 { max-width: 560px; margin: 0; font-size: clamp(2.1rem, 4vw, 3.4rem); }
.footer-cta-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-mail { font-family: var(--font-head); font-style: italic; font-size: 1.3rem; color: var(--gold); padding-bottom: 3px; border-bottom: 1px solid rgba(201,168,106,.4); transition: color .3s, border-color .3s; }
.footer-mail:hover { color: var(--gold-2); border-color: var(--gold-2); }
.footer-legal a:hover { color: var(--gold); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  transition: transform .35s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); z-index: -1; animation: ripple 2.4s infinite; }
.wa-float svg { width: 30px; height: 30px; stroke: none; }
.wa-float:hover { transform: scale(1.06); }
@keyframes ripple { from { transform: scale(1); opacity: .5; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Inner pages: page hero, blog, articles
   ========================================================= */
.page-hero {
  padding: calc(var(--header-h) + 84px) 0 96px; color: #F4F1EA; text-align: center; position: relative; overflow: hidden;
  background: var(--noise), radial-gradient(760px 420px at 50% -10%, rgba(201,168,106,.12), transparent 68%), var(--grid-bp), var(--bp-deep);
  border-bottom: 1px solid rgba(201,168,106,.2);
}
.page-hero::after {
  content: "BTAV · DWG REV 2026"; position: absolute; right: 24px; bottom: 18px;
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .24em; color: rgba(201,168,106,.55);
}
.page-hero-grid, .page-hero-blob { display: none; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero-icon { position: relative; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; border: 1px solid rgba(201,168,106,.5); color: var(--gold); }
.page-hero-icon::after { content: ""; position: absolute; inset: -8px; border: 1px solid rgba(201,168,106,.18); }
.page-hero-icon svg { width: 27px; height: 27px; stroke-width: 1.3; }
.page-hero .tag { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); margin-bottom: 20px; }
.page-hero p { color: #AFBDD4; font-size: 1.08rem; max-width: 640px; margin-inline: auto; }
.page-hero .article-meta { justify-content: center; }

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--paper-3); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.post-card-cover { height: 170px; display: flex; align-items: center; justify-content: center; background: var(--noise), radial-gradient(300px 160px at 50% 0%, rgba(201,168,106,.14), transparent 70%), var(--grid-bp), var(--bp); }
.post-card-cover svg { width: 42px; height: 42px; color: var(--gold); stroke-width: 1.3; }
.post-card-body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.post-card h2 { font-size: 1.4rem; line-height: 1.18; margin-bottom: 12px; }
.post-card p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; flex: 1; }
.post-card .card-link { margin-top: auto; }

.article-wrap { max-width: 760px; margin-inline: auto; }
.article-meta {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: .64rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.article-meta span + span::before { content: "◆"; margin-right: 16px; font-size: .5rem; vertical-align: middle; opacity: .6; }
.article-wrap > h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); margin-bottom: 20px; }
.article-lead { font-size: 1.15rem; color: var(--text-2); margin-bottom: 36px; }
.page-hero .article-lead { color: #AFBDD4; }
.article-body { font-size: 1.05rem; line-height: 1.85; color: var(--text-2); }
.article-body h2 { font-size: 1.7rem; color: var(--text); margin: 56px 0 18px; }
.article-body h3 { font-size: 1.12rem; color: var(--text); margin: 32px 0 12px; }
.article-body p { margin-bottom: 22px; }
.article-body ul, .article-body ol { margin: 0 0 22px 1.3em; }
.article-body li { margin-bottom: 10px; padding-left: 4px; }
.article-body li::marker { color: var(--gold); }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a:not(.btn) { color: var(--bp); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.article-body blockquote { margin: 32px 0; padding: 22px 28px; border-left: 2px solid var(--gold); background: var(--paper-3); font-family: var(--font-head); font-size: 1.22rem; line-height: 1.45; color: var(--text); }
.article-cta {
  position: relative; margin-top: 64px; padding: 56px 40px; text-align: center; color: #F4F1EA;
  background: var(--noise), radial-gradient(500px 260px at 50% 0%, rgba(201,168,106,.14), transparent 70%), var(--grid-bp), var(--bp);
  box-shadow: var(--shadow-deep);
}
.article-cta::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201,168,106,.28); pointer-events: none; }
.article-cta h3 { position: relative; font-family: var(--font-head); font-weight: 400; font-size: 1.8rem; letter-spacing: -.015em; line-height: 1.1; margin-bottom: 12px; color: #F4F1EA; }
.article-cta p { position: relative; color: #AFBDD4; margin-bottom: 28px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 34px; font-family: var(--font-mono); font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.page-hero .back-link { color: #93A5C2; }
.back-link:hover, .page-hero .back-link:hover { color: var(--gold); }
.back-link svg { width: 15px; height: 15px; stroke-width: 1.6; }

/* =========================================================
   Signature interactions
   ========================================================= */
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes orbit { to { --a: 360deg; } }

/* Gold reading-progress line */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-ink), var(--gold), var(--gold-2)); }

/* Header tucks away while scrolling down, returns on scroll up */
.header { transition: transform .55s var(--ease), background .4s var(--ease), border-color .4s; }
.header.hide { transform: translateY(-100%); }

/* Headlines rise word by word */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .1em .16em 0; margin: 0 -.1em -.16em 0; }
.split .w > span { display: inline-block; transform: translateY(108%); animation: rise 1.15s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + .15s); }
@keyframes rise { to { transform: none; } }

/* Section headings unveil from a mask; the gold rule draws in */
.reveal h2 { clip-path: inset(0 0 100% 0); transform: translateY(26px); transition: clip-path 1.2s var(--ease) .1s, transform 1.2s var(--ease) .1s; }
.reveal.visible h2 { clip-path: inset(-20% -6% -28% -6%); transform: none; }
.section-head::after { width: 0; transition: width 1.3s var(--ease) .55s; }
.section-head.visible::after { width: 64px; }
.no-js .reveal h2 { clip-path: none; transform: none; }
.no-js .section-head::after { width: 64px; }

/* Hero: cursor-following gold light, drawing tilts toward the cursor */
.hero .grid-overlay { background: radial-gradient(560px circle at var(--hx, 72%) var(--hy, 40%), rgba(201,168,106,.11), transparent 65%), radial-gradient(1200px 700px at 30% 110%, rgba(16,41,79,.9), transparent 60%); }
.drawing { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.scroll-cue:hover { color: var(--gold); }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: rgba(201,168,106,.22); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Cursor spotlight on cards */
.service-card:hover { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(201,168,106,.17), transparent 62%), var(--noise), var(--bp); }
.plan:hover { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(201,168,106,.12), transparent 62%), var(--paper-3); }
.plan-featured:hover { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(201,168,106,.2), transparent 62%), var(--noise), var(--bp); }
.why-card:hover { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(201,168,106,.15), transparent 65%), var(--bp-2); }
.wa-feature:hover { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(37,211,102,.13), transparent 65%), var(--bp-2); }

/* A thread of gold light orbits the featured plan and the CTA panel */
.plan-featured::after, .cta-inner::after {
  content: ""; position: absolute; inset: -1px; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0deg 250deg, rgba(201,168,106,.15) 290deg, var(--gold-2) 335deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: orbit 6s linear infinite;
}

/* WhatsApp phone floats */
.phone { animation: floaty 8s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }

/* Process: a gold line runs through the steps when it comes into view */
.process::after { content: ""; position: absolute; top: 32px; left: 12.5%; right: 12.5%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease) .35s; }
.process.visible::after, .no-js .process::after { transform: scaleX(1); }
.process.visible .step-no { border-color: var(--gold); }
.step-no { transition: background .4s, color .4s, border-color .8s .9s; }

/* Why: honest numbers that count up */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 40px; border-block: 1px solid var(--line); }
.stats div { padding: 24px 16px 22px 0; }
.stats div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 3rem; line-height: 1; letter-spacing: -.03em; color: var(--gold); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stats span { display: block; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }

/* Statement ticker: oversized serif, slow drift */
.statement { overflow: hidden; padding: 90px 0 10px; background: var(--grid-paper), var(--paper); }
.statement-track { display: flex; width: max-content; animation: scroll 80s linear infinite; }
.statement-track span { display: flex; align-items: center; gap: .45em; padding-right: .45em; font-family: var(--font-head); font-weight: 400; font-size: clamp(3rem, 8.5vw, 7.5rem); line-height: 1.1; letter-spacing: -.035em; color: var(--bp); white-space: nowrap; }
.statement-track span:nth-child(even) { font-style: italic; color: var(--gold-ink); }
.statement-track span::after { content: ""; width: .14em; height: .14em; background: var(--gold); transform: rotate(45deg); }
.statement:hover .statement-track { animation-play-state: paused; }
.statement + .cta-band { padding-top: 80px; }

/* FAQ answers glide open (progressive enhancement) */
.faq-list { interpolate-size: allow-keywords; }
.faq::details-content { height: 0; overflow: clip; transition: height .55s var(--ease), content-visibility .55s allow-discrete; }
.faq[open]::details-content { height: auto; }

/* Contact rows reveal an arrow */
a.info-card::after { content: "→"; margin-left: auto; padding-right: 6px; color: var(--gold-ink); opacity: 0; transform: translateX(-10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
a.info-card:hover::after { opacity: 1; transform: none; }

/* Footer signs off with a giant fading wordmark */
.footer { position: relative; overflow: hidden; padding-bottom: 0; }
.footer::after {
  content: "BTAV"; display: block; text-align: center; pointer-events: none; user-select: none;
  font-family: var(--font-head); font-weight: 400; font-size: clamp(6rem, 27vw, 25rem); line-height: .78; letter-spacing: -.045em;
  margin: 56px 0 -.04em;
  background: linear-gradient(180deg, rgba(201,168,106,.34), rgba(201,168,106,.02) 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

@media (max-width: 960px) {
  .scroll-cue { display: none; }
  .process::after { display: none; }
}

/* =========================================================
   AI layer — iridescent accents (gold → lavender → periwinkle)
   ========================================================= */
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Hero: drifting neural constellation behind the grid */
.neural { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 62% 45%, #000 35%, transparent 85%);
  mask-image: radial-gradient(ellipse 75% 70% at 62% 45%, #000 35%, transparent 85%); }
.drawing .ai-pulse { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; animation: aipulse 2.8s ease-out 2.6s infinite; }
@keyframes aipulse { 0% { opacity: .75; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.7); } }

/* Shimmering gold-to-lavender text and badge */
.shimmer {
  background: linear-gradient(110deg, #C9A86A 15%, #F1E3BE 32%, #B9A7F5 50%, #8FB0D8 62%, #C9A86A 82%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s ease-in-out infinite alternate;
}
.service-card .ai-badge {
  position: absolute; top: 15px; left: 20px; padding: 3px 9px;
  font-family: var(--font-mono); font-size: .58rem; font-weight: 500; letter-spacing: .24em; color: var(--bp);
  background: linear-gradient(110deg, #C9A86A, #F1E3BE 30%, #B9A7F5 55%, #8FB0D8 70%, #C9A86A);
  background-size: 300% 100%; animation: sheen 5s ease-in-out infinite alternate;
}

/* AI section */
.section.ai-section { background: var(--noise), radial-gradient(700px 520px at 82% 45%, rgba(185,167,245,.09), transparent 65%), radial-gradient(500px 400px at 8% 90%, rgba(201,168,106,.07), transparent 70%), var(--grid-bp), var(--bp-deep); }
.section.ai-section { overflow: hidden; }
.ai-inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
/* soft rotating aura behind the demo panel */
.ai-inner::before {
  content: ""; position: absolute; right: -40px; top: 50%; width: 640px; height: 560px; transform: translateY(-50%); pointer-events: none;
  background: conic-gradient(from var(--a), rgba(201,168,106,.22), rgba(185,167,245,.24), rgba(143,176,216,.18), rgba(201,168,106,.22));
  border-radius: 50%; filter: blur(70px); opacity: .55; animation: orbit 16s linear infinite;
}
.ai-copy, .ai-demo { position: relative; z-index: 1; }
.ai-copy .section-head { margin-bottom: 36px; }
.ai-caps { list-style: none; margin: 0 0 40px; border-top: 1px solid var(--line); }
.ai-caps li { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: .98rem; }
.ai-caps span { flex: none; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; color: var(--gold); }

.ai-demo { background: rgba(6, 21, 44, .86); border: 1px solid rgba(201,168,106,.26); box-shadow: var(--shadow-deep); }
.ai-demo-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid rgba(201,168,106,.18); }
.ai-demo-head strong { display: block; font-size: .95rem; font-weight: 600; }
.ai-demo-head small { display: block; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.ai-live { margin-left: auto; padding: 4px 10px; border: 1px solid rgba(201,168,106,.4); border-radius: 100px; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.ai-orb {
  position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: conic-gradient(from var(--a), #C9A86A, #F1E3BE, #B9A7F5, #8FB0D8, #C9A86A);
  box-shadow: 0 0 22px rgba(185,167,245,.45); animation: orbit 5s linear infinite;
}
.ai-orb::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.75), rgba(6,21,44,.35) 62%); filter: blur(1.5px); }
.ai-orb.thinking { animation-duration: 1.1s; box-shadow: 0 0 34px rgba(185,167,245,.75); }

.ai-chat { height: 300px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; transition: opacity .6s ease; }
.ai-chat.fade { opacity: 0; }
.ai-msg { max-width: 86%; padding: 12px 16px; font-size: .92rem; line-height: 1.5; animation: pop .45s var(--ease) both; }
.ai-msg.user { align-self: flex-end; background: rgba(244,241,234,.08); border: 1px solid rgba(244,241,234,.12); color: #E7EDF6; border-radius: 14px 14px 2px 14px; }
.ai-msg.agent { align-self: flex-start; background: linear-gradient(135deg, rgba(201,168,106,.2), rgba(185,167,245,.17)); border: 1px solid rgba(201,168,106,.4); color: #F4F1EA; border-radius: 14px 14px 14px 2px; }
.ai-msg .caret { display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -2px; background: var(--gold); animation: blink 1s steps(1) infinite; }
.ai-thinking { align-self: flex-start; display: flex; gap: 5px; padding: 14px 16px; border: 1px solid rgba(201,168,106,.22); border-radius: 14px 14px 14px 2px; animation: pop .35s var(--ease) both; }
.ai-thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 1.2s infinite; }
.ai-thinking i:nth-child(2) { animation-delay: .2s; } .ai-thinking i:nth-child(3) { animation-delay: .4s; }

.ai-log { display: grid; align-content: start; gap: 7px; min-height: 132px; padding: 16px 22px 20px; border-top: 1px solid rgba(201,168,106,.18); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .06em; color: var(--muted); }
.ai-log-title { margin-bottom: 2px; font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.ai-log-line { display: flex; gap: 10px; animation: fadeIn .4s ease both; }
.ai-log-line::before { content: "✓"; color: #7CF0A9; }

/* Hero prompt bar — describe a project, get routed to a pre-filled quote */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ai-prompt {
  position: relative; display: flex; align-items: center; gap: 12px; max-width: 540px; margin: -8px 0 28px;
  padding: 6px 6px 6px 16px; border-radius: 100px;
  background: rgba(6, 21, 44, .65); border: 1px solid rgba(201,168,106,.28);
  transition: border-color .3s, box-shadow .4s var(--ease);
}
.ai-prompt::after {
  content: ""; position: absolute; inset: -1px; padding: 1px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0deg 240deg, rgba(185,167,245,.5) 290deg, var(--gold-2) 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: orbit 5s linear infinite;
}
.ai-prompt:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,168,106,.12), 0 24px 50px -24px rgba(185,167,245,.45); }
.ai-prompt-orb { flex: none; width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(from var(--a), #C9A86A, #F1E3BE, #B9A7F5, #8FB0D8, #C9A86A); box-shadow: 0 0 14px rgba(185,167,245,.5); animation: orbit 4s linear infinite; }
.ai-prompt input { flex: 1; min-width: 0; padding: 11px 0; border: 0; outline: none; background: none; color: #F4F1EA; font-size: .98rem; }
.ai-prompt input::placeholder { color: #93A5C2; opacity: 1; }
.ai-prompt button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--bp); cursor: pointer; transition: transform .35s var(--ease), background .3s; }
.ai-prompt button:hover { background: var(--gold-2); transform: scale(1.07); }
.ai-prompt button svg { width: 18px; height: 18px; stroke-width: 2.2; }
.ai-prompt.sent { border-color: #7CF0A9; }
.ai-prompt-hint { margin: 0 0 34px 18px; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Drawing comes alive: scan beam, flowing connectors, travelling data packets */
.drawing .scan { opacity: 0; animation: scan 5s cubic-bezier(.6,0,.4,1) 3s infinite; }
.drawing .scan-line { stroke: var(--gold); stroke-width: 1; opacity: .7; }
@keyframes scan { 0% { opacity: 0; transform: translateY(0); } 12% { opacity: 1; } 80% { opacity: 1; transform: translateY(220px); } 100% { opacity: 0; transform: translateY(220px); } }
.drawing .dash.fade { animation-name: fade, flow; animation-duration: .8s, 1.2s; animation-timing-function: ease, linear; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none; }
@keyframes flow { to { stroke-dashoffset: -14; } }
.drawing .packet { fill: var(--gold-2); stroke: none; opacity: 0; filter: drop-shadow(0 0 3px rgba(220,192,138,.9)); animation: fade .8s ease 2.6s forwards; }

@media (prefers-reduced-motion: reduce) {
  .drawing .scan, .drawing .packet { display: none; }
}

/* Inner-page headers get the same neural constellation (canvas injected by JS) */
.page-hero .neural { z-index: 0; }

/* BTAV Assistant — floating launcher + chat panel on every page */
.ai-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  display: flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 100px;
  background: rgba(6, 21, 44, .92); color: #F4F1EA; border: 1px solid rgba(201,168,106,.45);
  font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  transition: transform .35s var(--ease), box-shadow .35s, opacity .3s;
  animation: fabIn .9s var(--ease) 1.4s both;
}
.ai-fab:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -18px rgba(0,0,0,.6), 0 0 32px -4px rgba(185,167,245,.5); }
.ai-fab.lift { bottom: 94px; }
.ai-fab.open { opacity: 0; pointer-events: none; transform: scale(.9); }
.ai-fab-orb { position: relative; width: 32px; height: 32px; border-radius: 50%; background: conic-gradient(from var(--a), #C9A86A, #F1E3BE, #B9A7F5, #8FB0D8, #C9A86A); box-shadow: 0 0 16px rgba(185,167,245,.55); animation: orbit 4s linear infinite; }
.ai-fab-orb::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.75), rgba(6,21,44,.35) 62%); filter: blur(1px); }
@keyframes fabIn { from { opacity: 0; transform: translateY(20px); } }

.ai-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 96;
  width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 110px));
  display: flex; flex-direction: column; color: #F4F1EA;
  background: var(--noise), rgba(6, 21, 44, .97); border: 1px solid rgba(201,168,106,.35);
  box-shadow: var(--shadow-deep), 0 0 70px -24px rgba(185,167,245,.4);
  transform-origin: bottom right; animation: panelIn .45s var(--ease);
}
.ai-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.ai-panel-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgba(201,168,106,.2); }
.ai-panel-head .ai-orb { width: 34px; height: 34px; }
.ai-panel-head strong { display: block; font-size: .92rem; font-weight: 600; }
.ai-panel-head small { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: .54rem; letter-spacing: .16em; text-transform: uppercase; color: #93A5C2; }
.ai-close { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(201,168,106,.35); background: none; color: #F4F1EA; font-size: 1.1rem; line-height: 1; cursor: pointer; transition: background .25s, color .25s; }
.ai-close:hover { background: var(--gold); color: var(--bp); }
.ai-panel-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: rgba(201,168,106,.3) transparent; }
.ai-panel .ai-msg { max-width: 90%; font-size: .87rem; }
.ai-msg .ai-link { display: inline-block; margin-top: 8px; color: var(--gold); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid rgba(201,168,106,.45); }
.ai-msg .ai-link:hover { color: var(--gold-2); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 12px; }
.ai-chips button { padding: 7px 12px; border-radius: 100px; border: 1px solid rgba(201,168,106,.35); background: rgba(201,168,106,.06); color: #E7EDF6; font-size: .73rem; cursor: pointer; transition: background .25s, border-color .25s; }
.ai-chips button:hover { background: rgba(201,168,106,.18); border-color: var(--gold); }
.ai-panel-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid rgba(201,168,106,.2); }
.ai-panel-form input { flex: 1; min-width: 0; padding: 11px 15px; border-radius: 100px; border: 1px solid rgba(201,168,106,.3); background: rgba(244,241,234,.05); color: #F4F1EA; font-size: .88rem; outline: none; transition: border-color .25s; }
.ai-panel-form input::placeholder { color: #8A9AB8; }
.ai-panel-form input:focus { border-color: var(--gold); }
.ai-panel-form button { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--gold); color: var(--bp); cursor: pointer; }
.ai-panel-form button svg { width: 17px; height: 17px; stroke-width: 2.2; }
@media (max-width: 640px) {
  .ai-fab { right: 14px; bottom: 14px; padding: 7px; }
  .ai-fab-label { display: none; }
  .ai-fab.lift { bottom: 84px; }
  .ai-panel { right: 12px; bottom: 12px; height: min(560px, calc(100vh - 90px)); }
}

@media (max-width: 1200px) { .nav-links { gap: 24px; } .nav-links a:not(.btn) { font-size: .82rem; } }

/* Laptop & short screens: the whole hero fits in one viewport */
@media (min-width: 961px) {
  .hero-inner { grid-template-columns: 1.08fr 1fr; gap: 48px; }
  .hero-visual { justify-self: center; width: 100%; }
}
@media (min-width: 961px) and (max-height: 920px) {
  .hero { padding: calc(var(--header-h) + 22px) 0 34px; }
  .eyebrow { margin-bottom: 18px; padding: 6px 14px; }
  .hero h1 { font-size: clamp(2.2rem, 6.4vh, 3.6rem); margin-bottom: 16px; }
  .lead { font-size: .98rem; line-height: 1.6; margin-bottom: 22px; max-width: 580px; }
  .ai-prompt { margin: 0 0 16px; }
  .ai-prompt input { padding: 9px 0; }
  .ai-prompt button { width: 40px; height: 40px; }
  .hero-actions { margin-bottom: 18px; }
  .hero-actions .btn { padding: 13px 24px; }
  .hero-points { padding-top: 14px; gap: 8px 22px; }
  .scroll-cue { display: none; }
  /* drawing is 6:5 — size it to the height that's left */
  .hero-visual { max-width: calc((100vh - var(--header-h) - 56px) * 1.2); }
}
@media (max-width: 960px) {
  .ai-inner { grid-template-columns: 1fr; gap: 56px; }
  .ai-inner::before { left: 50%; right: auto; top: auto; bottom: -40px; transform: translateX(-50%); width: 420px; height: 420px; }
}
@media (max-width: 640px) {
  .ai-chat { height: 330px; padding: 18px 16px; }
  .ai-msg { font-size: .88rem; }
  .ai-log { padding: 14px 16px 18px; }
}
@media (max-width: 640px) {
  .stats strong { font-size: 2.2rem; }
  .stats div + div { padding-left: 14px; }
  .statement { padding-top: 64px; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }

  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 28px;
    background: var(--bp-deep); color: #F4F1EA; border-bottom: 1px solid rgba(201,168,106,.25);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .35s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .header:has(.nav-links.open) { background: var(--bp-deep); }
  .nav-links a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid rgba(201,168,106,.14); font-size: 1rem; opacity: 1; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 20px; padding: 16px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 56px); }
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .hero h1 { font-size: clamp(2.3rem, 6.6vw, 3.4rem); }
  .hero-visual { max-width: 640px; width: 100%; margin-inline: auto; }

  .wa-inner { grid-template-columns: 1fr; gap: 56px; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 40px; }
  .training-strip { grid-template-columns: 1fr; }
  .training-strip div + div { border-left: 0; border-top: 1px solid var(--line-strong); }

  .process { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .process::before { display: none; }

  .faq-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .faq-inner .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 88px 0; }
  .cta-band { padding-top: 88px; }
  .page-hero { padding: calc(var(--header-h) + 52px) 0 64px; }
  .page-hero::after { display: none; }
  .page-hero-icon { width: 56px; height: 56px; margin-bottom: 24px; }
  .page-hero-icon svg { width: 24px; height: 24px; }
  .article-cta { padding: 44px 24px; }
  .section-head { margin-bottom: 52px; }
  .services-grid, .wa-features { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card { padding: 22px 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero { padding-bottom: 56px; }
  .eyebrow { font-size: .56rem; letter-spacing: .12em; padding: 7px 12px; gap: 9px; margin-bottom: 26px; }
  .phone { width: 270px; height: 540px; }
  .phone-wrap::before { height: 540px; left: calc(50% - 166px); }
  .cta-inner { padding: 52px 26px 40px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .contact-form { padding: 52px 22px 30px; }
  .contact-form::before { left: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom > p:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-bottom > p:last-child { text-align: left; }
  .track-switch { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 22px; }
  .track-btn { padding: 11px 8px; font-size: .66rem; }
  .brand-text strong { letter-spacing: .24em; }
  .brand-text small { font-size: .52rem; letter-spacing: .16em; }
}

@media (max-width: 400px) {
  .phone-wrap::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
