/* ==========================================================================
   UniHop.eu — "Hop to your future."
   Concept: one committed arc. A dashed navy trajectory launches in the hero,
   threads every journey, and always lands on a yellow dot. One motion physics
   everywhere: launch, overshoot, settle. One yellow CTA per view.
   Poppins only · navy #031C32 · royal #1C4F8C · yellow #FEB002
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset, ~8 KB each) ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins/poppins-700.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --navy: #031c32;
  --navy-2: #0a2a44;      /* raised dark surface */
  --royal: #1c4f8c;       /* primary — the arc */
  --blue-dark: #143a68;
  --blue-bright: #2e6fbf;
  --yellow: #feb002;      /* accent — the dot. Sparingly. */
  --yellow-up: #ffbe2e;   /* hover state of yellow */
  --mist: #f5f7fa;
  --cloud: #dfe6ed;
  --white: #ffffff;

  --ink: var(--navy);
  --body: #2b3f52;
  --muted: #55677a;
  --hairline: #e3e9f0;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-lg: 30px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(3, 28, 50, 0.05), 0 4px 12px rgba(3, 28, 50, 0.05);
  --shadow-md: 0 2px 4px rgba(3, 28, 50, 0.04), 0 16px 40px rgba(3, 28, 50, 0.1);
  --shadow-yellow: 0 8px 24px rgba(254, 176, 2, 0.35);

  /* One physics: launch, overshoot, settle. */
  --hop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --glide: cubic-bezier(0.22, 1, 0.36, 1);

  --utility-h: 40px;
  --mainbar-h: 76px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a { color: var(--royal); text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* The jury zooms in. */
::selection { background: var(--yellow); color: var(--navy); }

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(28, 79, 140, 0.55) transparent;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(28, 79, 140, 0.55);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

:focus-visible {
  outline: 2.5px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }

ul, ol { padding-left: 1.25em; }
li::marker { color: var(--yellow); }
ol li::marker { color: var(--royal); font-weight: 600; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.625rem, 6.2vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h2 { font-size: clamp(1.875rem, 3.8vw, 2.875rem); line-height: 1.08; }
h3 { font-size: clamp(1.1875rem, 1.8vw, 1.4375rem); }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--body);
}

.muted { color: var(--muted); font-size: 0.9375rem; }
.mb-0 { margin-bottom: 0; }

/* Eyebrow: label punctuated by the landing dot. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(28, 79, 140, 0.08);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}
.tone-navy .eyebrow { color: #9fc0e8; background: rgba(46, 111, 191, 0.22); }

/* Big honest numbers — the heroes of the layout. */
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: clamp(72px, 9vw, 120px); }
section.tight { padding-block: clamp(48px, 6vw, 80px); }

.tone-mist { background: var(--mist); }
.tone-navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}
.tone-navy h2, .tone-navy h3, .tone-navy h4 { color: var(--white); }
.tone-navy .muted { color: rgba(255, 255, 255, 0.55); }
.tone-navy a:not(.btn) { color: #9fc0e8; }

.section-title { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-title.center { margin-inline: auto; text-align: center; }
.section-title.center .eyebrow { justify-content: center; }
.section-title.center p { margin-inline: auto; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ---------- Buttons: pills with hop physics ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  isolation: isolate;
  transition:
    transform 0.45s var(--hop),
    box-shadow 0.35s var(--glide),
    color 0.3s var(--glide),
    background-color 0.3s var(--glide);
  will-change: transform;
  transform: translate(var(--mx, 0px), var(--my, 0px));
}
.btn:hover { transform: translate(var(--mx, 0px), calc(var(--my, 0px) - 3px)); }
.btn:active { transform: translate(var(--mx, 0px), calc(var(--my, 0px) - 1px)) scale(0.98); }

.btn .arrow { transition: transform 0.45s var(--hop); }
.btn:hover .arrow { transform: translateX(4px); }

/* The one yellow CTA. Navy text on yellow, always. */
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-up); box-shadow: var(--shadow-yellow); }

