/* =========================================================
   KYDENA — Shared Design System
   Brand: deep navy/black · gold accent · warm cream
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces (light) */
  --bg:        #FFFFFF;
  --bg-2:      #F4F8FA;
  --surface:   #FFFFFF;
  --surface-2: #F7FAFB;

  /* Brand — accent is TEAL, ink is navy (var names kept for compatibility) */
  --gold:        #0EA5A5;   /* teal accent */
  --gold-soft:   #14B8A6;   /* lighter teal (gradients/highlights) */
  --gold-deep:   #0C7C7C;   /* deeper teal (hover/text) */
  --cream:       #0A0F1A;   /* headings / strong text -> navy ink */
  --cream-dim:   #334155;   /* secondary text */

  /* Text */
  --text:    #1E293B;
  --muted:   #64748B;
  --muted-2: #94A3B8;

  /* Lines */
  --border:      rgba(10, 15, 26, 0.10);
  --border-gold: rgba(14, 165, 165, 0.30);

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.05);
  --shadow-md: 0 16px 40px rgba(15,23,42,.10);
  --shadow-lg: 0 30px 80px rgba(15,23,42,.14);
  --glow-gold: 0 0 0 1px rgba(14,165,165,.25), 0 16px 50px rgba(14,165,165,.16);

  /* Type */
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius:   16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --nav-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--gold); color: #ffffff; }

/* ---------- Background glow ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 80% -8%, rgba(14,165,165,.10), transparent 60%),
    radial-gradient(800px 700px at -10% 10%, rgba(14,165,165,.05), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; color: var(--cream); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p  { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--cream-dim); line-height: 1.6; }

.gold { color: var(--gold-soft); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); display: inline-block; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  padding: 13px 26px; border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap; will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(14,165,165,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(14,165,165,.42); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  background: rgba(10,15,26,.04);
  color: var(--cream);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-gold); background: rgba(14,165,165,.08); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav.scrolled {
  background: rgba(255,255,255,.85);
  border-bottom-color: var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 34px; width: auto; }
/* inline teal brand lockup */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-ic { height: 30px; width: 30px; flex: none; }
.brand-wm { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; color: var(--cream); }
.brand-wm i { font-style: normal; color: var(--gold); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-wm { font-size: 1.45rem; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: .96rem; color: var(--cream-dim); font-weight: 450;
  padding: 9px 15px; border-radius: 10px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--cream); background: rgba(10,15,26,.05); }
.nav-links a.active { color: var(--gold-soft); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(50px, 9vw, 110px)); padding-bottom: clamp(60px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--cream-dim);
  background: rgba(10,15,26,.04); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: var(--radius-pill); margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 0 4px rgba(14,165,165,.2); }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust .stat .num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: var(--cream); }
.hero-trust .stat .lbl { font-size: .82rem; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.hero-orb {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(14,165,165,.20), transparent 60%),
    conic-gradient(from 200deg, rgba(14,165,165,.10), rgba(10,15,26,.03), rgba(14,165,165,.12));
  border: 1px solid var(--border-gold);
  animation: float 9s ease-in-out infinite;
}
.hero-orb::after {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  border: 1px dashed rgba(14,165,165,.3);
  animation: spin 40s linear infinite;
}
.hero-mark {
  position: relative; width: 52%; filter: drop-shadow(0 20px 50px rgba(0,0,0,.6));
  animation: float 9s ease-in-out infinite reverse;
}
.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 11px 15px; box-shadow: var(--shadow-md);
  font-size: .85rem; color: var(--cream-dim); font-weight: 500;
}
.hero-chip svg { width: 18px; height: 18px; color: var(--gold-soft); }
.hero-chip.c1 { top: 6%; left: -6%; animation: float 7s ease-in-out infinite; }
.hero-chip.c2 { bottom: 14%; right: -8%; animation: float 8s ease-in-out .8s infinite; }
.hero-chip.c3 { top: 46%; left: -9%; animation: float 6.5s ease-in-out .4s infinite; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin  { to { transform: rotate(360deg); } }

/* ---------- Marquee / logos ---------- */
.trustbar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trustbar .label { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.trust-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; }
.trust-tags span { font-family: var(--font-head); font-weight: 500; color: var(--muted); font-size: 1.02rem; opacity: .85; }

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

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(420px 200px at var(--mx,50%) 0%, rgba(14,165,165,.10), transparent 70%);
  transition: opacity .35s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-gold); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }
