/* =========================================================
   SS Superior & Associates — professional CA firm theme
   Navy · Ivory · Muted Gold
   ========================================================= */
:root {
  /* Brand palette — taken from sssuperiorassociates.com */
  --navy-900: #172f42;   /* deep slate */
  --navy-800: #1f4058;   /* top bar slate */
  --navy-700: #2c3e50;   /* footer slate */
  --navy-600: #304064;   /* logo navy */
  --navy-400: #34495e;
  --blue: #284888;       /* nav / service heading blue */
  --red: rgba(230, 17, 17, 0.75); /* active nav */
  --ivory: #efeeea;      /* page background */
  --ivory-2: #e6e3dc;
  --paper: #ffffff;
  --gold: #ffab5b;       /* primary orange (buttons) */
  --gold-2: #f39c12;     /* accent orange (icons, highlights) */
  --gold-soft: rgba(243, 156, 18, 0.14);
  --ink: #222b36;
  --muted: #7f8c8d;
  --line: rgba(44, 62, 80, 0.14);
  --line-light: rgba(255, 255, 255, 0.12);

  --serif: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;   /* headings */
  --sans: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;    /* body */
  --display: "Funnel Display", "Montserrat", system-ui, sans-serif;                /* nav, quotes, leads */

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -30px rgba(11, 26, 46, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--navy-900); }
[data-lucide] { width: 18px; height: 18px; stroke-width: 1.75; flex-shrink: 0; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 18px; font-family: var(--display);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero__eyebrow::before { display: none; }

.h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.12; letter-spacing: -0.02em; font-weight: 700;
  color: var(--navy-600);
}
.h2 em, .hero__title em { font-style: normal; color: var(--gold); }
.h2 em { color: var(--gold-2); }
.lead { font-family: var(--display); font-size: 20px; color: var(--ink); }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-top: 20px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head--light .h2 { color: var(--ivory); }

/* word reveal helpers (JS-split) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > span { display: inline-block; will-change: transform; }

/* =================== Buttons =================== */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 100px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 14.5px; letter-spacing: 0.01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, var(--navy-800));
  transform: translateY(101%); border-radius: inherit;
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--lg { padding: 17px 28px; font-size: 15.5px; }
.btn--gold { --bg: var(--gold); --fg: #fff; --fill: var(--gold-2); }
.btn--ghost { --fg: var(--ivory); --bd: rgba(255,255,255,0.3); --fill: var(--ivory); }
.btn--ghost:hover { color: var(--navy-900); border-color: var(--ivory); }
.btn--navy { --bg: var(--blue); --fg: #fff; --fill: var(--gold); }
.btn--navy:hover { color: #fff; }
.btn--wa { --bg: #25d366; --fg: #fff; --fill: #1ebe5a; }
.btn--wa svg { width: 20px; height: 20px; }
.btn--text { --fg: var(--muted); padding-left: 10px; padding-right: 10px; }
.btn--text::before { display: none; }
.btn--text:hover { color: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-800); border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* =================== Preloader =================== */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy-900); color: var(--ivory);
  display: grid; place-items: center;
}
.preloader__inner { text-align: center; width: min(280px, 80vw); }
.preloader__logo { width: 190px; height: auto; margin: 0 auto 18px; opacity: 0; }
.pl-frame { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 440; stroke-dashoffset: 440; }
.preloader__mark text { font-family: var(--serif); font-size: 40px; fill: var(--ivory); opacity: 0; }
.preloader__name { font-family: var(--display); font-size: 18px; letter-spacing: 0.04em; opacity: 0; margin-bottom: 22px; }
.preloader__bar { height: 1px; background: rgba(255,255,255,0.12); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--gold); }
.preloader__count { display: block; margin-top: 12px; font-size: 12px; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); font-variant-numeric: tabular-nums; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; }

/* =================== Topbar & Nav =================== */
.topbar { background: var(--navy-800); color: rgba(255,255,255,0.72); font-size: 13px; position: relative; z-index: 60; }
.topbar__row { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 16px; }
.topbar__contact, .topbar__social { display: flex; align-items: center; gap: 22px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: color .3s; }
@media (max-width: 860px) { .topbar .hide-sm { display: none; } }
.topbar a:hover { color: var(--gold); }
.topbar [data-lucide] { width: 14px; height: 14px; color: var(--gold); }
.topbar__social [data-lucide] { color: inherit; width: 15px; height: 15px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 30px -18px rgba(31, 64, 88, 0.35); }
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform .5s var(--ease), background .5s var(--ease), box-shadow .5s; }
.nav__row { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ivory); }
.brand__logo { height: 62px; width: auto; }
.brand--light .brand__logo { height: 84px; }
.brand__mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 4px;
  font-family: var(--serif); font-size: 19px; color: var(--gold); letter-spacing: 0.02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: 0.01em; }
