/* ==========================================================================
   Invictus Fitness Center · Landing v4 — "Energía en movimiento"
   Blanco cálido dominante (~70%), grafito como contraste (~20%), grises
   funcionales (~8%) y turquesa solo para acción, progreso y movimiento (≤2%).

   Índice
   1. Tokens            6. Hero
   2. Base              7. Marquee
   3. Utilidades        8. Secciones de contenido
   4. Componentes       9. Footer y barra móvil
   5. Navegación       10. Movimiento y accesibilidad
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Paleta de marca */
  --paper: #FCFCFA;
  --paper-2: #F2F1EF;
  --paper-3: #E8E7E3;
  --ink: #141414;
  --ink-2: #202226;
  --ink-3: #2B2E33;
  --teal: #5EC4B6;
  --teal-energy: #63E3C8;
  /* Derivados funcionales (grises y turquesa accesible para texto sobre claro) */
  --gray-700: #3B3E43;
  --gray-600: #585C62;
  --gray-500: #73777D;
  --gray-400: #9A9DA2;
  --teal-deep: #2C8A7D;
  --teal-ink: #1F6F64;

  /* Roles (se redefinen en .theme-dark) */
  --text: var(--ink);
  --text-muted: var(--gray-600);
  --surface: var(--paper);
  --line: rgba(20, 20, 20, .11);
  --line-strong: rgba(20, 20, 20, .22);
  --focus: var(--teal-ink);

  /* Tipografía */
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.4vw, 1.3125rem);
  --fs-h2: clamp(2.6rem, 6.2vw, 5.25rem);

  /* Movimiento */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 760ms;

  /* Forma y profundidad */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-card: clamp(24px, 3vw, 44px);
  --radius-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(20, 20, 20, .05), 0 12px 32px -18px rgba(20, 20, 20, .28);
  --shadow-lift: 0 2px 4px rgba(20, 20, 20, .06), 0 24px 48px -24px rgba(20, 20, 20, .38);
  --shadow-deep: 0 2px 6px rgba(20, 20, 20, .08), 0 30px 60px -24px rgba(20, 20, 20, .45), 0 80px 140px -60px rgba(20, 20, 20, .4);

  /* Layout */
  --container: 1320px;
  --gutter: clamp(18px, 4vw, 48px);
  --inset: clamp(8px, 1.1vw, 16px);
  --section-y: clamp(84px, 11vw, 156px);
  --nav-h: 60px;
}

.theme-dark {
  --text: #FCFCFA;
  --text-muted: #AEB2B8;
  --surface: var(--ink-2);
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .3);
  --focus: var(--teal-energy);
  color: var(--text);
  background-color: var(--ink);
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }

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

::selection { background: var(--ink); color: var(--teal-energy); }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: var(--paper-2); }

/* Secciones oscuras como "losas" redondeadas sobre la página clara */
.slab {
  margin-inline: var(--inset);
  border-radius: var(--radius-card);
  overflow: clip;
  isolation: isolate;
}

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; }

/* 4. Componentes ----------------------------------------------------------- */

/* Kicker / eyebrow */
.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.kicker::before,
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

/* Titulares de sección */
.h2 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: .9;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--text);
}
.h2 em {
  font-style: italic;
  padding-right: .04em;
  background-image: linear-gradient(var(--teal), var(--teal));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0% .075em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 1000ms var(--ease-out) 300ms;
}
.h2.is-visible em,
html:not(.js) .h2 em { background-size: 100% .075em; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 52ch;
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(44px, 6vw, 84px);
}
.section-head__text {
  max-width: 46ch;
  font-size: 1.125rem;
  color: var(--text-muted);
}
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: end;
    gap: 48px;
  }
}

/* Botones */
.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--btn-h);
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { --btn-h: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--lg { --btn-h: 58px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--disc { padding-right: 8px; gap: 16px; }
.btn--lg.btn--disc { padding-right: 9px; }

.btn__disc {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--ink);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.btn--lg .btn__disc { width: 42px; height: 42px; }
.btn__disc .icon { width: 19px; height: 19px; }
.btn:hover .btn__disc { transform: translateX(3px) rotate(-8deg); }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--ink-3); box-shadow: 0 14px 28px -14px rgba(20, 20, 20, .55); }
.btn--primary:hover .btn__disc { background: var(--teal-energy); }

.btn--accent { background: var(--teal); color: var(--ink); }
.btn--accent:hover { background: var(--teal-energy); box-shadow: 0 14px 30px -14px rgba(99, 227, 200, .55); }
.btn--accent .btn__disc { background: var(--ink); color: var(--teal-energy); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--text); background: rgba(20, 20, 20, .04); }
.theme-dark .btn--ghost:hover { background: rgba(255, 255, 255, .07); }

/* Enlace con flecha */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1.5px solid var(--line-strong);
  transition: border-color var(--dur) var(--ease-out), gap var(--dur) var(--ease-out);
}
.link-arrow .icon { width: 18px; height: 18px; }
.link-arrow:hover { border-color: var(--teal); gap: 14px; }

.inline-link {
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.inline-link:hover { text-decoration-color: currentColor; }

/* Marcas de contenido pendiente */
.pending {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px dashed currentColor;
  border-radius: 8px;
  background: rgba(94, 196, 182, .08);
  color: var(--teal-ink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}
.pending::before { content: "●"; font-size: .5rem; }
.theme-dark .pending { color: var(--teal-energy); background: rgba(99, 227, 200, .06); }

/* Etiquetas */
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-muted);
}
.tag--accent { border-color: var(--teal-energy); color: var(--teal-energy); }

