/* =========================================================================
   JD TRAINER GYM · Hoja de estilos
   Tema único oscuro (la marca es negro hierro + rojo). Radio de esquina: 2px
   en controles, 0 en fotos. La "línea LED" es el único elemento con brillo.
   ========================================================================= */

/* ---------- Fuentes autoalojadas ---------- */
@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
/* Fallback métrico para reducir el salto al cargar Anton */
@font-face {
  font-family: "Anton Fallback";
  src: local("Impact"), local("Arial Narrow Bold"), local("Arial");
  size-adjust: 96%;
  ascent-override: 118%;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0a0a0a;
  --ink-2: #111112;
  --graphite: #1c1c1e;
  --graphite-2: #242427;
  --red: #a3000b;
  --red-hover: #bd0010;
  --neon: #ff2a2a;
  --steel: #8a8a8e;
  --chalk: #f4f2ee;
  --text: #d6d3ce;
  --line: rgb(244 242 238 / 0.12);
  --line-strong: rgb(244 242 238 / 0.28);
  --wine: #140608;
  --wine-2: #2a070b;
  --red-dark: #6e0008;
  --glow: 0 0 6px rgb(255 42 42 / 0.85), 0 0 18px rgb(255 42 42 / 0.45), 0 0 42px rgb(255 42 42 / 0.2);

  --f-display: "Anton", "Anton Fallback", Impact, sans-serif;
  --f-text: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-hero: clamp(4.2rem, 8.4vw, 8.6rem);
  --fs-h1: clamp(2.9rem, 6.4vw, 5.8rem);
  --fs-h2: clamp(2.4rem, 5.2vw, 4.6rem);
  --fs-h3: clamp(1.6rem, 2.6vw, 2.3rem);
  --fs-lead: clamp(1.125rem, 1.5vw, 1.3rem);

  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1320px;
  --section: clamp(84px, 11vw, 168px);
  --header-h: 72px;
  --radius: 2px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  /* Capas */
  --z-header: 50;
  --z-float: 40;
  --z-menu: 60;
  --z-cookie: 70;

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--red); color: var(--chalk); }

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.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;
}
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--chalk);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

/* ---------- Layout ---------- */
.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--line { border-top: 1px solid var(--line); }
.section--graphite {
  background: #141416;
  border-top: 1px solid var(--line);
}
.section--wine {
  background:
    radial-gradient(90% 70% at 88% 0%, rgb(163 0 11 / 0.42), transparent 65%),
    radial-gradient(60% 55% at 0% 100%, rgb(163 0 11 / 0.2), transparent 70%),
    var(--wine);
  border-top: 1px solid rgb(255 42 42 / 0.28);
}
.section--glow {
  background:
    radial-gradient(60% 60% at 0% 35%, rgb(163 0 11 / 0.32), transparent 70%),
    var(--ink);
  border-top: 1px solid var(--line);
}

/* ---------- Tipografía ---------- */
.display,
.h1, .h2, .h3 {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--chalk);
  letter-spacing: 0.004em;
  line-height: 0.95;
  text-wrap: balance;
}
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1; }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text);
  max-width: 58ch;
  text-wrap: pretty;
}
.prose { max-width: 65ch; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--steel); }
.mono {
  font-family: var(--f-mono);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--neon);
  box-shadow: var(--glow);
}
strong { color: var(--chalk); font-weight: 800; }
.accent {
  font-style: normal;
  color: var(--neon);
  text-shadow: 0 0 18px rgb(255 42 42 / 0.45), 0 0 48px rgb(255 42 42 / 0.2);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--chalk);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 200ms ease, color 200ms ease;
}
.text-link .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { border-color: var(--neon); }
  .text-link:hover .icon { transform: translateX(3px); }
}

/* Aviso interno de datos pendientes */
.tbc {
  display: inline;
  font-family: var(--f-mono);
  font-size: 0.8em;
  color: #ffb4b4;
  background: rgb(255 42 42 / 0.08);
  outline: 1px dashed rgb(255 42 42 / 0.5);
  outline-offset: 1px;
  padding: 0 0.3em;
}
html.no-pending .tbc,
html.no-pending [data-pending] { display: none !important; }