.brand__text small { font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); }

.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; font-family: var(--display); color: var(--blue); font-size: 17px; font-weight: 400; padding: 6px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { color: var(--navy-600); }
.nav__links a.active { color: var(--red); font-weight: 700; }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--blue); transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 45; background: var(--navy-900);
  padding: 150px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); pointer-events: none;
}
.menu-open .mmenu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mmenu nav { display: flex; flex-direction: column; gap: 6px; }
.mmenu nav a { font-family: var(--display); font-size: clamp(34px, 9vw, 52px); color: var(--ivory); line-height: 1.2; }
.mmenu__foot { display: flex; flex-direction: column; gap: 6px; color: var(--gold); }

/* =================== Hero =================== */
.hero {
  position: relative; min-height: calc(100vh - 122px); min-height: calc(100svh - 80px);
  display: flex; align-items: center;
  background:
    radial-gradient(1200px 600px at 75% 40%, rgba(40, 72, 136, 0.55), transparent 60%),
    radial-gradient(800px 500px at 10% 100%, rgba(255, 171, 91, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--ivory); overflow: hidden;
  padding: 90px 0 110px;
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(23,47,66,0.88) 0%, rgba(23,47,66,0.35) 50%, transparent 75%); }
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { color: rgba(255,255,255,0.72); gap: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(255,171,91,0.2); }
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(42px, 7vw, 96px); line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 30px; max-width: 900px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__sub { max-width: 560px; font-size: clamp(16px, 1.4vw, 18.5px); color: rgba(255,255,255,0.72); margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero__trust { display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,0.65); }
.hero__trust p { margin: 0; }
.hero__trust strong { color: #fff; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.hero__scroll i { width: 1px; height: 48px; background: rgba(255,255,255,0.18); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold); animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { to { top: 100%; } }

/* =================== Marquee =================== */
.marquee { background: var(--navy-800); color: var(--ivory); border-top: 1px solid var(--line-light); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; gap: 34px; width: max-content; align-items: center; will-change: transform; }
.marquee span { font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px); font-weight: 400; white-space: nowrap; }
.marquee b { color: var(--gold); font-size: 11px; font-weight: 400; }

/* =================== About =================== */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__visual { position: relative; }
.ledger {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative;
}
.ledger__head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.ledger__tag { background: var(--gold-soft); color: var(--gold-2); padding: 4px 10px; border-radius: 100px; font-size: 11.5px; }
.ledger__chart { height: 190px; display: flex; align-items: flex-end; gap: 10px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); margin-bottom: 18px;
  background: repeating-linear-gradient(0deg, transparent 0 46px, rgba(20,34,53,0.05) 46px 47px); }
