/* =====================================================================
   PULSO — Clases de fitness online en directo
   Diseño y desarrollo: Webliby · Licencia: ver LICENSE.txt
   Estilo: fondo carbón, acento lima eléctrico, tipografía condensada.
   ===================================================================== */

:root {
  --bg: #0B0B0D;
  --bg-2: #121216;
  --bg-3: #1A1A20;
  --line: rgba(255, 255, 255, 0.08);
  --text: #F4F4F2;
  --muted: #9A9AA3;
  --accent: #C9F31D;
  --accent-2: #8BDB1A;
  --accent-ink: #0B0B0D;
  --hot: #FF5A3C;
  --calm: #5CD6FF;
  --font-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}
.container--narrow { max-width: 820px; }

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h2 em { font-style: normal; color: var(--accent); }
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow--dark { color: var(--accent-ink); opacity: 0.7; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(201, 243, 29, 0);
}
.btn--primary:hover { box-shadow: 0 12px 40px -10px rgba(201, 243, 29, 0.6); background: #D9FF3A; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); }
.btn--dark { background: var(--accent-ink); color: var(--text); }
.btn--dark:hover { background: #1c1c22; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.6); }
.btn--outline-dark { border-color: rgba(11, 11, 13, 0.35); color: var(--accent-ink); background: transparent; }
.btn--outline-dark:hover { border-color: var(--accent-ink); background: rgba(11, 11, 13, 0.06); }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--lg { padding: 20px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: grid; place-items: center;
  animation: splashOut 0.7s var(--ease) 2.2s forwards; /* red de seguridad CSS */
}
.splash.is-hidden { animation: splashOut 0.6s var(--ease) forwards; }
.splash__mark {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display); font-size: 2.4rem; letter-spacing: 0.12em;
  animation: splashIn 0.8s var(--ease) both;
}
.splash__line {
  stroke-dasharray: 90; stroke-dashoffset: 90;
  animation: draw 1.1s var(--ease) 0.2s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes splashIn { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 243, 29, 0.14), rgba(201, 243, 29, 0) 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow.is-on { opacity: 1; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(11, 11, 13, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.14em;
}
.nav__links { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 0.92rem; }
.nav__links > a:not(.btn) { position: relative; opacity: 0.85; transition: opacity 0.3s; }
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__links > a:not(.btn):hover { opacity: 1; }
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); }
.nav__burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); cursor: pointer; position: relative;
}
.nav__burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  will-change: transform;
}
.blob--1 { width: 60vw; height: 60vw; left: -20vw; top: -20vw; background: radial-gradient(circle, rgba(201, 243, 29, 0.55), rgba(201, 243, 29, 0) 65%); animation: float1 14s ease-in-out infinite alternate; }
.blob--2 { width: 50vw; height: 50vw; right: -15vw; top: 10vh; background: radial-gradient(circle, rgba(92, 214, 255, 0.28), rgba(92, 214, 255, 0) 65%); animation: float2 18s ease-in-out infinite alternate; }
.blob--3 { width: 45vw; height: 45vw; left: 30vw; bottom: -30vw; background: radial-gradient(circle, rgba(255, 90, 60, 0.28), rgba(255, 90, 60, 0) 65%); animation: float3 16s ease-in-out infinite alternate; }
.blob--4 { width: 70vw; height: 70vw; right: -25vw; top: -30vw; background: radial-gradient(circle, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 65%); animation: float2 20s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate(18vw, 12vh) scale(1.15); } }
@keyframes float2 { to { transform: translate(-14vw, 16vh) scale(0.9); } }
@keyframes float3 { to { transform: translate(-10vw, -18vh) scale(1.1); } }

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px;
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(201, 243, 29, 0.7);
  animation: pulse 1.8s ease-out infinite;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 243, 29, 0.7); }
  100% { box-shadow: 0 0 0 14px rgba(201, 243, 29, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.8rem, 8.2vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word { display: inline-block; will-change: transform; }
.hero__title .line--accent { color: var(--accent); }

.hero__lead { max-width: 52ch; color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero__proof { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__proof li { display: flex; flex-direction: column; }
.hero__proof strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; letter-spacing: 0.02em; }
.hero__proof span { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }

.hero__media { position: relative; }
.hero__frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 72vh;
  margin-left: auto;
  background: var(--bg-3);
  clip-path: inset(0 0 100% 0 round 28px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
}
.hero__frame.is-ready { animation: frameIn 1.3s var(--ease) 0.2s forwards; }
@keyframes frameIn { to { clip-path: inset(0 0 0 0 round 28px); } }
.hero__frame img {
  width: 100%; height: 118%; object-fit: cover;
  will-change: transform;
}
/* Tratamiento de marca: duotono carbón/lima + grano */
.hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0) 40%, rgba(11, 11, 13, 0.75) 100%);
  pointer-events: none;
}
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; opacity: 0.35; pointer-events: none;
}

