/* ==========================================================================
   Teckmart — Jabalpur local lead-gen design system
   Light mode · Poppins + Inter · noir / magenta / amber / plum
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand — noir (primary/dark, neutral) + magenta (CTA/accent) + amber & plum (support) */
  --noir-900: #17151a;
  --noir-800: #221f27;
  --noir-700: #322d3a;
  --noir-600: #46404f;
  --noir-500: #5c5468;
  --noir-100: #ece9ee;

  --magenta-700: #97184f;   /* text on white — 5.4:1 */
  --magenta-600: #c11f6a;
  --magenta-500: #db2c7d;
  --magenta-400: #e85a97;
  --magenta-100: #fbe4ef;

  --amber-700: #8a5c0a;
  --amber-600: #c68a13;
  --amber-500: #eaa722;
  --amber-100: #fcefd7;

  --plum-700: #5a2f68;
  --plum-600: #7a3f8c;
  --plum-500: #9457a8;
  --plum-100: #f1e6f4;

  --rose-600: #b3315c;
  --rose-500: #d1497a;
  --rose-100: #fbe6ee;

  --error-600: #c0152b;
  --green-600: #15803d;  /* reserved for the WhatsApp brand button only */

  /* neutrals — cool-warm charcoal to sit with the noir/magenta system */
  --ink: #1c1a1f;
  --slate-700: #423d46;
  --slate-600: #635c68;
  --slate-500: #847c8a;
  --slate-400: #a89fad;
  --bg: #ffffff;
  --bg-soft: #f8f6f8;
  --bg-tint: #fbeef4;
  --border: #ece5ea;
  --border-strong: #dccfd6;

  /* type — Poppins (geometric, confident) + Inter (readable body) */
  --font-head: "Denk One", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  /* trimmed down a step across the board — the previous scale ran large */
  --fs-xs: .74rem;
  --fs-sm: .825rem;
  --fs-base: .95rem;
  --fs-lg: 1.02rem;
  --fs-xl: 1.16rem;
  --fs-2xl: 1.4rem;
  --fs-3xl: 1.7rem;
  --fs-4xl: 2.15rem;
  --fs-5xl: 2.7rem;

  /* space — 4/8 rhythm */
  --s-1: .25rem; --s-2: .5rem;  --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem;   --s-7: 2.75rem; --s-8: 3.5rem;
  --s-9: 4.5rem; --s-10: 6rem;

  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 24px; --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(23, 21, 26, .06);
  --shadow-sm: 0 4px 12px -4px rgba(23, 21, 26, .12);
  --shadow-md: 0 14px 32px -12px rgba(23, 21, 26, .18);
  --shadow-lg: 0 28px 60px -22px rgba(23, 21, 26, .28);
  --shadow-accent: 0 14px 30px -12px rgba(219, 44, 125, .55);

  --wrap: 1200px;
  --nav-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 220ms;

  --z-bg: 0; --z-body: 10; --z-sticky: 40; --z-nav: 100; --z-modal: 1000;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.68;
  color: var(--slate-600);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--magenta-700); text-decoration-color: rgba(151, 24, 79, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

/* Denk One ships one weight (400) — it's a bold display face by design,
   so headings are set to normal weight rather than requesting a synthetic bold. */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--noir-900);
  line-height: 1.28;
  letter-spacing: -.005em;
  font-weight: 400;
  text-wrap: balance;
  margin-top: 0;
}
h1 { font-size: clamp(1.9rem, 4.4vw, var(--fs-5xl)); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, var(--fs-4xl)); }
h3 { font-size: clamp(1.12rem, 1.9vw, var(--fs-2xl)); }
h4 { font-size: var(--fs-xl); }

/* extra vertical rhythm so headings and body copy don't sit on top of each other */
h1 + p, h1 + .hero__lede { margin-top: var(--s-5); }
h2 + p, h3 + p { margin-top: var(--s-3); }
.section-head h2 { margin-top: var(--s-2); }
.section-head p { margin-top: var(--s-4); }

p {
  text-align: justify;
  text-align-last: left;
  text-wrap: pretty;
  hyphens: auto;
  line-height: 1.75;
}
p + p { margin-top: var(--s-4); }

:focus-visible {
  outline: 3px solid var(--noir-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--magenta-500); color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -100px;
  background: var(--noir-900); color: #fff;
  padding: .7rem 1.2rem; border-radius: var(--r-sm);
  z-index: var(--z-modal); font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------- */
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 3rem, var(--wrap)); } }

.section { padding-block: clamp(3.25rem, 7vw, var(--s-10)); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 55%, #fff 100%); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--s-7); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.stack > * + * { margin-top: var(--s-4); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 64ch; }
.measure-sm { max-width: 52ch; }

/* ---------- 4. Decorative background system ---------- */
.fx-mesh {
  position: absolute; inset: 0; z-index: var(--z-bg);
  overflow: hidden; pointer-events: none;
}
.fx-blob {
  position: absolute; border-radius: 50%;
  filter: blur(64px); opacity: .45;
  animation: drift 22s ease-in-out infinite;
  will-change: transform;
}
.fx-blob--a { width: 420px; height: 420px; top: -140px; left: -120px;
  background: radial-gradient(circle at 35% 35%, rgba(219,44,125,.5), transparent 68%); }
.fx-blob--b { width: 480px; height: 480px; top: 12%; right: -180px;
  background: radial-gradient(circle at 60% 40%, rgba(122,63,140,.38), transparent 68%);
  animation-duration: 28s; animation-delay: -6s; }
.fx-blob--c { width: 360px; height: 360px; bottom: -120px; left: 38%;
  background: radial-gradient(circle at 50% 50%, rgba(234,167,34,.34), transparent 68%);
  animation-duration: 25s; animation-delay: -12s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  33%      { transform: translate3d(38px, -30px, 0) scale(1.07); }
  66%      { transform: translate3d(-26px, 24px, 0) scale(.96); }
}

/* particle canvas */
.fx-particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: var(--z-bg); pointer-events: none;
}