.ledger__chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--navy-600), var(--navy-800)); transform-origin: bottom; }
.ledger__chart span:last-child, .ledger__chart span:nth-last-child(2) { background: linear-gradient(180deg, #e6b874, var(--gold-2)); }
.ledger__rows li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ledger__rows li:last-child { border-bottom: 0; }
.ledger__rows span { color: var(--muted); }
.ledger__rows b { font-weight: 600; color: #2e7d5b; display: inline-flex; align-items: center; gap: 6px; }
.ledger__rows b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ledger__seal { position: absolute; top: -18px; right: 24px; display: inline-flex; gap: 8px; align-items: center; background: var(--navy-800); color: var(--ivory); padding: 9px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); }
.ledger__seal [data-lucide] { color: var(--gold); }
.about__badge {
  position: absolute; left: -26px; bottom: -34px;
  background: var(--navy-800); color: var(--ivory); border-radius: var(--radius);
  padding: 22px 26px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow);
}
.about__badge strong { font-family: var(--serif); font-size: 50px; line-height: 1; color: var(--gold); font-weight: 700; }
.about__badge span { font-size: 13px; line-height: 1.35; color: rgba(255,255,255,0.75); }
.about__text p:not(.eyebrow) { color: var(--muted); }
.about__text .lead { color: var(--ink); margin-top: 26px; }
.about__text strong { color: var(--navy-800); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 30px 0 34px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.checks [data-lucide] { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-2); stroke-width: 2.5; }

/* =================== Stats =================== */
.stats { background: var(--ivory-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 56px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 4.6vw, 60px); line-height: 1; color: var(--navy-600); font-variant-numeric: tabular-nums; }
.stat strong em { font-style: normal; color: var(--gold); font-size: 0.6em; vertical-align: 0.3em; }
.stat p { margin: 12px 0 0; color: var(--muted); font-size: 14px; letter-spacing: 0.04em; }

/* =================== Services =================== */
.svc { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.svc__tabs { display: flex; flex-direction: column; max-height: 620px; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.svc__tab {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 15px 4px; color: var(--muted); font-size: 15px; font-weight: 500;
  transition: color .3s, padding .4s var(--ease);
}
.svc__tab small { font-size: 11px; color: var(--gold-2); font-variant-numeric: tabular-nums; min-width: 20px; }
.svc__tab:hover { color: var(--ink); padding-left: 10px; }
.svc__tab.is-active { color: var(--blue); font-weight: 700; padding-left: 14px; box-shadow: inset 2px 0 0 var(--gold); }
.svc__panel {
  position: sticky; top: 110px;
  background: var(--navy-600); color: var(--ivory); border-radius: var(--radius);
  padding: clamp(30px, 4vw, 54px); min-height: 520px; overflow: hidden;
}
.svc__panel::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -140px; border-radius: 50%; border: 1px solid rgba(255,171,91,0.28); }
.svc__panel::after { content: ""; position: absolute; width: 260px; height: 260px; right: -60px; top: -60px; border-radius: 50%; border: 1px solid rgba(255,171,91,0.2); }
.svc__panel-inner { position: relative; z-index: 1; }
.svc__icon { width: 62px; height: 62px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,171,91,0.14); color: var(--gold); margin-bottom: 26px; }
.svc__icon [data-lucide], .svc__icon svg { width: 28px; height: 28px; }
.svc__num { position: absolute; top: 0; right: 0; font-family: var(--serif); font-weight: 800; font-size: 64px; line-height: 1; color: rgba(255,255,255,0.08); }
.svc__panel h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin-bottom: 14px; }
.svc__panel p { color: rgba(255,255,255,0.68); max-width: 560px; }
.svc__panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 26px 0 34px; }
.svc__panel li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.svc__panel li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); flex-shrink: 0; }
.svc__panel .btn--navy { --bg: var(--gold); --fg: #fff; --fill: var(--gold-2); }
.svc-grid { display: none; }

/* =================== Process =================== */
.process { background: var(--navy-800); color: var(--ivory); overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.process__wrap { position: relative; }
.process__line { position: absolute; top: 52px; left: 6%; width: 88%; height: 20px; overflow: visible; }
.process__track { stroke: rgba(255,255,255,0.12); stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; }
.process__draw { stroke: var(--gold); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.step { text-align: center; padding: 0 8px; }
.step__no { display: block; font-size: 12px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 14px; }
.step__icon { width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-700); border: 1px solid rgba(255,171,91,0.45); color: var(--gold); position: relative; box-shadow: 0 0 0 10px var(--navy-800); }
.step__icon svg { width: 28px; height: 28px; }
.step h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,0.62); font-size: 15px; }

/* =================== Mission / Values =================== */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: clamp(80px, 10vw, 130px); }
.mv__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(30px, 4vw, 50px); transform-style: preserve-3d; will-change: transform; }
.mv__card > [data-lucide], .mv__card > svg { width: 34px; height: 34px; color: var(--gold-2); margin-bottom: 26px; }
.mv__card h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; margin-bottom: 14px; color: var(--navy-600); }
.mv__card p:not(.eyebrow) { color: var(--muted); margin: 0; }
.mv__card--dark { background: var(--navy-600); border-color: transparent; }
.mv__card--dark h3 { color: var(--ivory); }
.mv__card--dark p:not(.eyebrow) { color: rgba(255,255,255,0.65); }
.mv__card--dark > svg { color: var(--gold); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 34px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: transparent; transition: background .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.value:hover { background: var(--paper); transform: translateY(-6px); box-shadow: var(--shadow); }
.value__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--gold); margin-bottom: 24px; transition: transform .6s var(--ease); }
.value:hover .value__icon { transform: rotateY(180deg); }
.value h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; margin-bottom: 8px; color: var(--blue); }
.value p { color: var(--muted); font-size: 15px; margin: 0; }