.hero__badge {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(18, 18, 22, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translateY(16px);
  animation: badgeIn 0.9s var(--ease) forwards;
}
.hero__badge--1 { left: -28px; top: 14%; animation-delay: 1.2s; }
.hero__badge--2 { right: -20px; bottom: 12%; animation-delay: 1.5s; }
@keyframes badgeIn { to { opacity: 1; transform: none; } }
.hero__badge-num { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--accent); }
.hero__badge-num small { font-size: 0.9rem; margin-left: 3px; color: var(--text); }
.hero__badge-txt { font-size: 0.85rem; font-weight: 600; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, 0.25); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 3px; background: var(--accent);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--accent); color: var(--accent-ink);
  padding: 14px 0;
}
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  animation: marquee 28s linear infinite;
}
.marquee__track i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section__desc { color: var(--muted); font-size: 1.08rem; margin-top: 22px; max-width: 58ch; }

/* Reveal (IntersectionObserver) — contenido visible si el JS falla */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Clases ---------- */
.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.class-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.class-card:hover { transform: translateY(-6px); border-color: rgba(201, 243, 29, 0.4); }
.class-card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.class-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.9s var(--ease), filter 0.6s;
}
.class-card__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(201, 243, 29, 0.18), rgba(11, 11, 13, 0.1) 45%, rgba(11, 11, 13, 0.95) 100%);
  mix-blend-mode: multiply;
}
.class-card:hover .class-card__img img { transform: scale(1.06); filter: saturate(1.1) contrast(1.05); }
.class-card__body { padding: 24px 26px 28px; margin-top: -60px; position: relative; z-index: 1; }
.class-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.class-card__top h3 { font-size: 2.4rem; }
.class-card p { color: var(--muted); font-size: 0.98rem; }
.class-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.class-card__meta li {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.tag {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 6px; background: rgba(201, 243, 29, 0.14); color: var(--accent); white-space: nowrap;
}
.tag--hot { background: rgba(255, 90, 60, 0.16); color: var(--hot); }
.tag--calm { background: rgba(92, 214, 255, 0.14); color: var(--calm); }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 34px 28px 32px;
  border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
  overflow: hidden;
}
.step::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.step__num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 22px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 48px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--accent); }
.stat__lbl { display: block; margin-top: 8px; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 30px 30px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.2); }
.plan--featured {
  background: linear-gradient(160deg, #17181d, #0e0f12);
  border-color: rgba(201, 243, 29, 0.45);
  box-shadow: 0 30px 80px -40px rgba(201, 243, 29, 0.35);
}
.plan__badge {
  position: absolute; top: -13px; left: 30px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink); padding: 6px 12px; border-radius: 999px;
}
.plan h3 { font-size: 2.2rem; margin-bottom: 6px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 26px; }
.plan__price span { font-family: var(--font-display); font-size: 4.4rem; line-height: 1; }
.plan__price small { color: var(--muted); font-weight: 600; }
.plan__list { flex: 1; display: grid; gap: 12px; margin-bottom: 30px; font-size: 0.98rem; }
.plan__list li { position: relative; padding-left: 26px; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* ---------- Entrenadores ---------- */
.coaches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.coach {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--line);
}
.coach__img { position: relative; min-height: 340px; }
.coach__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.05); transition: filter 0.6s, transform 0.9s var(--ease); }
.coach__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(201, 243, 29, 0.12), transparent 60%), linear-gradient(0deg, rgba(11, 11, 13, 0.6), transparent 50%); mix-blend-mode: multiply; }
.coach:hover .coach__img img { filter: saturate(1.1) contrast(1.05); transform: scale(1.04); }
.coach__body { padding: 32px 30px; display: flex; flex-direction: column; justify-content: center; }
.coach__body h3 { font-size: 2.2rem; }
.coach__role { color: var(--accent); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin: 8px 0 16px; }
.coach__body p:last-child { color: var(--muted); font-size: 0.98rem; }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  margin: 0; padding: 32px 28px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line); position: relative;
}
.quote::before {
  content: "“"; position: absolute; top: 10px; right: 22px;
  font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--accent); opacity: 0.25;
}
.quote p { font-size: 1.05rem; line-height: 1.55; margin-bottom: 20px; }
.quote footer { font-size: 0.85rem; color: var(--muted); }
.quote footer strong { color: var(--text); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); overflow: hidden; }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.8rem; color: var(--accent); line-height: 1;
  transition: transform 0.35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--accent); color: var(--accent-ink);
  padding: clamp(90px, 14vw, 170px) 0;
}
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__inner { text-align: center; max-width: 820px; }
.contact__title {
  font-size: clamp(3.4rem, 10vw, 8rem); line-height: 0.9; margin-bottom: 22px;
}
.contact__title em { font-style: normal; color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.08em; }
.contact__desc { font-size: 1.12rem; opacity: 0.8; max-width: 52ch; margin: 0 auto 36px; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact__small { margin-top: 28px; font-size: 0.9rem; opacity: 0.65; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0; border-top: 1px solid var(--line); background: var(--bg); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.footer__links a:hover { color: var(--text); }
.footer__legal { width: 100%; font-size: 0.8rem; color: var(--muted); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.7);
  transition: transform 0.35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: waRing 2.2s ease-out infinite;
}
@keyframes waRing { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .classes, .plans, .quotes, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .coaches { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0; z-index: 99;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(11, 11, 13, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    font-size: 1.6rem; font-family: var(--font-display); letter-spacing: 0.08em; font-weight: 400;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links .nav__cta { font-family: var(--font-body); font-size: 1rem; margin-top: 10px; }
  .nav__burger { display: block; z-index: 100; position: relative; }

  .hero { padding: 110px 0 70px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin: 8px auto 0; width: 100%; }
  .hero__frame { aspect-ratio: 4 / 5; max-height: 60vh; }
  .hero__proof { margin-bottom: 8px; }
  .hero__title { font-size: clamp(3.6rem, 16vw, 6rem); }
  .hero__badge--1 { left: -8px; }
  .hero__badge--2 { right: -8px; }
  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .classes, .plans, .quotes, .steps { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .coach { grid-template-columns: 1fr; }
  .coach__img { min-height: 300px; aspect-ratio: 4 / 4; }
  .hero__proof { gap: 22px; }
  .hero__badge { padding: 10px 14px; }
  .hero__badge-num { font-size: 1.5rem; }
  .btn--lg { width: 100%; justify-content: center; }
  .contact__actions { flex-direction: column; }
  .marquee__track { font-size: 1.3rem; }
}

/* Solo gateamos lo intrusivo; el resto se mantiene porque Windows suele activar reduced-motion por defecto */
@media (prefers-reduced-motion: reduce) {
  .blob { animation-duration: 40s; }
}
