/* ================= ESPARTANOS BODY GYM ================= */
:root {
  --black: #0a0a0a;
  --black-2: #141414;
  --black-3: #1d1d1d;
  --red: #d3141c;
  --red-deep: #9e0d13;
  --yellow: #ffc61a;
  --gold: #b68d57;
  --white: #ffffff;
  --light: #f5f4f0;
  --ink: #111111;
  --muted-d: #a3a3a3;
  --muted-l: #5f5f5f;
  --line-d: rgba(255,255,255,.1);
  --line-l: rgba(0,0,0,.09);
  --radius: 20px;
  --display: "Bebas Neue", "Impact", "Arial Narrow", sans-serif;
  --greek: "Cinzel", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1220px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: .95; }
h2 { font-family: var(--display); font-size: clamp(46px, 6.6vw, 88px); letter-spacing: .5px; }
h3 { font-family: var(--display); font-size: 30px; letter-spacing: .6px; }
.red { color: var(--red); }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: .08em; height: .32em; background: var(--yellow); z-index: -1; transform: skewX(-12deg); }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; }
[hidden] { display: none !important; }
.noscript { padding: 20px; border: 1px dashed currentColor; border-radius: 12px; }

/* ---------- Splash ---------- */
.splash { position: fixed; inset: 0; z-index: 200; background: var(--black); display: grid; place-items: center; align-content: center; gap: 24px; animation: splashOut .5s ease 2.4s forwards; }
.splash img { width: 190px; animation: rise 1s cubic-bezier(.2,.8,.2,1) both; filter: drop-shadow(0 20px 40px rgba(211,20,28,.35)); }
.splash__bar { width: 150px; height: 2px; background: var(--line-d); position: relative; overflow: hidden; }
.splash__bar::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: translateX(-100%); animation: load 1.1s ease .2s forwards; }
.splash.is-done { opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.94); } }
@keyframes load { to { transform: translateX(0); } }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s ease, background .25s, color .25s, box-shadow .25s, border-color .25s; line-height: 1.2; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: #ec1a23; box-shadow: 0 14px 34px -10px rgba(211,20,28,.75); transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { box-shadow: 0 14px 34px -10px rgba(255,198,26,.7); transform: translateY(-2px); }
.btn--line { border-color: rgba(255,255,255,.3); color: var(--white); background: transparent; }
.btn--line:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--line-dark { border-color: var(--line-l); color: var(--ink); background: transparent; }
.btn--line-dark:hover { border-color: var(--ink); }
.btn--white { background: var(--white); color: var(--red); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(0,0,0,.5); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Barra promo ---------- */
.promo-bar { background: var(--yellow); color: var(--ink); text-align: center; font-size: 14px; padding: 9px var(--gutter); position: relative; z-index: 60; }
.promo-bar p { margin: 0; }
.promo-bar a { font-weight: 800; margin-left: 6px; text-decoration: none; border-bottom: 2px solid currentColor; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 22px; padding: 0 var(--gutter); background: rgba(10,10,10,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.is-scrolled { border-color: var(--line-d); background: rgba(10,10,10,.92); }
.nav__logo img { height: 60px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 14.5px; color: #d9d9d9; position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links .nav__account { color: var(--yellow); }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-d); background: var(--black-2); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: border-color .25s, transform .25s; }
.cart-btn:hover { border-color: var(--yellow); }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.18); } }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-d); background: var(--black-2); border-radius: 12px; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); transition: transform .3s; }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) var(--gutter) 0; overflow: hidden; isolation: isolate; }
.hero__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 55% at 75% 40%, rgba(211,20,28,.32), transparent 70%), radial-gradient(30% 35% at 85% 85%, rgba(255,198,26,.12), transparent 70%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); opacity: .6; }
.hero__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; min-height: calc(100svh - var(--nav-h) - 220px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--greek); font-weight: 700; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.hero__title { font-family: var(--display); font-size: clamp(72px, 10.5vw, 152px); line-height: .86; letter-spacing: 1px; text-transform: uppercase; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .03em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.js.is-loaded .hero__title .line > span { transform: none; }
.hero__lead { max-width: 500px; font-size: clamp(16.5px, 1.5vw, 19px); color: #cfcfcf; margin: 26px 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Escenario 3D */
.stage { perspective: 1100px; height: clamp(360px, 42vw, 540px); display: grid; place-items: center; }
.stage__scene { position: relative; width: min(100%, 470px); aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); transform-style: preserve-3d; }
.ring--1 { transform: translateZ(-80px); border: 2px solid rgba(211,20,28,.55); box-shadow: 0 0 80px rgba(211,20,28,.25) inset; }
.ring--2 { inset: 9%; transform: translateZ(-20px); border-style: dashed; border-color: rgba(182,141,87,.45); animation: spin 40s linear infinite; }
.ring--3 { inset: 20%; transform: translateZ(30px); border-color: rgba(255,255,255,.18); }
@keyframes spin { to { rotate: 360deg; } }
.stage__shield { position: absolute; inset: 24%; border-radius: 50%; transform: translateZ(10px); background: radial-gradient(circle at 35% 30%, #2a2a2a, #0c0c0c 65%); box-shadow: 0 50px 80px -30px rgba(0,0,0,.9), inset 0 2px 0 rgba(255,255,255,.08), 0 0 0 10px rgba(182,141,87,.12); }
.stage__helmet { position: absolute; left: 50%; top: 50%; width: 66%; transform: translate(-50%, -54%) translateZ(90px); filter: drop-shadow(0 30px 30px rgba(0,0,0,.65)) drop-shadow(0 0 40px rgba(211,20,28,.3)); }
.chip { position: absolute; padding: 12px 16px; border-radius: 16px; background: rgba(20,20,20,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-d); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); display: grid; line-height: 1.1; }
.chip b { font-family: var(--display); font-size: 30px; font-weight: 400; }
.chip span { font-size: 12px; color: var(--muted-d); }
.chip--a { left: -4%; top: 14%; transform: translateZ(140px); }
.chip--a b { color: var(--yellow); }
.chip--b { right: -6%; top: 44%; transform: translateZ(170px); background: var(--red); border-color: transparent; }
.chip--b span { color: rgba(255,255,255,.85); }
.chip--c { left: 8%; bottom: 6%; transform: translateZ(110px); }
.hero__stats { list-style: none; margin: 40px auto 0; padding: 26px 0 34px; max-width: var(--max); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-d); }
.hero__stats li { padding: 0 18px; }
.hero__stats li:first-child { padding-left: 0; }
.hero__stats li + li { border-left: 1px solid var(--line-d); }
.hero__stats strong { display: block; font-family: var(--display); font-size: clamp(36px, 4vw, 54px); font-weight: 400; line-height: 1; }
.hero__stats span { font-size: 13.5px; color: var(--muted-d); }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 140px) var(--gutter); position: relative; }
.section--light { background: var(--light); color: var(--ink); }
.section--dark { background: var(--black); }
.section--red { background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); overflow: hidden; }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.kicker { font-family: var(--greek); font-weight: 700; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin: 0 0 16px; }
.section--dark .kicker { color: var(--gold); }
.kicker--light { color: var(--yellow) !important; }
.section__sub { max-width: 540px; font-size: 18px; margin: 20px 0 0; color: var(--muted-l); }
.section--dark .section__sub { color: var(--muted-d); }