/* =================== Founder =================== */
.founder { background: var(--ivory-2); }
.founder__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.quote-mark { font-family: var(--display); font-size: 140px; line-height: 0.6; color: var(--gold); display: block; height: 60px; }
.founder__text { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.1vw, 40px); line-height: 1.25; letter-spacing: -0.01em; color: var(--navy-600); margin-bottom: 36px; }
.founder__sig { display: flex; align-items: center; gap: 16px; }
.founder__sig strong { display: block; font-size: 17px; }
.founder__sig span { color: var(--muted); font-size: 14px; }
.founder__avatar { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-600); color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 18px; }
.founder__list li { display: flex; gap: 22px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; color: var(--blue); transition: padding .5s var(--ease), color .3s; }
.founder__list li:hover { padding-left: 12px; color: var(--gold-2); }
.founder__list span { font-size: 12px; color: var(--gold-2); letter-spacing: 0.1em; }

/* =================== Testimonials =================== */
.tslider { max-width: 1000px; margin: 0 auto; overflow: hidden; }
.tslider__track { display: flex; transition: transform .9s var(--ease); }
.tcard { flex: 0 0 100%; padding: 0 clamp(0px, 4vw, 60px); text-align: center; }
.tcard > p { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.35; color: var(--navy-800); margin: 24px 0 36px; }
.tcard footer { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.tcard footer strong { display: block; }
.tcard footer span { color: var(--muted); font-size: 14px; }
.tcard__av { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; font-weight: 700; }
.tslider__nav { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 52px; }
.tslider__nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--navy-800); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.tslider__nav button:hover { background: var(--navy-800); color: var(--ivory); border-color: var(--navy-800); }
.tslider__dots { display: flex; gap: 8px; }
.tslider__dots button { width: 26px; height: 3px; border-radius: 3px; border: 0; padding: 0; background: var(--line); transition: background .4s, width .5s var(--ease); }
.tslider__dots button.is-active { background: var(--gold); width: 46px; }

/* =================== CTA band =================== */
.cta-band { background: var(--gold); padding: clamp(50px, 7vw, 80px) 0; overflow: hidden; }
.cta-band__row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band .h2 { color: var(--navy-600); max-width: 720px; font-size: clamp(30px, 3.8vw, 48px); }
.cta-band .h2 em { color: #fff; }
.cta-band .btn--gold { --bg: var(--navy-600); --fg: #fff; --fill: var(--blue); }

/* =================== FAQ =================== */
.faq__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__intro p:not(.eyebrow) { color: var(--muted); margin: 22px 0 30px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 18px; font-weight: 600; color: var(--navy-600); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--navy-800); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background .3s; }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary i { background: var(--navy-800); border-color: var(--navy-800); transform: rotate(180deg); }
.qa[open] summary i::before, .qa[open] summary i::after { background: var(--gold); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { color: var(--muted); padding: 0 50px 26px 0; margin: 0; }

/* =================== Contact =================== */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; margin-bottom: 70px; }
.contact__info > p:not(.eyebrow) { color: var(--muted); margin: 22px 0 36px; }
.cinfo li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cinfo__ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--navy-800); color: var(--gold); display: grid; place-items: center; }
.cinfo span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.cinfo p { margin: 2px 0 0; font-weight: 500; }
.cinfo a:hover { color: var(--gold-2); }

