/* ============================================================
   KINETIC · SITE.CSS — Marketing website layer
   ------------------------------------------------------------
   Built ENTIRELY on the tokens from theme.css. No new colors,
   no new fonts: only layout + cinematic sections the PWA
   doesn't need (hero, pinned carousel, manifesto, etc.).
   Load order in HTML: theme.css first, then this file.

   CONTRAST CONTRACT — read before adding a rule.
   This layer is LIGHT-ONLY: its surfaces are fixed brand colors
   (--c-mist, --c-white, --c-ink), not the theme-aware --bg /
   --surface tokens the PWA flips in dark mode. Because of that,
   every marketing page pins the light token set with
   <html data-theme="light">, which switches off theme.css's
   prefers-color-scheme block. Do NOT remove that attribute:
   without it --text / --text-secondary flip to light green
   (#EAF2EC / #9DBBA9) while the cards stay white, and the copy
   becomes invisible (~1.1:1 to 2.2:1).
   If dark mode is ever wanted here, every fixed surface below
   has to move to --surface / --bg first.
   ============================================================ */

/* ---- Layout primitives ------------------------------------ */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.container--narrow { max-width: 820px; }

section { position: relative; }
.section-pad { padding: clamp(64px, 12vw, 128px) 0; }

/* Skip link (a11y) */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  z-index: 200;
  background: var(--c-mango); color: var(--c-ink);
  font-family: var(--font-ui); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius-m);
  border: 3px solid var(--c-ink);
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: calc(12px + var(--safe-top)); }

/* ---- Signature "movement line" (dark variant of the eyebrow)-- */
/* theme.css ships .t-eyebrow for light bg; this variant sits on ink */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-ui); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-ceiba); margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 11px;
  border-left: 4px solid var(--c-mango);
  border-bottom: 4px solid var(--c-mango);
  flex: 0 0 auto;
}
.eyebrow--ondark { color: var(--c-mango); }
.eyebrow--onceiba { color: var(--c-mist); }

/* Open thick stroke frame — decorative signature */
.court-frame {
  border: 4px solid var(--border-soft);
  border-top: none;
  border-radius: 0 0 32px 32px;
  height: 60px;
}

/* =============================================================
   SITE HEADER / NAV
   Transparent over the hero, becomes solid on scroll.
   ============================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding-top: var(--safe-top);
  transition: background var(--dur-normal) var(--ease),
              border-color var(--dur-normal) var(--ease);
  border-bottom: 3px solid transparent;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: var(--sp-4);
}
.site-header.is-solid {
  background: var(--c-mist);
  border-bottom-color: var(--c-ink);
}
/* On pages without a dark hero, header is solid from the start */
.site-header--solid {
  position: sticky;
  background: var(--c-mist);
  border-bottom-color: var(--c-ink);
}

/* Brand mark.
   Painted as a CSS mask so it inherits `color`: one single asset serves the
   ink-on-mist solid header, the mist-on-photo transparent header and the
   mist-on-ink footer, with no second file and no filter hacks. */
.logo {
  display: inline-flex; align-items: center;
  color: var(--c-ink); text-decoration: none; line-height: 1;
}
.logo__mark {
  display: block;
  width: 58px; aspect-ratio: 904 / 543;
  background-color: currentColor;
  -webkit-mask: url(/assets/kin-logo.svg?v=4) no-repeat center / contain;
          mask: url(/assets/kin-logo.svg?v=4) no-repeat center / contain;
}
@media (min-width: 620px) { .logo__mark { width: 68px; } }
.site-header:not(.is-solid):not(.site-header--solid) .logo { color: var(--c-mist); }

/* Screen-reader-only brand name (the mark carries no text of its own) */
.u-vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* No mask support: fall back to the Archivo Black wordmark */
@supports not ((-webkit-mask-image: url("i")) or (mask-image: url("i"))) {
  .logo__mark { display: none; }
  .logo__text {
    position: static; width: auto; height: auto;
    margin: 0; clip-path: none; white-space: nowrap;
    font-family: var(--font-display); font-size: 24px; letter-spacing: -0.01em;
  }
}