/* ---------- Línea LED (elemento firma) ---------- */
.led {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--neon);
  border-radius: 2px;
  box-shadow: var(--glow);
  transform-origin: left center;
}
.led--short { width: clamp(96px, 14vw, 180px); }
.led--v {
  width: 3px;
  height: 100%;
  transform-origin: center top;
}
/* Líneas que se encienden al entrar en pantalla (JS añade .is-in) */
.motion .led[data-led],
.motion [data-led-group] .led { transform: scaleX(0); transition: transform 700ms var(--ease-out) 120ms; }
.motion .is-in .led,
.motion .led.is-in { transform: none; }
/* Líneas de cabecera: se encienden con CSS al cargar, sin esperar al JS */
@keyframes led-on { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes led-on-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: no-preference) {
  .led--boot { animation: led-on 700ms var(--ease-out) 480ms both; }
  .led--v.led--boot { animation-name: led-on-v; animation-delay: 300ms; animation-duration: 900ms; }
}

/* ---------- Botones ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--chalk);
  font-family: var(--f-text);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary { --btn-bg: var(--red); }
.btn--ghost {
  border-color: var(--line-strong);
  background: rgb(10 10 10 / 0.35);
}
.btn--dark { --btn-bg: var(--graphite); border-color: var(--line); }
.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    --btn-bg: var(--red-hover);
    box-shadow: 0 0 0 1px rgb(255 42 42 / 0.55), 0 8px 28px -8px rgb(255 42 42 / 0.55);
  }
  .btn--ghost:hover { border-color: var(--chalk); }
  .btn--dark:hover { border-color: var(--line-strong); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  height: var(--header-h);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(10 10 10 / 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 240ms ease;
}
.site-header.is-compact::before,
.site-header--solid::before { opacity: 1; }
.site-header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: block;
  flex: none;
  transform-origin: left center;
  transition: transform 240ms var(--ease-out);
}
.brand img { width: 92px; height: auto; }
.site-header.is-compact .brand { transform: scale(0.86); }
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}
.nav a:not(.btn) {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding-block: 6px;
  transition: color 160ms ease;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--neon);
  box-shadow: var(--glow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--ease-out);
}
.nav a[aria-current="page"] { color: var(--chalk); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.btn):hover { color: var(--chalk); }
  .nav a:not(.btn):hover::after { transform: scaleX(1); }
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgb(10 10 10 / 0.4);
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.menu-toggle:active { transform: scale(0.95); }
.menu-toggle .icon { width: 24px; height: 24px; }

/* Menú móvil a pantalla completa */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--ink);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 420ms var(--ease-drawer), visibility 0s linear 420ms;
}
.mobile-menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 420ms var(--ease-drawer), visibility 0s;
}
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--header-h) - 16px);
}
.mobile-menu__top img { width: 84px; }
.mobile-menu nav {
  margin-top: auto;
  display: grid;
  gap: 4px;
}
.mobile-menu nav a {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 12vw, 4rem);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--chalk);
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 260ms ease, transform 360ms var(--ease-out);
  transition-delay: calc(80ms + var(--i, 0) * 40ms);
}
.mobile-menu nav a[aria-current="page"] { color: var(--neon); text-shadow: 0 0 18px rgb(255 42 42 / 0.5); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu__foot {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}
.mobile-menu__foot .mono { color: var(--steel); }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero (inicio) ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 40%);
  background: var(--ink);
  overflow: hidden;
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) clamp(24px, 5vw, 72px) 64px max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.hero__content { isolation: isolate; }
.hero__bg { display: none; }
@media (min-width: 901px) {
  .hero__bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("/assets/img/hero-sala-800.webp") 50% 30% / cover no-repeat var(--ink);
  }
  .hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgb(10 10 10 / 0.9) 0%, rgb(10 10 10 / 0.74) 50%, rgb(10 10 10 / 0.5) 100%),
      linear-gradient(0deg, rgb(10 10 10 / 0.92) 0%, rgb(10 10 10 / 0) 38%),
      radial-gradient(70% 55% at 0% 100%, rgb(163 0 11 / 0.4), transparent 70%);
  }
}
@media (min-width: 1281px) {
  .hero__bg { background-image: url("/assets/img/hero-sala-1152.webp"); }
}
.hero h1 { display: grid; gap: 22px; }
.hero__title {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-hero);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--chalk);
  text-wrap: balance;
}
.hero__title > span { display: block; }
.hero__title .hero__setup {
  font-size: 0.46em;
  line-height: 1.02;
  color: var(--text);
  margin-bottom: 0.14em;
}
.hero__content .led { margin-top: 28px; width: min(420px, 70%); }
.hero__sub {
  margin-top: 26px;
  max-width: 34ch;
  font-size: var(--fs-lead);
  color: var(--text);
}
.hero .btn-row { margin-top: 32px; }
.hero__media {
  position: relative;
  z-index: 1;
  min-height: 100%;
  background: var(--ink-2);
}
.hero__media video,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgb(10 10 10 / 0.35) 22%, rgb(10 10 10 / 0) 50%),
    linear-gradient(0deg, rgb(10 10 10 / 0.55) 0%, rgb(10 10 10 / 0) 30%);
}
.hero__media .led--v {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
}
.video-toggle {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgb(10 10 10 / 0.6);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 200ms ease;
}
.video-toggle:active { transform: scale(0.94); }
.video-toggle .icon { width: 18px; height: 18px; }
.video-toggle[hidden] { display: none; }