.cform { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 46px); box-shadow: var(--shadow); }
.cform h3 { font-family: var(--serif); font-weight: 700; font-size: 28px; color: var(--navy-800); margin-bottom: 26px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; margin-bottom: 16px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px 16px 9px; outline: none; resize: vertical; appearance: none;
  transition: border-color .3s, box-shadow .3s;
}
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field > span { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field select:focus + span, .field select:valid + span { transform: translateY(-10px) scale(0.76); color: var(--gold-2); }
.field.is-invalid input, .field.is-invalid select { border-color: #c0533f; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 4px 0 24px; cursor: pointer; }
.agree input { accent-color: var(--navy-800); margin-top: 3px; }
.cform__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cform__note { margin: 16px 0 0; font-size: 14px; font-weight: 600; min-height: 1.4em; }
.cform__note.ok { color: #2e7d5b; } .cform__note.err { color: #c0533f; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; filter: grayscale(0.85) contrast(1.05); transition: filter .6s; }
.map:hover { filter: none; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* =================== Footer =================== */
.footer { background: var(--navy-700); color: rgba(255,255,255,0.62); padding: 90px 0 30px; overflow: hidden; }
.footer__big { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 8vw, 128px); line-height: 1; letter-spacing: -0.04em; color: var(--ivory); white-space: nowrap; margin-bottom: 70px; opacity: 0.95; }
.footer__big em { color: var(--gold); font-style: normal; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer .brand { margin-bottom: 20px; }
.footer p { font-size: 14.5px; }
.footer h4 { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--ivory); margin-bottom: 20px; }
.footer ul li { margin-bottom: 11px; font-size: 14.5px; }
.footer ul a { transition: color .3s; }
.footer ul a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.footer__social a:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.footer__social [data-lucide] { width: 16px; height: 16px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-size: 13px; }
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: var(--gold); }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,0.6); transition: transform .4s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* =================== Responsive =================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta .btn { display: none; }
  .brand__logo { height: 54px; }
  .svc { grid-template-columns: 1fr; }
  .svc__tabs { flex-direction: row; overflow-x: auto; max-height: none; padding: 0 0 6px; gap: 8px; }
  .svc__tab { flex-shrink: 0; border: 1px solid var(--line); border-radius: 100px; padding: 10px 18px; white-space: nowrap; }
  .svc__tab:hover { padding-left: 18px; }
  .svc__tab.is-active { padding-left: 18px; background: var(--navy-800); color: var(--ivory); box-shadow: none; border-color: var(--navy-800); }
  .svc__panel { position: relative; top: 0; min-height: 0; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .about__grid, .founder__grid, .faq__grid, .contact__grid, .mv { grid-template-columns: 1fr; }
  .about__visual { max-width: 520px; margin: 0 auto 30px; width: 100%; }
  .about__badge { left: 10px; bottom: -30px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .process__steps { grid-template-columns: 1fr 1fr; gap: 50px 20px; }
  .process__line { display: none; }
  .faq__intro { position: static; }
  .hero__veil { background: linear-gradient(180deg, rgba(23,47,66,0.55), rgba(23,47,66,0.85)); }
}
@media (max-width: 600px) {
  .topbar { display: none; }
  .hide-sm { display: none !important; }
  .brand__text small { display: none; }
  .hero { padding-top: 120px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__trust { flex-direction: column; align-items: flex-start; gap: 4px; }
  .checks { grid-template-columns: 1fr; }
  .svc__panel ul { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .qa summary { font-size: 16px; }
  .qa__body p { padding-right: 0; }
  .stat { padding: 40px 12px; }
  .ledger { padding: 22px; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================
   MULTI-PAGE COMPONENTS
   ========================================================= */

/* ---------- Page-transition curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 950; background: var(--navy-800); display: none; place-items: center; }
.curtain.is-on { display: grid; }
.curtain img { width: 150px; height: auto; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--ivory);
  background:
    radial-gradient(900px 480px at 80% 30%, rgba(40, 72, 136, 0.6), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(255, 171, 91, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  padding: clamp(90px, 12vw, 150px) 0 clamp(80px, 10vw, 120px);
}
.page-hero #hero3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(23,47,66,0.75), rgba(23,47,66,0.1) 70%); }
.page-hero__content { position: relative; z-index: 2; }
.page-hero__content > * { max-width: 860px; }
.crumbs { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 22px; }
.crumbs a { color: var(--gold); }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; }
.page-hero__title { font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 6.4vw, 84px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 20px; }
.page-hero__title em { font-style: normal; color: var(--gold); }
.page-hero__sub { font-family: var(--display); font-size: clamp(17px, 1.6vw, 21px); color: rgba(255,255,255,0.75); max-width: 620px; margin: 0; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.18); font-size: 13.5px; color: rgba(255,255,255,0.85); backdrop-filter: blur(6px); }
.pill svg { width: 15px; height: 15px; color: var(--gold); }

/* ---------- About page ---------- */
.intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.intro-grid .prose p { color: var(--muted); font-size: 16.5px; }
.intro-grid .prose .lead { color: var(--ink); }
.founder-card { position: sticky; top: 120px; background: var(--navy-600); color: var(--ivory); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); overflow: hidden; box-shadow: var(--shadow); }
.founder-card::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -140px; border-radius: 50%; border: 1px solid rgba(255,171,91,0.3); }
.founder-card__av { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; font-weight: 800; font-size: 28px; margin-bottom: 22px; position: relative; }
.founder-card h3 { font-family: var(--serif); font-weight: 700; font-size: 26px; margin-bottom: 4px; }
.founder-card__role { color: var(--gold); font-family: var(--display); margin-bottom: 20px; }
.founder-card p { color: rgba(255,255,255,0.72); font-size: 15px; }
.founder-card ul { margin-top: 22px; border-top: 1px solid var(--line-light); }
.founder-card li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.founder-card li svg { width: 18px; height: 18px; color: var(--gold); }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 10px; }
.sol { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; display: flex; gap: 14px; align-items: center; font-weight: 600; color: var(--blue); font-size: 15px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.sol:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sol__ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-2); }
.sol__ic svg { width: 20px; height: 20px; }
.team-band { background: var(--navy-700); color: var(--ivory); }
.team-band .h2 { color: #fff; }
.team-band .stats__grid { margin-top: 50px; }
.team-band .stat { border-color: var(--line-light); }
.team-band .stat strong { color: #fff; }
.team-band .stat p { color: rgba(255,255,255,0.65); }
.team-band .stat:nth-child(n+3) { border-top-color: var(--line-light); }

/* ---------- CTA band variants ---------- */
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band p { color: var(--navy-600); margin: 12px 0 0; font-family: var(--display); font-size: 18px; }
.btn--light { --bg: #fff; --fg: var(--navy-600); --fill: var(--navy-600); }
.btn--light:hover { color: #fff; }

/* ---------- Services page ---------- */
.svc-intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: end; margin-bottom: 50px; }
.svc-intro p { color: var(--muted); font-size: 17px; margin: 0; }
.svc-index-wrap { position: sticky; top: 80px; z-index: 20; background: rgba(239,238,234,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 50px; }
.svc-index-wrap { transition: top .5s var(--ease); }
body:has(.nav.is-hidden) .svc-index-wrap { top: 0; }
.svc-index { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.svc-index::-webkit-scrollbar { display: none; }
.svc-index a { flex-shrink: 0; padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--blue); background: var(--paper); transition: background .35s, color .35s, border-color .35s; white-space: nowrap; }
.svc-index a:hover { border-color: var(--blue); }
.svc-index a.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.scards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.scard { scroll-margin-top: 170px; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 40px); overflow: hidden; transition: box-shadow .6s var(--ease), transform .6s var(--ease), border-color .6s; }
.scard::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.scard:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.scard:hover::after { transform: scaleX(1); }
.scard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.scard__icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-600); color: var(--gold); }
.scard__icon svg { width: 26px; height: 26px; }
.scard__no { font-weight: 800; font-size: 44px; line-height: 1; color: rgba(40,72,136,0.1); }
.scard h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--blue); margin-bottom: 18px; }
.scard li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--ink); }
.scard li:last-child { border-bottom: 0; }
.scard li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; flex-shrink: 0; transform: rotate(45deg); background: var(--gold-2); }
.scard__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; font-size: 14px; color: var(--gold-2); }
.scard__cta svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.scard__cta:hover svg { transform: translateX(5px); }
.scard--wide { grid-column: 1 / -1; }
.scard--wide ul { columns: 2; column-gap: 40px; }
.scard--wide li { break-inside: avoid; }