/* Estado abierto / cerrado */
.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--gray-400);
}
.is-open .status-dot { background: var(--teal-deep); }
.is-open .status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  opacity: 0;
  animation: pulse-ring 2.4s var(--ease-out) infinite;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(252, 252, 250, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Lista con checks */
.checklist { display: grid; gap: 4px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  line-height: 1.45;
}
.checklist .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--teal-deep); }
.checklist .is-off { color: var(--gray-500); }
.checklist .is-off .icon { color: var(--gray-400); }

/* 5. Navegación ------------------------------------------------------------ */
.header-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 60px; }

.site-header {
  position: fixed;
  top: calc(var(--inset) + 10px);
  left: calc(var(--inset) + 10px);
  right: calc(var(--inset) + 10px);
  z-index: 60;
  pointer-events: none;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  height: var(--nav-h);
  margin-inline: auto;
  padding: 0 8px 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  pointer-events: auto;
  transition:
    background-color 360ms var(--ease-out),
    border-color 360ms var(--ease-out),
    box-shadow 360ms var(--ease-out);
}
.site-header.is-scrolled .site-header__inner,
.menu-open .site-header__inner {
  background: rgba(252, 252, 250, .84);
  border-color: var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 16px 40px -22px rgba(20, 20, 20, .35);
}

.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); }
.brand img { width: 58px; height: auto; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.375rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1;
}

.nav { display: none; }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--dur) var(--ease-out);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav a:hover,
.nav a[aria-current="true"] { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="true"]::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(252, 252, 250, .6);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
}
.menu-toggle__icon { position: relative; width: 18px; height: 10px; }
.menu-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out);
}
.menu-toggle__icon span:first-child { top: 0; }
.menu-toggle__icon span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: 4px; transform: rotate(-45deg); }

@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
  :root { --nav-h: 64px; }
  .nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* Menú móvil: tarjeta bajo la navbar, lista vertical */
.mobile-menu {
  position: fixed;
  top: calc(var(--inset) + 10px + var(--nav-h) + 8px);
  left: calc(var(--inset) + 10px);
  right: calc(var(--inset) + 10px);
  z-index: 59;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100svh - var(--inset) * 2 - var(--nav-h) - 36px);
  overflow-y: auto;
  padding: 10px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-deep);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.98);
  transform-origin: top center;
  transition:
    opacity 220ms var(--ease-out),
    transform 320ms var(--ease-out),
    visibility 0s linear 320ms;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 220ms var(--ease-out), transform 320ms var(--ease-out), visibility 0s;
}
.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  text-transform: uppercase;
}
.mobile-menu__list a .icon { width: 20px; height: 20px; color: var(--gray-500); transition: transform var(--dur) var(--ease-out); }
.mobile-menu__list a:hover .icon { transform: translateX(4px); color: var(--ink); }
.mobile-menu__foot { display: grid; gap: 8px; }
.mobile-menu__foot .btn { padding-left: 18px; gap: 10px; font-size: .9375rem; }
.mobile-menu__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--gray-700);
}
.mobile-menu__phone .icon { width: 18px; height: 18px; }
body.menu-open { overflow: hidden; }
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(20, 20, 20, .32);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms var(--ease-out), visibility 0s linear 260ms;
}
body.menu-open::after { opacity: 1; visibility: visible; transition: opacity 260ms var(--ease-out), visibility 0s; }

/* 6. Hero ------------------------------------------------------------------ */
.hero { padding: var(--inset) var(--inset) 0; }

.hero__card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--inset) * 2);
  padding: calc(var(--nav-h) + 44px) 0 clamp(84px, 9vw, 104px);
  overflow: hidden;
  border-radius: var(--radius-card);
  background:
    radial-gradient(90% 70% at 72% 38%, #FDFDFB 0%, rgba(253, 253, 251, 0) 60%),
    linear-gradient(180deg, #F4F3F1 0%, #EEEDEA 100%);
}

/* Fondo: piso técnico + trayectorias + placas + sombra de peso */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero__dots {
  position: absolute;
  inset: 0 0 30% 30%;
  background-image: radial-gradient(rgba(20, 20, 20, .16) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(55% 60% at 62% 48%, #000 0%, transparent 72%);
  mask-image: radial-gradient(55% 60% at 62% 48%, #000 0%, transparent 72%);
  opacity: .55;
}

.hero__floor {
  position: absolute;
  left: -40%;
  right: -40%;
  bottom: -4%;
  height: 56%;
  background-image:
    linear-gradient(rgba(20, 20, 20, .085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, .085) 1px, transparent 1px);
  background-size: 76px 76px;
  background-position: center bottom;
  transform: perspective(640px) rotateX(64deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, transparent 78%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, transparent 78%);
}

.hero__paths { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.path { fill: none; }
.path--rope { stroke: rgba(20, 20, 20, .06); stroke-width: 3; }
.path--trail { stroke: rgba(20, 20, 20, .1); stroke-width: 1.5; }
.path--reps { stroke: rgba(20, 20, 20, .2); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 14; }
.path--energy {
  stroke: var(--teal);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: .85;
  animation: draw-loop 7s var(--ease-in-out) 700ms infinite both;
}
.path-runner { fill: var(--teal-energy); filter: drop-shadow(0 0 6px rgba(99, 227, 200, .8)); }
.plates circle { fill: none; stroke: rgba(20, 20, 20, .13); stroke-width: 2; }

.hero__shade {
  position: absolute;
  right: -12%;
  bottom: -34%;
  width: 78%;
  height: 76%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(20, 20, 20, .16), rgba(20, 20, 20, 0) 70%);
  filter: blur(12px);
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 34px;
  align-items: center;
}
@media (max-width: 479px) {
  .kicker { gap: 10px; font-size: .75rem; letter-spacing: .13em; }
  .kicker::before { width: 18px; }
}
/* Pantallas muy estrechas (o ventanas reducidas): la navbar deja solo el símbolo */
@media (max-width: 339px) {
  .brand__word { display: none; }
}

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

.hero__title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .88;
  text-transform: uppercase;
  color: var(--ink);
}
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > span { display: inline-block; position: relative; animation: rise-in 1000ms var(--ease-out) both; }
.hero__line--xl { font-size: clamp(3rem, 13.6vw, 7.5rem); letter-spacing: -.012em; }
.hero__line--md {
  margin-top: .08em;
  padding-bottom: .26em;
  font-size: clamp(1.6rem, 6.6vw, 3.75rem);
  font-style: italic;
  color: var(--ink-3);
}
.hero__line--md > span { animation-delay: 110ms; }

.hero__swoosh {
  position: absolute;
  left: 0;
  bottom: -.2em;
  width: 100%;
  height: .26em;
  overflow: visible;
}
.hero__swoosh path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 3.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-loop 8s var(--ease-in-out) 900ms infinite both;
}

.hero__text {
  max-width: 44ch;
  margin-top: clamp(18px, 2.4vw, 26px);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--gray-600);
  animation: fade-up 900ms var(--ease-out) 260ms both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 34px);
  animation: fade-up 900ms var(--ease-out) 360ms both;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 26px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--gray-700);
  animation: fade-up 900ms var(--ease-out) 460ms both;
}
.hero__proof .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--teal-deep); }