.nav { display: flex; align-items: center; gap: var(--sp-2); }
.nav__links { display: none; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--font-ui); font-weight: 600; font-size: 14.5px;
  color: var(--c-ink); text-decoration: none;
  padding: 10px 12px; border-radius: var(--radius-s);
  min-height: 40px; display: inline-flex; align-items: center;
}
.nav__link:hover { color: var(--c-ceiba); }
.nav__link[aria-current="page"] { color: var(--c-ceiba); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 3px; text-decoration-color: var(--c-mango); }
.site-header:not(.is-solid):not(.site-header--solid) .nav__link { color: var(--c-hoja, var(--c-leaf)); }
.site-header:not(.is-solid):not(.site-header--solid) .nav__link[aria-current="page"] { color: var(--c-mist); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
}

/* Menu toggle (mobile) */
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 3px solid currentColor;
  border-radius: var(--radius-s); cursor: pointer;
  color: var(--c-ink);
}
.site-header:not(.is-solid):not(.site-header--solid) .nav__toggle { color: var(--c-mist); }
.nav__toggle .bar, .nav__toggle .bar::before, .nav__toggle .bar::after {
  content: ""; display: block; width: 18px; height: 2.5px;
  background: currentColor; position: relative; transition: transform var(--dur-fast) var(--ease);
}
.nav__toggle .bar::before { position: absolute; top: -6px; }
.nav__toggle .bar::after { position: absolute; top: 6px; }
@media (min-width: 900px) { .nav__toggle { display: none; } }

/* Mobile drawer */
.nav__drawer {
  position: fixed; inset: 0; z-index: var(--z-sheet);
  background: var(--c-ink); color: var(--c-mist);
  padding: calc(80px + var(--safe-top)) clamp(20px, 6vw, 40px) 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease);
  visibility: hidden;
}
.nav__drawer.is-open { transform: translateY(0); visibility: visible; }
.nav__drawer a {
  font-family: var(--font-display); font-size: clamp(28px, 8vw, 40px);
  color: var(--c-mist); text-decoration: none; padding: 10px 0;
  border-bottom: 2px solid rgba(234,242,236,0.14);
}
.nav__drawer a .dot { color: var(--c-mango); }
.nav__drawer .btn { margin-top: 20px; font-size: 18px; }
.nav__close {
  position: absolute; top: calc(20px + var(--safe-top)); right: 20px;
  width: 44px; height: 44px; background: transparent;
  border: 3px solid var(--c-mist); border-radius: var(--radius-s);
  color: var(--c-mist); font-size: 22px; cursor: pointer; line-height: 1;
}
@media (min-width: 900px) { .nav__drawer, .nav__close { display: none; } }

/* Header CTA button (compact) */
.nav .btn--small { display: none; }
@media (min-width: 620px) { .nav .btn--small { display: inline-flex; } }

/* =============================================================
   CITY DROPDOWN (desktop nav)
   Trigger reuses .nav__link so it inherits the header's
   transparent/solid color states. Panel is brand-standard:
   firm ink border + hard shadow, no soft blur.
   ============================================================= */
.nav__city { position: relative; }

.nav__city__trigger {
  font-family: var(--font-ui); font-weight: 600; font-size: 14.5px;
  background: transparent; border: 0; cursor: pointer;
  gap: 7px; /* .nav__link supplies padding, radius and min-height */
}
.nav__city__caret {
  width: 11px; height: auto; flex: none;
  transition: transform var(--dur-normal) var(--ease);
}
.nav__city.is-open .nav__city__caret { transform: rotate(180deg); }
.nav__city.is-open > .nav__city__trigger { color: var(--c-ceiba); }

.city-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  width: 290px; padding: 14px;
  background: var(--c-white);
  border: var(--border-w-strong) solid var(--c-ink);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-floating);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top left;
  transition: opacity var(--dur-normal) var(--ease),
              transform var(--dur-normal) var(--ease-bounce),
              visibility var(--dur-normal);
}
.nav__city.is-open .city-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}