/* Entrada del hero (solo carga inicial) */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero [data-enter],
  .page-hero [data-enter] {
    animation: rise 600ms var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 70ms + 60ms);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: end;
  }
  .hero__media {
    position: absolute;
    inset: 0;
  }
  .hero__media::after {
    background:
      linear-gradient(0deg, var(--ink) 4%, rgb(10 10 10 / 0.82) 38%, rgb(10 10 10 / 0.35) 70%, rgb(10 10 10 / 0.55) 100%);
  }
  .hero__media .led--v { display: none; }
  .hero { min-height: calc(100dvh - 66px); }
  .hero__content {
    justify-content: flex-end;
    min-height: calc(100dvh - 66px);
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  }
  .video-toggle { top: calc(var(--header-h) + 12px); bottom: auto; }
}
@media (max-width: 520px) {
  .hero .btn-row .btn { width: 100%; }
}

/* ---------- Barra de datos ---------- */
.stats {
  --line: rgb(255 255 255 / 0.22);
  background: linear-gradient(100deg, var(--red-dark) 0%, var(--red) 45%, #c2000f 100%);
  box-shadow: 0 0 0 1px rgb(255 42 42 / 0.35), 0 0 60px -10px rgb(255 42 42 / 0.45);
  position: relative;
  z-index: 3;
}
.stats .stat__label { color: rgb(244 242 238 / 0.85); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  padding: clamp(28px, 4vw, 48px) clamp(16px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1;
  color: var(--chalk);
  text-transform: uppercase;
}
.stat__value--word { font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.12; }
.stat__label {
  display: block;
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-left: 0; padding-left: 0; }
  .stat:nth-child(2n) { border-left: 1px solid var(--line); padding-left: 20px; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- Manifiesto ---------- */
.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.manifesto__text .h2 { max-width: 12ch; }
.manifesto__text .lead { margin-top: 32px; }
.manifesto__statement {
  margin-top: 40px;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.32;
  font-weight: 600;
  color: var(--chalk);
  max-width: 30ch;
  text-wrap: pretty;
}
.values {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
}
.values dt {
  font-family: var(--f-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--chalk);
  line-height: 1.05;
}
.values dd { margin-top: 8px; color: var(--steel); font-size: 1rem; }
.manifesto__media {
  position: relative;
  margin-top: clamp(0px, 8vw, 120px);
}
.manifesto__media img {
  width: 100%;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
}
@media (max-width: 860px) {
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__media { margin-top: 0; }
  .manifesto__media img { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .values { grid-template-columns: 1fr; }
}

/* ---------- Cabecera de sección ---------- */
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .led--short { margin-top: 4px; }
.section-head .lead { margin-top: 4px; }

/* ---------- Galería editorial ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.shot { display: flex; flex-direction: column; gap: 14px; }
.shot__img {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--graphite);
}
.shot__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .shot:hover .shot__img img { transform: scale(1.03); }
}
.shot figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}
.shot figcaption strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1;
}
.shot figcaption span { color: var(--steel); font-size: 0.9375rem; }
.shot--a { grid-column: 1 / span 8; }
.shot--a .shot__img { aspect-ratio: 16 / 9; }
.shot--b { grid-column: 9 / span 4; grid-row: 1 / span 2; }
.shot--c { grid-column: 1 / span 4; }
.shot--c .shot__img,
.shot--d .shot__img { aspect-ratio: 4 / 5; }
.shot--d { grid-column: 5 / span 4; }
.gallery__more { margin-top: 40px; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot--a { grid-column: 1 / -1; }
  .shot--b { grid-column: 1 / -1; grid-row: auto; }
  .shot--b .shot__img { aspect-ratio: 4 / 3; flex: none; }
  .shot--c, .shot--d { grid-column: auto; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .shot--c, .shot--d { grid-column: 1 / -1; }
  .shot--c .shot__img, .shot--d .shot__img { aspect-ratio: 4 / 3; }
}

/* ---------- Servicios (filas) ---------- */
.services { border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr);
  gap: 16px 40px;
  align-items: baseline;
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.service::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--neon);
  box-shadow: var(--glow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-out);
}
.service h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--chalk);
}
.service p { color: var(--text); max-width: 46ch; }
.service__tag {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--chalk);
  white-space: nowrap;
}
.service__tag .icon { color: var(--steel); transition: transform 220ms var(--ease-out), color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  a.service:hover::after { transform: scaleX(1); }
  a.service:hover .service__tag .icon { transform: translate(2px, -2px); color: var(--neon); }
}
a.service:focus-visible::after { transform: scaleX(1); }
@media (max-width: 760px) {
  .service { grid-template-columns: 1fr; gap: 10px; }
  .service__tag { justify-self: start; }
}

