/* ==========================================================================
   ApnaLead â€” Design System
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Buttons & links
   6.  Header / navigation
   7.  Hero
   8.  Hero dashboard visual
   9.  Stats & trust
   10. Cards (service / industry / product / case / blog / testimonial)
   11. Real estate feature
   12. Products
   13. Ecosystem flow
   14. Process
   15. Why ApnaLead
   16. Testimonials
   17. FAQ
   18. CTA bands
   19. Forms
   20. Page hero / breadcrumb / prose
   21. Footer
   22. Floating actions
   23. Utilities & motion
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* Brand â€” taken from the ApnaLead mark */
  --primary:        #080B90;
  --primary-dark:   #05065C;
  --primary-light:  #2427C7;
  --primary-glow:   #4A4DE8;
  --spiral:         #2456A6;   /* mid-blue from the logo spiral */
  --spiral-light:   #3E86D4;

  --dark:           #111111;
  --ink:            #0A0B2E;   /* near-black navy for dark sections */
  --ink-deep:       #06071C;
  --text:           #353334;
  --muted:          #6B6B6B;
  --light:          #F7F8FC;
  --white:          #FFFFFF;

  /* Derived surfaces */
  --line:           rgba(8, 11, 144, .10);
  --line-soft:      rgba(8, 11, 144, .06);
  --line-dark:      rgba(255, 255, 255, .10);
  --line-dark-soft: rgba(255, 255, 255, .06);
  --tint:           rgba(8, 11, 144, .04);
  --surface:        #FFFFFF;
  --surface-alt:    #F7F8FC;

  /* Typography */
  --font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Consolas, monospace;

  --fs-display: clamp(2.6rem, 1.35rem + 4.4vw, 5.1rem);
  --fs-h1:      clamp(2.15rem, 1.35rem + 2.9vw, 3.65rem);
  --fs-h2:      clamp(1.8rem, 1.25rem + 2.1vw, 2.95rem);
  --fs-h3:      clamp(1.22rem, 1.05rem + .65vw, 1.55rem);
  --fs-h4:      clamp(1.05rem, .98rem + .3vw, 1.18rem);
  --fs-lede:    clamp(1.02rem, .96rem + .38vw, 1.24rem);
  --fs-body:    1rem;
  --fs-sm:      .9125rem;
  --fs-xs:      .8125rem;
  --fs-label:   .7rem;

  /* Spacing */
  --gutter:     clamp(1.15rem, .6rem + 2vw, 2.5rem);
  --section-y:  clamp(4.25rem, 2.5rem + 6vw, 8.5rem);
  --section-y-sm: clamp(3rem, 2rem + 3.5vw, 5rem);
  --maxw:       1280px;
  --maxw-narrow: 780px;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Elevation â€” restrained, never puffy */
  --sh-xs: 0 1px 2px rgba(8, 11, 60, .05);
  --sh-sm: 0 2px 8px rgba(8, 11, 60, .05), 0 1px 2px rgba(8, 11, 60, .04);
  --sh-md: 0 10px 30px -12px rgba(8, 11, 60, .16), 0 2px 6px rgba(8, 11, 60, .04);
  --sh-lg: 0 28px 64px -28px rgba(8, 11, 60, .28), 0 4px 14px rgba(8, 11, 60, .05);
  --sh-glow: 0 20px 60px -22px rgba(36, 39, 199, .45);

  /* Motion */
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --t-fast:    .18s;
  --t-base:    .32s;
  --t-slow:    .6s;

  --header-h: 86px;

  /* Text on dark surfaces.
     The dark sections sit between #0A0B2E and roughly #14166B where the blue
     gradients peak. Anything below ~0.55 alpha drops under WCAG AA 4.5:1
     against that lighter end, so these are the lowest values used anywhere. */
  --on-dark:      rgba(255, 255, 255, .74);
  --on-dark-soft: rgba(255, 255, 255, .64);
  --on-dark-mute: rgba(255, 255, 255, .58);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
}

body.is-locked { overflow: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

/* Base size for inline SVG icons. Every component that needs a different
   size overrides this with a two-class rule, so this is only the fallback
   for icons used outside a styled context. */
.icon { width: 20px; height: 20px; flex: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

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

:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 9999;
  padding: .75rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: top var(--t-base) var(--ease);
}
.skip-link:focus { top: 0; }

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

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.028em;
  color: var(--dark);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.02em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: -.012em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--dark); }
/* On every dark surface the base near-black would sit at ~1:1. */
.section--dark strong,
.dark-band strong,
.page-hero strong,
.hero strong,
.cta strong,
.footer strong,
.modal__aside strong,
.ind-card--feature strong,
.aside-card--cta strong { color: #fff; }

.display {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.042em;
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.62;
  color: var(--muted);
  text-wrap: pretty;
}
/* Headings carry no bottom margin, so a lede that follows one sets its own. */
h1 + .lede, h2 + .lede, h3 + .lede { margin-top: 1.15rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  opacity: .5;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  opacity: .5;
}

.grad-text {
  background: linear-gradient(100deg, var(--primary) 0%, var(--spiral) 52%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Fine, precise underline accent used under key words */
.mark-under {
  position: relative;
  white-space: nowrap;
}
.mark-under::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .04em;
  height: .32em;
  background: linear-gradient(90deg, rgba(36, 39, 199, .18), rgba(62, 134, 212, .16));
  border-radius: 2px;
  z-index: -1;
}

/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 920px; }

.section {
  position: relative;
  padding-block: var(--section-y);
}
.section--sm { padding-block: var(--section-y-sm); }
.section--tight-top { padding-top: 0; }

/* Surface variants create the white â†’ dark â†’ light rhythm */
.section--light { background: var(--surface-alt); }
.section--tint  { background: linear-gradient(180deg, #fff 0%, var(--surface-alt) 100%); }

.section--dark {
  background: var(--ink);
  color: rgba(255, 255, 255, .74);
  isolation: isolate;
}
.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark h4, .section--dark .display { color: #fff; }
.section--dark .lede { color: rgba(255, 255, 255, .66); }
.section--dark .eyebrow { color: var(--spiral-light); }

/* Ambient blue field behind dark sections */
.section--dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 120% at 12% 0%,  rgba(8, 11, 144, .85) 0%, transparent 62%),
    radial-gradient(55% 100% at 92% 18%, rgba(36, 86, 166, .42) 0%, transparent 60%),
    radial-gradient(45% 80%  at 50% 108%, rgba(36, 39, 199, .34) 0%, transparent 65%);
  z-index: -2;
  pointer-events: none;
}
/* Precision grid â€” the "engineered" texture */
.section--dark::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(90% 80% at 50% 40%, #000 20%, transparent 92%);
  z-index: -1;
  pointer-events: none;
}

/* Dark band â€” wraps several consecutive dark sections so the ambient gradient
   and grid run continuously instead of restarting at every section boundary. */
.dark-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, .74);
}
.dark-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(46% 42% at 10% 4%,  rgba(8, 11, 144, .9) 0%, transparent 62%),
    radial-gradient(40% 34% at 92% 26%, rgba(36, 86, 166, .4) 0%, transparent 62%),
    radial-gradient(48% 40% at 22% 64%, rgba(36, 39, 199, .34) 0%, transparent 64%),
    radial-gradient(42% 36% at 86% 92%, rgba(36, 86, 166, .3) 0%, transparent 62%);
  z-index: -2;
  pointer-events: none;
}
.dark-band::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(92% 60% at 50% 50%, #000 30%, transparent 96%);
  z-index: -1;
  pointer-events: none;
}
/* Inner sections keep their dark typography but drop their own backdrop.
   A page hero can join the band too, so a product page reads as one surface. */