.city-menu__eyebrow {
  font-family: var(--font-ui); font-weight: 700; font-size: 11px;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--text-secondary);
  margin: 2px 0 10px 10px;
}
.city-menu__item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px; border-radius: var(--radius-m);
  border: var(--border-w) solid transparent;
  color: var(--c-ink); text-decoration: none;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.city-menu__item + .city-menu__item { margin-top: 4px; }
.city-menu__item:hover,
.city-menu__item:focus-visible {
  background: var(--c-leaf);
  border-color: var(--c-ink);
  transform: translateX(3px);
}
.city-menu__item[aria-current="page"] {
  background: var(--c-leaf);
  border-color: var(--c-ink);
}
.city-menu__name {
  font-family: var(--font-display); font-size: 19px; line-height: 1.15;
}
.city-menu__name .dot { color: var(--c-mango); }
.city-menu__meta {
  font-family: var(--font-body); font-size: 13px;
  color: var(--text-secondary);
}
.city-menu__soon {
  margin: 12px 4px 2px; padding-top: 11px;
  border-top: 2px dashed var(--border-soft);
  font-family: var(--font-body); font-size: 12.5px;
  color: var(--text-secondary);
}

/* Cities group inside the mobile drawer */
.drawer-city { display: flex; flex-direction: column; gap: 6px; }
.drawer-city__label {
  font-family: var(--font-ui); font-weight: 700; font-size: 11px;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--c-mango); margin: 0 0 -2px;
}

@media (prefers-reduced-motion: reduce) {
  .city-menu {
    transform: none;
    transition: opacity var(--dur-fast) linear, visibility var(--dur-fast);
  }
  .nav__city.is-open .city-menu { transform: none; }
  .city-menu__item:hover, .city-menu__item:focus-visible { transform: none; }
  .nav__city__caret { transition: none; }
}

/* =============================================================
   HERO (home)
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--c-ink);
  border-bottom: 6px solid var(--c-mango);
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.15); transform-origin: center;
  will-change: transform;
}
/* Brand duotone: ink gradient from bottom + ceiba color blend */
.hero__media::before {
  content: ""; position: absolute; inset: 0;
  background: var(--c-ceiba); mix-blend-mode: color; opacity: 0.45; z-index: 1;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, var(--c-ink) 6%, rgba(18,37,28,0.72) 34%, rgba(18,37,28,0.30) 70%, rgba(18,37,28,0.5) 100%);
}

/* Giant outline watermark that crosses on scroll */
.hero__watermark {
  position: absolute; top: 30%; left: 0; z-index: 2;
  white-space: nowrap; pointer-events: none;
  font-family: var(--font-display); font-size: clamp(90px, 22vw, 260px);
  line-height: 1; letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(243,246,242,0.10);
  will-change: transform;
}

.hero__inner { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(40px, 9vh, 90px); padding-top: 120px; }

.hero__title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(58px, 15.5vw, 168px); line-height: 0.92; letter-spacing: -0.02em;
  color: var(--c-white); margin: 0 0 24px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; will-change: transform; }
/* Armed by an inline head script only when motion is allowed; removed by
   animations.js (or a failsafe timeout). Prevents a flash before GSAP loads. */
.hero-armed .hero__title .line > span { transform: translateY(110%); }
/* Second line rendered as outline (text-stroke) */
.hero__title .line--outline > span {
  color: transparent;
  -webkit-text-stroke: 2px var(--c-white);
}
.hero__title .dot { color: var(--c-mango); -webkit-text-stroke: 0; }