/* Aparición (solo con JS; sin JS todo se ve) */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Planes (estilo limpio) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; background: var(--white); color: var(--ink); border-radius: 26px; padding: 34px 30px 30px; display: flex; flex-direction: column; border: 1px solid var(--line-l); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); transform-style: preserve-3d; transition: box-shadow .3s; }
.plan:hover { box-shadow: 0 50px 80px -40px rgba(0,0,0,.45); }
.plan--featured { background: var(--black); color: var(--white); border-color: var(--black); }
.plan__ribbon { position: absolute; top: -14px; left: 28px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; transform: translateZ(40px); }
.plan__name { font-size: 40px; transform: translateZ(30px); }
.plan__desc { margin: 6px 0 20px; color: var(--muted-l); }
.plan--featured .plan__desc { color: var(--muted-d); }
.plan__price { display: flex; align-items: flex-start; gap: 4px; margin: 0; font-family: var(--display); transform: translateZ(50px); }
.plan__price .cur { font-size: 30px; margin-top: 10px; }
.plan__price .amount { font-size: 88px; line-height: 1; }
.plan__price .per { font-family: var(--body); color: var(--muted-l); font-size: 14px; align-self: flex-end; margin-bottom: 14px; }
.plan--featured .plan__price .per { color: var(--muted-d); }
.plan__old { min-height: 24px; margin: 2px 0 20px; font-size: 14px; }
.plan__old s { color: var(--muted-l); }
.plan__old .badge { margin-left: 8px; }
.badge { display: inline-block; background: var(--red); color: var(--white); font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .5px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line-l); position: relative; font-size: 15px; }
.plan--featured li { border-color: var(--line-d); }
.plan li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan li.off { color: #aaa; text-decoration: line-through; }
.plan li.off::before { background: #ddd; }
.plan .btn { transform: translateZ(40px); }
.plan__alt { text-align: center; font-size: 13px; margin: 12px 0 0; }
.plan__alt a { color: inherit; opacity: .7; }
.plans__note { text-align: center; color: var(--muted-l); margin-top: 30px; font-size: 14.5px; }

/* ---------- Beneficios ---------- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { background: linear-gradient(160deg, var(--black-3), var(--black-2)); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 30px 26px; transform-style: preserve-3d; transition: border-color .3s; position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255,198,26,.12), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.feature:hover { border-color: rgba(211,20,28,.6); }
.feature:hover::after { opacity: 1; }
.feature__ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: rgba(211,20,28,.14); border: 1px solid rgba(211,20,28,.35); margin-bottom: 22px; transform: translateZ(40px); }
.feature h3 { margin-bottom: 10px; transform: translateZ(25px); }
.feature p { color: var(--muted-d); margin: 0; font-size: 15px; }

/* ---------- Horarios ---------- */
.hours { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hours p { margin: 0; padding: 10px 18px; background: var(--white); border: 1px solid var(--line-l); border-radius: 999px; font-weight: 600; font-size: 15px; }
.hours p:first-child { background: var(--ink); color: var(--white); border-color: var(--ink); }
.days { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.day { flex: 1 1 0; min-width: 62px; padding: 14px 8px; border-radius: 14px; border: 1px solid var(--line-l); background: var(--white); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.day:hover { border-color: var(--red); transform: translateY(-2px); }
.day.is-active { background: var(--red); color: var(--white); border-color: var(--red); box-shadow: 0 12px 24px -12px rgba(211,20,28,.8); }
.schedule { display: grid; gap: 10px; }
.slot { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 16px; padding: 18px 24px; border-radius: 16px; background: var(--white); border: 1px solid var(--line-l); transition: transform .25s, box-shadow .25s; animation: pop .45s ease both; }
.slot:hover { transform: translateX(6px); box-shadow: -6px 0 0 var(--red); }
.slot time { font-family: var(--display); font-size: 28px; color: var(--red); }
.slot b { font-size: 17.5px; }
.slot span { color: var(--muted-l); font-size: 14.5px; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Entrenadores (tarjetas que giran en 3D) ---------- */
.coaches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.coach { perspective: 1200px; height: 440px; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; text-align: left; }
.coach__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.coach:hover .coach__inner, .coach.is-flipped .coach__inner { transform: rotateY(180deg); }
.coach__face { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid var(--line-d); }
.coach__front { background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.92)), radial-gradient(120% 80% at 50% 10%, #3a0b0d, #121212 70%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.coach__front img.coach__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
/* Con foto: la tarjeta crea su propia capa para que la foto quede sobre el fondo y bajo el texto, con degradado para leer el nombre */
.coach__front:has(.coach__photo) { isolation: isolate; }
.coach__front .coach__photo { object-position: 50% 12%; }
.coach__front:has(.coach__photo)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.88)); pointer-events: none; }
.coach__front:has(.coach__photo) .coach__hint { background: rgba(0,0,0,.45); color: #fff; border-color: rgba(255,255,255,.25); }
.coach__initials { position: absolute; top: 18%; left: 0; right: 0; text-align: center; font-family: var(--display); font-size: 130px; line-height: 1; color: rgba(255,255,255,.08); -webkit-text-stroke: 1px rgba(182,141,87,.45); }
.coach__front h3 { font-size: 32px; position: relative; }
.coach__role { color: var(--yellow); font-weight: 700; font-size: 14px; margin: 4px 0 0; position: relative; }
.coach__hint { position: absolute; top: 18px; right: 18px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line-d); border-radius: 999px; color: var(--muted-d); }
.coach__back { transform: rotateY(180deg); background: linear-gradient(160deg, var(--red), var(--red-deep)); padding: 28px 24px; display: flex; flex-direction: column; }
.coach__back h3 { font-size: 30px; }
.coach__back p { font-size: 15px; margin: 12px 0 16px; color: rgba(255,255,255,.92); }
.coach__back ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px; }
.coach__back li { font-size: 13px; font-weight: 600; padding: 8px 12px; background: rgba(0,0,0,.2); border-radius: 10px; }

/* ---------- Tienda ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-l); background: var(--white); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product { background: var(--white); border-radius: 22px; border: 1px solid var(--line-l); overflow: hidden; display: flex; flex-direction: column; transform-style: preserve-3d; transition: box-shadow .3s; animation: pop .5s ease both; }
.product:hover { box-shadow: 0 40px 60px -35px rgba(0,0,0,.4); }
.product__img { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 40%, #fff, #ecebe6); transform-style: preserve-3d; }
.product__img svg { width: 52%; height: auto; transform: translateZ(50px); filter: drop-shadow(0 18px 18px rgba(0,0,0,.18)); transition: transform .4s; }
.product:hover .product__img svg { transform: translateZ(70px) rotate(-4deg); }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__img .badge { position: absolute; top: 14px; left: 14px; transform: translateZ(60px); font-size: 13px; padding: 5px 10px; }
.product__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); }
.product__name { font-family: var(--body); font-size: 16.5px; font-weight: 700; line-height: 1.3; margin: 6px 0 12px; letter-spacing: 0; }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product__price b { font-family: var(--display); font-size: 32px; font-weight: 400; }
.product__price s { color: #999; font-size: 14px; margin-left: 6px; }
.add { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--white); font-size: 24px; cursor: pointer; transition: background .25s, transform .25s; display: grid; place-items: center; }
.add:hover { background: var(--red); transform: rotate(90deg); }

/* ---------- Nutrición + IMC ---------- */
.section--red::before { content: "Ω"; position: absolute; right: -2%; top: -12%; font-family: var(--greek); font-size: 520px; line-height: 1; color: rgba(0,0,0,.09); pointer-events: none; }
.nutri { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; position: relative; }
.nutri__copy > p { font-size: 18px; color: rgba(255,255,255,.9); max-width: 500px; margin: 22px 0; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.checks li { padding-left: 34px; position: relative; font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 900; display: grid; place-items: center; }
.bmi { background: var(--white); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 50px 90px -40px rgba(0,0,0,.6); transform-style: preserve-3d; }
.bmi h3 { font-size: 40px; }
.bmi__sub { color: var(--muted-l); margin: 6px 0 22px; font-size: 15px; }
.bmi__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bmi__form .btn { grid-column: 1 / -1; }
.bmi__form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; }
.unit-input { display: flex; align-items: center; border: 1.5px solid var(--line-l); border-radius: 14px; background: var(--light); overflow: hidden; transition: border-color .25s; }
.unit-input:focus-within { border-color: var(--red); }
.unit-input input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px; font: 600 18px var(--body); color: var(--ink); outline: none; }
.unit-input select, .unit-input em { border: 0; background: transparent; padding: 0 12px; font: 700 14px var(--body); color: var(--muted-l); font-style: normal; }
.bmi__result { margin-top: 24px; }
.gauge { position: relative; padding-top: 14px; }
.gauge__bar { display: grid; grid-template-columns: 3.5fr 6.5fr 5fr 10fr; gap: 4px; height: 12px; }
.gauge__bar span { border-radius: 6px; }
.gauge__bar span:nth-child(1) { background: #6fb7ff; }
.gauge__bar span:nth-child(2) { background: #2fbf71; }
.gauge__bar span:nth-child(3) { background: var(--yellow); }
.gauge__bar span:nth-child(4) { background: var(--red); }
.gauge__needle { position: absolute; top: 0; left: 0%; width: 4px; height: 38px; margin-left: -2px; background: var(--ink); border-radius: 4px; transition: left 1s cubic-bezier(.2,.8,.2,1); opacity: 0; }
.gauge__needle.on { opacity: 1; }
.gauge__labels { display: grid; grid-template-columns: 3.5fr 6.5fr 5fr 10fr; font-size: 11.5px; color: var(--muted-l); margin-top: 8px; font-weight: 600; }
.bmi__value { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bmi__value b { font-family: var(--display); font-size: 56px; font-weight: 400; line-height: 1; }
.bmi__value span { font-weight: 800; font-size: 18px; }
.bmi__tip { margin: 0; color: var(--muted-l); font-size: 14.5px; }
.bmi__tip a { color: var(--red); font-weight: 700; }

/* ---------- Dudas ---------- */
.faq-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq-wrap .section__head .btn { margin-top: 26px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line-l); border-radius: 18px; padding: 0 24px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 24px 40px -30px rgba(0,0,0,.35); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--light); display: grid; place-items: center; font-size: 20px; transition: transform .3s, background .3s, color .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--red); color: var(--white); }
.faq details p { margin: 0 0 20px; color: var(--muted-l); }

/* ---------- Mi cuenta ---------- */
.account { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.login { margin-top: 30px; display: grid; gap: 14px; max-width: 420px; padding: 26px; background: var(--black-2); border: 1px solid var(--line-d); border-radius: var(--radius); }
.login label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: #d6d6d6; }
.login input { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-d); background: var(--black); color: var(--white); font: 500 16px var(--body); outline: none; transition: border-color .25s; }
.login input:focus { border-color: var(--yellow); }
.login__msg { margin: 0; font-size: 13.5px; color: var(--muted-d); }
.login__msg.is-error { color: #ff6b6b; }
.account.is-logged .login { display: none; }
.member { display: grid; gap: 20px; perspective: 1400px; }
.member__card { position: relative; border-radius: 26px; padding: 28px; overflow: hidden; background: linear-gradient(135deg, #1e1e1e 0%, #0d0d0d 55%, #2a0507 100%); border: 1px solid rgba(182,141,87,.35); box-shadow: 0 50px 90px -40px rgba(211,20,28,.45); transform-style: preserve-3d; }
.member__card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.08) 45%, transparent 60%); pointer-events: none; }
.member__top { display: flex; justify-content: space-between; align-items: center; }
.member__top img { width: 74px; transform: translateZ(40px); }
.member__plan { font-family: var(--greek); font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(182,141,87,.5); padding: 6px 12px; border-radius: 999px; }
.member__name { font-family: var(--display); font-size: 44px; line-height: 1; margin: 22px 0 2px; transform: translateZ(30px); }
.member__id { margin: 0; color: var(--muted-d); font-size: 14px; letter-spacing: 1px; }
.member__status { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-d); }
.member__status span { display: block; font-size: 13px; color: var(--muted-d); }
.member__status b { font-size: 21px; }
.member__days { text-align: right; }
.member__days b { font-family: var(--display); font-weight: 400; font-size: 58px; line-height: .9; color: var(--yellow); }
.member__status.is-warn .member__days b { color: #ff9a1a; }
.member__status.is-expired .member__days b { color: #ff4b4b; }
.member__progress { height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); margin-top: 16px; overflow: hidden; }
.member__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--yellow), var(--red)); border-radius: 8px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.member__actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.visits { background: var(--black-2); border: 1px solid var(--line-d); border-radius: 26px; padding: 26px; }
.visits__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.visits__head p { margin: 0; color: var(--muted-d); font-size: 14.5px; }
.visits__head p b { color: var(--white); }
.heat { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 20px; }
.heat__lbl { font-size: 11px; color: var(--muted-d); text-align: center; font-weight: 700; }
.heat__cell { height: 30px; border-radius: 6px; background: rgba(255,255,255,.06); position: relative; }
.heat__cell.on { background: var(--red); box-shadow: 0 0 12px rgba(211,20,28,.45); }
.heat__cell.today { outline: 2px solid var(--yellow); outline-offset: 1px; }
.visits__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-height: 260px; overflow: auto; }
.visits__list li { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: 14.5px; }
.visits__list li span:last-child { color: var(--muted-d); }