.dark-band > .section--dark,
.dark-band > .page-hero {
  background: transparent;
  isolation: auto;
  overflow: visible;
}
.dark-band > .section--dark::before,
.dark-band > .section--dark::after,
.dark-band > .page-hero::before,
.dark-band > .page-hero::after { content: none; }

/* Section heading block */
.sec-head { max-width: 720px; margin-bottom: clamp(2.5rem, 1.5rem + 2.5vw, 4rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--wide { max-width: 860px; }
.sec-head p { margin-top: 1.15rem; }

/* Split heading: title left, supporting text + link right */
.sec-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.sec-head--split .sec-head__aside { padding-bottom: .35rem; }

.grid { display: grid; gap: clamp(1rem, .5rem + 1.2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ==========================================================================
   5. BUTTONS & LINKS
   ========================================================================== */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .92rem 1.6rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: -.005em;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              background-color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease);
}
.btn .icon { width: 17px; height: 17px; flex: none; transition: transform var(--t-base) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

/* Primary â€” deep brand blue with a moving sheen */
.btn--primary {
  background: linear-gradient(115deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: 0 8px 24px -10px rgba(8, 11, 144, .55);
}
.btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .75s var(--ease-out);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(8, 11, 144, .58);
}
.btn--primary:hover::after { transform: translateX(120%); }

/* Outline â€” on light surfaces */
.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--line);
}
.btn--outline:hover {
  border-color: var(--primary);
  background: var(--tint);
  transform: translateY(-2px);
}

/* Ghost â€” on dark surfaces */
.btn--ghost {
  background: rgba(255, 255, 255, .07);
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .34);
  transform: translateY(-2px);
}

/* Light â€” high contrast on dark surfaces */
.btn--light {
  background: #fff;
  color: var(--primary);
}
.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .5);
}

.btn--sm { padding: .66rem 1.15rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.06rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Inline arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--primary);
  transition: gap var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease); }
.link-arrow:hover { gap: .7rem; }
.link-arrow:hover .icon { transform: translateX(2px); }
.section--dark .link-arrow { color: var(--spiral-light); }

/* Underline-reveal text link */
.link-underline {
  position: relative;
  font-weight: 600;
  color: var(--primary);
}
.link-underline::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base) var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* Small status / category pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .34rem .78rem;
  border-radius: var(--r-pill);
  background: var(--tint);
  border: 1px solid var(--line-soft);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -.005em;
}
.pill--dark {
  background: rgba(255, 255, 255, .06);
  border-color: var(--line-dark);
  color: rgba(255, 255, 255, .8);
}
.pill--dot::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Live indicator dot */
.dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .5);
  animation: pulse-dot 2.4s var(--ease) infinite;
  flex: none;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); }
  70%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ==========================================================================
   6. HEADER / NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              height var(--t-base) var(--ease);
}
.header.is-scrolled {
  height: 72px;
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 24px -8px rgba(8, 11, 60, .12);
}
.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img {
  width: auto;
  height: 46px;
  transition: height var(--t-base) var(--ease);
}
.header.is-scrolled .brand img { height: 38px; }
.brand__white { display: none; }

/* Primary nav */
.nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .82rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 550;
  color: var(--text);
  letter-spacing: -.005em;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav__link:hover,
.nav__item.is-open > .nav__link { color: var(--primary); background: var(--tint); }
.nav__link.is-active { color: var(--primary); font-weight: 650; }

.nav__caret {
  width: 9px; height: 9px;
  flex: none;
  opacity: .5;
  transition: transform var(--t-base) var(--ease);
}
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: .9rem; flex: none; }

/* Dropdown / mega panel */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  translate: -50% 0;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              visibility var(--t-base);
  padding-top: 4px;
}
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown__panel {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: .75rem;
  overflow: hidden;
}
.dropdown--wide .dropdown__panel { width: min(640px, calc(100vw - 3rem)); }
.dropdown--mega .dropdown__panel { width: min(940px, calc(100vw - 3rem)); padding: 0; }

.dd-list { display: grid; gap: 2px; }
.dd-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.dd-item {
  display: flex;
  gap: .8rem;
  padding: .7rem .8rem;
  border-radius: var(--r-md);
  transition: background-color var(--t-fast) var(--ease);
}
.dd-item:hover { background: var(--tint); }
.dd-item__ico {
  width: 34px; height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(140deg, rgba(8, 11, 144, .09), rgba(36, 86, 166, .07));
  color: var(--primary);
  border: 1px solid var(--line-soft);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.dd-item__ico .icon { width: 17px; height: 17px; }
.dd-item:hover .dd-item__ico {
  background: linear-gradient(140deg, var(--primary), var(--primary-light));
  color: #fff;
  border-color: transparent;
}
.dd-item__title {
  display: block;
  font-size: .875rem;
  font-weight: 650;
  color: var(--dark);
  line-height: 1.35;
}
.dd-item__text {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.45;
  margin-top: .12rem;
}

.dd-foot {
  margin-top: .35rem;
  padding: .8rem .9rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Mega menu â€” products */
.mega { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.mega__main { padding: 1.1rem; }
.mega__side {
  padding: 1.35rem;
  background: linear-gradient(165deg, var(--ink) 0%, var(--primary-dark) 100%);
  color: rgba(255, 255, 255, .72);
  position: relative;
  overflow: hidden;
}
.mega__side::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, rgba(36, 86, 166, .5), transparent 65%);
}
.mega__side > * { position: relative; }
.mega__side h4 { color: #fff; margin-bottom: .5rem; }
.mega__side p { font-size: var(--fs-xs); line-height: 1.6; margin-bottom: 1.1rem; }

.mega-card {
  display: flex;
  gap: .9rem;
  padding: .9rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.mega-card:hover { background: var(--tint); border-color: var(--line-soft); }
.mega-card__ico {
  width: 40px; height: 40px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(8, 11, 144, .6);
}
.mega-card__ico .icon { width: 19px; height: 19px; }
.mega-card__title { font-size: .9rem; font-weight: 700; color: var(--dark); }
.mega-card__text { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; margin-top: .15rem; }
.mega-card__tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
.mega-card__tag {
  font-size: .68rem;
  font-weight: 600;
  padding: .16rem .45rem;
  border-radius: var(--r-xs);
  background: rgba(8, 11, 144, .06);
  color: var(--primary);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  border: 1px solid var(--line);
  transition: background-color var(--t-fast) var(--ease);
}
.nav-toggle:hover { background: var(--tint); }
.nav-toggle span {
  display: block;
  width: 18px; height: 1.8px;
  border-radius: 2px;
  background: var(--dark);
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 890;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              visibility var(--t-base);
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav__inner { padding: 1.25rem var(--gutter) 3rem; }

.m-group { border-bottom: 1px solid var(--line-soft); }
.m-group__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  font-size: 1.06rem;
  font-weight: 650;
  color: var(--dark);
  text-align: left;
}
.m-group__head .nav__caret { width: 12px; height: 12px; opacity: .45; }
.m-group.is-open .m-group__head { color: var(--primary); }
.m-group.is-open .nav__caret { transform: rotate(180deg); }

.m-group__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease);
}
.m-group.is-open .m-group__body { grid-template-rows: 1fr; }
.m-group__body > div { overflow: hidden; }
.m-group__list { padding: 0 0 1rem; display: grid; gap: 2px; }
.m-group__list a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .62rem .7rem;
  border-radius: var(--r-sm);
  font-size: .935rem;
  color: var(--text);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.m-group__list a:hover { background: var(--tint); color: var(--primary); }
.m-group__list .icon { width: 16px; height: 16px; color: var(--primary); opacity: .7; flex: none; }

.m-link {
  display: block;
  padding: 1.05rem 0;
  font-size: 1.06rem;
  font-weight: 650;
  color: var(--dark);
  border-bottom: 1px solid var(--line-soft);
}
.m-link:hover { color: var(--primary); }

.mobile-nav__cta { margin-top: 1.75rem; display: grid; gap: .65rem; }
.mobile-nav__meta {
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: .75rem;
  font-size: var(--fs-sm);
}
.mobile-nav__meta a { display: flex; align-items: center; gap: .6rem; color: var(--muted); }
.mobile-nav__meta .icon { width: 16px; height: 16px; color: var(--primary); }

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 5vw, 5.5rem));
  padding-bottom: clamp(3.5rem, 2rem + 5vw, 7rem);
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(64% 100% at 8% -10%,  rgba(8, 11, 144, .92) 0%, transparent 60%),
    radial-gradient(52% 84%  at 88% 8%,   rgba(36, 86, 166, .48) 0%, transparent 62%),
    radial-gradient(60% 70%  at 62% 108%, rgba(36, 39, 199, .38) 0%, transparent 66%);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(100% 76% at 46% 34%, #000 12%, transparent 88%);
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .9rem .42rem .55rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: var(--fs-xs);
  font-weight: 550;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 1.75rem;
}
.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .18rem .5rem;
  border-radius: var(--r-pill);
  background: rgba(62, 134, 212, .22);
  color: #A9CBF2;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.042em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7C9FE8 0%, #A9CBF2 40%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: var(--fs-lede);
  line-height: 1.62;
  color: rgba(255, 255, 255, .68);
  max-width: 34em;
  margin-bottom: 2.1rem;
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero__proof-item { display: flex; flex-direction: column; gap: .1rem; }
.hero__proof-val {
  font-size: 1.42rem;
  font-weight: 750;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.hero__proof-lbl {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .66);
  letter-spacing: .01em;
}