/* Pill-fill: royal floods the pill from the left edge on hover. */
.btn-dark, .btn-outline {
  overflow: hidden;
}
.btn-dark::before, .btn-outline::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12%;
  top: 50%;
  width: 124%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--royal);
  transform: translateY(-50%) scale(0);
  transform-origin: left center;
  transition: transform 0.55s var(--glide);
}
.btn-dark:hover::before, .btn-outline:hover::before { transform: translateY(-50%) scale(1); }

.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { box-shadow: var(--shadow-md); }

.btn-outline {
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--navy);
}
.btn-outline:hover { color: var(--white); box-shadow: inset 0 0 0 1.5px var(--royal); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28); }

.btn-wa { background: #25d366; color: var(--white); }
.btn-wa:hover { background: #1fb959; color: var(--white); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
.btn-wa svg:not(.arrow) { width: 20px; height: 20px; }

.btn-ghost-light {
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px var(--white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

/* Text link with a travelling arrow. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--royal);
}
.link-arrow .arrow { transition: transform 0.45s var(--hop); }
.link-arrow:hover .arrow { transform: translateX(5px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: calc(var(--utility-h) * -1);
  z-index: 60;
}

.utility-bar {
  height: var(--utility-h);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
}
.utility-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.utility-home { color: rgba(255, 255, 255, 0.72); font-weight: 500; }
.utility-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.utility-links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  transition: color 0.25s var(--glide);
}
.utility-links a:hover { color: var(--white); }
.utility-links a.active { color: var(--yellow); }

.main-bar {
  position: relative;
  height: var(--mainbar-h);
  background: var(--white);
  transition: box-shadow 0.35s var(--glide);
}
.site-header.scrolled .main-bar { box-shadow: 0 1px 0 var(--hairline), 0 8px 28px rgba(3, 28, 50, 0.08); }

.main-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { flex: none; }
.brand img { width: 158px; height: auto; }

.main-nav { display: flex; align-items: center; }
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li > a:not(.btn) {
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  transition: color 0.25s var(--glide);
}
.nav-links > li > a:not(.btn):hover { color: var(--royal); }
.nav-links > li > a.active { color: var(--royal); font-weight: 600; }
.nav-cta { margin-left: 12px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.875rem; }

/* The dot that hops between nav items. JS moves --dot-x / --dot-w. */
.nav-dot {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0;
  transform: translateX(var(--dot-x, 0)) scale(0.4);
  transition:
    transform 0.5s var(--hop),
    opacity 0.25s var(--glide);
  pointer-events: none;
}
.nav-dot.on { opacity: 1; transform: translateX(var(--dot-x, 0)) scale(1); }

/* Burger → cross */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 80;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.4s var(--hop), opacity 0.25s, background-color 0.3s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span { background: var(--white); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-only { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 8vw, 110px);
  overflow: clip;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* Load choreography: lines rise from a masked box, arc draws, dot lands. */
.line { display: block; overflow: clip; }
.line-inner {
  display: block;
  transform: translateY(112%);
}
html.js.is-loaded .line-inner {
  transform: translateY(0);
  transition: transform 0.9s var(--glide);
}
html.js.is-loaded .line:nth-child(2) .line-inner { transition-delay: 0.08s; }
html.js.is-loaded .line:nth-child(3) .line-inner { transition-delay: 0.16s; }

.hero .eyebrow,
.hero .lead,
.hero .btn-row,
.hero-facts {
  opacity: 0;
  transform: translateY(20px);
}
html.js.is-loaded .hero .eyebrow,
html.js.is-loaded .hero .lead,
html.js.is-loaded .hero .btn-row,
html.js.is-loaded .hero-facts {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--glide), transform 0.7s var(--glide);
}
html.js.is-loaded .hero .lead { transition-delay: 0.25s; }
html.js.is-loaded .hero .btn-row { transition-delay: 0.35s; }
html.js.is-loaded .hero-facts { transition-delay: 0.45s; }
html:not(.js) .line-inner,
html:not(.js) .hero .eyebrow,
html:not(.js) .hero .lead,
html:not(.js) .hero .btn-row,
html:not(.js) .hero-facts { opacity: 1; transform: none; }

.hero-visual {
  position: relative;
  opacity: 0;
  transform: translateY(28px) scale(0.985);
}
html.js.is-loaded .hero-visual,
html:not(.js) .hero-visual {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--glide) 0.3s, transform 0.9s var(--glide) 0.3s;
}
.hero-visual > img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: 88% 50%; /* the walking pair lives in the photo's right third */
  width: 100%;
}

/* Floating fact card over the hero image */
.float-card {
  position: absolute;
  left: -28px;
  bottom: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.float-card .big {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.float-card .label { font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }

/* Quiet fact list under the hero copy — plain text, so it never reads as more buttons */
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8438rem;
  font-weight: 500;
  color: var(--muted);
}
.hero-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

/* The hero arc — launches from the copy column, lands on the image. */
.hero-arc {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.hero-visual .hero-arc {
  left: -46%;
  top: -12%;
  width: 66%;
}

/* ---------- Hop arc plumbing (shared by all arcs) ---------- */
.arc-line {
  stroke: var(--royal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2.2 3; /* with pathLength=100: dashes read at any size */
  fill: none;
}
.tone-navy .arc-line,
.cta-band .arc-line { stroke: var(--blue-bright); }
.arc-mask-path {
  stroke: #fff;
  stroke-width: 8;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.arc-dot {
  fill: var(--yellow);
  transform: scale(0);
  transform-origin: center;
  transform-box: fill-box;
}
/* .is-drawn is added by JS (IntersectionObserver) or on load for the hero */
.is-drawn .arc-mask-path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.3s var(--glide);
}
.is-drawn .arc-dot {
  animation: dot-land 0.55s var(--hop) 1.05s both;
}
.arc-dot.landed { animation: dot-land 0.55s var(--hop) both; }
@keyframes dot-land {
  0% { transform: scale(0); }
  62% { transform: scale(1.3); }
  82% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
html:not(.js) .arc-mask-path { stroke-dashoffset: 0; }
html:not(.js) .arc-dot { transform: scale(1); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--hop), box-shadow 0.4s var(--glide);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tone-mist .card { border-color: transparent; }

.card-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 10px;
}
.card h3 { margin-bottom: 10px; }
.card > p { font-size: 0.9688rem; }
.card .link-arrow { margin-top: 14px; }
.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

/* Circular icon chip */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--royal);
  margin-bottom: 20px;
  transition: transform 0.5s var(--hop), background-color 0.3s var(--glide), color 0.3s var(--glide);
}
.chip svg { width: 26px; height: 26px; }
.card:hover .chip { transform: translateY(-4px); background: var(--royal); color: var(--white); }
.tone-navy .chip { background: rgba(46, 111, 191, 0.22); color: #cfe1f6; }

/* Check list: royal check chips, honest and calm */
ul.check {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 12px;
}
ul.check li {
  position: relative;
  padding-left: 36px;
  font-size: 0.9688rem;
}
ul.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--cloud);
}
ul.check li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(0.12em + 7px);
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--royal);
  border-bottom: 2px solid var(--royal);
  transform: rotate(-45deg);
}
.tone-navy ul.check li::before { background: rgba(46, 111, 191, 0.22); box-shadow: none; }
.tone-navy ul.check li::after { border-color: #ffd069; }

/* Dot list: the landing dot as list punctuation */
ul.dots {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 10px;
}
ul.dots li { position: relative; padding-left: 24px; font-size: 0.9688rem; }
ul.dots li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--cloud);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}
.badge-navy { background: var(--navy); color: var(--white); box-shadow: none; }