.card .ic {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(14,165,165,.18), rgba(14,165,165,.05));
  border: 1px solid var(--border-gold);
}
.card .ic svg { width: 26px; height: 26px; color: var(--gold-soft); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-family: var(--font-head); font-size: .9rem; font-weight: 500; color: var(--gold-soft);
  transition: gap .25s var(--ease);
}
.card .card-link svg { width: 16px; height: 16px; }
.card .card-link:hover { gap: 12px; }

/* feature list inside cards */
.tick-list li { display: flex; gap: 11px; align-items: flex-start; margin-top: 12px; color: var(--cream-dim); font-size: .96rem; }
.tick-list li svg { width: 19px; height: 19px; color: var(--gold-soft); flex-shrink: 0; margin-top: 2px; }

/* ---------- Service cards (numbered, CliffTech-style) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 34px 30px 30px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(420px 220px at var(--mx,50%) 0%, rgba(14,165,165,.10), transparent 70%);
  transition: opacity .35s var(--ease); pointer-events: none;
}
.svc-card:hover { transform: translateY(-6px); border-color: var(--border-gold); box-shadow: var(--shadow-md); }
.svc-card:hover::before { opacity: 1; }
.svc-card > * { position: relative; }
.svc-num {
  position: absolute; top: 16px; right: 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; line-height: 1;
  color: var(--cream); opacity: .06; pointer-events: none; z-index: 0;
}
.svc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.svc-ic {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(14,165,165,.18), rgba(14,165,165,.05));
  border: 1px solid var(--border-gold);
}
.svc-ic svg { width: 25px; height: 25px; color: var(--gold-soft); }
.svc-tag {
  font-family: var(--font-head); font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft);
  background: rgba(14,165,165,.08); border: 1px solid var(--border-gold);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.svc-card h3 { margin-bottom: 10px; }
.svc-card > p { font-size: .97rem; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.svc-chips span {
  font-size: .8rem; color: var(--cream-dim);
  background: rgba(10,15,26,.04); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 6px 12px;
}
.svc-card .card-link {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  margin-top: auto; padding-top: 20px;
  font-family: var(--font-head); font-size: .9rem; font-weight: 500; color: var(--gold-soft);
  transition: gap .25s var(--ease);
}
.svc-chips { margin-bottom: 24px; }
.svc-card .card-link svg { width: 16px; height: 16px; }
.svc-card .card-link:hover { gap: 12px; }

/* ---------- Availability pill ---------- */
.avail {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 500; color: var(--cream-dim);
  background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold); border-radius: var(--radius-pill);
  padding: 9px 16px; box-shadow: var(--shadow-md);
}
.avail .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #4ad07d; position: relative;
}
.avail .pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid #4ad07d; opacity: .6; animation: ping 2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.hero-visual .avail { position: absolute; bottom: 2%; left: 50%; transform: translateX(-50%); z-index: 3; white-space: nowrap; }

/* ---------- Process pull-quote ---------- */
.process-quote {
  max-width: 760px; margin: 0 auto 48px; text-align: center;
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.4; color: var(--cream);
  letter-spacing: -0.01em;
}
.process-quote .mark { color: var(--gold-soft); }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stats-band .num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; color: var(--gold-soft); }
.stats-band .lbl { color: var(--muted); font-size: .95rem; margin-top: 4px; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-2); }
.step .n {
  font-family: var(--font-head); font-size: .85rem; font-weight: 600; letter-spacing: .1em;
  color: var(--gold-soft); display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px;
}
.step .n::before { counter-increment: step; content: "0" counter(step); font-size: 1.6rem; color: var(--cream); opacity: .15; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .96rem; }

