/* ==========================================================================
   DatarexAI — custom design system
   Layered on top of Tailwind CDN. Tailwind handles layout utilities;
   this file owns the brand: colour, gradient, type scale, components,
   and all motion.

   TABLE OF CONTENTS
   01. Tokens
   02. Base & helpers
   03. Layout primitives
   04. Typography
   05. Buttons
   06. Header / nav
   07. Hero + AI orbit visual
   08. Cards (service, value, glass, quote)
   09. Technology chips
   10. Approach steps
   11. Stats & placeholders
   12. CTA band
   13. Contact form
   14. Footer
   15. Floating WhatsApp button
   16. Scroll-reveal & reduced motion
   ========================================================================== */

/* ---------------------------------------------------------------
   01. TOKENS
   --------------------------------------------------------------- */
:root {
  /* Brand */
  --brand-blue:   #2D6BFF;
  --brand-violet: #7A3CF0;
  --brand-navy:   #0A1230;
  --brand-navy-2: #131A3A;

  /* Neutrals */
  --ink:         #0F172A;
  --muted:       #5B6478;
  --surface:     #FFFFFF;
  --surface-alt: #F5F7FC;
  --border:      #E6EAF2;

  /* Gradients */
  --grad:        linear-gradient(120deg, #2D6BFF 0%, #7A3CF0 100%);
  /* Deepened variant used where white text sits on top (WCAG AA) */
  --grad-deep:   linear-gradient(120deg, #2554D8 0%, #6428D0 100%);

  /* Radii — 16–20px card family */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Shadows — soft, layered */
  --sh-1: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 6px rgba(15, 23, 42, .04);
  --sh-2: 0 2px 6px rgba(15, 23, 42, .05), 0 12px 28px rgba(15, 23, 42, .07);
  --sh-3: 0 6px 14px rgba(15, 23, 42, .07), 0 24px 48px rgba(45, 107, 255, .13);

  /* 8pt spacing scale */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 40px; --s-6: 48px; --s-8: 64px; --s-10: 80px; --s-12: 96px;

  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------------------------------------------------------------
   02. BASE & HELPERS
   --------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Visible, high-contrast focus for every interactive element */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 6px;
}
.band-dark :where(a, button):focus-visible,
.cta-band :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible { outline-color: #9FC0FF; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: #fff; color: var(--ink); padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600; box-shadow: var(--sh-2);
}
.skip-link:focus { left: 0; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  /* Fallback for browsers without background-clip:text */
  -webkit-text-fill-color: transparent;
}

/* Reserve space so the fixed header never overlaps anchored content */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------
   03. LAYOUT PRIMITIVES
   --------------------------------------------------------------- */
.container-x {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .container-x { padding-inline: 32px; } }

.section { padding-block: var(--s-12); position: relative; }
@media (max-width: 640px) { .section { padding-block: var(--s-10); } }
.section--alt { background: var(--surface-alt); }

.band-dark {
  background:
    radial-gradient(1100px 520px at 78% 18%, rgba(122, 60, 240, .30), transparent 62%),
    radial-gradient(900px 480px at 12% 8%, rgba(45, 107, 255, .28), transparent 60%),
    linear-gradient(180deg, var(--brand-navy) 0%, var(--brand-navy-2) 100%);
  color: #EAEEF9;
  position: relative;
  isolation: isolate;
}
.band-dark--vm { padding-block: var(--s-12); }

/* 1px gradient hairline used to close dark bands */
.band-divider {
  position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: var(--grad); opacity: .9;
}

.section-head { max-width: 780px; margin-inline: auto; text-align: center; }

/* ---------------------------------------------------------------
   04. TYPOGRAPHY
   --------------------------------------------------------------- */
.h1, .h2, .h3, .wordmark__text, .card__title, .step__title,
.value-card__title, .glass-card__title, .stat__value, .footer-head {
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.h1 {
  font-size: clamp(2.2rem, 1.35rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.75rem);
  line-height: 1.15;
  text-wrap: balance;
}
.h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #B9C6FF;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 8px 16px; border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}

.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.lead { color: var(--muted); font-size: 1.06rem; max-width: 68ch; margin-top: 16px; }
.lead-dark { color: #C4CEE8; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }

.prose-legal p { color: var(--muted); margin-top: 1em; line-height: 1.7; }
.prose-legal h2:first-child { margin-top: 0; }

.disclaimer {
  margin-top: var(--s-6); text-align: center;
  font-size: .82rem; color: var(--muted); max-width: 70ch; margin-inline: auto;
}

/* ---------------------------------------------------------------
   05. BUTTONS
   --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: .96rem; line-height: 1;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 11px 20px; font-size: .89rem; }

.btn--gradient {
  background-image: var(--grad-deep);
  color: #fff;
  box-shadow: 0 6px 18px rgba(45, 107, 255, .32);
}
.btn--gradient:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(90, 60, 240, .40); }

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .04);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

.btn--white { background: #fff; color: #1B2440; box-shadow: var(--sh-2); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--sh-3); }

.btn--outline-white { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-white:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }

.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }

.btn__spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------
   06. HEADER / NAV
   --------------------------------------------------------------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  background: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--sh-1);
  border-bottom-color: var(--border);
}

.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark__mark { display: inline-flex; }
.wordmark__text { font-size: 1.3rem; color: #fff; letter-spacing: -.03em; }
.site-header.is-solid .wordmark__text { color: var(--ink); }
.wordmark--footer .wordmark__text { color: #fff; font-size: 1.45rem; }

.nav-link {
  position: relative;
  padding: 10px 14px; border-radius: var(--r-sm);
  font-size: .94rem; font-weight: 500; text-decoration: none;
  color: rgba(255, 255, 255, .82);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .10); }
.site-header.is-solid .nav-link { color: #47506A; }
.site-header.is-solid .nav-link:hover { color: var(--ink); background: var(--surface-alt); }

/* Active-section highlight (set by IntersectionObserver in main.js) */
.nav-link.is-active { color: #fff; }
.site-header.is-solid .nav-link.is-active { color: var(--brand-blue); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--grad);
}

.nav-toggle {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .2);
}
/* Explicit breakpoint rules — this file loads after Tailwind, so a bare
   `display` here would otherwise beat the `lg:hidden` utility. */
@media (min-width: 1024px) { .nav-toggle, .mobile-nav { display: none !important; } }
.site-header.is-solid .nav-toggle { background: var(--surface-alt); border-color: var(--border); }
.nav-toggle__bar {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.site-header.is-solid .nav-toggle__bar { background: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: var(--sh-2);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-nav__link {
  padding: 14px 4px; font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__link:last-of-type { border-bottom: 0; }
.mobile-nav__link:hover { color: var(--brand-blue); }

/* ---------------------------------------------------------------
   07. HERO + AI ORBIT VISUAL
   --------------------------------------------------------------- */
.hero { overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(620px 620px at 72% 42%, rgba(122, 60, 240, .35), transparent 65%);
  pointer-events: none;
}

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  padding-top: var(--s-3); border-top: 1px solid rgba(255, 255, 255, .14);
}
.trust-strip > div { display: flex; align-items: baseline; gap: 8px; }
.trust-strip strong {
  font-family: Sora, Inter, sans-serif; font-size: 1.35rem; font-weight: 700; color: #fff;
}
.trust-strip span { color: #A8B4D4; font-size: .9rem; }

/* --- Orbit visual ------------------------------------------------ */
.hero__visual { display: flex; justify-content: center; }
.ai-orbit {
  position: relative;
  width: min(480px, 92vw);
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.ai-orbit__ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .13);
  inset: 0;
}
.ai-orbit__ring--1 { inset: 8%;  border-style: dashed; animation: spin 46s linear infinite; }
.ai-orbit__ring--2 { inset: 22%; border-color: rgba(122, 60, 240, .35); }
.ai-orbit__ring--3 { inset: 36%; border-color: rgba(45, 107, 255, .35); animation: spin 30s linear infinite reverse; }

.ai-core {
  position: relative; z-index: 2;
  width: 30%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad);
  box-shadow: 0 0 0 10px rgba(45, 107, 255, .10), 0 0 60px 8px rgba(122, 60, 240, .45);
  animation: corePulse 4.5s ease-in-out infinite;
}
.ai-core span {
  font-family: Sora, sans-serif; font-weight: 800; color: #fff;
  font-size: clamp(1.4rem, 3.4vw, 2rem); letter-spacing: .02em;
}
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 0 10px rgba(45, 107, 255, .10), 0 0 55px 6px rgba(122, 60, 240, .40); }
  50%      { box-shadow: 0 0 0 18px rgba(45, 107, 255, .06), 0 0 80px 14px rgba(122, 60, 240, .60); }
}

/* Nodes sit on a circle. The wrapper spans the whole box and rotates; the
   label is pushed out by a *length* (percentages in translate resolve
   against the element's own box, which is not what we want here) and then
   counter-rotated so text stays upright. --a is measured from 12 o'clock. */
.ai-orbit { --orbit-r: clamp(96px, 19vw, 168px); }

.ai-node {
  position: absolute; inset: 0; z-index: 3;
  transform: rotate(var(--a));
  pointer-events: none;
}
.ai-node span {
  position: absolute; left: 50%; top: 50%;
  transform:
    translate(-50%, -50%)
    translateY(calc(-1 * var(--orbit-r)))
    rotate(calc(-1 * var(--a)));
  display: inline-block; white-space: nowrap;
  font-size: clamp(.63rem, 1.35vw, .8rem); font-weight: 600; color: #E8EDFB;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-pill); padding: 7px 13px;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(5, 10, 30, .35);
  animation: nodeFloat 6s ease-in-out infinite;
}
.ai-node:nth-of-type(2) span { animation-delay: -1.2s; }
.ai-node:nth-of-type(3) span { animation-delay: -2.4s; }
.ai-node:nth-of-type(4) span { animation-delay: -3.6s; }
.ai-node:nth-of-type(5) span { animation-delay: -4.8s; }
@keyframes nodeFloat {
  0%, 100% { margin-top: 0; }
  50%      { margin-top: -7px; }
}

/* ---------------------------------------------------------------
   08. CARDS
   --------------------------------------------------------------- */
.icon-chip {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad); color: #fff; flex: none;
  box-shadow: 0 6px 16px rgba(45, 107, 255, .28);
}
.icon-chip svg { width: 26px; height: 26px; }
.icon-chip--sm { width: 42px; height: 42px; border-radius: 12px; }
.icon-chip--sm svg { width: 21px; height: 21px; }
.icon-chip--glass {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: none;
}

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* Gradient border glow on hover */
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.card:hover::before { opacity: 1; }

.card__title { font-size: 1.15rem; margin-top: var(--s-3); }
.card__summary { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.card__link {
  margin-top: auto; padding-top: var(--s-3);
  font-weight: 600; font-size: .92rem; text-decoration: none;
  color: var(--brand-blue);
  transition: gap .2s var(--ease);
}
.card__link:hover { color: var(--brand-violet); }

.card__outcome {
  margin-top: 10px; font-size: .88rem; font-style: italic;
  color: var(--brand-blue);
}

.card--cta {
  background-image: var(--grad-deep);
  border-color: transparent;
  justify-content: center;
}
.card--cta::before { display: none; }
.card--cta:hover { transform: translateY(-6px); }
/* .card__summary hardcodes a dark --muted color that otherwise wins over
   the text-white/* utility class here (equal specificity, later in cascade). */
.card--cta .card__summary { color: rgba(255, 255, 255, .85); }

.tick-list { margin-top: var(--s-3); display: grid; gap: 9px; }
.tick-list li {
  position: relative; padding-left: 26px;
  font-size: .93rem; color: #3B455E; line-height: 1.5;
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--grad); opacity: .16;
}
.tick-list li::after {
  content: ""; position: absolute; left: 4.5px; top: .62em;
  width: 6px; height: 3.2px; border-left: 2px solid var(--brand-blue);
  border-bottom: 2px solid var(--brand-blue);
  transform: rotate(-45deg);
}

/* Value cards (Why DatarexAI) */
.value-card {
  display: flex; gap: var(--s-3); align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s-3) var(--s-4);
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.value-card__title { font-size: 1.08rem; }
.value-card__text { color: var(--muted); margin-top: 6px; font-size: .95rem; }
@media (min-width: 768px) { .value-card--wide { grid-column: span 2; } }

/* Glass cards on dark bands */
.glass-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  backdrop-filter: blur(10px);
}
.glass-card__title { font-size: 1.4rem; color: #fff; margin-top: var(--s-3); }
.glass-card__text { color: #C4CEE8; margin-top: 12px; font-size: 1.02rem; }
.vm__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 340px at 50% 0%, rgba(45, 107, 255, .22), transparent 70%);
}