/* ---------- Tarifas ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.plan__name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--chalk);
}
.plan__price {
  margin-top: 28px;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 3.6vw, 3.4rem);
  line-height: 1;
  color: var(--chalk);
  font-variant-numeric: tabular-nums;
}
.plan__month {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--steel);
}
.plan__note { margin-top: 16px; font-size: 0.9375rem; color: var(--steel); }
.plan .btn { margin-top: auto; }
.plan__spacer { flex: 1; min-height: 28px; }
.plan--featured {
  background: linear-gradient(180deg, #4a0710 0%, #26090d 55%, var(--graphite) 100%);
  border-color: var(--neon);
  box-shadow: 0 0 0 1px rgb(255 42 42 / 0.5), 0 0 28px -4px rgb(255 42 42 / 0.45), inset 0 0 24px -12px rgb(255 42 42 / 0.6);
}
.plan--featured .plan__month { color: var(--chalk); }
.plan__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 3px 10px;
  background: var(--ink);
  border: 1px solid var(--neon);
  border-radius: var(--radius);
  font-family: var(--f-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chalk);
}
.extras {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.extra { background: rgb(20 20 22 / 0.6); }
.extra--hl {
  background: linear-gradient(110deg, rgb(163 0 11 / 0.55), rgb(163 0 11 / 0.15));
  border-color: rgb(255 42 42 / 0.5);
}
.extra--hl .extra__desc { color: rgb(244 242 238 / 0.82); }
.extra__title { font-weight: 800; color: var(--chalk); }
.extra__desc { color: var(--steel); font-size: 0.9375rem; }
.extra__price {
  font-family: var(--f-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--chalk);
  white-space: nowrap;
}
.plans-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .extras { grid-template-columns: 1fr; }
}

/* ---------- Coach + reels ---------- */
.coach__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: 24px;
  align-items: start;
}
.coach__text { display: contents; }
.coach-card { grid-column: 1; grid-row: 1 / span 4; display: grid; gap: 18px; }
.coach__text > :not(.coach-card),
.coach__grid > .reels { grid-column: 2; }
.coach__grid > .reels { margin-top: 12px; }
.coach-card__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--graphite);
  border: 1px solid rgb(255 42 42 / 0.4);
  box-shadow: 0 0 48px -14px rgb(255 42 42 / 0.55);
}
.coach-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.coach-card figcaption strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
}
.coach-card figcaption > span { display: block; margin-top: 6px; color: var(--steel); }
.coach-card .tags { margin-top: 14px; }
.reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  align-items: start;
}
.reel { display: grid; gap: 12px; }
.reel:nth-child(2) { margin-top: clamp(32px, 6vw, 88px); }
.reel:nth-child(3) { margin-top: clamp(16px, 3vw, 44px); }
.reel__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--graphite);
  border: 1px solid var(--line);
}
.reel__frame video,
.reel__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel figcaption {
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 900px) {
  .coach__grid { grid-template-columns: 1fr; }
  .coach-card, .coach__text > :not(.coach-card), .coach__grid > .reels { grid-column: 1; grid-row: auto; }
  .coach-card { margin-bottom: 16px; }
  .coach-card__img { aspect-ratio: 4 / 4.4; }
}
@media (max-width: 560px) {
  .reels {
    grid-template-columns: repeat(3, 70%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .reels::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: start; }
  .reel:nth-child(n) { margin-top: 0; }
}

/* ---------- Reseñas ---------- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.reviews__grid .review { grid-column: span 2; }
.reviews__grid .review:nth-child(4):nth-last-child(2),
.reviews__grid .review:nth-child(5):nth-last-child(1) { grid-column: span 3; }
.reviews__grid .review:only-child { grid-column: 1 / -1; }
.review {
  padding: 28px;
  background: var(--graphite);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review blockquote {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--chalk);
}
.review figcaption { font-size: 0.9375rem; color: var(--steel); }
.review figcaption strong { display: block; font-size: 1rem; }
.reviews__stars { display: flex; gap: 2px; color: #ffb400; }
.reviews__stars .is-off { color: rgb(244 242 238 / 0.22); }
.review { border: 1px solid var(--line); }
.reviews__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.rating {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 14px;
  align-items: center;
  justify-self: end;
  text-decoration: none;
  color: var(--chalk);
}
.rating__value { grid-row: 1 / span 2; font-family: var(--f-display); font-size: 4rem; line-height: 0.9; }
.rating__stars { display: flex; gap: 2px; color: #ffb400; }
.rating__stars .icon { width: 24px; height: 24px; }
.rating__count { font-size: 0.9375rem; color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .rating:hover .rating__count { text-decoration: underline; text-decoration-color: var(--neon); }
}
@media (max-width: 700px) {
  .reviews__head { grid-template-columns: 1fr; }
  .rating { justify-self: start; }
}
.reviews__stars .icon { width: 18px; height: 18px; }
.reviews__empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  background: linear-gradient(110deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: var(--radius);
  box-shadow: 0 0 60px -14px rgb(255 42 42 / 0.5);
}
.reviews__empty .btn--dark { --btn-bg: var(--ink); }
.reviews__empty .h3 { max-width: 18ch; }
.reviews__empty p { margin-top: 12px; color: rgb(244 242 238 / 0.88); }
@media (max-width: 900px) {
  .reviews__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84%, 380px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .reviews__grid .review { grid-column: auto !important; scroll-snap-align: start; }
  .reviews__empty { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  font-weight: 700;
  color: var(--chalk);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon {
  width: 22px;
  height: 22px;
  color: var(--steel);
  transition: transform 220ms var(--ease-out), color 200ms ease;
}
.faq__item[open] summary .icon { transform: rotate(45deg); color: var(--neon); }
.faq__answer {
  padding: 0 48px 28px 0;
  color: var(--text);
  max-width: 62ch;
}
.motion .faq__item[open] .faq__answer { animation: rise 280ms var(--ease-out) both; }
@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .faq__answer { padding-right: 0; }
}

/* ---------- Horario + mapa ---------- */
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}
.hours { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.hours__row dt { font-weight: 600; color: var(--chalk); }
.hours__row dd { font-family: var(--f-mono); color: var(--chalk); font-variant-numeric: tabular-nums; }
.address {
  margin-top: 28px;
  font-style: normal;
  display: grid;
  gap: 6px;
}
.address a { text-decoration: none; }
.address a:hover { text-decoration: underline; text-decoration-color: var(--neon); }
.visit__text .btn-row { margin-top: 32px; }
.map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--graphite);
  border: 1px solid var(--line);
}
.map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) brightness(0.45);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) grayscale(0.4) contrast(0.95);
}
.map__facade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 16px;
  padding: clamp(20px, 3vw, 36px);
  border: 0;
  background: linear-gradient(0deg, rgb(10 10 10 / 0.9) 0%, rgb(10 10 10 / 0) 60%);
  text-align: left;
  cursor: pointer;
  color: var(--chalk);
}
.map__facade .h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.map__facade .mono { color: var(--text); }
.map__facade .btn { pointer-events: none; }
.map__note { font-size: 0.875rem; color: var(--text); }
.map__note a { color: var(--chalk); }
@media (hover: hover) and (pointer: fine) {
  .map__facade:hover .btn { --btn-bg: var(--red-hover); }
}
.map__facade:active .btn { transform: scale(0.97); }
@media (max-width: 860px) {
  .visit__grid { grid-template-columns: 1fr; }
  .map { min-height: 340px; }
}

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  padding-block: clamp(120px, 16vw, 220px);
  isolation: isolate;
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cta-final__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.cta-final__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 75% at 90% 60%, rgb(163 0 11 / 0.55), transparent 70%),
    radial-gradient(120% 90% at 20% 50%, rgb(10 10 10 / 0.5) 0%, var(--ink) 88%);
}
.cta-final .display {
  font-size: clamp(3.6rem, 11vw, 10rem);
  line-height: 0.9;
}
.cta-final .led { margin-top: 28px; width: min(560px, 80%); }
.cta-final .lead { margin-top: 28px; }
.cta-final .btn-row { margin-top: 36px; }