/* ---------- Contacto / Footer ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.contact__logo { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(211,20,28,.25)); }
.contact__list { list-style: none; padding: 0; margin: 28px 0; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line-d); }
.contact__list span { color: var(--muted-d); font-size: 14px; }
.contact__list a { text-decoration: none; font-weight: 600; } .contact__list a:hover { color: var(--yellow); }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 28px var(--gutter); border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: 13.5px; }
.footer p { margin: 0; } .footer a { text-decoration: none; } .footer a:hover { color: var(--white); }

/* ---------- Carrito ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 90; background: var(--white); color: var(--ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.cart-open .drawer { transform: none; }
.cart-open .drawer-bg { opacity: 1; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line-l); }
.drawer__head h3 { font-size: 34px; }
.drawer__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-l); background: var(--white); cursor: pointer; font-size: 16px; }
.drawer__items { flex: 1; overflow: auto; padding: 14px 24px; }
.drawer__empty { color: var(--muted-l); text-align: center; margin-top: 40px; }
.citem { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line-l); }
.citem__name { font-weight: 700; font-size: 15px; }
.citem__price { font-weight: 800; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-l); border-radius: 999px; padding: 2px; width: max-content; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--light); cursor: pointer; font-weight: 800; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.citem__rm { border: 0; background: none; color: var(--muted-l); font-size: 13px; cursor: pointer; text-decoration: underline; justify-self: end; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line-l); display: grid; gap: 10px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 6px; }
.drawer__total b { font-family: var(--display); font-size: 40px; font-weight: 400; }

/* ---------- Toast + WhatsApp ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); z-index: 120; background: var(--ink); color: var(--white); padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; border: 1px solid var(--line-d); max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6); transition: transform .25s; }
.wa:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 18px; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .coaches { grid-template-columns: 1fr; max-width: 420px; }
  .nav__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 18px; background: rgba(10,10,10,.97); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; margin: 0; }
  .nav__links a { font-family: var(--display); font-size: 42px; font-weight: 400; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav__burger { display: block; }
  .cart-btn { margin-left: auto; }
  .nav__cta { display: none; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .stage { height: 380px; order: -1; margin-bottom: -10px; }
  .stage__scene { width: min(80%, 360px); }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan--featured { order: -1; }
  .nutri, .faq-wrap, .account, .contact__grid { grid-template-columns: 1fr; }
  .contact__logo { max-width: 340px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --nav-h: 66px; }
  .nav { gap: 10px; }
  .nav__logo img { height: 42px; }
  .promo-bar { font-size: 12.5px; }
  .stage { height: 300px; }
  .chip { padding: 8px 12px; } .chip b { font-size: 22px; } .chip span { font-size: 10.5px; }
  .chip--a { left: 0; top: 8%; } .chip--b { right: -4%; } .chip--c { left: 2%; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .hero__stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .features, .coaches { grid-template-columns: 1fr; }
  .coach { height: 400px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product__body { padding: 14px; }
  .product__name { font-size: 14.5px; }
  .product__price b { font-size: 26px; }
  .product__price s { display: block; margin: 0; }
  .add { width: 40px; height: 40px; }
  .day { min-width: 0; flex-basis: calc(25% - 8px); padding: 12px 4px; }
  .slot { grid-template-columns: 84px 1fr; padding: 14px 16px; gap: 0 12px; }
  .slot time { grid-row: span 2; font-size: 24px; }
  .slot b { font-size: 16px; }
  .bmi__form { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .member__name { font-size: 36px; }
  .member__days b { font-size: 46px; }
  .section--red::before { font-size: 300px; }
}

/* Movimiento reducido: solo calmamos lo intrusivo; hover, giros de tarjetas y apariciones siguen vivos */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage__scene { animation: none; }
  .ring--2 { animation: none; }
}