.hero__sub {
  font-family: var(--font-body); font-size: clamp(17px, 2.4vw, 22px);
  color: var(--c-leaf); max-width: 560px; margin: 0 0 28px; line-height: 1.5;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__cta .btn { font-size: 17px; }
.btn--ghost-light {
  background: transparent; color: var(--c-mist);
  border-color: var(--c-mist); box-shadow: none;
}
.btn--ghost-light:active { transform: translate(3px,3px); box-shadow: none; }

.hero__social {
  margin-top: 28px;
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  color: var(--c-leaf); display: flex; flex-wrap: wrap; gap: 8px 16px;
}
.hero__social .star { color: var(--c-mango); }

.hero__cinematic { will-change: transform, opacity; }

/* =============================================================
   MANIFESTO
   ============================================================= */
.manifesto { background: var(--c-mist); text-align: left; }
.manifesto__list { display: flex; flex-direction: column; gap: clamp(10px, 3vw, 26px); max-width: 960px; }
/* Resting (pre-scroll) state is dimmed, never hidden: 0.55 over --c-mist
   keeps it at ~3.6:1, so the copy is readable even if GSAP never runs.
   animations.js ignites it word by word up to full opacity. */
.manifesto__line {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(30px, 8vw, 74px); line-height: 1.02; letter-spacing: -0.015em;
  color: var(--c-ink); opacity: 0.55; margin: 0;
}
.manifesto__line .mark {
  color: var(--c-ink);
  box-shadow: inset 0 -0.14em 0 var(--c-mango);
}

/* =============================================================
   PINNED HORIZONTAL TRAINER CAROUSEL
   ============================================================= */
.showcase { background: var(--c-ink); color: var(--c-mist); overflow: hidden; }
.showcase__head { padding: clamp(56px,9vw,96px) 0 8px; }
.showcase__head h2 { font-family: var(--font-display); text-transform: uppercase; color: var(--c-white); font-size: clamp(30px,6vw,56px); line-height: 1.02; margin: 0 0 12px; }
.showcase__head p { color: var(--c-leaf); max-width: 560px; }
.showcase__hint { font-family: var(--font-ui); font-weight: 600; font-size: 13px; color: #9DBBA9; margin-top: 14px; letter-spacing: 0.04em; }

/* Pinned track (desktop/GSAP). Falls back to native scroll (see reduced-motion + no-js) */
.showcase__pin { position: relative; }
.showcase__track {
  display: flex; gap: clamp(16px,3vw,28px);
  padding: 40px clamp(20px,5vw,40px) 72px;
  will-change: transform;
}
.showcase.is-native .showcase__track {
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.showcase.is-native .showcase__track::-webkit-scrollbar { display: none; }

.tcard {
  flex: 0 0 auto; width: min(80vw, 320px);
  background: var(--c-white); color: var(--c-ink);
  border: 3px solid var(--c-ink); border-radius: var(--radius-l);
  overflow: hidden; scroll-snap-align: start;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.35);
}
.tcard__photo { aspect-ratio: 4/3; position: relative; background: var(--c-ceiba); }
.tcard__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Soft duotone on cards */
.tcard__photo::before { content:""; position:absolute; inset:0; background: var(--c-ceiba); mix-blend-mode: color; opacity: 0.35; z-index:1; }
.tcard__photo::after { content:""; position:absolute; inset:0; z-index:2; background: linear-gradient(to top, rgba(18,37,28,0.45), transparent 55%); }
.tcard__badge { position: absolute; z-index: 3; left: 14px; bottom: 12px; }
.tcard__body { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.tcard__name { font-family: var(--font-ui); font-weight: 700; font-size: 19px; margin: 0; }
.tcard__meta { font-size: 14px; color: var(--text-secondary); margin: 4px 0 0; }
.tcard__stats { display: flex; gap: 14px; margin-top: 12px; font-family: var(--font-ui); font-weight: 600; font-size: 13.5px; flex-wrap: wrap; }
.tcard__stats .star { color: var(--c-ceiba); }
.tcard__price { margin-top: 12px; font-family: var(--font-ui); font-weight: 700; font-size: 17px; }
.tcard__price small { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--text-secondary); }

/* =============================================================
   HOW IT WORKS
   ============================================================= */
.how { background: var(--c-mist); }
.how__grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; margin-top: 44px; }
@media (min-width: 760px) { .how__grid { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--c-white); border: 3px solid var(--c-ink);
  border-radius: var(--radius-l); box-shadow: 6px 6px 0 var(--c-ink);
  padding: 28px 26px 30px;
}
.step__n {
  font-family: var(--font-display); font-size: 40px; line-height: 1;
  color: var(--c-ceiba); display: block; margin-bottom: 14px;
}
.step__n .u { box-shadow: inset 0 -0.12em 0 var(--c-mango); }
.step h3 { font-family: var(--font-ui); font-weight: 700; font-size: 21px; margin: 0 0 8px; }
.step p { color: var(--text-secondary); margin: 0; font-size: 15.5px; }

/* SEO capsule block */
.capsule {
  background: var(--c-leaf); border: 3px solid var(--c-ink);
  border-radius: var(--radius-l); padding: 24px 26px; margin-top: 40px;
  border-left: 10px solid var(--c-mango);
  font-size: 17px; max-width: 760px;
}
.capsule strong { font-weight: 700; }

/* =============================================================
   REGISTER (ceiba background)
   ============================================================= */
.register { background: var(--c-ceiba); color: var(--c-mist); }
.register .eyebrow { color: var(--c-mango); }
.register__grid { display: grid; gap: clamp(28px,5vw,56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .register__grid { grid-template-columns: 1fr 1fr; } }
.register h2 { font-family: var(--font-display); text-transform: uppercase; color: var(--c-white); font-size: clamp(32px,6vw,58px); line-height: 1.0; margin: 0 0 16px; }
.register__lead { color: var(--c-leaf); font-size: 18px; max-width: 460px; }

.reg-card {
  background: var(--c-mist); color: var(--c-ink);
  border: 3px solid var(--c-ink); border-radius: var(--radius-xl);
  box-shadow: 10px 10px 0 var(--c-ink);
  padding: clamp(24px,4vw,34px);
}
.reg-card .segmented { margin-bottom: var(--sp-5); background: var(--c-white); }
.reg-card__microcopy { font-size: 14px; color: var(--text-secondary); margin: 4px 0 18px; min-height: 20px; }
.reg-card__success {
  display: none; text-align: center; padding: 12px 4px;
}
.reg-card__success.is-visible { display: block; }
.reg-card__success .check {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border: 4px solid var(--c-ceiba); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: var(--c-ceiba); font-weight: 800;
}
.reg-card__success h3 { font-family: var(--font-ui); font-weight: 700; font-size: 22px; margin: 0 0 8px; }
.reg-card__success p { color: var(--text-secondary); margin: 0; }

/* =============================================================
   MOBILE STICKY CTA BAR
   ============================================================= */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-nav);
  padding: 12px clamp(16px,4vw,20px);
  padding-bottom: calc(12px + var(--safe-bottom));
  background: var(--c-mist);
  border-top: 3px solid var(--c-ink);
  transform: translateY(120%);
  transition: transform var(--dur-normal) var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { width: 100%; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* =============================================================
   GENERIC PAGE HERO (interior pages)
   ============================================================= */
.page-hero { background: var(--c-ink); color: var(--c-mist); border-bottom: 6px solid var(--c-mango); padding: clamp(96px,16vw,150px) 0 clamp(48px,8vw,72px); }
.page-hero h1 { font-family: var(--font-display); text-transform: uppercase; color: var(--c-white); font-size: clamp(38px,8vw,88px); line-height: 0.98; letter-spacing: -0.02em; margin: 0 0 20px; }
.page-hero h1 .dot { color: var(--c-mango); }
.page-hero__lead { color: var(--c-leaf); font-size: clamp(17px,2.4vw,21px); max-width: 640px; }
.breadcrumb { font-family: var(--font-ui); font-weight: 600; font-size: 13px; color: #9DBBA9; margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; letter-spacing: 0.02em; }
.breadcrumb a { color: var(--c-leaf); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: 0.6; }

/* Answer capsule (AEO) on interior pages */
.answer {
  background: var(--c-leaf); border: 3px solid var(--c-ink);
  border-left: 10px solid var(--c-mango);
  border-radius: var(--radius-l); padding: 24px 26px;
  font-size: 17.5px; max-width: 820px;
}

.section-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px,5vw,44px); line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 18px; color: var(--c-ink); }
.prose { max-width: 760px; }
.prose p { margin: 0 0 16px; }

/* Price table */
.table-wrap { overflow-x: auto; border: 3px solid var(--c-ink); border-radius: var(--radius-l); margin-top: 28px; }
table.price-table { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--c-white); }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 2px solid var(--border-soft); font-size: 15.5px; }
.price-table thead th { background: var(--c-ink); color: var(--c-mist); font-family: var(--font-ui); font-weight: 700; font-size: 13.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table td:first-child, .price-table th:first-child { font-family: var(--font-ui); font-weight: 700; }
.price-table .avg { font-family: var(--font-ui); font-weight: 700; color: var(--c-ceiba); }

/* Zones / neighborhoods */
.zones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.zone-chip {
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  padding: 8px 16px; background: var(--c-white);
  border: 2.5px solid var(--c-ink); border-radius: var(--radius-pill);
}

/* Trainer grid (interior) */
.trainer-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 620px) { .trainer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .trainer-grid { grid-template-columns: repeat(3,1fr); } }