/* ---------- Level cards (programs by level) ---------- */
.level-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.level-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 178px;
  padding: 26px 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--mist);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--hop), box-shadow 0.4s var(--glide), color 0.35s var(--glide);
}
.level-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto auto -40% -25%;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--royal);
  transform: scale(0);
  transform-origin: bottom left;
  transition: transform 0.6s var(--glide);
}
.level-card:hover { transform: translateY(-6px); color: var(--white); box-shadow: var(--shadow-md); }
.level-card:hover::before { transform: scale(1.15); }

.level-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal);
  transition: color 0.35s var(--glide);
}
.level-card:hover .level-kicker { color: rgba(255, 255, 255, 0.75); }
.level-card h3 {
  margin: 0;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  color: inherit;
  transition: color 0.35s var(--glide);
}
.level-arrow {
  margin-top: auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--hop), background-color 0.35s var(--glide);
}
.level-arrow svg { width: 18px; height: 18px; }
.level-card:hover .level-arrow { background: var(--yellow); transform: translate(3px, -3px); }

/* ---------- Stats (counters) ---------- */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: grid;
  gap: 4px;
  align-content: start;
}
.tone-mist .stat { border-color: transparent; box-shadow: var(--shadow-sm); }
.stat .big {
  font-size: clamp(1.75rem, 2.6vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
}
.stat .big small {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--royal);
  letter-spacing: 0;
}
.stat .label { font-size: 0.8438rem; color: var(--muted); line-height: 1.45; }
.tone-navy .stat { background: var(--navy-2); border-color: rgba(255, 255, 255, 0.08); }
.tone-navy .stat .big { color: var(--white); }
.tone-navy .stat .big small { color: var(--yellow); }
.tone-navy .stat .label { color: rgba(255, 255, 255, 0.55); }