/* ==========================================================================
   8. HERO DASHBOARD VISUAL
   ========================================================================== */
.hviz { position: relative; }
.hviz__glow {
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(circle at 55% 45%, rgba(62, 134, 212, .3), transparent 62%);
  filter: blur(42px);
  z-index: 0;
  pointer-events: none;
}
.hviz__stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .75rem;
}

/* Shared glass panel */
.glass {
  background: linear-gradient(155deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .035) 100%);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -26px rgba(0, 0, 0, .8),
              inset 0 1px 0 rgba(255, 255, 255, .1);
}

/* Channel row */
.hviz__channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}
.chan {
  padding: .7rem .75rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-direction: column;
  gap: .3rem;
  position: relative;
  overflow: hidden;
}
.chan::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: var(--w, 60%);
  background: linear-gradient(90deg, var(--spiral-light), var(--primary-glow));
  border-radius: 2px;
  transform-origin: left;
  animation: bar-in 1.4s var(--ease-out) backwards;
  animation-delay: var(--d, 0s);
}
@keyframes bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.chan__top { display: flex; align-items: center; gap: .4rem; }
.chan__top .icon { width: 14px; height: 14px; color: var(--spiral-light); }
.chan__name {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}
.chan__val { font-size: 1.02rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.chan__delta { font-size: .68rem; font-weight: 650; color: #6EE7A8; }

/* Main dashboard card */
.dash { padding: 1.1rem 1.15rem 1.25rem; }
.dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .9rem;
  margin-bottom: .95rem;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.dash__title {
  display: flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 700; color: #fff; letter-spacing: -.01em;
}
.dash__title .icon { width: 16px; height: 16px; color: var(--spiral-light); }
.dash__live {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .66rem; font-weight: 650; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255, 255, 255, .64);
}

/* Metric strip */
.dash__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin-bottom: 1rem;
}
.metric {
  padding: .62rem .7rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .07);
}
.metric__lbl {
  font-size: .63rem; font-weight: 650; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(255, 255, 255, .62);
  display: block; margin-bottom: .22rem;
}
.metric__val { font-size: 1.16rem; font-weight: 750; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.metric__val small { font-size: .62em; font-weight: 600; opacity: .6; margin-left: .1em; }

/* Sparkline chart */
.dash__chart { position: relative; height: 92px; margin-bottom: 1rem; }
.dash__chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-line {
  fill: none;
  stroke: url(#alGrad);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-line 2.2s var(--ease-out) .35s forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.chart-area { fill: url(#alFill); opacity: 0; animation: fade-in .9s var(--ease) 1.5s forwards; }
@keyframes fade-in { to { opacity: 1; } }
.chart-grid line { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.chart-dot {
  fill: #fff;
  stroke: var(--primary-glow);
  stroke-width: 2.5;
  opacity: 0;
  animation: fade-in .4s var(--ease) 2.1s forwards;
}
.chart-dot-halo {
  fill: rgba(74, 77, 232, .28);
  opacity: 0;
  animation: fade-in .4s var(--ease) 2.1s forwards, halo 2.6s var(--ease) 2.4s infinite;
}
@keyframes halo {
  0%, 100% { r: 7; opacity: .5; }
  50%      { r: 11; opacity: .12; }
}

/* Live lead feed */
.feed { display: grid; gap: .4rem; }
.feed__row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: .6rem;
  padding: .52rem .6rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  animation: feed-in .6s var(--ease-out) backwards;
  animation-delay: var(--d, 0s);
}
@keyframes feed-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.feed__av {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .62rem; font-weight: 750; color: #fff;
  background: linear-gradient(140deg, var(--primary-light), var(--spiral));
  letter-spacing: -.02em;
}
.feed__row > span:nth-child(2) { min-width: 0; }
.feed__name { display: block; font-size: .78rem; font-weight: 650; color: #fff; line-height: 1.25; }
.feed__meta {
  display: block;
  font-size: .66rem; color: rgba(255, 255, 255, .62); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.feed__tag {
  font-size: .62rem; font-weight: 700;
  padding: .2rem .48rem;
  border-radius: var(--r-xs);
  letter-spacing: .03em;
  white-space: nowrap;
}
.feed__tag--new   { background: rgba(62, 134, 212, .2);  color: #A9CBF2; }
.feed__tag--visit { background: rgba(245, 158, 11, .17); color: #FCD34D; }
.feed__tag--won   { background: rgba(34, 197, 94, .17);  color: #6EE7A8; }

/* Pipeline strip */
.pipe {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .4rem;
  padding: .85rem .9rem;
}
.pipe__col { text-align: center; position: relative; }
.pipe__col + .pipe__col::before {
  content: "";
  position: absolute;
  left: -.22rem; top: 50%;
  width: 1px; height: 26px;
  translate: 0 -50%;
  background: rgba(255, 255, 255, .08);
}
.pipe__val {
  font-size: 1.04rem; font-weight: 750; color: #fff;
  letter-spacing: -.03em; line-height: 1.15;
}
.pipe__lbl {
  font-size: .6rem; font-weight: 650; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255, 255, 255, .62);
  margin-top: .1rem;
}

/* Floating accent chip */
.hviz__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .85rem;
  border-radius: var(--r-md);
  background: rgba(10, 11, 46, .82);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .85);
  animation: float-y 5.5s var(--ease) infinite;
}
/* Chips sit clear of the dashboard entirely â€” a floating annotation must not
   cover the data it is annotating. */
.hviz__chip--tl { bottom: calc(100% + 14px); left: 0; animation-delay: -1.5s; }
.hviz__chip--br { top: calc(100% + 14px); right: 0; }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.hviz__chip .icon { width: 17px; height: 17px; color: var(--spiral-light); flex: none; }
.hviz__chip-val { font-size: .84rem; font-weight: 750; color: #fff; line-height: 1.2; letter-spacing: -.02em; }
.hviz__chip-lbl { font-size: .63rem; color: rgba(255, 255, 255, .64); line-height: 1.2; }

/* ==========================================================================
   9. STATS & TRUST
   ========================================================================== */
.trust__caps {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.25rem);
}
.cap {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  transition: border-color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.cap .icon { width: 16px; height: 16px; color: var(--primary); }
.cap:hover { border-color: rgba(8, 11, 144, .3); transform: translateY(-2px); box-shadow: var(--sh-sm); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.4rem) clamp(1.1rem, .8rem + 1vw, 1.8rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--spiral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}
.stat:hover::before { transform: scaleX(1); }
.stat__val {
  font-size: clamp(2rem, 1.4rem + 2.1vw, 3rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--primary);
  margin-bottom: .55rem;
}
.stat__lbl { font-size: var(--fs-sm); font-weight: 650; color: var(--dark); }
.stat__note { font-size: var(--fs-xs); color: var(--muted); margin-top: .18rem; }

.stats--dark { border-color: var(--line-dark); }
.stats--dark .stat { border-color: var(--line-dark); }
.stats--dark .stat__val { color: #fff; }
.stats--dark .stat__lbl { color: rgba(255, 255, 255, .9); }
.stats--dark .stat__note { color: rgba(255, 255, 255, .62); }

.disclaimer {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.disclaimer .icon { width: 14px; height: 14px; flex: none; margin-top: .22rem; opacity: .6; }
.section--dark .disclaimer { color: rgba(255, 255, 255, .62); }

/* ==========================================================================
   10. CARDS
   ========================================================================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 1rem + 1vw, 1.85rem);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(80% 60% at 50% -10%, rgba(8, 11, 144, .05), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 11, 144, .18);
  box-shadow: var(--sh-md);
}
.card:hover::before { opacity: 1; }

.card__ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  margin-bottom: 1.2rem;
  color: var(--primary);
  background: linear-gradient(145deg, rgba(8, 11, 144, .08), rgba(36, 86, 166, .05));
  border: 1px solid var(--line-soft);
  transition: background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.card__ico .icon { width: 21px; height: 21px; }
.card:hover .card__ico {
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  color: #fff;
  border-color: transparent;
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 10px 22px -10px rgba(8, 11, 144, .6);
}

.card__title { font-size: var(--fs-h4); font-weight: 700; margin-bottom: .55rem; letter-spacing: -.018em; }
.card__text { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; }
.card__foot { margin-top: auto; }

.card__tag {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  /* Was muted at 55% opacity, which measured 2.2:1 — unreadable. */
  color: #6E6E7B;
}
.card--dark .card__tag { color: rgba(255, 255, 255, .62); }

/* Dark card variant */
.card--dark {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-dark);
}
.card--dark::before { background: radial-gradient(80% 60% at 50% -10%, rgba(62, 134, 212, .14), transparent 70%); }
.card--dark:hover { border-color: rgba(255, 255, 255, .22); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9); }
.card--dark .card__title { color: #fff; }
.card--dark .card__text { color: rgba(255, 255, 255, .6); }
.card--dark .card__ico {
  background: rgba(255, 255, 255, .06);
  border-color: var(--line-dark);
  color: var(--spiral-light);
}
.card--dark:hover .card__ico {
  background: linear-gradient(145deg, var(--primary-light), var(--spiral));
  color: #fff;
}

/* Industry card â€” image-free, typographic */
.ind-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: #fff;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.ind-card__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 82% 12%, rgba(8, 11, 144, .07), transparent 62%),
    linear-gradient(180deg, #fff 0%, var(--surface-alt) 100%);
  transition: opacity var(--t-base) var(--ease);
}
.ind-card__ico {
  position: absolute;
  top: 1.35rem; right: 1.35rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(8, 11, 144, .06);
  border: 1px solid var(--line-soft);
  color: var(--primary);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.ind-card__ico .icon { width: 19px; height: 19px; }
/* Lift content above the gradient layer. The icon keeps its own absolute
   placement â€” hence the explicit re-declaration below. */
.ind-card > *:not(.ind-card__bg) { position: relative; z-index: 1; }
.ind-card > .ind-card__ico { position: absolute; }
.ind-card__title { font-size: var(--fs-h4); font-weight: 700; margin-bottom: .45rem; }
.ind-card__text { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; margin-bottom: 1rem; }
.ind-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 11, 144, .2);
  box-shadow: var(--sh-md);
}
.ind-card:hover .ind-card__ico {
  background: linear-gradient(140deg, var(--primary), var(--primary-light));
  color: #fff;
  transform: scale(1.05);
}

/* Featured industry (Real Estate) â€” spans two columns, dark treatment */
.ind-card--feature {
  grid-column: span 2;
  min-height: 300px;
  background: var(--ink);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .7);
}
.ind-card--feature .ind-card__bg {
  background:
    radial-gradient(64% 100% at 90% 0%, rgba(36, 86, 166, .55), transparent 62%),
    radial-gradient(70% 90% at 0% 100%, rgba(8, 11, 144, .8), transparent 65%),
    linear-gradient(150deg, #0A0B2E 0%, #06071C 100%);
}
.ind-card--feature .ind-card__title { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.ind-card--feature .ind-card__text { color: rgba(255, 255, 255, .62); max-width: 38ch; }
.ind-card--feature .ind-card__ico {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
  width: 46px; height: 46px;
}
.ind-card--feature .link-arrow { color: var(--spiral-light); }
.ind-card--feature:hover { border-color: rgba(255, 255, 255, .26); }
.ind-card__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.ind-card__chip {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: .28rem .68rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .78);
}

/* Case study card */
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: #fff;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.case-card:hover { transform: translateY(-4px); border-color: rgba(8, 11, 144, .2); box-shadow: var(--sh-md); }
.case-card__no {
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(8, 11, 144, .38);
  margin-bottom: 1.1rem;
  transition: -webkit-text-stroke-color var(--t-base) var(--ease);
}
.case-card:hover .case-card__no { -webkit-text-stroke-color: rgba(8, 11, 144, .5); }
.case-card__ind {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .5rem;
}
.case-card__title { font-size: var(--fs-h3); margin-bottom: .6rem; }
.case-card__sub { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1rem; }
.case-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
}
.case-card__metric {
  font-size: var(--fs-xs);
  padding: .3rem .65rem;
  border-radius: var(--r-xs);
  background: var(--surface-alt);
  color: var(--text);
  font-weight: 600;
}
.case-card__metric b { color: var(--primary); font-weight: 700; }
.case-card__foot { margin-top: auto; }

/* Blog card */
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: #fff;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.post-card:hover { transform: translateY(-4px); border-color: rgba(8, 11, 144, .2); box-shadow: var(--sh-md); }
.post-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 90% at 78% 8%, rgba(36, 86, 166, .5), transparent 60%),
    linear-gradient(150deg, #0A0B2E 0%, #101466 55%, #06071C 100%);
  overflow: hidden;
}
.post-card__thumb::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 88%);
}
.post-card__thumb .icon {
  width: 40px; height: 40px;
  color: rgba(255, 255, 255, .64);
  position: relative;
  transition: transform var(--t-slow) var(--ease-out), color var(--t-base) var(--ease);
}
.post-card:hover .post-card__thumb .icon { transform: scale(1.1); color: rgba(255, 255, 255, .82); }
.post-card__cat {
  position: absolute;
  top: .85rem; left: .85rem;
  z-index: 2;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}
.post-card__body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); color: var(--muted); margin-bottom: .7rem;
}
.post-card__meta span + span::before { content: "Â·"; margin-right: .5rem; opacity: .5; }
.post-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.018em;
  margin-bottom: .6rem;
}
.post-card:hover .post-card__title { color: var(--primary); }
.post-card__excerpt { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; margin-bottom: 1.15rem; }
.post-card__foot { margin-top: auto; }