/* Escenario del logo */
/* Móvil/tablet: el logo va primero pero limitado en altura para que titular y CTA
   entren en la primera pantalla. */
.hero__stage {
  --amp: .45;
  position: relative;
  order: -1;
  display: grid;
  place-items: center;
  width: min(100%, calc(32svh * 1.52), 480px);
  aspect-ratio: 16 / 10.5;
  margin-inline: auto;
}

.stage__halo {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(99, 227, 200, .36), rgba(94, 196, 182, .14) 50%, rgba(94, 196, 182, 0) 74%);
  translate: calc(var(--mx, 0) * 18px) calc(var(--my, 0) * 14px);
  animation: halo-breathe 9s ease-in-out infinite;
}

.stage__rings {
  position: absolute;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
  translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -10px);
}
.ring { fill: none; }
.ring--outer { stroke: rgba(20, 20, 20, .09); stroke-width: 1; }
.ring--ticks {
  stroke: rgba(20, 20, 20, .2);
  stroke-width: 12;
  stroke-dasharray: .5 5.5;
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: spin 160s linear infinite;
}
.ring--inner { stroke: rgba(20, 20, 20, .08); stroke-width: 1; stroke-dasharray: 2 7; }
.ring--progress {
  stroke: var(--teal);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 68 100;
  stroke-dashoffset: 68;
  transform-box: view-box;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
  animation: ring-loop 9s var(--ease-in-out) 700ms infinite both;
}

.stage__logo {
  position: relative;
  z-index: 2;
  width: 80%;
  translate: calc(var(--mx, 0) * 28px) calc(var(--my, 0) * 20px);
  transform: perspective(1000px) rotateY(calc(var(--mx, 0) * 12deg)) rotateX(calc(var(--my, 0) * -9deg));
  animation: logo-enter 1400ms var(--ease-out) 150ms both;
}
.stage__float { position: relative; animation: logo-float 12s ease-in-out infinite; }
.stage__mark img {
  width: 100%;
  filter:
    drop-shadow(0 2px 2px rgba(20, 20, 20, .18))
    drop-shadow(0 22px 24px rgba(20, 20, 20, .2))
    drop-shadow(0 0 30px rgba(99, 227, 200, .16));
}
.stage__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 62%);
  background-size: 260% 100%;
  background-position: 130% 0;
  -webkit-mask: url("../img/logo-invictus.webp") center / 100% 100% no-repeat;
  mask: url("../img/logo-invictus.webp") center / 100% 100% no-repeat;
  mix-blend-mode: screen;
  animation: logo-shine 10s ease-in-out 2s infinite;
}
.stage__reflection {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  display: none;
  transform: scaleY(-1);
  opacity: .12;
  filter: blur(1.5px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 42%);
  mask-image: linear-gradient(to top, #000 0%, transparent 42%);
}
.stage__reflection img { width: 100%; }
.stage__shadow {
  position: absolute;
  left: 16%;
  right: 16%;
  top: 102%;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 20, 20, .3), rgba(20, 20, 20, 0));
  filter: blur(3px);
  animation: shadow-breathe 12s ease-in-out infinite;
}
.stage__status {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -2%;
  translate: -50% 0;
  white-space: nowrap;
  animation: fade-up 900ms var(--ease-out) 900ms both;
}

@media (max-width: 1023px) {
  .stage__logo { width: 76%; margin-bottom: 14%; }
  /* En móvil/tablet la trayectoria cruza el texto: se atenúa y sin punto viajero */
  .path-runner { display: none; }
  .path--energy { opacity: .45; }
}
@media (max-width: 399px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .btn--lg { --btn-h: 54px; padding-left: 20px; font-size: .9375rem; }
  .btn--lg.btn--disc { gap: 10px; }
}
@media (min-width: 640px) {
  .hero__stage { --amp: .7; }
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(24px, 3vw, 48px); }
  .hero__line--xl { font-size: clamp(5rem, 8.2vw, 7.5rem); }
  .hero__line--md { font-size: clamp(2.5rem, 4.1vw, 3.75rem); }
  .hero__stage { --amp: 1; order: 0; width: min(100%, 600px, 74svh); aspect-ratio: 1; }
  .stage__logo { width: 84%; }
  .stage__reflection { display: block; }
  .stage__status { bottom: 6%; }
}

/* 7. Marquee --------------------------------------------------------------- */
.ticker {
  overflow: hidden;
  padding-block: clamp(26px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.ticker__track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.ticker__list {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  padding-right: clamp(22px, 3vw, 48px);
}
.ticker__item {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5.6vw, 4.75rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}
.ticker__item--line { color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); }
.ticker__dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--teal); }