/* dotted / grid paper texture */
.fx-dots {
  position: absolute; inset: 0; z-index: var(--z-bg); pointer-events: none;
  background-image: radial-gradient(rgba(23,21,26,.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 78%);
  opacity: .5;
}

/* legacy chevron hook — retired in favour of the geometric shape system below */
.fx-chevrons { display: none; }

/* ---------- 4b. Geometric shape system ---------- */
/* Small structural marks (squares, rings, diamonds) used to give headers,
   footers and section edges a designed, intentional feel instead of blur-only decoration. */
.geo { position: absolute; z-index: 2; pointer-events: none; }
.geo--sq {
  width: 18px; height: 18px; border-radius: 5px;
  border: 2.5px solid currentColor; opacity: .5;
  transform: rotate(18deg);
}
.geo--sq-fill {
  width: 14px; height: 14px; border-radius: 4px;
  background: currentColor; opacity: .85;
  transform: rotate(45deg);
}
.geo--ring {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2.5px solid currentColor; opacity: .4;
}
.geo--dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; opacity: .8;
}
.geo--diamond {
  width: 12px; height: 12px;
  border: 2.5px solid currentColor; opacity: .5;
  transform: rotate(45deg);
}
.geo--plus {
  width: 16px; height: 16px; opacity: .55;
}
.geo--plus::before, .geo--plus::after {
  content: ""; position: absolute; background: currentColor;
}
.geo--plus::before { width: 100%; height: 2.5px; top: 50%; left: 0; transform: translateY(-50%); }
.geo--plus::after   { width: 2.5px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }

.geo-float { animation: geoFloat 6s var(--ease) infinite; }
@keyframes geoFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-9px) rotate(var(--r, 0deg)); }
}
.geo--sq.geo-float      { --r: 18deg; }
.geo--diamond.geo-float { --r: 45deg; }

/* dotted grid patch, used as a section-edge texture */
.geo-grid {
  position: absolute; z-index: 1; pointer-events: none;
  background-image: radial-gradient(currentColor 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: .18;
}

/* ---------- 5. Flat tinted-circle icon system ---------- */
.i3d {
  --tint: var(--magenta-100);
  --ink: var(--magenta-600);
  position: relative;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  line-height: 0;
  border-radius: 14px;
  color: var(--ink);
  background: var(--tint);
  border: 1.5px solid color-mix(in srgb, var(--ink) 28%, transparent);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--tint) 55%, #fff);
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.i3d svg {
  width: 23px; height: 23px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: block;
}
.i3d--sm { width: 40px; height: 40px; border-radius: 11px; }
.i3d--sm svg { width: 17px; height: 17px; }
.i3d--lg { width: 66px; height: 66px; border-radius: 18px; }
.i3d--lg svg { width: 29px; height: 29px; }

.i3d--violet { --tint: var(--plum-100); --ink: var(--plum-600); }
.i3d--teal   { --tint: var(--amber-100);   --ink: var(--amber-600); }
.i3d--pink   { --tint: var(--rose-100);   --ink: var(--rose-600); }
.i3d--navy   { --tint: var(--plum-100);   --ink: var(--noir-800); }
.i3d--amber  { --tint: var(--amber-100);  --ink: var(--amber-700); }

.card:hover .i3d, .svc:hover .i3d, .step:hover .i3d { transform: scale(1.06); }

/* free-floating decorative icon chips */
.i3d-float { position: absolute; z-index: 3; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  min-height: 50px;
  padding: .85rem 1.6rem;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-weight: 400; font-size: var(--fs-base);
  letter-spacing: -.005em;
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), outline-offset var(--dur) var(--ease);
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; position: relative; z-index: 1; }
/* sheen sweep — clipped by the button's own overflow:hidden, same as the
   double-border ring below, which uses outline (never clipped by overflow)
   instead of an absolutely-positioned pseudo-element, so the two effects
   don't fight over the button's overflow setting. */
.btn::before {
  content: ""; position: absolute; top: 0; left: -120%; z-index: 1;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-18deg);
  transition: left 620ms var(--ease);
  pointer-events: none;
}
.btn:hover::before { left: 140%; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn > * { position: relative; z-index: 1; }

/* dual-colour fill (hard split, not a blend) + a genuine double border:
   the button's own border plus a second, offset outline ring. */
.btn--primary {
  background: linear-gradient(115deg, var(--magenta-600) 48%, var(--plum-600) 52%);
  color: #fff;
  border: 2px solid var(--noir-900);
  outline: 1.5px solid var(--amber-500);
  outline-offset: 2px;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -12px rgba(219,44,125,.5); }

.btn--navy {
  background: linear-gradient(115deg, var(--noir-800) 48%, var(--noir-600) 52%);
  color: #fff; border: 2px solid var(--noir-900);
  outline: 1.5px solid var(--magenta-400);
  outline-offset: 2px;
  box-shadow: var(--shadow-md);
}
.btn--navy:hover { transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255,255,255,.9); color: var(--noir-800);
  border: 2px solid var(--noir-800); box-shadow: 0 0 0 1.5px var(--border-strong);
}
.btn--ghost:hover { border-color: var(--magenta-600); color: var(--magenta-700); box-shadow: 0 0 0 1.5px var(--magenta-100); transform: translateY(-2px); }