/* FAQ accordion */
.faq { margin-top: 28px; max-width: 860px; }
.faq__item { border: 3px solid var(--c-ink); border-radius: var(--radius-m); background: var(--c-white); margin-bottom: 14px; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: transparent; border: none; cursor: pointer;
  font-family: var(--font-ui); font-weight: 700; font-size: 17px; color: var(--c-ink);
  padding: 18px 54px 18px 20px; position: relative; min-height: 44px;
}
.faq__q::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: var(--c-ceiba); line-height: 1;
}
.faq__item.is-open .faq__q::after { content: "−"; }
.faq__a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height var(--dur-normal) var(--ease), padding var(--dur-normal) var(--ease); }
.faq__item.is-open .faq__a { padding: 0 20px 20px; max-height: 600px; }
.faq__a p { margin: 0; color: var(--text-secondary); }

.updated { font-family: var(--font-ui); font-weight: 600; font-size: 13.5px; color: var(--text-secondary); margin-top: 40px; }
.updated .dot { color: var(--c-mango); }

/* Pricing page cards */
.plans { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(2,1fr); } }
.plan { background: var(--c-white); border: 3px solid var(--c-ink); border-radius: var(--radius-l); box-shadow: 6px 6px 0 var(--c-ink); padding: 30px 28px; display: flex; flex-direction: column; }
.plan--feature { background: var(--c-ink); color: var(--c-mist); }
.plan__tag { align-self: flex-start; font-family: var(--font-ui); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--c-mango); color: var(--c-ink); border: 2.5px solid var(--c-ink); margin-bottom: 16px; }
.plan h3 { font-family: var(--font-ui); font-weight: 700; font-size: 22px; margin: 0 0 6px; }
.plan--feature h3 { color: var(--c-white); }
.plan__price { font-family: var(--font-display); font-size: clamp(34px,6vw,48px); line-height: 1; margin: 10px 0 6px; }
.plan--feature .plan__price { color: var(--c-white); }
.plan__price small { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--text-secondary); }
.plan--feature .plan__price small { color: #9DBBA9; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.plan li { position: relative; padding-left: 30px; font-size: 15.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--c-ceiba); font-weight: 800; }
.plan--feature li::before { color: var(--c-mango); }
.plan .btn { margin-top: auto; }

/* Value grid (para-entrenadores / how blocks) */
.value-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 700px) { .value-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .value-grid { grid-template-columns: repeat(3,1fr); } }
.value {
  background: var(--c-white); border: 3px solid var(--c-ink);
  border-radius: var(--radius-l); padding: 26px 24px;
}
.value h3 { font-family: var(--font-ui); font-weight: 700; font-size: 19px; margin: 0 0 8px; display: flex; align-items: center; gap: 12px; }
.value h3 .tick { width: 30px; height: 10px; border-left: 4px solid var(--c-mango); border-bottom: 4px solid var(--c-mango); flex: 0 0 auto; }
.value p { color: var(--text-secondary); margin: 0; font-size: 15.5px; }