/* 8. Secciones de contenido ------------------------------------------------ */

/* Scroll-reveal (solo con JS: sin JS todo queda visible) */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 800ms var(--ease-out),
    transform 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* 8.1 Nosotros */
.about__grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: end; }
.about__text {
  display: grid;
  gap: 18px;
  max-width: 60ch;
  margin-top: clamp(26px, 3vw, 36px);
  font-size: 1.125rem;
  color: var(--text-muted);
}
.about__year {
  position: relative;
  isolation: isolate;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.about__arc {
  position: absolute;
  z-index: -1;
  right: -26%;
  top: -40%;
  width: 90%;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.2;
  opacity: .6;
}
.about__arc use { vector-effect: non-scaling-stroke; }
.about__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 13vw, 9rem);
  line-height: .8;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.about__cap { margin-top: 18px; max-width: 30ch; color: #C4C7CC; }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); }
}

.never {
  display: grid;
  gap: 16px 36px;
  align-items: center;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(26px, 3vw, 34px);
  border-top: 1px solid var(--line);
}
.never__label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.never__list { display: flex; flex-wrap: wrap; gap: 4px clamp(18px, 3vw, 44px); }
.strike {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.6vw, 4rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--gray-500);
}
.strike::after {
  content: "";
  position: absolute;
  left: -.06em;
  right: -.06em;
  top: 50%;
  height: max(3px, .07em);
  border-radius: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 560ms var(--ease-out) calc(350ms + var(--i, 0) * 200ms);
}
.never.is-visible .strike::after,
html:not(.js) .strike::after { transform: scaleX(1); }
.never__note { font-weight: 600; color: var(--ink); }

@media (min-width: 900px) {
  .never {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label note" "list list";
  }
  .never__label { grid-area: label; }
  .never__note { grid-area: note; }
  .never__list { grid-area: list; justify-content: space-between; }
}

/* 8.2 Programas: bento asimétrico */
.bento { display: grid; gap: clamp(12px, 1.4vw, 18px); }
.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 300px;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition:
    transform 420ms var(--ease-out),
    box-shadow 420ms var(--ease-out),
    border-color 420ms var(--ease-out);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.tile__top { display: flex; align-items: center; justify-content: space-between; }
.tile__index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: .06em;
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}
.tile__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform 420ms var(--ease-out);
}
.tile:hover .tile__icon { background: var(--ink); border-color: var(--ink); color: var(--teal-energy); transform: rotate(-10deg); }
.tile__body { display: grid; gap: 12px; }
.tile__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
  line-height: .92;
  text-transform: uppercase;
}
.tile__desc { max-width: 38ch; color: var(--text-muted); }
.tile__arc {
  position: absolute;
  z-index: -1;
  right: -18%;
  bottom: -46%;
  width: 72%;
  max-width: 420px;
  fill: none;
  stroke: rgba(20, 20, 20, .1);
  stroke-width: 1.2;
  transition: stroke 420ms var(--ease-out), transform 900ms var(--ease-out);
}
.tile__arc use { vector-effect: non-scaling-stroke; }
.tile:hover .tile__arc { stroke: var(--teal); transform: rotate(-14deg) scale(1.04); }

/* Tarjetas con foto de fondo y profundidad 3D (boxeo y cross training) */
.tile[data-tilt] { perspective: 1000px; }
.tile[data-tilt] .tile__media img {
  opacity: 1;
  filter: contrast(1.05) saturate(1.06);
  transform: scale(1) translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -11px), 0);
  transition: transform 500ms var(--ease-out), opacity 420ms var(--ease-out);
}
.tile[data-tilt]:hover .tile__media img {
  opacity: 1;
  transform: scale(1.07) translate3d(calc(var(--px, 0) * -20px), calc(var(--py, 0) * -15px), 0);
}
.tile--c .tile__media img { object-position: 52% 56%; }
/* Pesas libres: mismo tratamiento que boxeo (foto natural + velo oscuro) */
.tile--a .tile__media img { object-position: 52% 52%; }
.tile--a .tile__arc { display: none; }