.btn--wa {
  background: linear-gradient(115deg, #1faa54 50%, #178f47 50%);
  color: #fff; border: 2px solid #106b34; box-shadow: 0 14px 28px -12px rgba(31,170,84,.6);
}
.btn--wa:hover { transform: translateY(-2px); }

.btn--sm { min-height: 42px; padding: .55rem 1.15rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- 7. Eyebrow / pills / chips ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem 1rem .4rem .55rem;
  background: var(--magenta-100);
  color: var(--magenta-700);
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-weight: 400; font-size: var(--fs-xs);
  letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--magenta-600);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.eyebrow--violet { background: var(--plum-100); color: var(--plum-700); }
.eyebrow--violet::before { background: var(--plum-600); }
.eyebrow--teal { background: var(--amber-100); color: var(--amber-600); }
.eyebrow--teal::before { background: var(--amber-600); }
.eyebrow--light { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(8px); }
.eyebrow--light::before { background: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .95rem; min-height: 40px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 600; color: var(--slate-700);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--magenta-500); color: var(--magenta-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.chip svg { width: 14px; height: 14px; color: var(--magenta-500); }
.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; }

/* ---------- 8. Header ---------- */
.topbar {
  background: var(--noir-900);
  color: rgba(255,255,255,.82);
  font-size: var(--fs-xs);
  position: relative; overflow: hidden;
  border-bottom: 2px solid var(--magenta-500);
}
.topbar__in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .5rem 1.5rem; padding: .55rem 0; position: relative; z-index: 1;
}
@media (min-width: 900px) { .topbar__in { justify-content: space-between; } }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--magenta-400); }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__item svg { width: 14px; height: 14px; color: var(--magenta-400); }
.topbar__socials { display: flex; gap: .4rem; }
.topbar__socials a {
  width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1);
  transition: all var(--dur) var(--ease);
}
.topbar__socials a:hover { background: var(--magenta-500); transform: translateY(-2px); }
.topbar__socials svg { width: 13px; height: 13px; }

/* Dark nav bar — a deliberate break from the previous white bar, and it
   reads as one unified header block with the topbar above it. */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: var(--noir-900);
  border-bottom: 3px solid var(--amber-500);
  transition: box-shadow var(--dur) var(--ease);
}
.nav.is-stuck { box-shadow: 0 14px 32px -12px rgba(23,21,26,.45); }
.nav__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); min-height: var(--nav-h);
}