/* Testimonial cards */
.quote-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s-4);
  box-shadow: var(--sh-1);
}
.quote-card p { color: #3B455E; font-size: .97rem; }
.quote-card footer { margin-top: var(--s-3); display: grid; gap: 2px; font-size: .86rem; }

/* ---------------------------------------------------------------
   09. TECHNOLOGY CHIPS
   --------------------------------------------------------------- */
.tech-groups { display: grid; gap: var(--s-3); }
.tech-group {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  box-shadow: var(--sh-1);
}
@media (min-width: 900px) {
  .tech-group { grid-template-columns: 220px 1fr; gap: var(--s-4); }
}
.tech-group__label {
  font-family: Sora, Inter, sans-serif; font-weight: 700; font-size: .95rem;
  letter-spacing: -.01em;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .87rem; font-weight: 500; color: #33405C;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex: none;
}
.chip:hover { border-color: rgba(45, 107, 255, .45); color: var(--ink); transform: translateY(-2px); }

/* ---------------------------------------------------------------
   10. APPROACH STEPS
   --------------------------------------------------------------- */
.steps {
  display: grid; gap: var(--s-3);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 640px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(6, 1fr); gap: var(--s-2); } }

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-2);
  text-align: center;
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }

/* Connector arrows between steps on wide screens */
@media (min-width: 1024px) {
  .step:not(:last-child)::before {
    content: ""; position: absolute; top: 50%; right: calc(-1 * var(--s-2) - 1px);
    width: var(--s-2); height: 2px; transform: translateY(-1px);
    background: linear-gradient(90deg, rgba(45, 107, 255, .45), rgba(122, 60, 240, .75));
  }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: calc(-1 * var(--s-2) + 1px);
    width: 7px; height: 7px; transform: translateY(-4px) rotate(45deg);
    border-top: 2px solid rgba(122, 60, 240, .75);
    border-right: 2px solid rgba(122, 60, 240, .75);
  }
}