/* Cross training y máquinas: recorte sobre blanco, el velo aclara la zona del texto */
.tile--d .tile__media img { object-position: 74% 50%; filter: contrast(1.03) saturate(1.04); }
.tile--b .tile__media img { object-position: 82% 42%; filter: contrast(1.03) saturate(1.04); }
/* Tarjeta más estrecha: el velo necesita más cuerpo bajo el texto */
.tile--b .tile__media::after {
  background:
    linear-gradient(90deg, rgba(252, 252, 250, .99) 0%, rgba(252, 252, 250, .96) 32%, rgba(252, 252, 250, .62) 58%, rgba(252, 252, 250, .14) 84%, rgba(252, 252, 250, 0) 100%),
    linear-gradient(0deg, rgba(252, 252, 250, .98) 0%, rgba(252, 252, 250, .6) 28%, rgba(252, 252, 250, .05) 58%, rgba(252, 252, 250, 0) 72%);
}
.tile--b .tile__arc { display: none; }
.tile--b .tile__index { color: var(--gray-700); }
.tile--d .tile__media::after,
.tile--b .tile__media::after {
  background:
    linear-gradient(90deg, rgba(252, 252, 250, .98) 0%, rgba(252, 252, 250, .95) 30%, rgba(252, 252, 250, .62) 52%, rgba(252, 252, 250, .12) 80%, rgba(252, 252, 250, 0) 100%),
    linear-gradient(0deg, rgba(252, 252, 250, .94) 0%, rgba(252, 252, 250, .3) 34%, rgba(252, 252, 250, 0) 62%);
}
.tile--d .tile__arc { display: none; }
.tile--d .tile__index { color: var(--gray-700); }
@media (min-width: 1024px) {
  .tile--d .tile__media img { object-position: 60% 50%; }
}
.tile--c .tile__media::after,
.tile--a .tile__media::after {
  background:
    radial-gradient(120% 85% at 0% 0%, rgba(8, 10, 12, .6) 0%, rgba(8, 10, 12, 0) 62%),
    linear-gradient(200deg, rgba(10, 12, 14, .5) 0%, rgba(10, 12, 14, .68) 45%, rgba(8, 10, 12, .92) 100%);
}
.tile__sheen {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background: radial-gradient(55% 55% at calc(50% + var(--px, 0) * 34%) calc(50% + var(--py, 0) * 34%), rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 62%);
  transition: opacity 420ms var(--ease-out);
  pointer-events: none;
}
.tile[data-tilt]:hover .tile__sheen { opacity: 1; }
.tile[data-tilt] .tile__top,
.tile[data-tilt] .tile__body {
  transform: translate3d(calc(var(--px, 0) * 8px), calc(var(--py, 0) * 6px), 0);
  transition: transform 500ms var(--ease-out);
}
.tile[data-tilt]:hover {
  transform: translateY(-6px) rotateY(calc(var(--px, 0) * 5deg)) rotateX(calc(var(--py, 0) * -4deg));
}
/* En tarjeta estrecha la foto sube y el texto se queda sobre zona limpia */
@media (max-width: 719px) {
  .tile--c .tile__media img,
  .tile--a .tile__media img { object-position: 50% 30%; }
  .tile--d .tile__media img { object-position: 70% 14%; }
  .tile--b .tile__media img { object-position: 64% 16%; }
  .tile--d .tile__media::after,
  .tile--b .tile__media::after {
    background:
      linear-gradient(0deg, rgba(252, 252, 250, .99) 0%, rgba(252, 252, 250, .95) 36%, rgba(252, 252, 250, .4) 60%, rgba(252, 252, 250, 0) 88%),
      linear-gradient(90deg, rgba(252, 252, 250, .92) 0%, rgba(252, 252, 250, .4) 46%, rgba(252, 252, 250, 0) 100%);
  }
  .tile--c .tile__media::after,
  .tile--a .tile__media::after {
    background:
      radial-gradient(120% 70% at 0% 0%, rgba(8, 10, 12, .55) 0%, rgba(8, 10, 12, 0) 60%),
      linear-gradient(190deg, rgba(10, 12, 14, .42) 0%, rgba(10, 12, 14, .68) 42%, rgba(8, 10, 12, .95) 78%);
  }
}

.tile--dark { border-color: transparent; background: var(--ink-2); }
.tile--dark:hover { border-color: transparent; }
.tile__media { position: absolute; inset: 0; z-index: -1; }
.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  opacity: .42;
  filter: grayscale(.35) contrast(1.05);
  transition: transform 900ms var(--ease-out), opacity 420ms var(--ease-out);
}
.tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, .35) 0%, rgba(20, 20, 20, .25) 35%, rgba(20, 20, 20, .92) 100%);
}
.tile--dark:hover .tile__media img { transform: scale(1.05); opacity: .55; }
.tile--dark .tile__icon { border-color: rgba(255, 255, 255, .3); }
.tile--dark:hover .tile__icon { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.tile--dark .tile__index { color: #AEB2B8; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--c { grid-column: span 2; min-height: 380px; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .tile--a { grid-column: 1 / span 7; min-height: 360px; }
  .tile--b { grid-column: 8 / span 5; }
  .tile--c { grid-column: 1 / span 5; grid-row: span 1; min-height: 420px; }
  .tile--d { grid-column: 6 / span 7; }
}

/* 8.3 Tour (oscura) */
.tour { background: radial-gradient(900px 520px at 88% 30%, rgba(94, 196, 182, .12), transparent 60%), var(--ink); }
.tour__grid { display: grid; gap: clamp(48px, 6vw, 80px); align-items: center; }
.tour__copy { display: grid; justify-items: start; gap: 22px; }
.tour__copy .h2 { margin-top: 0; }
.tour__facts { display: grid; width: 100%; max-width: 560px; border-top: 1px solid var(--line); }
.tour__facts div {
  display: grid;
  gap: 2px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.tour__facts dt {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tour__facts dd { font-weight: 500; }
@media (min-width: 560px) {
  .tour__facts div { grid-template-columns: 150px 1fr; align-items: baseline; }
}

.tour__media { position: relative; justify-self: center; width: min(100%, 400px); }
.tour__arc {
  position: absolute;
  z-index: -1;
  width: 120%;
  left: 30%;
  top: -12%;
  opacity: .9;
  filter: drop-shadow(0 30px 50px rgba(94, 196, 182, .25));
}
.tour__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 78svh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8);
}
.tour__frame video { width: 100%; height: 100%; object-fit: cover; }
.tour__media figcaption { margin-top: 14px; font-size: .875rem; color: var(--text-muted); }

.video-btn {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-pill);
  background: rgba(20, 20, 20, .58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.video-btn:hover { background: rgba(20, 20, 20, .8); }
.video-btn .icon { width: 20px; height: 20px; }
.video-btn--play {
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  translate: -50% -50%;
  border: 0;
  background: var(--teal);
  color: var(--ink);
  box-shadow: 0 0 0 10px rgba(94, 196, 182, .18);
}
.video-btn--play:hover { background: var(--teal-energy); transform: scale(1.05); }
.video-btn--play .icon { width: 28px; height: 28px; }
.video-btn--play .icon-pause { display: none; }
.is-playing .video-btn--play {
  left: 16px;
  top: auto;
  bottom: 16px;
  width: 48px;
  height: 48px;
  translate: none;
  box-shadow: none;
  background: rgba(20, 20, 20, .58);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, .22);
}
.is-playing .video-btn--play .icon { width: 20px; height: 20px; }
.is-playing .video-btn--play .icon-play { display: none; }
.is-playing .video-btn--play .icon-pause { display: block; }
.video-btn--sound { right: 16px; bottom: 16px; padding: 0 16px 0 14px; font-size: .875rem; font-weight: 600; }
.video-btn--sound .icon-sound-on,
.video-btn--sound[aria-pressed="true"] .icon-sound-off { display: none; }
.video-btn--sound[aria-pressed="true"] .icon-sound-on { display: block; }

@media (min-width: 1024px) {
  .tour__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .tour__media { justify-self: end; margin-right: clamp(0px, 4vw, 60px); }
}

/* 8.4 Por qué Invictus */
.why__grid { display: grid; gap: clamp(40px, 5vw, 64px); }
.why__head .h2 { max-width: 12ch; }
.why__head .lead { margin-top: 22px; }
.why__list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.why__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 6px 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.why__num {
  grid-row: span 2;
  padding-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}
.why__item h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1;
  text-transform: uppercase;
}
.why__item p { max-width: 48ch; color: var(--text-muted); }
.why__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 700ms var(--ease-out);
}
.why__item:hover::after { transform: scaleX(1); }