/* brand mark — geometric square, flat */
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__cube {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--magenta-500), var(--plum-600));
  border: 1.5px solid rgba(255,255,255,.25);
  transition: transform var(--dur) var(--ease);
}
.brand:hover .brand__cube { transform: scale(1.06) rotate(-4deg); }
.brand__cube svg { width: 20px; height: 20px; color: #fff; stroke-width: 2.2; }
.brand__txt { font-family: var(--font-head); font-weight: 400; font-size: 1.2rem; letter-spacing: -.005em; color: #fff; line-height: 1.05; }
.brand__txt span { color: var(--amber-500); }
.brand__sub { display: block; font-family: var(--font-body); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }

.nav__list { display: none; list-style: none; padding: 0; margin: 0; gap: .15rem; }
@media (min-width: 1080px) { .nav__list { display: flex; align-items: center; } }
.nav__list > li { margin: 0; position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .8rem; border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 400; font-size: .92rem; letter-spacing: .01em;
  color: rgba(255,255,255,.82); text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem;
  height: 2.5px; border-radius: 2px;
  background: var(--amber-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link svg.caret { width: 13px; height: 13px; transition: transform var(--dur) var(--ease); }
.nav__item:hover .caret, .nav__item:focus-within .caret { transform: rotate(180deg); }

/* mega menu */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(88vw, 640px);
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: var(--s-5);
  opacity: 0; visibility: hidden;
  transition: all var(--dur) var(--ease);
}
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega::before {
  content: ""; position: absolute; top: -7px; left: 50%; margin-left: -7px;
  width: 14px; height: 14px; background: #fff;
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; }
.mega__link {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .7rem; border-radius: var(--r-md);
  text-decoration: none; transition: background var(--dur) var(--ease);
}
.mega__link:hover { background: var(--bg-soft); }
.mega__link strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: .95rem; color: var(--noir-900); }
.mega__link span { font-size: var(--fs-xs); color: var(--slate-500); line-height: 1.5; }
.mega__foot {
  margin-top: var(--s-4); padding-top: var(--s-4);
  border-top: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  flex-wrap: wrap;
  font-size: var(--fs-sm);
}

.nav__cta { display: none; }
@media (min-width: 1080px) { .nav__cta { display: inline-flex; } }

/* ---------- 8b. Hamburger — bars share one center point, so the open state
   forms a true X rather than a chevron (a real bug in the previous build). */
.burger {
  position: relative;
  width: 46px; height: 46px; border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1);
}
@media (min-width: 1080px) { .burger { display: none; } }
.burger span {
  position: absolute; left: 50%; top: 50%;
  width: 20px; height: 2.5px; border-radius: 2px;
  margin-left: -10px; margin-top: -1.25px;
  background: #fff;
  transform-origin: center;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(2) { transform: translateY(0); }
.burger span:nth-child(3) { transform: translateY(6px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(0) rotate(45deg); background: var(--amber-500); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(0) rotate(-45deg); background: var(--amber-500); }

.drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: var(--s-2) var(--s-4) var(--s-5);
  max-height: calc(100dvh - var(--nav-h) - 40px);
  overflow-y: auto;
}
.drawer.is-open { display: block; }
@media (min-width: 1080px) { .drawer, .drawer.is-open { display: none; } }
.drawer a {
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem .25rem; border-bottom: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 400; font-size: var(--fs-sm); color: var(--noir-900);
  text-decoration: none; min-height: 46px;
}
.drawer a:hover { color: var(--magenta-700); }
.drawer a svg { width: 16px; height: 16px; color: var(--magenta-500); flex-shrink: 0; }
/* CTAs go side by side and compact — a full-width stacked pair read too heavy */
.drawer .btn-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  margin-top: var(--s-4);
}
.drawer .btn-row .btn {
  min-height: 42px; padding: .5rem .7rem; font-size: var(--fs-xs);
  white-space: nowrap;
}

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(ellipse 90% 70% at 88% 8%, rgba(122,63,140,.13), transparent 60%),
    radial-gradient(ellipse 80% 60% at 4% 92%, rgba(234,167,34,.13), transparent 60%),
    linear-gradient(170deg, #fff 0%, var(--bg-tint) 45%, #fff 100%);
  overflow: hidden;
}
.hero__in { position: relative; z-index: var(--z-body); display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1000px) { .hero__in { grid-template-columns: 1.08fr .92fr; gap: var(--s-8); } }

.hero h1 { color: var(--noir-900); }
.hero h1 .accent {
  background: linear-gradient(115deg, var(--magenta-500), var(--rose-500) 60%, var(--noir-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { font-size: var(--fs-lg); color: var(--slate-600); max-width: 56ch; }

.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4);
  margin-top: var(--s-5); padding-top: var(--s-5);
  border-top: 1px dashed var(--border-strong);
}
.hero__trust-item { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-sm); font-weight: 600; color: var(--slate-700); }
.hero__trust-item svg { width: 18px; height: 18px; color: var(--magenta-700); flex-shrink: 0; }

.stars { display: inline-flex; gap: 2px; color: var(--magenta-500); }
.stars svg { width: 15px; height: 15px; }

/* hero visual panel */
.hero__visual { position: relative; }
.hero__panel {
  position: relative;
  border-radius: var(--r-xl);
  padding: var(--s-6) var(--s-5);
  background: linear-gradient(155deg, var(--noir-900), var(--noir-800) 60%, #2a2470);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero__panel::before {
  content: ""; position: absolute; top: -40%; right: -25%;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(219,44,125,.45), transparent 65%);
  filter: blur(30px);
  animation: drift 18s ease-in-out infinite;
}
.hero__panel > * { position: relative; z-index: 1; }
.hero__panel h2 { color: #fff; font-size: var(--fs-xl); }

.rank-row {
  display: flex; align-items: center; gap: var(--s-3);
  padding: .8rem .95rem; margin-top: .6rem;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  backdrop-filter: blur(6px);
  transition: all var(--dur) var(--ease);
}
.rank-row:hover { background: rgba(255,255,255,.15); transform: translateX(4px); }
.rank-row__pos {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 400; font-size: .95rem;
  background: var(--magenta-600);
}
.rank-row__pos.is-alt { background: var(--amber-600); }
.rank-row__kw { font-size: .9rem; font-weight: 600; line-height: 1.35; }
.rank-row__meta { font-size: var(--fs-xs); color: rgba(255,255,255,.62); }
.rank-row__delta { margin-left: auto; font-size: var(--fs-xs); font-weight: 700; color: #6ee7a8; display: inline-flex; align-items: center; gap: .2rem; }
.rank-row__delta svg { width: 12px; height: 12px; }

.hero__badge {
  position: absolute; z-index: 4;
  background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: .7rem .9rem;
  display: flex; align-items: center; gap: .6rem;
  animation: bob 5s ease-in-out infinite;
}
.hero__badge strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--noir-900); display: block; line-height: 1.1; }
.hero__badge span { font-size: .68rem; color: var(--slate-500); font-weight: 600; }
.hero__badge--tl { top: -14px; left: -10px; }
.hero__badge--br { bottom: -18px; right: -6px; animation-delay: -2.4s; }
@media (max-width: 640px) {
  .hero__badge--tl { top: -12px; left: 0; transform: scale(.88); }
  .hero__badge--br { bottom: -14px; right: 0; transform: scale(.88); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ---------- 9b. Vertical marquee ---------- */
/* A scrolling column strip — used beside the hero panel on wide screens to
   show trust signals without competing with the main content for space. */
.vmarquee {
  position: absolute; z-index: 3;
  top: 0; bottom: 0; right: -64px;
  width: 46px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  display: none;
}
@media (min-width: 1240px) { .vmarquee { display: block; } }
.vmarquee__track {
  display: flex; flex-direction: column; gap: var(--s-4);
  width: max-content; height: max-content;
  animation: vslide 26s linear infinite;
}
.vmarquee:hover .vmarquee__track { animation-play-state: paused; }
@keyframes vslide { to { transform: translateY(-50%); } }
.vmarquee__item {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--magenta-600);
  flex-shrink: 0;
}
.vmarquee__item svg { width: 20px; height: 20px; }
.vmarquee__item:nth-child(3n+2) { color: var(--noir-600); }
.vmarquee__item:nth-child(3n)   { color: var(--amber-600); }

/* ---------- 10. Marquee ---------- */
.marquee {
  overflow: hidden; padding-block: var(--s-5);
  border-block: 1px solid var(--border);
  background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: var(--s-7); width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 400; font-size: 1rem;
  color: var(--slate-500); white-space: nowrap;
  letter-spacing: -.005em;
}
.marquee__item svg { width: 20px; height: 20px; color: var(--magenta-500); }

/* ---------- 11. Cards ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
/* Equal heights only when the card is itself a grid cell, never when stacked. */
.grid > .card { height: 100%; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: var(--fs-sm); }
.card__top { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.card__num {
  font-family: var(--font-head); font-weight: 400; font-size: 2.3rem;
  color: var(--border-strong); line-height: 1; margin-left: auto;
}
.card__link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: var(--s-4);
  font-family: var(--font-head); font-weight: 400; font-size: var(--fs-sm);
  color: var(--magenta-700); text-decoration: none;
}
.card__link svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.card__link:hover svg { transform: translateX(4px); }

.card--accent { border-top: 3px solid var(--magenta-500); }
.card--violet { border-top: 3px solid var(--plum-600); }
.card--teal   { border-top: 3px solid var(--amber-500); }
.card--pink   { border-top: 3px solid var(--rose-500); }

/* service card — flat, icon-led */
.svc {
  position: relative; background: #fff;
  border: 1px solid var(--border); border-top: 3px solid var(--magenta-500);
  border-radius: var(--r-lg);
  overflow: hidden; height: 100%;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc--violet { border-top-color: var(--plum-600); }
.svc--teal   { border-top-color: var(--amber-500); }
.svc--orange { border-top-color: var(--magenta-500); }
.svc--pink   { border-top-color: var(--rose-500); }
.svc__head { padding: var(--s-5) var(--s-5) 0; }
.svc__badge { display: inline-flex; }
.svc__body { padding: var(--s-4) var(--s-5) var(--s-5); }
.svc__body h3 { font-size: var(--fs-xl); margin-bottom: .45rem; }
.svc__body p { font-size: var(--fs-sm); }
.svc__list { list-style: none; padding: 0; margin: var(--s-4) 0 0; }
.svc__list li {
  display: flex; gap: .5rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--slate-600); margin-bottom: .45rem;
}
.svc__list svg { width: 16px; height: 16px; color: var(--magenta-700); flex-shrink: 0; margin-top: 4px; }

/* ---------- 12. Answer / snippet blocks (AEO + featured snippet) ---------- */
.answer {
  position: relative;
  background: linear-gradient(135deg, #fff, var(--bg-tint));
  border: 1.5px solid var(--magenta-100);
  border-left: 5px solid var(--magenta-500);
  border-radius: var(--r-md);
  padding: var(--s-5);
  margin-block: var(--s-4);
  box-shadow: var(--shadow-xs);
}
.answer__label {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 400; 
  font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase;
  color: var(--magenta-700); margin-bottom: .5rem;
}
.answer__label svg { width: 15px; height: 15px; }
.answer p { color: var(--ink); font-size: var(--fs-lg); line-height: 1.6; font-weight: 500; }
.answer--violet { border-left-color: var(--plum-600); border-color: var(--plum-100); background: linear-gradient(135deg, #fff, #f8f2fa); }
.answer--violet .answer__label { color: var(--plum-700); }
.answer--teal { border-left-color: var(--amber-500); border-color: var(--amber-100); background: linear-gradient(135deg, #fff, #fdf6ea); }
.answer--teal .answer__label { color: var(--amber-600); }

/* key-takeaway list for AI extraction */
.keypoints {
  list-style: none; padding: 0; margin: var(--s-4) 0;
  display: grid; gap: .6rem;
}
.keypoints li {
  display: flex; gap: .7rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: .8rem 1rem;
  font-size: var(--fs-sm); margin: 0;
}
.keypoints li svg { width: 18px; height: 18px; color: var(--magenta-500); flex-shrink: 0; margin-top: 3px; }
.keypoints li strong { color: var(--ink); }

/* ---------- 13. Stats band ---------- */
.stats {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--noir-900), var(--noir-800) 55%, #241f66);
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, var(--s-8));
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 24px 24px;
}
.stats__grid { position: relative; z-index: 1; display: grid; gap: var(--s-5); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: var(--s-4) var(--s-2); position: relative; }
@media (min-width: 900px) { .stat + .stat::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255,255,255,.16); } }
.stat__icon { margin: 0 auto var(--s-3); }
.stat__icon.i3d { --tint: rgba(255,255,255,.14); --ink: #fff; }
.stat__num {
  font-family: var(--font-head); font-weight: 400; 
  font-size: clamp(1.85rem, 4.2vw, 2.6rem); line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--magenta-400);
}
.stat__label { font-size: var(--fs-sm); color: rgba(255,255,255,.7); margin-top: .4rem; font-weight: 600; }

/* ---------- 14. Process / timeline ---------- */
.steps { position: relative; display: grid; gap: var(--s-5); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } }
@media (min-width: 900px) {
  .steps::before {
    content: ""; display: block; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px);
  }
}
.step { position: relative; text-align: center; padding-top: 0; }
.step__dot {
  width: 68px; height: 68px; margin: 0 auto var(--s-4);
  border-radius: 20px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--border);
  box-shadow: var(--shadow-sm); position: relative; z-index: 1;
  transition: all var(--dur) var(--ease);
}
.step:hover .step__dot { border-color: var(--magenta-500); transform: translateY(-4px); }
.step__dot svg { width: 28px; height: 28px; color: var(--magenta-600); }
.step__n {
  position: absolute; top: -8px; right: -8px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--noir-800); color: #fff;
  font-family: var(--font-head); font-weight: 400; font-size: .74rem;
}
.step h3 { font-size: var(--fs-lg); margin-bottom: .35rem; }
.step p { font-size: var(--fs-sm); }