.step__num {
  display: block; font-family: Sora, sans-serif; font-weight: 800; font-size: .8rem;
  letter-spacing: .1em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.step__icon {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; margin: 12px auto 0;
  border-radius: 14px; color: var(--brand-blue);
  background: rgba(45, 107, 255, .09);
  border: 1px solid rgba(45, 107, 255, .18);
}
.step__icon svg { width: 22px; height: 22px; }
.step__title { font-size: 1.02rem; margin-top: 14px; }
.step__text { color: var(--muted); font-size: .86rem; margin-top: 6px; line-height: 1.5; }

.principle {
  margin-top: var(--s-8);
  border-radius: var(--r-lg);
  background-image: var(--grad-deep);
  padding: var(--s-5) var(--s-4);
  text-align: center;
  box-shadow: var(--sh-3);
}
.principle p {
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(1.05rem, .9rem + .9vw, 1.6rem);
  font-weight: 600; color: #fff; line-height: 1.4;
  max-width: 62ch; margin-inline: auto; text-wrap: balance;
}

/* ---------------------------------------------------------------
   11. STATS & PLACEHOLDERS
   --------------------------------------------------------------- */
.stats-row {
  margin-top: var(--s-8);
  display: grid; gap: var(--s-2);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat {
  text-align: center; padding: var(--s-3);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--sh-1);
}
.stat__value { display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.stat__label { display: block; color: var(--muted); font-size: .86rem; margin-top: 6px; }

/* Placeholder styling — deliberately loud so nothing ships by accident.
   Delete the .ph / .ph-block / .ph-note classes once real content is in. */
.ph {
  background: #FFF6E5;
  border: 1px dashed #E0A32E;
  border-radius: 6px;
  padding: 1px 8px;
  color: #7A5310;
  -webkit-text-fill-color: #7A5310;
  font-style: normal;
}
.band-dark .ph, .site-footer .ph {
  background: rgba(224, 163, 46, .16);
  color: #F2C979; -webkit-text-fill-color: #F2C979;
}
.ph-block { border: 1px dashed #E0A32E; background: #FFFBF2; }
.ph-note {
  font-size: .78rem; color: #8A6A22; letter-spacing: .01em;
}
.band-dark .ph-note { color: #E3C489; }

/* ---------------------------------------------------------------
   12. CTA BAND
   --------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: var(--s-12);
  background-image: var(--grad-deep);
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 50% 120%, rgba(255, 255, 255, .18), transparent 70%);
  pointer-events: none;
}

/* ---------------------------------------------------------------
   13. CONTACT FORM
   --------------------------------------------------------------- */
.contact-list { display: grid; gap: var(--s-3); }
.contact-list li { display: flex; gap: var(--s-2); align-items: flex-start; }
.contact-list__label {
  display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
}
.contact-list a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(45,107,255,.35); }
.contact-list a:hover { color: var(--brand-blue); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  box-shadow: var(--sh-2);
}
@media (min-width: 768px) { .form-card { padding: var(--s-5); } }

.field label {
  display: block; font-size: .87rem; font-weight: 600; margin-bottom: 7px; color: #2A3350;
}
.req { color: #C2410C; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: .95rem; font-family: inherit; color: var(--ink);
  background: #FCFDFF;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
/* Custom chevron — the shorthand `background` above would wipe the one the
   Tailwind forms plugin supplies. */
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5 7 7.5l6-6' stroke='%235B6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field input::placeholder, .field textarea::placeholder { color: #98A1B5; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(45, 107, 255, .13);
  outline: none;
}
.field.has-error input, .field.has-error textarea { border-color: #DC2626; }
.field__err { color: #B91C1C; font-size: .82rem; margin-top: 6px; }

/* Honeypot — visually hidden but not display:none (some bots skip those) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .8rem; color: var(--muted); text-align: center; }
.form-status {
  margin-top: var(--s-2); padding: 12px 16px; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 500;
}
.form-status.is-ok  { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-status.is-err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ---------------------------------------------------------------
   13a. FAQ (native <details>/<summary>, no JS required)
   --------------------------------------------------------------- */
.faq-list { max-width: 780px; margin: var(--s-8) auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding-block: var(--s-4);
}
.faq-item summary {
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.02rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.3rem; color: var(--brand-blue);
  flex-shrink: 0; transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  margin-top: var(--s-3); color: var(--muted); font-size: .95rem; max-width: 68ch;
}

/* ---------------------------------------------------------------
   14. FOOTER
   --------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--brand-navy-2) 0%, var(--brand-navy) 100%);
  color: #C4CEE8;
  border-top: 2px solid transparent;
  border-image: var(--grad) 1;
}
.footer-tag { margin-top: var(--s-2); font-size: .95rem; max-width: 34ch; }
.footer-motto {
  margin-top: var(--s-2); font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: #8F9DC2;
}
.footer-head {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin-bottom: var(--s-2);
}
.footer-links { display: grid; gap: 10px; font-size: .93rem; }
.footer-links a { color: #C4CEE8; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding-block: var(--s-3);
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between;
  font-size: .85rem; color: #93A1C4;
}
.footer-bottom a { color: #C4CEE8; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: #fff; }

/* ---------------------------------------------------------------
   15. FLOATING WHATSAPP BUTTON
   --------------------------------------------------------------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #06301A;
  border-radius: var(--r-pill); padding: 14px 20px;
  font-weight: 700; font-size: .92rem; text-decoration: none;
  box-shadow: 0 10px 26px rgba(4, 30, 15, .28);
  transform: translateY(12px); opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-fab.is-visible { transform: translateY(0); opacity: 1; }
.wa-fab:hover { box-shadow: 0 14px 34px rgba(4, 30, 15, .36); }
@media (max-width: 480px) {
  .wa-fab__label { display: none; }
  .wa-fab { padding: 15px; }
}

/* ---------------------------------------------------------------
   16. SCROLL-REVEAL & REDUCED MOTION
   --------------------------------------------------------------- */
/* Scoped to .js so that with JavaScript disabled every section stays visible. */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@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;
  }
  .js .reveal { opacity: 1; transform: none; }
  .ai-orbit__ring, .ai-core, .ai-node { animation: none !important; }
}