/* ---------- Cabecera de subpágina ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 100% 30%, rgb(163 0 11 / 0.4), transparent 70%),
    linear-gradient(90deg, var(--ink) 25%, rgb(10 10 10 / 0.6) 70%, rgb(10 10 10 / 0.4)),
    linear-gradient(0deg, var(--ink) 0%, rgb(10 10 10 / 0) 40%);
}
.page-hero h1 { display: grid; gap: 22px; justify-items: start; }
.page-hero .h1 { display: block; max-width: 12ch; }
.page-hero .led { margin-top: 28px; }
.page-hero .lead { margin-top: 28px; }
.page-hero .btn-row { margin-top: 32px; }

.breadcrumbs {
  margin-bottom: 28px;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--steel);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumbs a { text-decoration: none; color: var(--text); }
.breadcrumbs a:hover { color: var(--chalk); text-decoration: underline; }

/* ---------- Bloques de subpáginas ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--media-left .split__media { order: -1; }
.split__media img,
.split__media video {
  width: 100%;
  object-fit: cover;
  background: var(--graphite);
}
.split__media--tall img,
.split__media--tall video { aspect-ratio: 4 / 5; }
.split__media--wide img { aspect-ratio: 4 / 3; }
.split .lead { margin-top: 24px; }
.split .h2 + .led--short { margin-top: 20px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--media-left .split__media { order: 0; }
}

.checklist {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
}
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
}
.checklist .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--neon); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  counter-reset: step;
}
.step {
  padding: 32px 28px;
  background: linear-gradient(180deg, #2a0b0e 0%, var(--graphite) 60%);
  border-radius: var(--radius);
  border-top: 2px solid var(--red);
}
.step h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--chalk);
}
.step p { margin-top: 14px; color: var(--text); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.compare__col {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.compare__col--hl {
  border-color: var(--neon);
  box-shadow: 0 0 0 1px rgb(255 42 42 / 0.4), 0 0 28px -6px rgb(255 42 42 / 0.4);
}
.compare__price {
  margin-top: 12px;
  font-family: var(--f-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--chalk);
}
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; }
}

.zone + .zone { margin-top: clamp(80px, 10vw, 140px); }
.zone__media {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: 40px;
}
.zone__media img { width: 100%; object-fit: cover; background: var(--graphite); }
.zone__media .is-wide { aspect-ratio: 16 / 10; height: 100%; }
.zone__tall { position: relative; min-height: 100%; overflow: hidden; background: var(--graphite); }
.zone__tall img { position: absolute; inset: 0; height: 100%; }
.zone__media--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 700px) {
  .zone__media, .zone__media--rev { grid-template-columns: 1fr; }
  .zone__media .is-wide, .zone__tall { aspect-ratio: 4 / 3; }
}
.zone__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
}
.zone__head .h2 { max-width: 11ch; }
@media (max-width: 860px) {
  .zone__head { grid-template-columns: 1fr; }
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; padding: 0; }
.tags li {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--chalk);
}

/* ---------- Formulario ---------- */
.form {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3.4vw, 44px);
  background: var(--graphite);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.field { display: grid; gap: 8px; }