/* ---------- 15. Area / location grid ---------- */
.areas { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px)  { .areas { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .areas { grid-template-columns: repeat(4, 1fr); } }
.area {
  display: flex; align-items: center; gap: .6rem;
  padding: .85rem 1rem; min-height: 56px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
  color: var(--noir-900);
  transition: all var(--dur) var(--ease);
}
.area:hover { border-color: var(--magenta-500); background: var(--bg-tint); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.area svg { width: 17px; height: 17px; color: var(--magenta-500); flex-shrink: 0; }
.area small { display: block; font-size: .68rem; color: var(--slate-500); font-weight: 500; }

/* ---------- 16. Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s-5);
  position: relative; height: 100%;
  transition: all var(--dur) var(--ease);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote__mark {
  position: absolute; top: -14px; left: var(--s-5);
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--magenta-600);
  color: #fff;
}
.quote__mark svg { width: 17px; height: 17px; }
.quote p { font-size: var(--fs-sm); color: var(--slate-700); margin-top: var(--s-3); }
.quote__who { display: flex; align-items: center; gap: .7rem; margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--border); }
.quote__av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 400; font-size: .9rem; color: #fff;
  background: var(--noir-700);
}
.quote__av.av-b { background: var(--amber-600); }
.quote__av.av-c { background: var(--rose-600); }
.quote__who strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: .95rem; color: var(--noir-900); }
.quote__who span { font-size: var(--fs-xs); color: var(--slate-500); }

/* ---------- 17. FAQ accordion ---------- */
.faq { display: grid; gap: .7rem; }
.faq__item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.faq__item[open] { border-color: var(--magenta-500); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 1.05rem 1.15rem; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 400; font-size: var(--fs-base);
  color: var(--noir-900); min-height: 56px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--magenta-700); }
.faq__ic {
  margin-left: auto; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--magenta-100); color: var(--magenta-700);
  transition: all var(--dur) var(--ease);
}
.faq__ic svg { width: 15px; height: 15px; }
.faq__item[open] .faq__ic { background: var(--magenta-500); color: #fff; transform: rotate(180deg); }
.faq__a { padding: 0 1.15rem 1.15rem; font-size: var(--fs-sm); }
.faq__a p + p { margin-top: .7rem; }

/* ---------- 18. Table of contents ---------- */
.toc {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s-5);
}
.toc h2 { font-size: var(--fs-lg); margin-bottom: var(--s-3); }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 1; }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: var(--s-6); } }
.toc li { font-size: var(--fs-sm); break-inside: avoid; }
.toc a { color: var(--slate-700); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--magenta-700); text-decoration: underline; }