/* ---------- Contact page ---------- */
.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: clamp(60px, 8vw, 100px); }
.ccard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ccard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ccard__ic { width: 56px; height: 56px; border-radius: 14px; background: var(--navy-600); color: var(--gold); display: grid; place-items: center; margin-bottom: 22px; }
.ccard__ic svg { width: 24px; height: 24px; }
.ccard h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--blue); margin-bottom: 14px; }
.ccard li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.ccard li:last-child { border-bottom: 0; }
.ccard li b { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ccard a { font-weight: 600; color: var(--ink); word-break: break-word; }
.ccard a:hover { color: var(--gold-2); }
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.socials a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; transition: background .35s, color .35s, border-color .35s; }
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--navy-600); color: #fff; border-color: var(--navy-600); }
.socials a.wa:hover { background: #25d366; border-color: #25d366; }
.emergency { display: flex; align-items: center; gap: 20px; margin-top: 30px; padding: 22px 24px; border-radius: var(--radius); background: linear-gradient(120deg, var(--navy-600), var(--blue)); color: #fff; }
.emergency__ic { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.12); display: grid; place-items: center; color: var(--gold); flex-shrink: 0; position: relative; }
.emergency__ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: ping 2.4s var(--ease) infinite; }
.emergency__ic svg { width: 22px; height: 22px; }
.emergency strong { display: block; font-size: 16px; }
.emergency span { font-size: 14px; color: rgba(255,255,255,0.75); }
.emergency a { margin-left: auto; font-weight: 800; font-size: 19px; color: var(--gold); white-space: nowrap; }