/* ---------- Feature images ---------- */
.feature-img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
}
.feature-img.banner { aspect-ratio: 21 / 8; }
.parallax-frame { border-radius: var(--radius-lg); overflow: hidden; }
.parallax-frame img {
  width: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}

/* ---------- How it works: steps on a flight path ---------- */
.flight {
  position: relative;
  margin-top: clamp(8px, 2vw, 24px);
  --flight-gap: clamp(20px, 3vw, 40px);
  --flight-pad: clamp(72px, 9vw, 128px);
}
/* Spans from circle 1's center to circle 3's center; the centers are equally
   spaced, so viewBox x 0/500/1000 hit circles 1/2/3 at any width. Height pins
   viewBox y=200 to the circle-center line (pad + 24px circle radius). */
.flight-arc {
  position: absolute;
  top: 0;
  left: 24px;
  width: calc((100% + var(--flight-gap)) * 2 / 3);
  height: calc(var(--flight-pad) + 24px);
  overflow: visible;
  pointer-events: none;
}
.flight-arc path { vector-effect: non-scaling-stroke; }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--flight-gap, clamp(20px, 3vw, 40px));
  padding-top: var(--flight-pad, clamp(72px, 9vw, 128px)); /* room for the arc overhead */
}
.steps.cols-4 { grid-template-columns: repeat(4, 1fr); padding-top: 0; }
.step { position: relative; }
/* Step numbers land like the dot: yellow, navy ink. */
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 600;
  font-size: 1.0625rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.step p { font-size: 0.9375rem; }

/* ---------- Trust strip (navy) ---------- */
.trust-item h3 { font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--white); margin-bottom: 6px; }
.trust-item p { font-size: 0.9063rem; color: rgba(255, 255, 255, 0.62); }
.trust-item .chip { margin-bottom: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq details:first-of-type { border-top: 1px solid var(--hairline); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--glide);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--royal); }
.faq summary::after {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--cloud);
  background-image:
    linear-gradient(var(--royal), var(--royal)),
    linear-gradient(var(--royal), var(--royal));
  background-repeat: no-repeat;
  background-size: 12px 2px, 2px 12px;
  background-position: center;
  transition: transform 0.45s var(--hop);
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p {
  padding: 0 4px 24px;
  max-width: 68ch;
  font-size: 0.9688rem;
}