/* ---------- Split / showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-visual {
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: 30px; box-shadow: var(--shadow-md);
}
.mock-row { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); margin-bottom: 12px; }
.mock-row:last-child { margin-bottom: 0; }
.mock-row .mi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(14,165,165,.12); border: 1px solid var(--border-gold); flex-shrink: 0; }
.mock-row .mi svg { width: 20px; height: 20px; color: var(--gold-soft); }
.mock-row .mt { font-family: var(--font-head); font-size: .95rem; color: var(--cream); font-weight: 500; }
.mock-row .ms { font-size: .82rem; color: var(--muted); }
.mock-row .badge-ok { margin-left: auto; font-size: .75rem; color: var(--gold-soft); background: rgba(14,165,165,.1); border: 1px solid var(--border-gold); padding: 4px 10px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 18px;
  padding: 24px 4px; font-family: var(--font-head); font-size: 1.08rem; font-weight: 500; color: var(--cream);
}
.faq-q .qn {
  font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--gold-soft);
  opacity: .55; flex-shrink: 0; width: 26px;
}
.faq-q .qbody { flex: 1; }
.faq-q .qcat {
  display: block; font-family: var(--font-head); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px;
}
.faq-q .pm { margin-left: auto; }
.faq-q .pm { width: 24px; height: 24px; flex-shrink: 0; position: relative; transition: transform .3s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--gold-soft); border-radius: 2px; left: 50%; top: 50%; }
.faq-q .pm::before { width: 13px; height: 2px; transform: translate(-50%,-50%); }
.faq-q .pm::after  { width: 2px; height: 13px; transform: translate(-50%,-50%); transition: transform .3s var(--ease); }
.faq-item.open .faq-q .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 4px 24px; font-size: 1rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(40px, 6vw, 70px); text-align: center;
  background: linear-gradient(135deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--border-gold); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 50% -20%, rgba(14,165,165,.18), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 540px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 36px; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); transition: all .25s var(--ease); }
.footer-social a:hover { color: var(--gold-soft); border-color: var(--border-gold); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-head); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--cream-dim); font-size: .95rem; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.footer-bottom p { font-size: .88rem; color: var(--muted-2); }
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom .links a { font-size: .88rem; color: var(--muted); }
.footer-bottom .links a:hover { color: var(--gold-soft); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 90px)); padding-bottom: clamp(40px, 6vw, 70px); text-align: center; }
.page-hero .lead { max-width: 620px; margin: 18px auto 0; }
.crumb { font-size: .85rem; color: var(--muted-2); margin-bottom: 18px; }
.crumb a:hover { color: var(--gold-soft); }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; color: var(--cream-dim); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font-family: var(--font-body); font-size: .98rem;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(14,165,165,.15); }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .82rem; color: var(--muted-2); margin-top: 14px; text-align: center; }
.form-success { display: none; padding: 16px; border-radius: 12px; background: rgba(14,165,165,.1); border: 1px solid var(--border-gold); color: var(--gold-soft); font-size: .95rem; margin-bottom: 18px; }
.form-success.show { display: block; }
.form-error { display: none; padding: 16px; border-radius: 12px; background: rgba(220,80,80,.1); border: 1px solid rgba(220,80,80,.4); color: #f0a6a6; font-size: .95rem; margin-bottom: 18px; }
.form-error.show { display: block; }
.form-error a { color: #f5c9c9; text-decoration: underline; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.btn[disabled] { opacity: .65; cursor: progress; }

.contact-aside .info-row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-aside .info-row:last-child { border-bottom: none; }
.contact-aside .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(14,165,165,.1); border: 1px solid var(--border-gold); flex-shrink: 0; }
.contact-aside .ic svg { width: 22px; height: 22px; color: var(--gold-soft); }
.contact-aside .info-row h4 { font-size: 1.02rem; margin-bottom: 3px; }
.contact-aside .info-row p, .contact-aside .info-row a { font-size: .95rem; color: var(--muted); }
.contact-aside .info-row a:hover { color: var(--gold-soft); }

/* ---------- Value rows (about) ---------- */
.value-row { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.value-row:last-child { border-bottom: none; }
.value-row .vn { font-family: var(--font-head); font-size: 1.4rem; color: var(--gold-soft); font-weight: 600; min-width: 48px; }
.value-row h3 { margin-bottom: 6px; }
.value-row p { font-size: .98rem; }

/* ---------- Image / media placeholder (swap bg-image for real photos) ---------- */
.thumb {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #EAF6F6, #FFFFFF);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10; display: grid; place-items: center;
  background-size: cover; background-position: center;
}
.thumb::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(14,165,165,.20), transparent 55%),
    radial-gradient(120% 90% at 100% 100%, rgba(14,165,165,.10), transparent 50%);
  mix-blend-mode: screen; opacity: .9;
}
.thumb::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(10,15,26,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,15,26,.045) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(120% 120% at 50% 0%, #000, transparent 75%);
}
.thumb .glyph { position: relative; width: 64px; height: 64px; opacity: .85; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.thumb .glyph svg { width: 100%; height: 100%; color: var(--gold-soft); }
.thumb.has-img::before, .thumb.has-img::after { opacity: 0; }

/* ---------- Portfolio / case studies ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.work-card:hover { transform: translateY(-6px); border-color: var(--border-gold); box-shadow: var(--shadow-md); }
.work-card .thumb { border: none; border-radius: 0; border-bottom: 1px solid var(--border); aspect-ratio: 16 / 9; }
.work-card .thumb .glyph { width: 46px; height: 46px; }
.work-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.work-tags span {
  font-family: var(--font-head); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-soft); background: rgba(14,165,165,.08); border: 1px solid var(--border-gold);
  padding: 5px 11px; border-radius: var(--radius-pill);
}
.work-body h3 { margin-bottom: 10px; }
.work-body > p { font-size: .97rem; }
.work-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.work-metrics .m .v { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--gold-soft); }
.work-metrics .m .k { font-size: .72rem; color: var(--muted); line-height: 1.3; }
.work-card .card-link {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  margin-top: auto; padding-top: 22px;
  font-family: var(--font-head); font-size: .9rem; font-weight: 500; color: var(--gold-soft);
  transition: gap .25s var(--ease);
}
.work-card .card-link svg { width: 16px; height: 16px; }
.work-card .card-link:hover { gap: 12px; }
.work-tags span.live {
  display: inline-flex; align-items: center; gap: 7px;
  color: #4ad07d; background: rgba(74,208,125,.08); border-color: rgba(74,208,125,.35);
}
.work-tags span.live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ad07d;
  box-shadow: 0 0 0 3px rgba(74,208,125,.2);
}
.work-metrics .m .k { font-size: .8rem; color: var(--muted); }

/* ---------- Partners / alliances ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner-card {
  display: flex; flex-direction: column; gap: 12px; padding: 26px 24px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.partner-card:hover { transform: translateY(-4px); border-color: var(--border-gold); }
.partner-card .logo {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(10,15,26,.04); border: 1px solid var(--border);
}
.partner-card .logo svg { width: 24px; height: 24px; color: var(--gold-soft); }
.partner-card .pname { font-family: var(--font-head); font-weight: 600; color: var(--cream); font-size: 1.05rem; }
.partner-card .pdesc { font-size: .88rem; color: var(--muted); }
.partner-banner {
  margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 28px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(14,165,165,.10), rgba(14,165,165,.02));
  border: 1px solid var(--border-gold);
}
.partner-banner p { color: var(--cream); font-family: var(--font-head); font-weight: 500; }
.partner-banner p span { display: block; color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: .92rem; margin-top: 2px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin-inline: auto; order: -1; }
  .grid-3, .grid-4, .steps, .stats-band, .svc-grid, .work-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  /* on mobile every split section leads with its text, visual drops below */
  .split .split-visual { order: 2 !important; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border); padding: 16px 24px 24px;
  }
  .nav-menu-open .nav-links a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .grid-3, .grid-4, .steps, .stats-band, .grid-2, .svc-grid, .work-grid, .partner-grid, .form-row { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-chip { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

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

/* =========================================================
   DARK SECTIONS  —  navy anchors on the light site
   ========================================================= */
/* ----- Dark CTA band ----- */
.cta-band {
  background: linear-gradient(135deg, #0A0F1A, #0F1A2A);
  border-color: rgba(255,255,255,.10);
}
.cta-band::before {
  background: radial-gradient(600px 300px at 50% -20%, rgba(14,165,165,.28), transparent 70%);
}
.cta-band h2 { color: #ffffff; }
.cta-band p { color: #9FB0C3; }
.cta-band .btn-ghost {
  background: rgba(255,255,255,.06); color: #ffffff; border-color: rgba(255,255,255,.18);
}
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.10); border-color: var(--border-gold); }

/* ----- Dark footer ----- */
.footer { background: #0A0F1A; border-top-color: rgba(255,255,255,.08); }
.footer-brand p { color: #94A3B8; }
.footer-brand .brand-wm { color: #ffffff; }
.footer-brand .brand-ic path { stroke: #ffffff; }   /* K turns white on navy */
.footer-col h4 { color: #6B7686; }
.footer-col a { color: #CBD5E1; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-social a { border-color: rgba(255,255,255,.14); color: #94A3B8; }
.footer-social a:hover { color: var(--gold-soft); border-color: var(--border-gold); }
.footer-bottom { border-top-color: rgba(255,255,255,.08); }
.footer-bottom p { color: #64748B; }
.footer-bottom .links a { color: #94A3B8; }
.footer-bottom .links a:hover { color: var(--gold-soft); }

/* =========================================================
   NAVY SECTION BANDS  —  dark anchors with texture + teal glow
   add class "sec-dark" to a <section> (or hero)
   ========================================================= */
.sec-dark { position: relative; isolation: isolate; background: #0A0F1A; }
.sec-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(760px 420px at 82% -5%, rgba(14,165,165,.16), transparent 60%),
    radial-gradient(640px 440px at -8% 105%, rgba(14,165,165,.09), transparent 55%);
}
.sec-dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000, transparent 80%);
}
/* text inversions inside navy bands */
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4 { color: #ffffff; }
.sec-dark p { color: #9FB0C3; }
.sec-dark .lead { color: #C7D2DE; }
.sec-dark .section-head p { color: #9FB0C3; }
.sec-dark .tick-list li { color: #C7D2DE; }
.sec-dark .btn-ghost { background: rgba(255,255,255,.06); color: #ffffff; border-color: rgba(255,255,255,.18); }
.sec-dark .btn-ghost:hover { background: rgba(255,255,255,.10); border-color: var(--border-gold); }
/* hero specifics on navy */
.sec-dark .hero-badge { background: rgba(255,255,255,.06); color: #C7D2DE; border-color: rgba(255,255,255,.12); }
.sec-dark .hero-trust .stat .num { color: #ffffff; }
.sec-dark .hero-trust .stat .lbl { color: #94A3B8; }
.sec-dark .hero-mark path { stroke: #ffffff; }   /* K turns white on navy */
/* FAQ on navy */
.sec-dark .faq-item { border-bottom-color: rgba(255,255,255,.10); }
.sec-dark .faq-q { color: #ffffff; }
.sec-dark .faq-q .qcat { color: #7C8AA0; }
.sec-dark .faq-a p { color: #9FB0C3; }