.field label,
.field legend {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--chalk);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--chalk);
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%), linear-gradient(135deg, var(--steel) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input::placeholder,
.field textarea::placeholder { color: #9a9a9e; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 0 1px var(--neon), 0 0 16px -4px rgb(255 42 42 / 0.6);
}
.field__help { font-size: 0.875rem; color: var(--steel); }
.field__error {
  display: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ff8a8a;
}
.field.is-invalid input,
.field.is-invalid select { border-color: #ff6b6b; }
.field.is-invalid .field__error { display: block; }
.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.9375rem;
  color: var(--text);
}
.check input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--red);
}
.check a { color: var(--chalk); }
.form__actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.form__status { font-size: 0.9375rem; color: var(--chalk); min-height: 1.5em; }
.form__legal { font-size: 0.8125rem; line-height: 1.5; color: #a9a9ad; margin-top: -6px; }
.form__legal strong { font-weight: 700; }
.form__legal a { color: var(--chalk); }
@media (max-width: 520px) {
  .form__actions { grid-template-columns: 1fr; }
}

/* ---------- Texto legal ---------- */
.legal { max-width: 72ch; }
.legal h2 {
  margin-top: 48px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.9rem;
  text-transform: uppercase;
  color: var(--chalk);
  line-height: 1.05;
}
.legal h3 { margin-top: 28px; font-size: 1.125rem; color: var(--chalk); }
.legal p, .legal ul { margin-top: 14px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal table { margin-top: 18px; width: 100%; border-collapse: collapse; font-size: 0.9375rem; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--chalk); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0 32px;
  background: linear-gradient(180deg, var(--wine-2) 0%, var(--wine) 45%, var(--ink-2) 100%);
  border-top: 1px solid var(--line);
}
.site-footer .led { position: absolute; top: -2px; left: 0; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr));
  gap: 40px clamp(24px, 4vw, 64px);
}
.footer__brand img { width: 128px; }
.footer__brand p { margin-top: 20px; color: var(--steel); max-width: 30ch; font-size: 0.9375rem; }
.footer__title {
  font-family: var(--f-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: 16px;
}
.footer__list { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 0.9375rem; }
.footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  transition: color 160ms ease;
}
.footer__list a:hover { color: var(--chalk); }
.footer__list .icon { width: 18px; height: 18px; color: var(--steel); }
.footer__bottom {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--steel);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; }
.footer__bottom a { color: var(--steel); text-decoration: none; }
.footer__bottom a:hover { color: var(--chalk); text-decoration: underline; }
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp flotante (escritorio) ---------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: var(--z-float);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 28px;
  background: var(--red);
  color: var(--chalk);
  font-weight: 800;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgb(255 42 42 / 0.5), 0 10px 30px -8px rgb(0 0 0 / 0.8);
  transition: transform 260ms var(--ease-out), opacity 200ms ease, background-color 200ms ease;
}
.wa-float .icon { width: 24px; height: 24px; }
.wa-float:active { transform: scale(0.96); }
.wa-float.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { background: var(--red-hover); }
}

/* ---------- Barra inferior móvil ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: var(--z-float);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 8px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgb(10 10 10 / 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { min-height: 50px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

/* ---------- Banner de cookies ---------- */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: var(--z-cookie);
  max-width: 560px;
  padding: 22px;
  background: var(--graphite);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px -10px rgb(0 0 0 / 0.8);
  transition: opacity 240ms ease, transform 300ms var(--ease-out);
  @starting-style { opacity: 0; transform: translateY(16px); }
}
.cookie p { font-size: 0.9375rem; }
.cookie .btn-row { margin-top: 16px; }
.cookie .btn { flex: 1; }
@media (max-width: 760px) {
  .cookie { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ---------- Aparición al hacer scroll ---------- */
.motion [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .btn:active, .menu-toggle:active, .wa-float:active { transform: none; }
  .shot:hover .shot__img img { transform: none; }
  .mobile-menu { transition: visibility 0s, opacity 200ms ease; clip-path: none; opacity: 0; }
  .mobile-menu.is-open { opacity: 1; }
  .mobile-menu nav a { transform: none; transition: opacity 200ms ease; }
}