/* ---------- Tables (commission terms in plain numbers) ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--white);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 560px;
}
th, td { text-align: left; padding: 15px 20px; }
thead th {
  font-size: 0.7813rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal);
  background: var(--mist);
  border-bottom: 1px solid var(--hairline);
}
tbody tr + tr td { border-top: 1px solid var(--hairline); }
tbody tr:hover td { background: var(--mist); }
td strong { color: var(--navy); }

/* ---------- Forms ---------- */
form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 0.8125rem; color: var(--muted); }
input, select, textarea {
  font: inherit;
  font-size: 0.9688rem;
  color: var(--ink);
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--cloud);
  border-radius: 14px;
  background: var(--white);
  transition: border-color 0.25s var(--glide), box-shadow 0.25s var(--glide);
}
textarea { min-height: 130px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #93a3b3; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(46, 111, 191, 0.16);
}
.form-success {
  display: none;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--cloud);
  color: var(--ink);
  font-weight: 500;
}
.form-success.show { display: block; }
fieldset { border: 0; padding: 0; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  overflow: clip;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); max-width: 640px; margin-inline: auto; }
.cta-band > .wrap > p { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-arc {
  position: absolute;
  inset: auto -4% -12% -4%;
  width: 108%;
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: clamp(56px, 7vw, 88px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9063rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.fcol h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fcol a { color: rgba(255, 255, 255, 0.65); transition: color 0.25s var(--glide); }
.fcol a:hover { color: var(--white); }

.footer-brand {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 14px;
}
.footer-brand .dot { color: var(--yellow); }
.footer-brand-arc { width: 64px; margin-bottom: 10px; }
.fcol .tagline { color: rgba(255, 255, 255, 0.8); font-weight: 500; margin-bottom: 10px; }
.fcol p { font-size: 0.875rem; max-width: 34ch; }
.fcol p a { color: #9fc0e8; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(56px, 7vw, 92px);
  background: var(--mist);
  overflow: clip;
}
.page-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); max-width: 16ch; }
.page-hero .lead { max-width: 56ch; }
.page-hero-arc {
  position: absolute;
  right: clamp(20px, 5vw, 96px);
  bottom: -8%;
  width: clamp(280px, 32vw, 460px);
  pointer-events: none;
  opacity: 0.9;
}
@media (max-width: 720px) {
  .page-hero-arc { display: none; }
}

/* ---------- Reveal-on-scroll ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}
html.js [data-reveal="left"] { transform: translateX(-26px); }
html.js [data-reveal="right"] { transform: translateX(26px); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.75s var(--glide) var(--rd, 0s),
    transform 0.75s var(--glide) var(--rd, 0s);
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  transition: top 0.3s var(--glide);
}
.skip-link:focus-visible { top: 0; outline-offset: 0; }

/* ---------- 404 ---------- */
.error-hero {
  min-height: 64vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding-block: clamp(72px, 10vw, 140px);
}
.error-hero .code {
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy);
}
.error-hero .code .dot { color: var(--yellow); }

/* ==========================================================================
   Hero experience (index) — navy immersive stage for the committed arc.
   GSAP drives it; every state below has a static fallback.
   ========================================================================== */