/* ---------- 19. Breadcrumbs ---------- */
.crumbs { padding-block: var(--s-4); font-size: var(--fs-sm); background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; align-items: center; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; color: var(--slate-500); }
.crumbs a { color: var(--slate-600); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--magenta-700); }
.crumbs svg { width: 13px; height: 13px; color: var(--slate-400); }
.crumbs [aria-current="page"] { color: var(--noir-900); font-weight: 700; }

/* ---------- 20. Page hero (inner pages) ---------- */
.phero {
  position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(219,44,125,.12), transparent 62%),
    radial-gradient(ellipse 60% 70% at 8% 85%, rgba(122,63,140,.12), transparent 62%),
    linear-gradient(165deg, #fff, var(--bg-soft));
}
.phero__in { position: relative; z-index: var(--z-body); display: grid; gap: var(--s-6); }
@media (min-width: 950px) { .phero__in { grid-template-columns: 1.25fr .75fr; align-items: center; } }
.phero h1 { color: var(--noir-900); }
.phero h1 .accent { color: var(--magenta-600); }

/* quick facts panel */
.facts {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--shadow-md);
}
.facts h2 { font-size: var(--fs-lg); margin-bottom: var(--s-3); }
.facts dl { display: grid; gap: .55rem; margin: 0; }
.facts__row { display: flex; gap: var(--s-3); align-items: baseline; justify-content: space-between; padding-bottom: .55rem; border-bottom: 1px dashed var(--border); }
.facts__row:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-size: var(--fs-xs); color: var(--slate-500); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 0; font-size: var(--fs-sm); font-weight: 700; color: var(--noir-900); text-align: right; }