/* ==========================================================================
   11. REAL ESTATE FEATURE
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__visual { order: -1; }

.checklist { display: grid; gap: .85rem; margin: 1.75rem 0 2.15rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.checklist .icon {
  width: 19px; height: 19px;
  flex: none;
  margin-top: .12rem;
  padding: 3px;
  border-radius: 50%;
  background: rgba(8, 11, 144, .08);
  color: var(--primary);
  stroke-width: 2.4;
}
.section--dark .checklist .icon { background: rgba(62, 134, 212, .2); color: #A9CBF2; }
.checklist li strong { display: block; margin-bottom: .1rem; }

/* Stacked "capability" panel used as a visual */
.panel-stack { display: grid; gap: .7rem; }
.panel-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: #fff;
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.panel-row:hover { transform: translateX(4px); border-color: rgba(8, 11, 144, .2); box-shadow: var(--sh-sm); }
.panel-row__ico {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(8, 11, 144, .08), rgba(36, 86, 166, .05));
  border: 1px solid var(--line-soft);
  color: var(--primary);
}
.panel-row__ico .icon { width: 19px; height: 19px; }
.panel-row__title { font-size: .95rem; font-weight: 650; color: var(--dark); }
.panel-row__text { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; margin-top: .1rem; }
.panel-row__num {
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
  opacity: .72;
  letter-spacing: .05em;
}