.hero-dark {
  position: relative;
  background:
    radial-gradient(120% 90% at 78% 10%, #0c3055 0%, transparent 55%),
    radial-gradient(90% 80% at 12% 88%, #0a2a44 0%, transparent 60%),
    var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(72px, 9vw, 130px) clamp(96px, 11vw, 150px);
  overflow: clip;
}
.hero-dark h1 { color: var(--white); }
.hero-dark .eyebrow { color: #9fc0e8; background: rgba(46, 111, 191, 0.22); }
.hero-dark .lead { color: rgba(255, 255, 255, 0.78); }
.hero-dark .hero-facts li { color: rgba(255, 255, 255, 0.62); }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

/* Static fallback arc: replaced by the live flight when the hero is enhanced */
.hero-dark .hero-arc-fallback {
  position: absolute;
  right: 6%;
  top: 12%;
  width: clamp(300px, 34vw, 520px);
  display: block;
}
.hero-dark .hero-arc-fallback .arc-line { stroke: var(--blue-bright); }
html.hero-enhanced .hero-arc-fallback { display: none; }

/* The live flight: dashed trail + traveling dot, built at runtime */
.hero-flight {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.hero-flight .flight-trail {
  stroke: var(--blue-bright);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}
.flight-dot {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 24px rgba(254, 176, 2, 0.55);
  pointer-events: none;
  display: none;
}
html.hero-enhanced .flight-dot { display: block; }
.flight-ripple {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  pointer-events: none;
  opacity: 0;
}

/* The headline's period IS the landing dot */
.dot-period {
  display: inline-block;
  width: 0.17em;
  height: 0.17em;
  margin-left: 0.07em;
  border-radius: 50%;
  background: var(--yellow);
  transform-origin: center;
}

/* Tilt card (hero visual) */
.tilt-card {
  position: relative;
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-card > img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: 88% 50%; /* the walking pair lives in the photo's right third */
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 46%, transparent 62%);
  background-size: 220% 220%;
  background-position: var(--gx, 80%) var(--gy, 80%);
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-dark .float-card { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }

/* Cursor companion: the dot follows your trajectory */
.cursor-dot {
  position: fixed;
  z-index: 90;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--yellow);
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}

/* Scroll cue: follow the dot */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.scroll-cue:hover { color: rgba(255, 255, 255, 0.85); }
.scroll-cue .cue-track {
  width: 2px;
  height: 44px;
  border-radius: 2px;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 45%, transparent 45%);
  background-size: 2px 8px;
  position: relative;
  overflow: visible;
}
.scroll-cue .cue-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--yellow);
  animation: cue-hop 1.8s var(--glide) infinite;
}
@keyframes cue-hop {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  70% { transform: translateY(36px); opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

/* GSAP no longer owns the load reveal: the .is-loaded choreography above
   runs it on the compositor, so a blocked main thread cannot freeze it.
   GSAP only decorates (dot flight, scroll exit, tilt); hero.js drops the
   .hero-visual transition after the intro so the scroll scrub never
   re-interpolates against it. */

@media (max-width: 960px) {
  .hero-dark .hero-arc-fallback { display: none; }
  .hero-flight, .flight-dot { display: none !important; }
  .scroll-cue { display: none; }
  .tilt-card > img { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue .cue-dot { animation: none; top: 36px; opacity: 1; }
  .hero-flight, .flight-dot, .flight-ripple { display: none !important; }
  .hero-dark .hero-arc-fallback { display: block; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .level-grid { grid-template-columns: repeat(2, 1fr); }
  .steps.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .hero-visual > img { aspect-ratio: 16 / 10; }
  .hero-arc { display: none; }
  .steps { grid-template-columns: 1fr; padding-top: 0; gap: 0; }
  .flight-arc { display: none; }
  /* Vertical flight path on mobile: dashed rail, dot per step */
  .step {
    padding: 0 0 36px 40px;
    border-left: 2px dashed var(--cloud);
    margin-left: 23px;
  }
  .step:last-child { border-left-color: transparent; padding-bottom: 0; }
  .step-no { position: absolute; left: -25px; top: 0; }
  .form-grid { grid-template-columns: 1fr; }

  /* Mobile nav: full-screen navy overlay, staggered links */
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: var(--navy);
    display: grid;
    align-content: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--glide), visibility 0s linear 0.4s;
  }
  body.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s var(--glide);
  }
  .nav-links { flex-direction: column; gap: 4px; text-align: center; }
  .nav-links > li > a:not(.btn) {
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 600;
    color: var(--white);
    padding: 10px 18px;
  }
  .nav-links > li > a:not(.btn):hover,
  .nav-links > li > a.active { color: var(--yellow); }
  .nav-links > li {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s var(--glide), transform 0.45s var(--glide);
  }
  body.nav-open .nav-links > li { opacity: 1; transform: none; }
  body.nav-open .nav-links > li:nth-child(1) { transition-delay: 0.05s; }
  body.nav-open .nav-links > li:nth-child(2) { transition-delay: 0.1s; }
  body.nav-open .nav-links > li:nth-child(3) { transition-delay: 0.15s; }
  body.nav-open .nav-links > li:nth-child(4) { transition-delay: 0.2s; }
  body.nav-open .nav-links > li:nth-child(5) { transition-delay: 0.25s; }
  body.nav-open .nav-links > li:nth-child(6) { transition-delay: 0.3s; }
  body.nav-open .nav-links > li:nth-child(7) { transition-delay: 0.35s; }
  body.nav-open .nav-links > li:nth-child(8) { transition-delay: 0.4s; }
  .nav-cta { margin: 18px 0 0; }
  .nav-cta .btn {
    padding: 15px 30px;
    font-size: 1rem;
    background: var(--yellow);
    color: var(--navy);
  }
  .nav-cta .btn::before { display: none; }
  .mobile-only { display: block; }
  .nav-dot { display: none; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .level-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .level-card { min-height: 148px; padding: 20px 18px 16px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 18px; }
  .float-card { left: 12px; bottom: 12px; padding: 14px 16px; }
  .footer-cols { grid-template-columns: 1fr; }
  .utility-links { display: none; }
  .feature-img.banner { aspect-ratio: 16 / 9; }
  .btn { padding: 14px 24px; }
  section { padding-block: clamp(56px, 12vw, 80px); }
}

@media (max-width: 400px) {
  .level-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reduced motion: fully static, everything visible and drawn
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }
  html.js [data-reveal],
  .line-inner,
  .hero .eyebrow,
  .hero .lead,
  .hero .btn-row,
  .hero-facts,
  .hero-visual {
    opacity: 1 !important;
    transform: none !important;
  }
  .arc-mask-path { stroke-dashoffset: 0 !important; }
  .arc-dot { transform: scale(1) !important; animation: none !important; }
  .parallax-frame img { transform: none !important; }
}

/* ==========================================================================
   Loose touches: marker highlight, leaning stickers, WhatsApp fab
   ========================================================================== */

/* Yellow marker swipe under a key word. Wrap the word: <span class="hl">…</span> */
.hl {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: 0.03em;
  height: 0.3em;
  z-index: -1;
  border-radius: 999px;
  background: var(--yellow);
  opacity: 0.85;
  transform: skewX(-14deg);
}
html.js .hl::after {
  transform-origin: 0 50%;
  animation: hl-sweep 0.6s var(--glide) 0.5s both;
}
@keyframes hl-sweep {
  from { transform: scaleX(0) skewX(-14deg); }
  to { transform: scaleX(1) skewX(-14deg); }
}
.tone-navy .hl::after, .hero-dark .hl::after { opacity: 0.95; }

/* Sticker lean: a couple of degrees off, straightens with a hop. */
.lean-l, .lean-r { transition: rotate 0.5s var(--hop); }
.lean-l { rotate: -1.4deg; }
.lean-r { rotate: 1.4deg; }
.lean-l:hover, .lean-r:hover { rotate: 0deg; }

/* WhatsApp fab: say hey. Sits under the mobile nav overlay (z 70). */
.wa-fab {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  border-radius: 999px;
  background: #25d366; /* WhatsApp brand green */
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  box-shadow: var(--shadow-md), 0 8px 24px rgba(37, 211, 102, 0.35);
  transition:
    transform 0.45s var(--hop),
    background-color 0.3s var(--glide),
    box-shadow 0.35s var(--glide);
  animation: fab-in 0.6s var(--hop) 1.1s both;
}
.wa-fab:hover {
  transform: translateY(-4px) rotate(-3deg);
  background: #1fb959;
  color: var(--white);
}
.wa-fab svg { width: 22px; height: 22px; flex: none; }
@keyframes fab-in {
  from { transform: translateY(90px); }
  to { transform: translateY(0); }
}
/* On the index hero the dot's flight is the star: it lands (~1.8s) before
   the fab hops in. Elsewhere the fab keeps its early 1.1s entrance. */
html.hero-enhanced .wa-fab { animation-delay: 2.2s; }
@media (max-width: 960px) {
  /* No flight on mobile: the period pops at ~1.6s instead. */
  html.hero-enhanced .wa-fab { animation-delay: 1.9s; }
}

@media (max-width: 720px) {
  .wa-fab {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
  }
  .wa-fab span { display: none; }
  .wa-fab svg { width: 26px; height: 26px; }
  /* Full-width cards on mobile: no room to lean without clipping corners */
  .lean-l, .lean-r { rotate: 0deg; }
}