/* ---------- 21. Prose (article body) + tables (global, real borders) ---------- */
.prose { max-width: 74ch; }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { margin-top: var(--s-7); scroll-margin-top: calc(var(--nav-h) + 20px); }
.prose h3 { margin-top: var(--s-5); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .55rem; }
.prose strong { color: var(--ink); }
.prose blockquote {
  border-left: 4px solid var(--noir-600);
  background: var(--noir-100);
  padding: var(--s-4) var(--s-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-lg); color: var(--noir-800); font-style: italic;
}

/* every table on the site gets full grid lines — nothing renders "naked" */
table {
  width: 100%; border-collapse: collapse; font-size: var(--fs-sm);
  background: #fff;
}
caption { caption-side: top; text-align: left; }
th, td {
  padding: .85rem 1rem; text-align: left;
  border: 1px solid var(--border-strong);
}
thead th {
  background: var(--noir-900); color: #fff;
  font-family: var(--font-head); font-weight: 400; 
  border-color: var(--noir-700);
}
tbody tr:nth-child(even) { background: var(--bg-soft); }
tbody tr:hover { background: var(--magenta-100); }
td strong { color: var(--ink); }

.table-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--border-strong); border-radius: var(--r-md); -webkit-overflow-scrolling: touch; box-shadow: var(--shadow-xs); }
.table-scroll table { border: 0; border-radius: 0; }
.table-scroll table th:first-child, .table-scroll table td:first-child { border-left: 0; }
.table-scroll table th:last-child, .table-scroll table td:last-child { border-right: 0; }
.table-scroll table tr:first-child th { border-top: 0; }
.prose table { min-width: 480px; }

/* sticky sidebar */
.layout-aside { display: grid; gap: var(--s-7); align-items: start; }
.layout-aside > * { min-width: 0; }
@media (min-width: 1000px) { .layout-aside { grid-template-columns: minmax(0,1fr) 330px; gap: var(--s-8); } }
.aside-sticky { position: static; display: grid; gap: var(--s-4); }
@media (min-width: 1000px) { .aside-sticky { position: sticky; top: calc(var(--nav-h) + 20px); } }

/* ---------- 22. Lead form ---------- */
.leadform {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.leadform::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--magenta-500), var(--rose-500), var(--noir-600), var(--amber-500));
}
.leadform h2, .leadform h3 { font-size: var(--fs-xl); }
.field { margin-top: var(--s-4); }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--noir-900); margin-bottom: .35rem; }
.field label .req { color: var(--error-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px;
  padding: .7rem .9rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  background: #fff; font-size: var(--fs-base);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--magenta-500);
  box-shadow: 0 0 0 4px rgba(219,44,125,.16);
}
.field__help { font-size: var(--fs-xs); color: var(--slate-500); margin-top: .3rem; }
.field__err { font-size: var(--fs-xs); color: var(--error-600); font-weight: 700; margin-top: .3rem; display: none; }
.field.is-bad input, .field.is-bad select { border-color: var(--error-600); }
.field.is-bad .field__err { display: block; }
.form-note { font-size: var(--fs-xs); color: var(--slate-500); margin-top: var(--s-3); display: flex; gap: .4rem; align-items: flex-start; }
.form-note svg { width: 14px; height: 14px; color: var(--magenta-700); flex-shrink: 0; margin-top: 2px; }
.form-ok {
  display: none; margin-top: var(--s-4); padding: var(--s-4);
  background: var(--magenta-100); border: 1px solid var(--magenta-500); border-radius: var(--r-md);
  color: var(--magenta-700); font-size: var(--fs-sm); font-weight: 600;
}
.form-ok.is-on { display: block; }

/* ---------- 23. CTA band ---------- */
.ctaband {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, var(--s-8)) clamp(1.25rem, 4vw, var(--s-7));
  background: linear-gradient(125deg, var(--noir-900), var(--noir-600) 130%);
  color: #fff; text-align: center;
  box-shadow: var(--shadow-lg);
}
.ctaband::before {
  content: ""; position: absolute; top: -50%; left: -10%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(219,44,125,.4), transparent 65%);
  filter: blur(40px); animation: drift 20s ease-in-out infinite;
}
.ctaband::after {
  content: ""; position: absolute; bottom: -55%; right: -8%;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(234,167,34,.35), transparent 65%);
  filter: blur(40px); animation: drift 24s ease-in-out infinite reverse;
}
.ctaband > * { position: relative; z-index: 1; }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,.82); max-width: 56ch; margin-inline: auto; }
.ctaband .btn-row { justify-content: center; margin-top: var(--s-5); }

/* ---------- 24. Footer ---------- */
.footer {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--noir-900), var(--noir-800) 55%, #1a1650);
  color: rgba(255,255,255,.72);
  padding-top: clamp(3rem, 6vw, var(--s-9));
  margin-top: var(--s-8);
  border-top: 3px solid var(--magenta-500);
}
.footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.footer__orb {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
  animation: drift 26s ease-in-out infinite;
}
.footer__orb--1 { width: 340px; height: 340px; top: -110px; left: 4%;
  background: radial-gradient(circle, rgba(219,44,125,.36), transparent 68%); }
.footer__orb--2 { width: 300px; height: 300px; bottom: -80px; right: 6%;
  background: radial-gradient(circle, rgba(122,63,140,.4), transparent 68%); animation-delay: -9s; }