/* ==========================================================================
   12. PRODUCTS
   ========================================================================== */
.prod {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 1rem + 3.5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  border-top: 1px solid var(--line-dark);
}
.prod:first-of-type { border-top: 0; padding-top: 0; }
.prod--flip .prod__visual { order: -1; }

.prod__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .34rem .8rem .34rem .4rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  font-size: var(--fs-xs);
  font-weight: 650;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1.15rem;
}
.prod__badge-ico {
  width: 24px; height: 24px;
  border-radius: 7px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--primary-light), var(--spiral));
  color: #fff;
}
.prod__badge-ico .icon { width: 13px; height: 13px; }

.prod h3 {
  font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.35rem);
  color: #fff;
  margin-bottom: .85rem;
  letter-spacing: -.032em;
}
.prod__tagline {
  font-size: var(--fs-lede);
  color: rgba(255, 255, 255, .68);
  margin-bottom: 1.5rem;
  max-width: 40ch;
}
.prod__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem 1.1rem;
  margin-bottom: 1.9rem;
}
.prod__feature {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .74);
}
.prod__feature .icon {
  width: 15px; height: 15px;
  flex: none;
  color: #6EE7A8;
  stroke-width: 2.6;
}

/* Product UI mockup */
.mock {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(158deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .03) 100%);
  border: 1px solid rgba(255, 255, 255, .13);
  padding: .55rem;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.mock__win {
  border-radius: calc(var(--r-xl) - 8px);
  background: linear-gradient(170deg, #0D0F3A 0%, #080A25 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .85rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .025);
}
.mock__dots { display: flex; gap: 5px; }
.mock__dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}
.mock__url {
  flex: 1;
  font-size: .64rem;
  color: rgba(255, 255, 255, .62);
  font-family: var(--mono);
  text-align: center;
  letter-spacing: .02em;
}
.mock__body { padding: .9rem; display: grid; gap: .6rem; }

.mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.mock-kpi {
  padding: .6rem .7rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
}
.mock-kpi span {
  display: block;
  font-size: .58rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  margin-bottom: .2rem;
}
.mock-kpi b { font-size: 1.02rem; font-weight: 750; color: #fff; letter-spacing: -.03em; }

.mock-table { border-radius: var(--r-sm); overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); }
.mock-tr {
  display: grid;
  align-items: center;
  gap: .6rem;
  padding: .52rem .7rem;
  font-size: .72rem;
  color: rgba(255, 255, 255, .7);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.mock-tr:last-child { border-bottom: 0; }
.mock-tr--head {
  background: rgba(255, 255, 255, .04);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.mock-tr b { color: #fff; font-weight: 650; }
.mock-badge {
  justify-self: start;
  font-size: .6rem;
  font-weight: 700;
  padding: .16rem .45rem;
  border-radius: 4px;
  white-space: nowrap;
}
.mock-badge--ok   { background: rgba(34, 197, 94, .16);  color: #6EE7A8; }
.mock-badge--warn { background: rgba(245, 158, 11, .16); color: #FCD34D; }
.mock-badge--info { background: rgba(62, 134, 212, .18); color: #A9CBF2; }
.mock-badge--mute { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .55); }

.mock-bars { display: grid; gap: .45rem; }
.mock-bar { display: grid; grid-template-columns: 76px minmax(0, 1fr) 34px; align-items: center; gap: .55rem; }
.mock-bar span { font-size: .64rem; color: rgba(255, 255, 255, .64); }
.mock-bar i {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .07);
  position: relative;
  overflow: hidden;
}
.mock-bar i::after {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: var(--w, 50%);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--spiral), var(--primary-glow));
}
.mock-bar b { font-size: .64rem; color: #fff; font-weight: 650; text-align: right; }

/* Product grid card (products index) */
.prod-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .02) 100%);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.prod-tile::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 80% 0%, rgba(62, 134, 212, .22), transparent 62%);
  opacity: .6;
  transition: opacity var(--t-base) var(--ease);
}
.prod-tile:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .26); box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .9); }
.prod-tile:hover::before { opacity: 1; }
.prod-tile > * { position: relative; }
.prod-tile__ico {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--primary-light), var(--spiral));
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 26px -12px rgba(36, 86, 166, .8);
}
.prod-tile__ico .icon { width: 23px; height: 23px; }
.prod-tile h3 { color: #fff; font-size: 1.24rem; margin-bottom: .5rem; }
.prod-tile p { font-size: var(--fs-sm); color: rgba(255, 255, 255, .62); line-height: 1.6; margin-bottom: 1.25rem; }
.prod-tile__list { display: grid; gap: .42rem; margin-bottom: 1.5rem; }
.prod-tile__list li {
  display: flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); color: rgba(255, 255, 255, .68);
}
.prod-tile__list .icon { width: 13px; height: 13px; color: #6EE7A8; stroke-width: 2.8; flex: none; }
.prod-tile__foot { margin-top: auto; }

/* ==========================================================================
   13. ECOSYSTEM FLOW
   ========================================================================== */
.eco {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .6rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0;
}
.eco::before {
  content: "";
  position: absolute;
  left: 4%; right: 4%;
  top: 52px;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(62, 134, 212, .05) 0%,
    rgba(62, 134, 212, .45) 15%,
    rgba(74, 77, 232, .5) 50%,
    rgba(110, 231, 168, .45) 85%,
    rgba(110, 231, 168, .05) 100%);
  border-radius: 2px;
}
.eco::after {
  content: "";
  position: absolute;
  top: 48px;
  left: 4%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px 3px rgba(169, 203, 242, .85);
  animation: eco-travel 6s linear infinite;
}
@keyframes eco-travel {
  0%   { left: 4%;  opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { left: calc(96% - 10px); opacity: 0; }
}

.eco__node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .55rem;
}
.eco__dot {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 17px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.eco__dot .icon { width: 23px; height: 23px; }
.eco__node:hover .eco__dot {
  transform: translateY(-5px) scale(1.05);
  border-color: rgba(169, 203, 242, .6);
  box-shadow: 0 18px 40px -18px rgba(62, 134, 212, .9);
}
.eco__label { font-size: .875rem; font-weight: 700; color: #fff; letter-spacing: -.012em; }
.eco__note { font-size: var(--fs-xs); color: rgba(255, 255, 255, .64); line-height: 1.4; }

.eco__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark-soft);
}
.eco__legend-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .55);
}
.eco__legend-item i { width: 9px; height: 9px; border-radius: 3px; }
.eco__legend-item i.m { background: var(--spiral-light); }
.eco__legend-item i.p { background: var(--primary-glow); }
.eco__legend-item i.o { background: #6EE7A8; }

/* ==========================================================================
   14. PROCESS
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.step {
  padding: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem) clamp(1.1rem, .7rem + 1.2vw, 1.9rem) clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem) 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: clamp(1.1rem, .7rem + 1.2vw, 1.9rem); }
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--spiral));
  transition: width .8s var(--ease-out);
}
.step.is-visible::before { width: 100%; }
.step__no {
  font-size: clamp(3rem, 2.2rem + 2.6vw, 4.5rem);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(8, 11, 144, .38);
  margin-bottom: 1.35rem;
  transition: -webkit-text-stroke-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.step:hover .step__no { -webkit-text-stroke-color: transparent; color: var(--primary); }
.step__title { font-size: var(--fs-h3); margin-bottom: .7rem; }
.step__text { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; margin-bottom: 1.15rem; }
.step__list { display: grid; gap: .35rem; }
.step__list li {
  font-size: var(--fs-xs);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .45rem;
}
.step__list li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .45;
  flex: none;
}

/* ==========================================================================
   15. WHY APNALEAD
   ========================================================================== */
.statement {
  position: relative;
  padding: clamp(2rem, 1.2rem + 3vw, 3.5rem) clamp(1.5rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 100%);
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 100% 0%, rgba(62, 134, 212, .26), transparent 62%);
}
.statement > * { position: relative; }
.statement__quote {
  font-size: clamp(1.35rem, 1.05rem + 1.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.03em;
  color: #fff;
  text-wrap: balance;
}
.statement__quote span { color: var(--spiral-light); }
.statement__mark {
  width: 34px; height: 34px;
  color: rgba(169, 203, 242, .35);
  margin-bottom: 1.1rem;
}

/* Brand promise â€” the four-line positioning */
.promise { display: grid; gap: 0; margin-top: 2.25rem; }
.promise li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid var(--line-dark-soft);
  font-size: var(--fs-lede);
  color: rgba(255, 255, 255, .82);
}
.promise li:last-child { border-bottom: 1px solid var(--line-dark-soft); }
.promise li b {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--spiral-light);
}

/* ==========================================================================
   16. TESTIMONIALS
   ========================================================================== */
.tst {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: #fff;
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.tst:hover { transform: translateY(-4px); border-color: rgba(8, 11, 144, .18); box-shadow: var(--sh-md); }
.tst__stars { display: flex; gap: 2px; margin-bottom: 1.1rem; }
.tst__stars .icon { width: 15px; height: 15px; color: #F5A623; }
.tst__msg {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}
.tst__who {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
}
.tst__av {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--primary), var(--spiral));
  color: #fff;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: -.02em;
  flex: none;
}
.tst__name { font-size: var(--fs-sm); font-weight: 700; color: var(--dark); line-height: 1.3; }
.tst__role { font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }

/* ==========================================================================
   17. FAQ
   ========================================================================== */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  text-align: left;
  font-size: 1.06rem;
  font-weight: 650;
  color: var(--dark);
  letter-spacing: -.018em;
  line-height: 1.45;
  transition: color var(--t-fast) var(--ease);
}
.faq__q:hover { color: var(--primary); }
.faq__ico {
  width: 30px; height: 30px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--primary);
  margin-top: .1rem;
  transition: background-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.faq__ico .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.faq__item.is-open .faq__ico {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 3.5rem 1.5rem 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.faq--dark { border-color: var(--line-dark); }
.faq--dark .faq__item { border-color: var(--line-dark); }
.faq--dark .faq__q { color: #fff; }
.faq--dark .faq__q:hover { color: var(--spiral-light); }
.faq--dark .faq__ico { border-color: var(--line-dark); color: var(--spiral-light); }
.faq--dark .faq__a p { color: rgba(255, 255, 255, .62); }

/* ==========================================================================
   18. CTA BANDS
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem);
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(58% 100% at 10% 0%,  rgba(8, 11, 144, .95) 0%, transparent 62%),
    radial-gradient(52% 90%  at 90% 100%, rgba(36, 86, 166, .5) 0%, transparent 62%);
  z-index: -2;
}
.cta::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(80% 100% at 50% 50%, #000 10%, transparent 85%);
  z-index: -1;
}
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.75rem, 1rem + 3vw, 4rem);
  align-items: center;
}
/* The CTA band is a dark surface but is not a .section--dark, so the eyebrow
   would otherwise stay brand-blue on navy — 1.33:1. */
.cta .eyebrow { color: var(--spiral-light); }
.cta h2 { color: #fff; margin-bottom: 1.1rem; }
.cta p { color: rgba(255, 255, 255, .66); font-size: var(--fs-lede); max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta__side {
  display: grid;
  gap: .7rem;
  padding: clamp(1.35rem, 1rem + 1vw, 1.85rem);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cta__side-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .8);
}
.cta__side-item .icon { width: 17px; height: 17px; color: var(--spiral-light); flex: none; }

/* Compact inline CTA used on inner pages */
.cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.35rem);
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: rgba(255, 255, 255, .8);
  position: relative;
  overflow: hidden;
}
.cta-inline::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 92% 10%, rgba(62, 134, 212, .5), transparent 62%);
}
.cta-inline > * { position: relative; }
.cta-inline h3 { color: #fff; margin-bottom: .35rem; }
.cta-inline p { font-size: var(--fs-sm); margin: 0; max-width: 52ch; }

/* ==========================================================================
   19. FORMS
   ========================================================================== */
.form { display: grid; gap: 1.05rem; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem; }
.field { display: flex; flex-direction: column; gap: .42rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--dark);
  letter-spacing: .01em;
}
.field label .req { color: #DC2626; margin-left: .15rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: var(--fs-sm);
  color: var(--text);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='%236B6B6B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 12px;
  padding-right: 2.4rem;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: #74747E; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(36, 39, 199, .1);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}
.field__err { font-size: var(--fs-xs); color: #DC2626; min-height: 0; }

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.55;
}
.form__consent input {
  width: 16px; height: 16px;
  margin-top: .18rem;
  flex: none;
  accent-color: var(--primary);
  cursor: pointer;
}
.form__note {
  font-size: var(--fs-xs);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .45rem;
}
.form__note .icon { width: 14px; height: 14px; color: var(--primary); opacity: .7; }

/* Honeypot â€” visually removed, still reachable by bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .95rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  line-height: 1.55;
  border: 1px solid;
}
.alert .icon { width: 18px; height: 18px; flex: none; margin-top: .1rem; }
.alert--ok  { background: #F0FDF4; border-color: #BBF7D0; color: #15803D; }
.alert--err { background: #FEF2F2; border-color: #FECACA; color: #B91C1C; }

/* Form panel wrapper */
.form-panel {
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.35rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: #fff;
  box-shadow: var(--sh-md);
}
.form-panel__head { margin-bottom: 1.6rem; }
.form-panel__head h3 { margin-bottom: .4rem; }
.form-panel__head p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* Contact detail rows */
.contact-list { display: grid; gap: .65rem; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: #fff;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.contact-row:hover { border-color: rgba(8, 11, 144, .2); transform: translateX(3px); }
.contact-row__ico {
  width: 38px; height: 38px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(8, 11, 144, .08), rgba(36, 86, 166, .05));
  border: 1px solid var(--line-soft);
  color: var(--primary);
}
.contact-row__ico .icon { width: 18px; height: 18px; }
.contact-row__lbl {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .18rem;
}
.contact-row__val { font-size: var(--fs-sm); font-weight: 600; color: var(--dark); line-height: 1.5; word-break: break-word; }
.contact-row__val a:hover { color: var(--primary); }
.contact-row__val.is-pending { color: var(--muted); font-weight: 500; font-style: italic; }

/* ==========================================================================
   20. PAGE HERO / BREADCRUMB / PROSE
   ========================================================================== */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 3.5vw, 4.75rem));
  padding-bottom: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem);
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 100% at 6% -10%, rgba(8, 11, 144, .92) 0%, transparent 60%),
    radial-gradient(50% 90% at 92% 10%, rgba(36, 86, 166, .45) 0%, transparent 62%);
  z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(90% 90% at 30% 40%, #000 10%, transparent 86%);
  z-index: -1;
}
.page-hero .eyebrow { color: var(--spiral-light); }
.page-hero h1 { color: #fff; margin-bottom: 1.15rem; max-width: 18ch; }
.page-hero__lede {
  font-size: var(--fs-lede);
  color: rgba(255, 255, 255, .68);
  max-width: 58ch;
  line-height: 1.62;
  text-wrap: pretty;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.75rem, 1rem + 3vw, 4rem);
  align-items: end;
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.75rem;
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .62);
  margin-bottom: 1.5rem;
}
.crumbs a { color: rgba(255, 255, 255, .62); transition: color var(--t-fast) var(--ease); }
.crumbs a:hover { color: #fff; }
.crumbs__sep { opacity: .85; }
.crumbs [aria-current] { color: rgba(255, 255, 255, .82); }

/* Long-form article body */
.prose { max-width: 68ch; font-size: 1.055rem; line-height: 1.78; color: #40404A; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 {
  font-size: clamp(1.35rem, 1.15rem + .9vw, 1.75rem);
  margin-top: 2.4em;
  margin-bottom: -.35em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h3 { font-size: 1.2rem; margin-top: 2em; margin-bottom: -.4em; }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul li { list-style: disc; margin-bottom: .5em; }
.prose ol li { list-style: decimal; margin-bottom: .5em; }
.prose blockquote {
  margin: 2em 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--primary);
  background: var(--surface-alt);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1.08rem;
  color: var(--dark);
}
.prose blockquote p:last-child { margin-bottom: 0; }

/* Article layout with sticky sidebar */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.25rem; }
.aside-card {
  padding: 1.35rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: #fff;
}
.aside-card__title {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.aside-card ul { display: grid; gap: .6rem; }
.aside-card ul a {
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.45;
  display: block;
  transition: color var(--t-fast) var(--ease);
}
.aside-card ul a:hover { color: var(--primary); }

.aside-card--cta {
  background: linear-gradient(155deg, var(--ink) 0%, var(--primary-dark) 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, .7);
  position: relative;
  overflow: hidden;
}
.aside-card--cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 80% at 100% 0%, rgba(62, 134, 212, .45), transparent 62%);
}
.aside-card--cta > * { position: relative; }
.aside-card--cta h4 { color: #fff; margin-bottom: .5rem; }
.aside-card--cta p { font-size: var(--fs-sm); margin-bottom: 1.15rem; line-height: 1.55; }

/* Filter chip row (blog / case studies) */
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2.25rem; }
.filter {
  padding: .5rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.filter:hover { border-color: rgba(8, 11, 144, .3); color: var(--primary); }
.filter.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Table of related links */
.linkgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.linkgrid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1.05rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--dark);
  transition: border-color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              color var(--t-base) var(--ease);
}
.linkgrid a .icon { width: 15px; height: 15px; color: var(--primary); opacity: .6; transition: transform var(--t-base) var(--ease); }
.linkgrid a:hover { border-color: rgba(8, 11, 144, .25); color: var(--primary); transform: translateY(-2px); }
.linkgrid a:hover .icon { transform: translateX(3px); opacity: 1; }

