/* ============================================================
   ADZETTA — IT Consultancy · Applied AI
   Brand: Barlow · #4785C9 (azure) · #284389 (navy) · #FFFFFF
   Aesthetic: sleek modern tech / AI-forward — deep navy, glass, signal-blue
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --azure:      #4785C9;   /* primary brand blue (frame + dot) */
  --azure-lt:   #5B9BE0;
  --azure-soft: #7FB1E8;
  --navy:       #284389;   /* brand navy (wordmark) */
  --navy-lt:    #34539F;

  /* Surfaces (rich deep navy — lifted off pure-black for depth) */
  --bg:         #0B1322;
  --bg-2:       #101829;
  --surface:    #16203A;
  --surface-2:  #1C2746;
  --surface-3:  #253152;
  --glass:      rgba(28,39,70,.6);

  --line:       rgba(140,170,225,.16);
  --line-2:     rgba(140,170,225,.26);
  --line-3:     rgba(140,170,225,.4);

  --text:       #F3F0E9;
  --text-2:     #CBC7BD;
  --muted:      #9A958B;
  --muted-2:    #646057;

  --accent:     var(--azure);
  --accent-ink: #04122A;

  --grad:       linear-gradient(135deg, var(--azure-lt) 0%, #6E8BFF 100%);
  --grad-navy:  linear-gradient(135deg, var(--azure) 0%, var(--navy) 100%);
  --glow:       0 0 0 1px rgba(71,133,201,.25), 0 30px 80px -36px rgba(71,133,201,.5);

  --radius:    16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --maxw: 1220px;
  --gutter: clamp(20px, 5vw, 60px);

  --font-serif:   "Fraunces", "Georgia", ui-serif, serif;
  --font-display: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(.22,.7,.2,1);
  --ease-spring: cubic-bezier(.34,1.4,.45,1);
  --shadow-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 26px 70px -34px rgba(0,0,0,.85);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  font-size: clamp(15.5px, .55vw + 13.5px, 17.5px);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--azure); color: #fff; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--grad); z-index: 100; box-shadow: 0 0 12px rgba(91,155,224,.7);
  transition: width .1s linear;
}

/* ---------- Atmosphere ---------- */
.bg-atmos {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(71,133,201,.26), transparent 60%),
    radial-gradient(820px 560px at 4% 0%, rgba(52,83,159,.34), transparent 56%),
    radial-gradient(1300px 820px at 50% 116%, rgba(71,133,201,.14), transparent 60%),
    radial-gradient(900px 600px at 100% 50%, rgba(40,67,137,.18), transparent 60%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(140,170,225,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(140,170,225,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(82% 60% at 50% 18%, #000 28%, transparent 92%);
          mask-image: radial-gradient(82% 60% at 50% 18%, #000 28%, transparent 92%);
}
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .03; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right)); }
section { position: relative; z-index: 1; }
.section { padding-block: clamp(66px, 9vw, 138px); }
.section-sm { padding-block: clamp(46px, 6vw, 86px); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 18%, var(--line-2) 82%, transparent); }

/* ---------- Type ---------- */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.h-xl { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 700; letter-spacing: -.03em; }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; }
.h-md { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.h-sm { font-size: clamp(1.25rem, 1.9vw, 1.55rem); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.3rem); color: var(--text-2); max-width: 60ch; line-height: 1.6; font-weight: 400; }
.muted { color: var(--muted); }
.accent-text { color: var(--azure-lt); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* eyebrow with bracket-dot motif */
.eyebrow {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--azure-lt); display: inline-flex; align-items: center; gap: .7em; font-weight: 500;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--azure); box-shadow: 0 0 10px rgba(71,133,201,.8); }
.eyebrow.center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.45em; border-radius: 999px;
  font-weight: 600; font-size: .96rem; border: 1px solid transparent; letter-spacing: .01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .2s;
  white-space: nowrap; position: relative;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--azure); color: #fff; box-shadow: 0 12px 34px -12px rgba(71,133,201,.7); }