/* Big CTA band */
.cta-band { background: var(--c-mango); color: var(--c-ink); border-top: 4px solid var(--c-ink); border-bottom: 4px solid var(--c-ink); text-align: center; }
.cta-band h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(30px,6vw,56px); line-height: 1.02; margin: 0 0 20px; }
.cta-band .btn { background: var(--c-ink); color: var(--c-mist); }

/* 404 */
.notfound { min-height: 72vh; display: flex; align-items: center; text-align: center; }
.notfound__code { font-family: var(--font-display); font-size: clamp(90px,26vw,220px); line-height: 0.9; color: var(--c-ink); margin: 0; }
.notfound__code .dot { color: var(--c-mango); }
.notfound .searchbar { display: flex; gap: 10px; max-width: 440px; margin: 24px auto 0; }
.notfound .searchbar input { flex: 1; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--c-ink); color: var(--c-leaf); padding: clamp(48px,8vw,80px) 0 40px; border-top: 6px solid var(--c-mango); }
.site-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .logo { color: var(--c-mist); }
.site-footer .logo__mark { width: 92px; }
.site-footer__tag { color: #9DBBA9; margin: 14px 0 0; max-width: 320px; font-size: 15px; }
.site-footer h4 { font-family: var(--font-ui); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-mango); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--c-leaf); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--c-mist); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 2px solid rgba(234,242,236,0.14); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13.5px; color: #9DBBA9; }