/* ---------- Blog (coming soon) ---------- */
.soon { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.soon__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 100px; background: var(--gold-soft); color: var(--gold-2); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; }
.soon__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.soon p { color: var(--muted); font-size: 17px; margin-top: 18px; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.topic { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.topic:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.topic__art { height: 150px; position: relative; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-600), var(--blue)); color: var(--gold); overflow: hidden; }
.topic__art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 26px 26px; }
.topic__art svg { width: 46px; height: 46px; position: relative; transition: transform .7s var(--ease); }
.topic:hover .topic__art svg { transform: scale(1.12) rotate(-6deg); }
.topic__body { padding: 24px 26px 28px; }
.topic__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); }
.topic h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--navy-600); margin: 10px 0 10px; }
.topic p { color: var(--muted); font-size: 14.5px; margin: 0; }
.topic__soon { position: absolute; top: 14px; right: 14px; z-index: 1; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 100px; background: rgba(255,255,255,0.14); color: #fff; backdrop-filter: blur(6px); }
.follow { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 70px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--navy-600); color: #fff; }
.follow h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); }
.follow p { color: rgba(255,255,255,0.7); margin: 6px 0 0; }
.follow__links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.toc { position: sticky; top: 120px; border-left: 1px solid var(--line); }
.toc p { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); padding-left: 18px; margin-bottom: 12px; }
.toc a { display: block; padding: 8px 18px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; color: var(--muted); transition: color .3s, border-color .3s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--blue); border-left-color: var(--gold-2); font-weight: 700; }
.legal__body { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 60px); }
.legal__body > p.lead { margin-bottom: 30px; }
.legal__body section { scroll-margin-top: 120px; padding: 26px 0; border-top: 1px solid var(--line); }
.legal__body h2 { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--navy-600); margin-bottom: 12px; display: flex; gap: 14px; align-items: baseline; }
.legal__body h2 span { color: var(--gold-2); font-size: 15px; }
.legal__body p, .legal__body li { color: #4f5d6b; }
.legal__body ul { padding-left: 0; }
.legal__body li { position: relative; padding: 6px 0 6px 22px; }
.legal__body li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-2); }
.legal__updated { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); background: var(--ivory); padding: 6px 14px; border-radius: 100px; margin-bottom: 22px; }
.legal__updated svg { width: 15px; height: 15px; color: var(--gold-2); }

/* ---------- Multi-page responsive ---------- */
@media (max-width: 1080px) {
  .svc-index-wrap { top: 80px; }
  .ccards { grid-template-columns: 1fr 1fr; }
  .ccards .ccard:last-child { grid-column: 1 / -1; }
  .topics { grid-template-columns: 1fr 1fr; }
  .sol-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .intro-grid, .svc-intro, .legal { grid-template-columns: 1fr; }
  .founder-card, .toc { position: static; }
  .toc { display: none; }
  .scards { grid-template-columns: 1fr; }
  .scard--wide ul { columns: 1; }
  .page-hero::after { background: linear-gradient(180deg, rgba(23,47,66,0.5), rgba(23,47,66,0.8)); }
}
@media (max-width: 600px) {
  .ccards, .topics, .sol-grid { grid-template-columns: 1fr; }
  .ccards .ccard:last-child { grid-column: auto; }
  .emergency { flex-wrap: wrap; }
  .emergency a { margin-left: 0; }
  .svc-index-wrap { top: 72px; }
  .cta-band__actions .btn { width: 100%; justify-content: center; }
}