.btn-primary:hover { transform: translateY(-2px); background: var(--azure-lt); box-shadow: 0 18px 44px -14px rgba(71,133,201,.85); }
.btn-ghost { background: rgba(120,150,210,.05); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--azure); background: rgba(71,133,201,.08); }
.btn-lg { padding: 1.02em 1.8em; font-size: 1.02rem; }
.btn-sm { padding: .6em 1.1em; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 80; transition: background .3s var(--ease), border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(11,19,34,.78); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand svg, .brand img { height: 30px; width: auto; }
.brand .wm { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .95rem; color: var(--muted); position: relative; padding: 4px 0; transition: color .2s; font-weight: 500; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0; background: var(--azure); transition: width .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 11px; width: 46px; height: 42px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 86px); padding-bottom: clamp(56px, 8vw, 120px); overflow: hidden; }
#neural { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .42; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(34px, 5vw, 78px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6em; padding: .42em .9em; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(120,150,210,.05); font-family: var(--font-mono);
  font-size: .76rem; letter-spacing: .08em; color: var(--text-2); margin-bottom: 24px;
}
.hero-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(74,222,128,.5)} 70%{box-shadow:0 0 0 7px rgba(74,222,128,0)} 100%{box-shadow:0 0 0 0 rgba(74,222,128,0)} }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 26px; }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--glass); backdrop-filter: blur(8px); }
.hero-meta .stat { padding: 16px 22px; flex: 1; min-width: 130px; border-right: 1px solid var(--line); }
.hero-meta .stat:last-child { border-right: none; }
.hero-meta .stat .n { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--text); }
.hero-meta .stat .l { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }

/* Hero terminal */
.terminal { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); overflow: hidden; position: relative; }
.terminal::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 80% at 100% 0%, rgba(71,133,201,.18), transparent 55%); }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.terminal-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); }
.terminal-bar .dot:nth-child(1){background:#ff5f57} .terminal-bar .dot:nth-child(2){background:#febc2e} .terminal-bar .dot:nth-child(3){background:#28c840}
.terminal-bar .tt { margin-left: 8px; font-family: var(--font-mono); font-size: .75rem; color: var(--muted-2); }
.terminal-body { padding: 22px 20px; font-family: var(--font-mono); font-size: .82rem; line-height: 1.9; min-height: 200px; }
.terminal-body .line { white-space: pre-wrap; }
.c-prompt { color: var(--azure-lt); } .c-key { color: #6E8BFF; } .c-str { color: #6ee7b7; } .c-com { color: var(--muted-2); }
.cursor { display:inline-block; width:8px; height:1.05em; background: var(--azure-lt); vertical-align:-2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50%{opacity:0} }

/* ---------- Trust strip ---------- */
.strip { border-block: 1px solid var(--line); background: rgba(120,150,210,.015); }
.strip-inner { display: flex; align-items: center; gap: 16px; padding-block: 22px; flex-wrap: wrap; justify-content: center; }
.strip .label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.chip { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-mono); font-size: .78rem; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: .5em .95em; background: rgba(120,150,210,.03); }
.chip svg { width: 14px; height: 14px; color: var(--azure-lt); }

/* ---------- Section head ---------- */
.section-head { max-width: 66ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 18px; }
.section-head.center p { margin-inline: auto; }

/* ---------- Bracket frame motif (reusable) ---------- */
.bracket { position: relative; }
.bracket::before, .bracket::after { content: ""; position: absolute; width: 16px; height: 16px; border-color: var(--azure); border-style: solid; opacity: .7; transition: .4s var(--ease); }
.bracket::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.bracket::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 56px; }
.card { position: relative; padding: 32px 30px 34px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .4s var(--ease); background: radial-gradient(440px 220px at var(--mx,80%) var(--my,-10%), rgba(71,133,201,.16), transparent 60%); }
.card:hover { transform: translateY(-5px); border-color: var(--line-3); box-shadow: var(--shadow-1); }
.card:hover::before { opacity: 1; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.card .ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: rgba(71,133,201,.1); border: 1px solid rgba(71,133,201,.25); color: var(--azure-lt); }
.card .ico svg { width: 25px; height: 25px; }
.card .idx { font-family: var(--font-mono); font-size: .76rem; color: var(--muted-2); letter-spacing: .14em; }
.card h3 { font-size: 1.36rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card .clist { margin-top: 18px; display: grid; gap: 8px; }
.card .clist li { display: flex; gap: 9px; align-items: flex-start; font-size: .88rem; color: var(--text-2); }
.card .clist svg { width: 15px; height: 15px; color: var(--azure-lt); flex-shrink: 0; margin-top: 3px; }
.card.feature { border-color: rgba(71,133,201,.3); background: linear-gradient(165deg, rgba(71,133,201,.08), var(--bg-2) 58%); }
.card.feature .ico { background: var(--azure); color: #fff; border-color: transparent; }
.card .tag { display:inline-flex; align-items:center; gap:.4em; margin-top:16px; font-family:var(--font-mono); font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color: var(--azure-lt); border:1px solid rgba(71,133,201,.32); border-radius:999px; padding:.4em .8em; background:rgba(71,133,201,.07); }

/* ---------- AI showcase ---------- */
.ai-band { border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(700px 360px at 80% 0%, rgba(71,133,201,.14), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ai-copy { padding: clamp(34px, 4.5vw, 58px); border-right: 1px solid var(--line); }
.ai-copy h2 { margin: 16px 0 16px; }
.ai-feats { padding: clamp(34px, 4.5vw, 58px); display: grid; gap: 4px; align-content: center; }
.ai-feat { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ai-feat:last-child { border-bottom: none; }
.ai-feat .n { font-family: var(--font-mono); font-size: .8rem; color: var(--azure-lt); flex-shrink: 0; padding-top: 2px; }
.ai-feat b { display: block; font-size: 1.06rem; font-weight: 600; margin-bottom: 4px; }
.ai-feat span.d { color: var(--muted); font-size: .92rem; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.step { position: relative; padding: 30px 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(120,150,210,.018); transition: border-color .3s, transform .3s var(--ease); }
.step:hover { border-color: var(--line-2); transform: translateY(-3px); }
.step .num { font-family: var(--font-mono); font-size: .82rem; color: var(--azure-lt); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(71,133,201,.32); border-radius: 10px; background: rgba(71,133,201,.07); margin-bottom: 18px; }
.step h4 { font-size: 1.16rem; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: .9rem; }
.step .connect { position: absolute; top: 48px; right: -8px; width: 16px; height: 1px; background: var(--line-2); z-index: 2; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); text-align: center; }
.stat-card .big { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card .lbl { color: var(--muted); font-size: .9rem; margin-top: 10px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.quote { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2)); display: flex; flex-direction: column; }
.quote .stars { color: var(--azure-lt); letter-spacing: 2px; font-size: .9rem; margin-bottom: 14px; }
.quote blockquote { font-size: 1.02rem; color: var(--text-2); line-height: 1.55; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote .av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-navy); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: .95rem; flex-shrink: 0; }
.quote .who b { display: block; font-size: .92rem; }
.quote .who span { display: block; font-size: .8rem; color: var(--muted-2); font-family: var(--font-mono); }

/* ---------- Split / mission ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 76px); align-items: center; }
.quote-card { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 46px); background: linear-gradient(180deg, var(--surface-2), var(--surface)); position: relative; overflow: hidden; }
.quote-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(71,133,201,.18), transparent 70%); }
.quote-card .mark { font-family: var(--font-display); font-size: 4.5rem; line-height: .6; color: var(--azure); opacity: .5; }
.quote-card blockquote { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.3; margin: 20px 0 24px; letter-spacing: -.01em; font-weight: 500; }
.quote-card cite { font-family: var(--font-mono); font-style: normal; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.feature-list { display: grid; gap: 2px; margin-top: 28px; }
.feature-list li { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.feature-list li:last-child { border-bottom: none; }
.feature-list .fi { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(71,133,201,.1); border: 1px solid rgba(71,133,201,.25); color: var(--azure-lt); margin-top: 2px; }
.feature-list .fi svg { width: 15px; height: 15px; }
.feature-list b { font-weight: 600; display: block; }
.feature-list span.d { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 52px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; color: var(--text); }
.faq-q .pm { flex-shrink: 0; width: 26px; height: 26px; border: 1px solid var(--line-2); border-radius: 8px; display: grid; place-items: center; position: relative; transition: .3s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--azure-lt); transition: .3s var(--ease); }
.faq-q .pm::before { width: 12px; height: 2px; } .faq-q .pm::after { width: 2px; height: 12px; }
.faq-item.open .faq-q .pm { background: var(--azure); border-color: var(--azure); }
.faq-item.open .faq-q .pm::before, .faq-item.open .faq-q .pm::after { background: #fff; }
.faq-item.open .faq-q .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { color: var(--muted); padding-bottom: 24px; padding-right: 46px; }

/* ---------- CTA + Contact form ---------- */
.cta-wrap { border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(720px 380px at 12% 0%, rgba(71,133,201,.16), transparent 60%), radial-gradient(640px 320px at 100% 120%, rgba(40,67,137,.4), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface)); display: grid; grid-template-columns: .92fr 1.08fr; }
.cta-copy { padding: clamp(36px, 5vw, 60px); border-right: 1px solid var(--line); }
.cta-copy h2 { margin: 18px 0; }
.contact-line { margin-top: 26px; display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: .92rem; }
.contact-line a { color: var(--azure-lt); }
.contact-line svg { width: 18px; height: 18px; color: var(--azure-lt); }
.form { padding: clamp(36px, 5vw, 60px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; color: var(--text); background: rgba(120,150,210,.04); border: 1px solid var(--line-2); border-radius: var(--radius-sm); font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238C99B5' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { background: var(--surface); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azure); background: rgba(71,133,201,.05); box-shadow: 0 0 0 3px rgba(71,133,201,.16); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-family: var(--font-mono); font-size: .72rem; color: var(--muted-2); margin-top: 14px; text-align: center; }
.form-note a { color: var(--muted); }
.form-status { margin-top: 16px; padding: 13px 15px; border-radius: var(--radius-sm); font-size: .9rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(71,133,201,.12); border: 1px solid rgba(71,133,201,.4); color: #cfe2f7; }
.form-status.err { background: rgba(245,107,107,.1); border: 1px solid rgba(245,107,107,.35); color: #ffd0d0; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(28px, 4vw, 52px); position: relative; overflow: hidden; }
.page-hero .lead { margin-top: 20px; }
.breadcrumb { font-family: var(--font-mono); font-size: .76rem; color: var(--muted-2); margin-bottom: 22px; letter-spacing: .04em; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--azure-lt); }

/* ---------- Prose / legal ---------- */
.prose { max-width: 76ch; }
.prose .updated { font-family: var(--font-mono); font-size: .8rem; color: var(--muted-2); letter-spacing: .06em; margin-bottom: 34px; }
.prose h2 { font-size: 1.38rem; margin-top: 42px; margin-bottom: 12px; }
.prose h2:first-of-type { margin-top: 8px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose p strong, .prose b { color: var(--text); font-weight: 600; }
.prose a { color: var(--azure-lt); text-decoration: underline; text-underline-offset: 3px; }
.prose ul.bul { list-style: disc; padding-left: 22px; color: var(--muted); margin-bottom: 16px; }
.prose ul.bul li { margin-bottom: 8px; }

/* ---------- Service detail (services page) ---------- */
.svc-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px,4vw,64px); align-items: center; padding-block: clamp(40px,5vw,70px); }
.svc-detail:nth-child(even) .svc-visual { order: -1; }
.svc-visual { border: 1px solid var(--line-2); border-radius: var(--radius-lg); aspect-ratio: 4/3; background: radial-gradient(400px 240px at 70% 20%, rgba(71,133,201,.18), transparent), linear-gradient(180deg, var(--surface-2), var(--surface)); position: relative; overflow: hidden; display: grid; place-items: center; }
.svc-visual .big-ico { width: 96px; height: 96px; color: var(--azure-lt); opacity: .9; }
.svc-visual .big-ico svg { width: 100%; height: 100%; }
.svc-detail h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 14px 0 14px; }
.svc-detail .clist { margin-top: 22px; display: grid; gap: 12px; }
.svc-detail .clist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.svc-detail .clist svg { width: 18px; height: 18px; color: var(--azure-lt); flex-shrink: 0; margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 60px 40px; background: rgba(120,150,210,.012); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 18px; max-width: 36ch; }
.footer-col h5 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); padding: 6px 0; font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--azure-lt); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-bottom small { color: var(--muted-2); font-size: .85rem; }
.footer-bottom .mono { font-family: var(--font-mono); font-size: .74rem; color: var(--muted-2); letter-spacing: .05em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1{transition-delay:.08s} .reveal.d2{transition-delay:.16s} .reveal.d3{transition-delay:.24s} .reveal.d4{transition-delay:.32s} .reveal.d5{transition-delay:.4s}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .terminal { max-width: 540px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step .connect { display: none; }
  .split { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-copy { border-right: none; border-bottom: 1px solid var(--line); }
  .cta-wrap { grid-template-columns: 1fr; }
  .cta-copy { border-right: none; border-bottom: 1px solid var(--line); }
  .quotes { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail:nth-child(even) .svc-visual { order: 0; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.scrolled { background: rgba(11,19,34,.94); }
  .mobile-menu { position: fixed; inset: 78px 0 auto 0; z-index: 70; background: var(--bg-2); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease); padding: 14px var(--gutter) 26px; }
  body.nav-open .mobile-menu { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .mobile-menu .btn { width: 100%; justify-content: center; margin-top: 18px; }
  .cards { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; }
  .hero-meta .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .hero-meta .stat:last-child { border-bottom: none; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  /* iOS: inputs must be >=16px or Safari zooms in on focus */
  .field input, .field select, .field textarea { font-size: 16px; }
  /* keep tappable menu clear of the notch/home indicator */
  .mobile-menu { padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}
@media (min-width: 761px) { .mobile-menu { display: none; } }

/* ============================================================
   PREMIUM REFINEMENT — editorial serif display + warm whites
   ============================================================ */
/* Big display headlines become elegant high-contrast serif;
   smaller component headings (cards, steps, faq) stay Barlow. */
.h-xl, .h-lg, .h-md { font-family: var(--font-serif); }
.h-xl { font-weight: 400; letter-spacing: -.018em; line-height: 1.03; }
.h-lg { font-weight: 400; letter-spacing: -.014em; line-height: 1.07; }
.h-md { font-weight: 500; letter-spacing: -.01em;  line-height: 1.14; }
.svc-detail h3 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em; }

/* Italic clause = calm, desaturated accent (replaces the heavy gradient) */
.h-xl em, .h-lg em, .h-md em { font-style: italic; font-weight: 400; color: var(--azure-soft); }

/* Mission quote: serif italic reads editorial and refined */
.quote-card blockquote { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.004em; }
.quote-card .mark { font-family: var(--font-serif); }

/* Stat numbers: serif + a single calm blue (no gradient wash) */
.stat-card .big { font-family: var(--font-serif); font-weight: 500; background: none; -webkit-text-fill-color: currentColor; color: var(--azure-soft); }

/* Logo: larger, brighter frame, faint glow so the mark actually reads */
.brand img { height: 34px; filter: drop-shadow(0 0 5px rgba(91,155,224,.4)); }
.site-footer .brand img { height: 28px; }

/* Softer, less-neon primary button */
.btn-primary { box-shadow: 0 12px 30px -14px rgba(71,133,201,.5); }
.btn-primary:hover { box-shadow: 0 16px 38px -16px rgba(71,133,201,.62); }

/* Warmer selection + slightly calmer neural canvas already handled in JS */
@media (max-width: 760px) {
  .brand img { height: 30px; }
}

/* ============================================================
   DEPTH PASS — richer dark, legible fields, no dead zones
   ============================================================ */
/* Form fields read as clear inset wells (not invisible) */
.field input, .field select, .field textarea {
  background: rgba(150,180,235,.06);
  border-color: var(--line-2);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.25);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  background: rgba(71,133,201,.08);
  box-shadow: 0 0 0 3px rgba(71,133,201,.18);
}

/* Ambient glow fills the empty corner on inner-page heroes */
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(760px 460px at 88% -6%, rgba(71,133,201,.12), transparent 58%),
    radial-gradient(620px 420px at 0% 100%, rgba(52,83,159,.16), transparent 60%);
}

/* Cards & panels get a touch more elevation against the lifted base */
.card, .stat-card, .quote { box-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 18px 50px -34px rgba(0,0,0,.7); }