/* =============================================================
   SCROLL-REVEAL (used by GSAP; safe default without JS)
   Elements start visible; JS adds .reveal-init to hide them first,
   so no-JS users always see content (progressive enhancement).
   ============================================================= */
.reveal-init { opacity: 0; transform: translateY(28px); }

/* =============================================================
   MOTION LAYER v2 — supports the richer GSAP effects.
   Everything here is transform/opacity/filter only and is fully
   neutralized under prefers-reduced-motion (see bottom block).
   ============================================================= */

/* Scroll-progress bar (mango, injected by animations.js) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px;
  z-index: calc(var(--z-nav) + 5);
  background: var(--c-mango);
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform; pointer-events: none;
}

/* Split-text primitives (spans injected by animations.js) */
.split-char { display: inline-block; will-change: transform; }
.hero__title .line > span { will-change: transform; }
.is-split .w, .manifesto__line .w { display: inline-block; will-change: transform, opacity, filter; }

/* Manifesto: JS lifts each word individually, so release the line dim */
.manifesto__line.is-split { opacity: 1; }

/* Hero image starts blurred/zoomed until GSAP focuses it in.
   The guard class prevents any flash before the script runs. */
.hero-armed .hero__media img { filter: blur(20px); transform: scale(1.25); }

/* Showcase coverflow: give the track depth and the cards a 3D body */
.showcase__track { perspective: 1400px; }
.tcard { transform-style: preserve-3d; backface-visibility: hidden; will-change: transform; }

/* Desktop hover polish (fine pointer only — mobile keeps :active feedback) */
@media (hover: hover) and (pointer: fine) {
  .btn--mango:hover, .btn--ghost-light:hover {
    box-shadow: 6px 6px 0 var(--c-ink);
  }
  .btn--ghost-light:hover { box-shadow: 6px 6px 0 var(--c-mist); }
  .tcard { transition: box-shadow var(--dur-normal) var(--ease); }
  .tcard:hover { box-shadow: 12px 12px 0 var(--c-mango); }
  .step, .value, .plan { transition: transform var(--dur-normal) var(--ease), box-shadow var(--dur-normal) var(--ease); }
  .step:hover, .value:hover, .plan:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--c-ink); }
  .nav__link { transition: transform var(--dur-fast) var(--ease); }
  .nav__link:hover { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__media img { transform: none !important; filter: none !important; }
  .hero-armed .hero__media img { transform: none !important; filter: none !important; }
  .hero__title .line > span, .split-char { transform: none !important; }
  .manifesto__line { opacity: 1 !important; }
  .manifesto__line .w, .is-split .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .scroll-progress { display: none !important; }
}