.roster { display: grid; gap: 20px; margin-top: clamp(56px, 7vw, 96px); }
.roster__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.roster__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  text-transform: uppercase;
  line-height: 1;
}
.roster__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.coach__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, #F0EFEC 0%, #E2E1DD 100%);
}
.coach__art { position: absolute; inset: auto 0 0 0; width: 100%; height: auto; }
.coach__art circle,
.coach__art path { fill: rgba(20, 20, 20, .08); }
.coach__art .coach__arc { fill: none; stroke: var(--teal); stroke-opacity: .7; stroke-width: 2; }
.coach__flag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 10px;
  border: 1px dashed currentColor;
  border-radius: 6px;
  background: rgba(252, 252, 250, .7);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.coach__name {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1.1;
}
.coach__role { font-size: .9375rem; color: var(--text-muted); }

@media (min-width: 720px) {
  .roster__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(48px, 6vw, 96px); }
  .why__head { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
  .roster__list .coach:nth-child(even) { transform: translateY(36px); }
  .js .roster__list .coach:nth-child(even)[data-reveal]:not(.is-visible) { transform: translate3d(0, 62px, 0); }
  .roster { padding-bottom: 36px; }
}

/* 8.5 Planes */
.prime {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  border-top: 6px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 420ms var(--ease-out);
}
.prime:hover { box-shadow: var(--shadow-lift); }
.prime__arc {
  position: absolute;
  z-index: -1;
  right: -14%;
  top: -48%;
  width: clamp(360px, 52vw, 700px);
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.4;
  opacity: .55;
  transform: rotate(-14deg);
}
.prime__arc use { vector-effect: non-scaling-stroke; }
.prime__flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.prime__flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-energy); }
.prime__name {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: .85;
  text-transform: uppercase;
}
.prime__price { margin-top: clamp(14px, 2vw, 24px); }
.price { font-family: var(--font-display); font-weight: 800; line-height: .8; color: var(--ink); }
.price__figure { display: inline-flex; align-items: flex-start; }
.prime .price { font-size: clamp(6rem, 16vw, 11.5rem); }
.price__currency { margin-top: .06em; font-size: .36em; }
.price__amount { font-variant-numeric: tabular-nums; }
.price__per {
  align-self: flex-end;
  margin: 0 0 .5rem .5rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gray-600);
}
.prime__note { margin-top: 12px; font-weight: 600; color: var(--gray-700); }

.seg {
  position: relative;
  display: inline-flex;
  gap: 4px;
  margin-top: 22px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--paper-2);
}
.seg__opt {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--gray-600);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.seg__opt:hover { color: var(--ink); }
@media (max-width: 399px) {
  .seg__opt { padding: 0 13px; font-size: .875rem; }
}
.seg__opt[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.prime__body { display: grid; align-content: end; justify-items: start; gap: 26px; }
.prime__pull {
  max-width: 24ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ink-3);
}
.months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.months li { display: grid; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--gray-600); }
.months__bar { position: relative; height: 6px; overflow: hidden; border-radius: 3px; background: var(--paper-3); }
.months__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 700ms var(--ease-out);
}
.months li:nth-child(1) .months__bar::after { transition-delay: 400ms; }
.months li:nth-child(2) .months__bar::after { transition-delay: 900ms; }
.months li:nth-child(3) .months__bar::after { transition-delay: 1400ms; }
.prime.is-visible .months__bar::after,
html:not(.js) .months__bar::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .prime { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; }
}

.plan-ledger {
  display: grid;
  margin-top: clamp(20px, 3vw, 32px);
}
.plan {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(252, 252, 250, .6);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out), background-color 420ms var(--ease-out);
}
.plan + .plan { margin-top: 12px; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); background: var(--paper); }
.plan__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.plan__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}
.plan__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan__price small {
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-600);
}
.plan .link-arrow { justify-self: start; margin-top: 4px; }

@media (min-width: 800px) {
  .plan-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .plan + .plan { margin-top: 0; }
}

/* 8.6 InBody (oscura) */
.inbody { background: var(--ink-2); }
.inbody__grid { display: grid; gap: clamp(44px, 6vw, 80px); align-items: center; }
.inbody__copy { display: grid; justify-items: start; gap: 22px; }
.inbody__copy .h2 { margin-top: 0; }