/* Definition-style spec list */
.speclist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.speclist > div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.speclist dt { font-weight: 700; color: var(--dark); }
.speclist dd { margin: 0; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   21. FOOTER
   ========================================================================== */
.footer {
  position: relative;
  background: var(--ink-deep);
  color: rgba(255, 255, 255, .6);
  padding-top: clamp(3.5rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.footer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 70% at 8% 0%, rgba(8, 11, 144, .5), transparent 62%);
  z-index: -1;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(1.75rem, 1rem + 2.5vw, 3.25rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 2.5vw, 3.75rem);
}
.footer__brand img { height: 44px; width: auto; margin-bottom: 1.35rem; }
.footer__desc { font-size: var(--fs-sm); line-height: 1.65; max-width: 34ch; margin-bottom: 1.6rem; }

.footer__col-title {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .95);
  margin-bottom: 1.15rem;
}
.footer__links { display: grid; gap: .62rem; }
.footer__links a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .58);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.footer__links a:hover { color: #fff; padding-left: 4px; }

.footer__contact { display: grid; gap: .8rem; }
.footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .62);
  line-height: 1.55;
}
.footer__contact-row .icon { width: 16px; height: 16px; flex: none; margin-top: .2rem; color: var(--spiral-light); }
.footer__contact-row a:hover { color: #fff; }
.footer__contact-row.is-pending { opacity: .45; font-style: italic; }

.socials { display: flex; gap: .5rem; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .7);
  transition: all var(--t-base) var(--ease);
}
.socials svg { width: 17px; height: 17px; }
.socials a:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line-dark-soft);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .62);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__legal a { transition: color var(--t-fast) var(--ease); }
.footer__legal a:hover { color: #fff; }

/* Keyword band â€” internal-linking + SEO context strip */
.kwband {
  padding-block: 1.6rem;
  border-top: 1px solid var(--line-dark-soft);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .60);
  line-height: 1.85;
}
.kwband strong {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: var(--fs-label);
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.kwband a { color: rgba(255, 255, 255, .62); transition: color var(--t-fast) var(--ease); }
.kwband a:hover { color: var(--spiral-light); }
.kwband span { opacity: .82; margin-inline: .4rem; }

/* Confirmation tick on the thank-you page */
.success-mark {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  margin-bottom: 1.35rem;
  background: rgba(34, 197, 94, .16);
  border: 1px solid rgba(110, 231, 168, .45);
  color: #6EE7A8;
  animation: mark-pop .55s var(--ease-out) both;
}
.success-mark .icon { width: 27px; height: 27px; stroke-width: 2.4; }
@keyframes mark-pop {
  0%   { opacity: 0; transform: scale(.75); }
  60%  { transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   21b. LEAD MODAL
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(.75rem, .4rem + 1.5vw, 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 28, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 48px 100px -40px rgba(6, 7, 28, .7);
  opacity: 0;
  transform: translateY(16px) scale(.985);
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.modal.is-open .modal__dialog { opacity: 1; transform: none; }

/* Side by side, the close button sits over the WHITE form panel — so it is
   dark by default and only inverts in the stacked layout, where it lands on
   the dark aside instead. */
.modal__close {
  position: absolute;
  top: .85rem; right: .85rem;
  z-index: 3;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  color: var(--text);
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.modal__close svg { width: 17px; height: 17px; }
.modal__close:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(90deg);
}

/* Left panel — dark, carries the reason to fill the form in */
.modal__aside {
  position: relative;
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.35rem);
  background: linear-gradient(160deg, var(--ink) 0%, var(--primary-dark) 100%);
  color: var(--on-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal__aside::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 100% 0%, rgba(62, 134, 212, .45), transparent 62%);
  pointer-events: none;
}
.modal__aside > * { position: relative; }

.modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
  padding: .34rem .8rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: var(--fs-xs);
  font-weight: 650;
  color: #fff;
  margin-bottom: 1.15rem;
}
.modal__eyebrow .icon { width: 14px; height: 14px; }

.modal__title {
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem);
  color: #fff;
  margin-bottom: .75rem;
  letter-spacing: -.028em;
}
.modal__text { font-size: var(--fs-sm); line-height: 1.6; margin-bottom: 1.5rem; }

.modal__points { display: grid; gap: .7rem; margin-bottom: 1.5rem; }
.modal__points li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.modal__points .icon { width: 16px; height: 16px; flex: none; margin-top: .18rem; color: var(--spiral-light); }

.modal__alt {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--spiral-light);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-dark);
}
.modal__alt .icon { width: 16px; height: 16px; flex: none; }
.modal__alt:hover { color: #fff; }

.modal__body { padding: clamp(1.35rem, 1rem + 1.5vw, 2.1rem); }
.modal__body .form-wrap { display: block; }

/* ==========================================================================
   22. FLOATING ACTIONS
   ========================================================================== */
.floaters {
  position: fixed;
  right: clamp(1rem, .5rem + 1vw, 1.75rem);
  bottom: clamp(1rem, .5rem + 1vw, 1.75rem);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: flex-end;
}

.fab {
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
  height: 52px;
  padding: 0 1.1rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 650;
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.fab .icon { width: 22px; height: 22px; flex: none; }
.fab:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 38px -12px rgba(0, 0, 0, .48); }
.fab--wa { background: #25D366; }
.fab--wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #25D366;
  animation: fab-ring 2.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes fab-ring {
  0%   { transform: scale(1);    opacity: .6; }
  70%  { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}
.fab--call { background: var(--primary); }

.to-top {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 11, 46, .85);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-base) var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 18px; height: 18px; transform: rotate(-90deg); }
.to-top:hover { background: var(--primary); border-color: var(--primary); }

/* --------------------------------------------------------------------------
   Two-line label/value pairs
   Several components wrap a title and a caption in a single <span> so the grid
   parent keeps a clean three-column structure. Those inner spans must be
   block-level or the two lines collapse onto one.
   -------------------------------------------------------------------------- */
.panel-row__title, .panel-row__text,
.mega-card__title, .mega-card__text,
.tst__name, .tst__role,
.hviz__chip-val, .hviz__chip-lbl,
.eco__label, .eco__note,
.contact-row__lbl, .contact-row__val,
.aside-row strong { display: block; }

/* Full-card click target. The heading link covers the card; the visible
   "Learn more" affordance stays keyboard-focusable above it. */
.stretched::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card, .ind-card, .case-card, .post-card, .prod-tile { position: relative; }
.card .link-arrow,
.ind-card .link-arrow,
.case-card .link-arrow,
.post-card .link-arrow,
.prod-tile .link-arrow { position: relative; z-index: 2; }

/* Aside slot in the inner-page hero */
.page-hero__aside {
  display: grid;
  gap: .7rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.page-hero__aside .aside-row {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .78);
  line-height: 1.5;
}
.page-hero__aside .aside-row .icon {
  width: 17px; height: 17px;
  flex: none;
  margin-top: .18rem;
  color: var(--spiral-light);
}
.page-hero__aside .aside-title {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .64);
  margin-bottom: .35rem;
}

/* ==========================================================================
   23. UTILITIES & MOTION
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2.25rem; }
.w-full { width: 100%; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Scroll reveal â€” JS adds .is-visible */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

[data-reveal="left"]  { transform: translateX(-26px); }
[data-reveal="right"] { transform: translateX(26px); }
[data-reveal="scale"] { transform: scale(.965); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].is-visible { transform: none; }

/* No-JS safety: never hide content if the observer never runs */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Respect the user's motion preference across the whole system */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-area, .chart-dot, .chart-dot-halo { opacity: 1; }
  .eco::after { display: none; }
}

/* Print â€” strip chrome, keep content readable */
@media print {
  .header, .mobile-nav, .floaters, .cta, .footer__top, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  .section, .hero, .page-hero { padding-block: 1.5rem; background: #fff !important; color: #000 !important; }
  .hero::before, .hero::after, .section--dark::before, .section--dark::after { display: none; }
  a { text-decoration: underline; }
}