/* =================== SEO text additions (keyword pages, guides) =================== */
h1.hero__eyebrow { font-weight: 700; line-height: 1.4; }
.hero__kicker { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(15px, 1.5vw, 20px); letter-spacing: 0.02em; color: var(--gold); margin-bottom: 0.5em; }
h2.page-hero__sub { font-weight: 400; line-height: 1.5; }
.page-hero__lead { color: rgba(255,255,255,0.62); max-width: 700px; margin: 18px 0 0; font-size: 16px; }


.guide .section-head { margin-bottom: 50px; }
.guide .toc { max-height: calc(100vh - 160px); overflow-y: auto; scrollbar-width: thin; }
.guide .toc a { font-size: 13px; padding: 6px 16px; }
.legal__body h3 { font-family: var(--serif); font-weight: 700; font-size: 17.5px; color: var(--navy-700); margin: 22px 0 8px; }
.legal__body ol { padding-left: 22px; margin: 0 0 1em; list-style: decimal; }
.legal__body ol li { padding: 4px 0 4px 6px; }
.legal__body ol li::before { display: none; }
.legal__body ul { margin: 0 0 1em; }
.legal__body strong { color: var(--navy-700); }
.legal__body a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal__body blockquote { margin: 0 0 1.2em; padding: 18px 22px; border-left: 3px solid var(--gold-2); background: rgba(243,156,18,0.07); border-radius: 0 12px 12px 0; }
.legal__body blockquote p { margin: 0 0 0.5em; }
.legal__body blockquote p:last-child { margin: 0; }
.legal__body .tbl { overflow-x: auto; margin: 0 0 1.2em; }
.legal__body table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal__body th, .legal__body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal__body th { color: var(--navy-600); font-weight: 700; background: rgba(40,72,136,0.05); }

.learn { margin-top: 34px; }
.learn h3, .art-faq h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--navy-600); margin-bottom: 18px; }
.art-faq { margin-top: 50px; }
.art-faq .qa summary span { font-size: 16.5px; }
.founder { overflow: hidden; }
.follow__links .btn { white-space: normal; text-align: left; max-width: 100%; }
#svcDesc:empty { display: none; }

/* ---------------- Floating WhatsApp (mobile only) + Career button ---------------- */
.wa-float { display: none; }
.career-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 54px; height: 54px; border: 0; border-radius: 16px; background: #0d6efd; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(13,110,253,0.6); transition: transform .4s var(--ease), background .3s; }
.career-float svg { width: 26px; height: 26px; }
.career-float:hover { transform: translateY(-3px) scale(1.05); background: #0b5ed7; }
@media (max-width: 1080px) {
  .wa-float { display: grid; }
  .career-float { right: auto; left: 22px; }
}
@media (max-width: 600px) { .career-float { left: 16px; bottom: 16px; width: 52px; height: 52px; } }

.career-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .25s ease; }
.career-modal[hidden] { display: none; }
.career-modal.is-open { opacity: 1; }
.career-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 20, 30, 0.6); backdrop-filter: blur(3px); }
.career-form { position: relative; width: 100%; max-width: 420px; background: #fff; color: var(--navy-900); border-radius: 14px; padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5); transform: translateY(20px) scale(.97); transition: transform .35s var(--ease); }
.career-modal.is-open .career-form { transform: none; }
.career-form h2 { font-size: 24px; margin: 0 0 6px; }
.career-form input:not([type=checkbox]), .career-form textarea { width: 100%; padding: 11px 13px; border: 1px solid #ccd3dc; border-radius: 6px; font: inherit; font-size: 14px; color: inherit; background: #fff; }
.career-form textarea { resize: vertical; min-height: 72px; }
.career-form input:focus, .career-form textarea:focus { outline: none; border-color: #0d6efd; box-shadow: 0 0 0 3px rgba(13,110,253,0.15); }
.career-form__agree { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.career-form__submit { margin-top: 6px; padding: 12px; border: 0; border-radius: 6px; background: #0d6efd; color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: background .3s; }
.career-form__submit:hover { background: #0b5ed7; }
.career-form__close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--navy-900); cursor: pointer; }
.career-form__note { font-size: 13px; margin: 0; }
.career-form__note:empty { display: none; }
.career-form__note.err { color: #c0392b; }
.career-form__note.ok { color: #1e8449; }