.footer__orb--3 { width: 260px; height: 260px; top: 38%; left: 46%;
  background: radial-gradient(circle, rgba(234,167,34,.28), transparent 68%); animation-delay: -16s; }

/* geometric accents scattered across the footer top edge */
.footer__geo { position: absolute; inset: 0; z-index: 1; pointer-events: none; color: rgba(255,255,255,.5); }
.footer__geo .geo { color: inherit; }

.footer__in { position: relative; z-index: 2; }

/* flat icon cluster in footer */
.footer__icons {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-4);
  padding-bottom: var(--s-6); margin-bottom: var(--s-6);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__icons .i3d { --tint: rgba(255,255,255,.1); --ink: #fff; }

.footer__grid { display: grid; gap: var(--s-6); }
@media (min-width: 700px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.25fr; gap: var(--s-7); } }

.footer h3 {
  color: #fff; font-size: var(--fs-base); font-weight: 600; margin-bottom: var(--s-4);
  letter-spacing: .01em; position: relative; padding-bottom: .65rem;
}
.footer h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 30px; height: 3px; border-radius: 2px;
  background: var(--magenta-500);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; }
.footer a { color: rgba(255,255,255,.72); text-decoration: none; font-size: var(--fs-sm); transition: all var(--dur) var(--ease); display: inline-flex; align-items: center; gap: .4rem; }
.footer a:hover { color: var(--magenta-400); transform: translateX(3px); }
.footer a svg { width: 13px; height: 13px; opacity: .6; }
.footer .brand__txt { color: #fff; }
.footer .brand__sub { color: rgba(255,255,255,.5); }
.footer p { font-size: var(--fs-sm); }

.nap { display: grid; gap: .8rem; margin-top: var(--s-4); }
.nap__row { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); }
.nap__row svg { width: 17px; height: 17px; color: var(--magenta-400); flex-shrink: 0; margin-top: 3px; }
.nap__row a { font-size: var(--fs-sm); }

.footer__bottom {
  position: relative; z-index: 2;
  margin-top: var(--s-7); padding-block: var(--s-4);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-xs);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* ---------- 25. Sticky mobile action bar ---------- */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 26px -12px rgba(23,21,26,.3);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 900px) { .mobilebar { display: none; } }
.mobilebar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .18rem; min-height: 58px; padding: .4rem;
  font-size: .68rem; font-weight: 700; color: var(--noir-900); text-decoration: none;
}
.mobilebar a svg { width: 19px; height: 19px; color: var(--magenta-600); }
.mobilebar a + a { border-left: 1px solid var(--border); }
.mobilebar a.is-wa svg { color: #1faa54; }
body { padding-bottom: 58px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* ---------- 25b. Floating WhatsApp (left) + scroll-to-top (right) ---------- */
/* Desktop/tablet only — on mobile the sticky action bar already covers both jobs. */
.float-wa {
  display: none;
  position: fixed; left: 24px; bottom: 28px; z-index: var(--z-sticky);
  width: 58px; height: 58px; border-radius: 50%;
  background: #1faa54; color: #fff;
  border: 2px solid #106b34;
  box-shadow: 0 12px 28px -8px rgba(23,21,26,.4);
  align-items: center; justify-content: center;
  transition: transform var(--dur) var(--ease);
}
@media (min-width: 900px) { .float-wa { display: flex; } }
.float-wa:hover { transform: translateY(-3px) scale(1.04); }
.float-wa svg { width: 27px; height: 27px; }
.float-wa__ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid #1faa54; opacity: .55;
  animation: waPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(.85); opacity: .6; }
  70%  { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}

.scroll-top {
  position: fixed; right: 24px; bottom: 28px; z-index: var(--z-sticky);
  width: 50px; height: 50px; border-radius: var(--r-sm);
  background: var(--noir-900); color: #fff;
  border: 2px solid var(--noir-900);
  box-shadow: 0 0 0 1.5px var(--amber-500), 0 12px 24px -10px rgba(23,21,26,.4);
  align-items: center; justify-content: center;
  display: none;
  opacity: 0; transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.scroll-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
/* Matches the .mobilebar hide breakpoint so the two never overlap. */
@media (min-width: 900px) { .scroll-top { display: flex; } }
.scroll-top:hover { background: var(--magenta-600); border-color: var(--magenta-700); }
.scroll-top svg { width: 20px; height: 20px; }

/* ---------- 26. Scroll reveal ---------- */
/* .js gate: without JS the reveal never runs, so content must stay visible. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal { transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }

/* ---------- 27. Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }
.text-sm { font-size: var(--fs-sm); }
.text-muted { color: var(--slate-500); }
.hl { color: var(--magenta-700); font-weight: 700; }
.badge-new {
  display: inline-block; padding: .12rem .5rem; border-radius: var(--r-pill);
  background: var(--amber-100); color: var(--amber-600);
  font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  vertical-align: middle;
}

.section-head { max-width: 64ch; margin-bottom: var(--s-6); }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: var(--s-3); }
.section-head p { margin-top: var(--s-3); font-size: var(--fs-lg); }

/* ---------- 28. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal, .reveal { opacity: 1; transform: none; }
  .fx-particles { display: none; }
}

/* ---------- 29. Print ---------- */
@media print {
  .nav, .topbar, .mobilebar, .fx-mesh, .fx-particles, .footer__orb, .ctaband, .vmarquee { display: none !important; }
  body { color: #000; padding-bottom: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; }
}