.scan-plans { width: 100%; max-width: 560px; border-top: 1px solid var(--line); }
.scan-plans li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.scan-plans__name { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; text-transform: uppercase; line-height: 1; }
.scan-plans__val { min-width: 92px; text-align: right; font-weight: 600; color: var(--text-muted); }
.scan-plans .is-featured .scan-plans__val { color: var(--teal-energy); }
.scan-dots { display: flex; gap: 8px; }
.scan-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(99, 227, 200, .12);
  transform: scale(0);
  transition: transform 500ms cubic-bezier(.34, 1.56, .64, 1);
}
.scan-dots i:nth-child(2) { transition-delay: 140ms; }
.scan-dots i:nth-child(3) { transition-delay: 280ms; }
.scan-plans.is-visible .scan-dots i,
html:not(.js) .scan-dots i { transform: none; }

.chart {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
}
.chart__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.chart__title { font-family: var(--font-display); font-weight: 800; font-size: 1.625rem; text-transform: uppercase; line-height: 1; }
.chart__flag {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.chart__legend { display: flex; gap: 20px; margin: 16px 0 10px; font-size: .875rem; color: var(--text-muted); }
.key { display: inline-flex; align-items: center; gap: 8px; }
.key::before { content: ""; width: 16px; height: 6px; border-radius: 3px; background: #767B82; }
.key--b::before { background: var(--teal); }
.chart__row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.chart__row dt { font-weight: 600; }
.chart__row dd { display: grid; gap: 8px; }
.bar-line { display: grid; grid-template-columns: 14px minmax(0, 1fr); align-items: center; gap: 10px; }
.bar-line__k { font-size: .75rem; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.bar { position: relative; height: 12px; overflow: hidden; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.bar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #767B82;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1200ms var(--ease-out) 200ms;
}
.bar--b::before { background: linear-gradient(90deg, var(--teal-deep), var(--teal-energy)); transition-delay: 450ms; }
.chart.is-visible .bar::before,
html:not(.js) .bar::before { transform: scaleX(var(--v)); }
.chart__note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--text-muted); }

.inbody__motto {
  margin-top: clamp(56px, 8vw, 110px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8.4vw, 7.25rem);
  line-height: .9;
  text-transform: uppercase;
  color: #8B9096;
}
.inbody__motto em { font-style: italic; color: var(--paper); }

@media (min-width: 1024px) {
  .inbody__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* 8.7 Reseñas */
.reviews__grid { display: grid; gap: clamp(40px, 5vw, 64px); }
.reviews__head { display: grid; justify-items: start; gap: 20px; align-content: start; }
.reviews__head .h2 { margin-top: 0; }
/* Calificación global */
.rating {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.rating__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  line-height: .85;
  font-variant-numeric: tabular-nums;
}
.rating__side { display: grid; gap: 6px; }
.rating__meta { font-size: .9375rem; font-weight: 600; color: var(--gray-600); }

/* Estrellas (color de marca, no amarillo) */
.stars { display: inline-flex; gap: 2px; color: var(--teal-deep); }
.stars .icon { width: 18px; height: 18px; }
.stars--partial { position: relative; justify-self: start; width: max-content; }
.stars--partial .icon { width: 22px; height: 22px; }
.stars__base { display: inline-flex; gap: 2px; color: var(--paper-3); }
.stars__fill {
  position: absolute;
  inset: 0 auto 0 0;
  display: inline-flex;
  gap: 2px;
  width: calc(var(--rating) / 5 * 100%);
  overflow: hidden;
  color: var(--teal-deep);
}
.stars__fill .icon { flex: none; }

/* Tarjetas de reseña */
.reviews__list { display: grid; gap: 14px; }
.review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review__mark { width: 34px; height: 26px; color: var(--paper-3); }
.review blockquote p { font-size: 1.125rem; line-height: 1.5; color: var(--ink-3); }
.review--lead blockquote p {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
}
.review--lead .review__mark { color: var(--teal); }
.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
}
.review--lead .review__avatar { background: var(--teal); color: var(--ink); }
.review__who { display: grid; gap: 1px; line-height: 1.3; }
.review__name { font-weight: 600; }
.review__src { font-size: .875rem; color: var(--text-muted); }

@media (min-width: 720px) {
  .reviews__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review--lead { grid-column: span 2; }
  .review:last-child:nth-child(4) { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .reviews__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .reviews__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review--lead { grid-column: span 3; }
  .review:last-child:nth-child(4) { grid-column: auto; }
}

/* 8.8 Visítanos */
.visit__grid { display: grid; gap: clamp(40px, 5vw, 64px); }
.visit__info { display: grid; justify-items: start; gap: 22px; align-content: start; }
.visit__info .h2 { margin-top: 0; }
.visit__address { font-size: 1.1875rem; line-height: 1.5; }
.visit__address strong { font-weight: 700; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hours-block { width: 100%; margin-top: 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.hours-block__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.hours-block h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1; text-transform: uppercase; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-size: .9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.hours { width: 100%; font-variant-numeric: tabular-nums; }
.hours th,
.hours td { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; text-align: left; }
.hours td { text-align: right; color: var(--gray-700); }
.hours .is-today th,
.hours .is-today td { font-weight: 700; color: var(--ink); }
.today {
  display: none;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.is-today .today { display: inline-block; }
.hours-block .pending { margin-top: 16px; }

.map {
  position: relative;
  min-height: 340px;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-3);
  box-shadow: var(--shadow-soft);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.9) contrast(1.04);
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
}
.map.is-loaded iframe { opacity: 1; }
.map__placeholder {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 20, 20, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, .06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 6px rgba(94, 196, 182, .35);
}
.map__fallback { position: absolute; inset: auto 16px 16px; font-weight: 600; text-decoration: underline; }
.map__note { margin-top: 12px; font-size: .875rem; color: var(--text-muted); }
.visit__map { display: flex; flex-direction: column; }
.visit__map .map { flex: 1; }

@media (min-width: 1024px) {
  .visit__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .map { min-height: 560px; }
}

/* 8.9 Preguntas frecuentes */
.faq__grid { display: grid; gap: clamp(32px, 4vw, 56px); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line-strong); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  translate: -50% -50%;
  transition: background-color var(--dur) var(--ease-out);
}
.faq__icon::after { rotate: 90deg; }
.faq__item summary:hover .faq__icon { border-color: var(--ink); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--teal-energy); }
.faq__answer { max-width: 62ch; padding: 0 58px 26px 0; color: var(--text-muted); }
.faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 360ms var(--ease-out), content-visibility 360ms allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }

@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .faq__head { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
}

/* 8.10 CTA final (oscura) */
.final {
  padding-block: clamp(96px, 13vw, 176px);
  background: radial-gradient(1000px 560px at 88% 30%, rgba(94, 196, 182, .16), transparent 62%), var(--ink);
}
.final__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.final__crescent {
  position: absolute;
  right: -6%;
  top: 50%;
  width: clamp(240px, 34vw, 500px);
  translate: 0 -50%;
  filter: drop-shadow(0 40px 60px rgba(94, 196, 182, .28));
  opacity: .92;
}
.final__echo {
  position: absolute;
  right: -18%;
  top: 50%;
  width: clamp(380px, 56vw, 820px);
  translate: 0 -50%;
  fill: none;
  stroke: rgba(255, 255, 255, .12);
  stroke-width: 1.2;
}
.final__echo use { vector-effect: non-scaling-stroke; }
.final__inner { position: relative; display: grid; justify-items: start; gap: 22px; }
.final__title { max-width: 11ch; margin-top: 0; font-size: clamp(3rem, 8.4vw, 7.5rem); }
.final__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.final__contact { font-size: .9375rem; color: var(--text-muted); }

@media (max-width: 719px) {
  .final__crescent { top: auto; bottom: -12%; right: -30%; translate: none; opacity: .35; }
  .final__echo { display: none; }
}

/* 9. Footer y barra móvil -------------------------------------------------- */
.site-footer { padding-block: clamp(64px, 8vw, 96px) 32px; }
.site-footer__grid { display: grid; gap: 36px; }
.site-footer__brand img { width: 190px; }
.site-footer__brand p { margin-top: 16px; font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; text-transform: uppercase; }
.site-footer__h {
  margin-bottom: 12px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.site-footer__col p + p { margin-top: 10px; }
.site-footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
  transition: color var(--dur) var(--ease-out);
}
.site-footer__col a:hover { color: var(--teal-ink); }
.site-footer__muted { color: var(--gray-600); font-size: .9375rem; }
.site-footer__base {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--gray-600);
}

@media (min-width: 720px) {
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

.sticky-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 55;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-pill);
  background: rgba(20, 20, 20, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px -14px rgba(20, 20, 20, .6);
  transform: translateY(calc(100% + 30px));
  transition: transform 420ms var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { --btn-h: 48px; flex: 1; gap: 8px; padding: 0 12px; font-size: .9375rem; }
.sticky-cta .btn--ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, .3); }
.sticky-cta .btn--ghost:hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 379px) {
  .sticky-cta .btn { padding: 0 8px; font-size: .875rem; }
  .sticky-cta .btn .icon { display: none; }
}

@media (max-width: 1023px) {
  .site-footer { padding-bottom: calc(32px + 76px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1024px) {
  .sticky-cta { display: none; }
}

/* 10. Movimiento y accesibilidad ------------------------------------------- */
@keyframes rise-in { from { transform: translate3d(0, 104%, 0); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
/* Bucles infinitos: la línea/arco se dibuja, se sostiene y se "va" hacia adelante */
@keyframes draw-loop {
  0% { stroke-dashoffset: 1; }
  40%, 72% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring-loop {
  0% { stroke-dashoffset: 68; }
  42%, 74% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -68; }
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes pulse-ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }

@keyframes logo-enter {
  from { opacity: 0; scale: .92; filter: blur(6px); }
  to { opacity: 1; scale: 1; filter: blur(0); }
}
@keyframes logo-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(calc(-.8deg * var(--amp))) scale(1); }
  33% { transform: translate3d(calc(6px * var(--amp)), calc(-14px * var(--amp)), 0) rotate(calc(.6deg * var(--amp))) scale(calc(1 + .018 * var(--amp))); }
  66% { transform: translate3d(calc(-4px * var(--amp)), calc(-6px * var(--amp)), 0) rotate(calc(-.2deg * var(--amp))) scale(calc(1 + .008 * var(--amp))); }
}
@keyframes shadow-breathe {
  0%, 100% { transform: scaleX(1); opacity: .9; }
  33% { transform: scaleX(.86); opacity: .55; }
  66% { transform: scaleX(.94); opacity: .75; }
}
@keyframes halo-breathe {
  0%, 100% { scale: 1; opacity: .85; }
  50% { scale: 1.07; opacity: 1; }
}
@keyframes logo-shine {
  0% { background-position: 130% 0; }
  24%, 100% { background-position: -30% 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .stage__float,
  .stage__reflection .stage__float,
  .stage__shadow,
  .stage__halo,
  .ring--ticks,
  .stage__shine { animation: none !important; }
  .stage__shine { display: none; }
  .path-runner { display: none; }
  .path--energy,
  .hero__swoosh path,
  .ring--progress { animation: none !important; stroke-dashoffset: 0; }
  .is-open .status-dot::after { animation: none !important; }
  .ticker__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker__list[aria-hidden="true"] { display: none; }
  .ticker__list { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .tile:hover,
  .tile--c:hover,
  .plan:hover,
  .review:hover { transform: none; }
  .tile--c .tile__media img,
  .tile--c:hover .tile__media img { transform: none; }
  .tile--c .tile__top,
  .tile--c .tile__body { transform: none; }
}
