/* ===== Fuerza +40 · v32 «esqueleto panes» sobre carbón ===== */
@font-face { font-family: "Caveat"; src: url("assets/fonts2/caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Serif32"; src: url("assets/fonts2/serif-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
:root { --c0: #151319; --c1: #1e1a22; --c2: #2a2530; --c3: #39323f; --l32: rgba(255,248,239,.12); --wa: #3fdb80; }

body.v32 { background: var(--c0); color: var(--paper); }
.v32 .skip-link { z-index: 100; }
.v32 em { font-family: "Serif32", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; text-transform: none; }
.v32 :focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- cabecera ---------- */
.top32 { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: .7rem clamp(1rem, 4vw, 2.4rem); background: rgba(21,19,25,.82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--l32); }
.brand2 { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; text-decoration: none; line-height: 1; }
.brand2 img { width: 38px; height: auto; }
.brand2 .wm { display: grid; line-height: .95; }
.brand2 .wm .p { font: 600 .82rem "DM Sans", sans-serif; letter-spacing: -.01em; color: var(--paper); }
.brand2 .wm .r { font: 800 1.05rem "DM Sans", sans-serif; letter-spacing: -.02em; color: var(--pink); }
.brand2 .wm sup { font-size: .45em; font-weight: 600; vertical-align: top; margin-left: 1px; }
.brand2 .firma { grid-column: 1 / -1; width: 132px; height: 27px; margin: -2px 0 0 26px; }
.firma text { font-family: "Caveat", cursive; font-weight: 600; fill: var(--yellow); stroke: var(--yellow); stroke-width: .6; stroke-dasharray: 900; stroke-dashoffset: 900; fill-opacity: 0; animation: escribe32 1.6s cubic-bezier(.2,.8,.2,1) .3s forwards, relleno32 .5s 1.2s forwards; }
@keyframes escribe32 { to { stroke-dashoffset: 0; } }
@keyframes relleno32 { to { fill-opacity: 1; stroke-width: 0; } }
.wa-top { position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #06210f; }
.wa-top svg { width: 27px; height: 27px; position: relative; z-index: 1; }
.wa-top::before, .wa-top::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: onda32 2.4s cubic-bezier(.2,.6,.3,1) infinite; }
.wa-top::after { animation-delay: 1.2s; }
@keyframes onda32 { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.75); opacity: 0; } }
.wa-top .badge { position: absolute; top: -3px; right: -3px; z-index: 2; width: 15px; height: 15px; border-radius: 50%; background: var(--pink); border: 2.5px solid var(--c0); }

/* ---------- utilidades de sección ---------- */
.v32 main > section:not(.hero):not(.anti-save-strip):not(.workout-studio):not(.remedir):not(.fit-check) { max-width: 1180px; margin: 0 auto; padding: clamp(3.5rem, 9vw, 6.5rem) clamp(1rem, 5vw, 2.4rem); }
.eyebrow32 { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; font: 800 .74rem/1 "DM Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.eyebrow32::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.h32 { margin: 0 0 1.2rem; font: 400 clamp(3rem, 12vw, 5.4rem)/.9 "Bebas Neue", sans-serif; letter-spacing: .01em; color: var(--paper); }
.h32 span { color: var(--pink); }
.h32 em { color: var(--lime); font-size: .82em; }
.navaja32 { margin: 1rem 0 0; font: italic 1.6rem/1.15 "Serif32", Georgia, serif; color: var(--yellow); }
.aviso32 { margin-top: 1rem; font-size: .82rem; line-height: 1.45; color: #a49aa8; }
.rv32 { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.rv32.in { opacity: 1; transform: none; }

/* ---------- arranque: story + selector ---------- */
.v32 .nivel { padding-top: clamp(1.2rem, 4vw, 2.4rem); }
.n32-grid { display: grid; gap: 1.4rem; }
.historia { position: relative; height: min(46svh, 440px); border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -25px rgba(0,0,0,.9); isolation: isolate; }
.h-media { position: absolute; inset: 0; }
.h-media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity .6s ease; }
.h-media .slide.on { opacity: 1; animation: ken32 3.4s linear forwards; }
@keyframes ken32 { from { transform: scale(1.03); } to { transform: scale(1.13); } }
.historia::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent 26%, transparent 68%, rgba(0,0,0,.6)); pointer-events: none; }
.h-barras { position: absolute; left: 10px; right: 10px; top: 10px; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.h-barras i { height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.h-barras i b { display: block; height: 100%; width: 0; background: #fff; }
.h-barras i.done b { width: 100%; }
.h-barras i.on b { animation: barra32 3.4s linear forwards; }
@keyframes barra32 { to { width: 100%; } }
.h-cabeza { position: absolute; left: 12px; right: 12px; top: 22px; z-index: 2; display: flex; align-items: center; gap: 8px; color: #fff; font: 600 .78rem "DM Sans", sans-serif; }
.h-cabeza img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 1.5px solid #fff; }
.h-cabeza span { opacity: .75; font-weight: 500; }
.h-nivel { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 2px 12px 5px; border-radius: 10px; background: var(--lime); color: var(--ink); font: 700 1.8rem/1 "Caveat", cursive; transform: rotate(-4deg); }
.h-coment { position: absolute; right: 10px; bottom: 12px; z-index: 2; max-width: 50%; padding: 8px 12px; border-radius: 16px; background: rgba(255,255,255,.93); color: #111; font: .8rem/1.2 "DM Sans", sans-serif; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.h-coment b { display: block; font-size: .72rem; color: #666; font-weight: 600; }
.h-coment strong { font-size: 1rem; letter-spacing: .04em; }
.h-tap { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: 1fr 2fr; }
.h-tap button { background: none; border: 0; cursor: pointer; }
.v32 .nivel-kicker { color: var(--pink); }
.v32 .nivel-h { color: var(--paper); font-size: clamp(3.4rem, 15vw, 6rem); line-height: .88; }
.v32 .nivel-h span { color: var(--lime); }
.v32 .nivel-lede { color: #ddd3e2; }
.v32 .nivel-lede strong { color: #fff; }
.n32-cta { display: inline-flex; align-items: center; gap: .6rem; min-height: 58px; padding: .8rem 1.3rem; border-radius: 16px; background: var(--pink); color: #fff; text-decoration: none; font: 1.45rem/1 "Bebas Neue", sans-serif; letter-spacing: .05em; animation: respira32 2.8s ease-in-out infinite; }
.n32-cta svg { width: 22px; height: 22px; }
@keyframes respira32 { 0%,100% { transform: scale(1); box-shadow: 0 10px 30px -8px rgba(255,63,120,.55); } 50% { transform: scale(1.03); box-shadow: 0 14px 40px -6px rgba(255,63,120,.8); } }

/* selector con foto */
.nivel-lista.con-foto { margin-top: 2rem; }
.v32 .nivel-btn { grid-template-columns: 74px 1fr; gap: .25rem .9rem; padding: .6rem .8rem .6rem .6rem; background: var(--c1); color: var(--paper); border: 1px solid var(--l32); border-radius: 18px; box-shadow: none; }
.v32 .nivel-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(0,0,0,.8); }
.v32 .nivel-btn .nivel-foto { grid-row: 1 / span 3; position: relative; width: 74px; height: 92px; border-radius: 12px; overflow: hidden; }
.v32 .nivel-btn .nivel-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.v32 .nivel-btn .nivel-foto b { position: absolute; left: 5px; top: 5px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c0); color: var(--lime); font: 1.15rem/1 "Bebas Neue", sans-serif; font-weight: 400; }
.v32 .nivel-btn .nivel-num { display: none; }
.v32 .nivel-barra i { border-color: rgba(255,248,239,.4); }
.v32 .nivel-btn .nivel-frase { font-size: .98rem; }
.v32 .nivel-btn[aria-checked="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); box-shadow: 0 16px 40px -18px rgba(183,255,74,.7); }
.v32 .nivel-btn[aria-checked="true"] .nivel-barra i { border-color: var(--ink); }
.v32 .nivel-btn[aria-checked="true"] .nivel-barra i.on { background: var(--ink); }
.v32 .nivel-lista.elegido .nivel-btn[aria-checked="false"] { opacity: .5; }
.v32 .nivel-resultado { border-radius: 24px; border: 1px solid rgba(183,255,74,.45); background: linear-gradient(160deg, var(--c2), var(--c1) 60%); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.nr-foto-obj { display: grid; grid-template-columns: 74px 1fr; gap: .9rem; align-items: center; }
.nr-foto-obj img { width: 74px; height: 92px; border-radius: 12px; object-fit: cover; object-position: 50% 30%; border: 2px solid var(--lime); }
.v32 .nr-go { border-radius: 16px; border: 0; box-shadow: none; }
.v32 .nr-wa { border-radius: 16px; }
.v32 .nr-prog { border-radius: 16px; border: 0; box-shadow: none; }
.v32 .nr-version { border-radius: 8px; }

/* ---------- escena ---------- */
.voces32 { display: grid; gap: .6rem; max-width: 460px; margin: 1.4rem 0 .4rem; }
.voz32 { justify-self: start; margin: 0; padding: .75rem 1rem; border-radius: 20px 20px 20px 6px; background: var(--c2); border: 1px solid var(--l32); font-size: 1rem; max-width: 90%; }
.voz32:nth-child(2) { justify-self: end; border-radius: 20px 20px 6px 20px; background: var(--c3); }
.voz32:nth-child(3) { background: rgba(255,63,120,.14); border-color: rgba(255,63,120,.35); }
.giro32 { margin-top: 2.2rem; padding: 1.3rem 1.2rem; border-radius: 20px; border: 1px solid rgba(183,255,74,.3); background: rgba(183,255,74,.06); }
.giro32 p { margin: 0; font-size: 1.05rem; line-height: 1.55; color: #ece4f0; }
.giro32 strong { color: #fff; }

/* ---------- zona de entreno: la «pantalla» crema ---------- */
.zona-entreno { position: relative; margin: 0 auto; max-width: 1240px; border-radius: 32px; overflow: hidden; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
@media (max-width: 859px) { .zona-entreno { border-radius: 28px 28px 0 0; } }
.sesiones32-intro { padding: clamp(2.6rem, 7vw, 4.5rem) clamp(1rem, 5vw, 2.4rem) 0; max-width: 1180px; margin: 0 auto; }
.sesiones32-intro .eyebrow32 { color: var(--violet); }
.sesiones32-intro .h32 { color: var(--ink); }
.sesiones32-intro .h32 em { color: var(--pink); }
.sesiones32-intro p { max-width: 52ch; color: var(--ink-soft); }
.zona-entreno .hero { padding-top: 1.5rem; }
.zona-entreno .hero-copy h1 { font-size: clamp(2.6rem, 10vw, 4.4rem); }
.v32 .remedir { max-width: none; background: var(--paper); color: var(--ink); border-top: 0; padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 5vw, 2.4rem); }
.v32 .remedir .nivel-h { color: var(--ink); }
.v32 .remedir .nivel-h span { color: var(--violet); }
.v32 .remedir .nivel-lede { color: var(--ink-soft); }
.v32 .remedir .nivel-btn { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }

/* ---------- deslizador antes / ahora ---------- */
.ba { position: relative; aspect-ratio: .52; max-height: 560px; border-radius: 20px; overflow: hidden; background: #ddd; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .despues { clip-path: inset(0 0 0 var(--p, 50%)); }
.ba .bar { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.4); pointer-events: none; }
.ba .bar::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151319' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center/22px no-repeat; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ba .ahora { position: absolute; right: 12px; top: 10px; font: 700 1.7rem "Caveat", cursive; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.55); transform: rotate(-5deg); pointer-events: none; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba-hint { display: block; margin-top: .5rem; font-size: .8rem; color: #a49aa8; text-align: center; }

/* ---------- casos ---------- */
.casos32-lista { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
.caso32 { display: grid; gap: 1.1rem; padding: 1rem; border-radius: 26px; background: linear-gradient(160deg, var(--c2), var(--c1) 60%); border: 1px solid var(--l32); }
.c32-txt h3 { margin: 0 0 .6rem; font: 400 2.1rem/.95 "Bebas Neue", sans-serif; color: var(--paper); }
.c32-txt h3 em { color: var(--lime); font-size: .85em; }
.c32-txt blockquote { margin: 0 0 .8rem; font: italic 1.35rem/1.2 "Serif32", Georgia, serif; color: var(--yellow); }
.c32-txt .quien { margin: 0 0 .8rem; font-size: .88rem; color: #ddd3e2; }
.c32-txt ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.c32-txt li { position: relative; padding-left: 1.6rem; font-size: .97rem; color: #ece4f0; }
.c32-txt li::before { content: ""; position: absolute; left: 0; top: .4em; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 4px var(--c2); }
.c32-txt li.no::before { background: var(--pink); }
.c32-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--pink); text-decoration: none; font: 1.3rem/1 "Bebas Neue", sans-serif; letter-spacing: .04em; }
.c32-link svg { width: 18px; height: 18px; }

/* ---------- giro con Jonathan ---------- */
.giro-v32 { display: grid; gap: 2rem; align-items: center; }
.g32-copy p { color: #ece4f0; font-size: 1.05rem; line-height: 1.55; max-width: 46ch; }
.g32-copy .navaja32 { color: var(--yellow); }
.tach32 { position: relative; color: #8f8594; }
.tach32::after { content: ""; position: absolute; left: -3%; right: -3%; top: 52%; height: .09em; background: var(--pink); transform: rotate(-4deg); }
.polaroid32 { position: relative; width: min(80%, 340px); margin: 0 auto; padding: 12px 12px 54px; background: #fbf6ee; border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.85); transform: rotate(3deg); }
.polaroid32 img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid32 figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font: 600 1.5rem "Caveat", cursive; color: #2a1f1a; }
.polaroid32::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; margin-left: -55px; background: rgba(183,255,74,.6); transform: rotate(-3deg); }

/* ---------- programa + Montse ---------- */
.p32-grid, .m32-grid { display: grid; gap: 1.4rem; align-items: start; }
.p32-pilares { display: grid; gap: .8rem; }
.p32-pilares article { position: relative; padding: 1.2rem 1.2rem 1.1rem; border-radius: 22px; background: var(--c1); border: 1px solid var(--l32); overflow: hidden; }
.p32-pilares span { position: absolute; right: -4px; top: -14px; font: 6.5rem/1 "Bebas Neue", sans-serif; color: rgba(255,248,239,.05); }
.p32-pilares h3 { margin: 0 0 .4rem; font: 400 1.9rem/.95 "Bebas Neue", sans-serif; color: var(--lime); }
.p32-pilares p { margin: 0; color: #ddd3e2; font-size: .97rem; }
.v32 .programa-video, .m32-video { position: relative; display: block; width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 9 / 13; overflow: hidden; border: 0; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); text-decoration: none; }
.m32-video img { width: 100%; height: 100%; object-fit: cover; }
.m32-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(21,19,25,.92)); }
.v32 .pv-play { border-radius: 50%; }
.v32 .pv-cap b { font-family: "Bebas Neue", sans-serif; }

/* ---------- encaje (¿es para ti?) ---------- */
.v32 .fit-check { background: var(--c1); }

/* ---------- final ---------- */
.final32 { display: grid; gap: 1.6rem; align-items: center; }
.f32-foto { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.f32-foto img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 30%; }
.f32-copy > p { color: #ece4f0; font-size: 1.05rem; line-height: 1.55; max-width: 44ch; }
.f32-acciones { display: grid; gap: .8rem; margin: 1.4rem 0 .8rem; max-width: 460px; }
.f32-reservar, .f32-wa { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 64px; padding: .9rem 1.2rem; border-radius: 18px; text-decoration: none; font: 1.6rem/1 "Bebas Neue", sans-serif; letter-spacing: .04em; }
.f32-reservar { background: var(--violet); color: #fff; animation: respira-v 2.8s ease-in-out infinite; }
.f32-wa { background: var(--wa); color: #06210f; animation: respira-w 2.8s ease-in-out infinite 1.4s; }
.f32-wa svg { width: 24px; height: 24px; }
@keyframes respira-v { 0%,100% { transform: scale(1); box-shadow: 0 10px 30px -8px rgba(111,60,195,.6); } 50% { transform: scale(1.025); box-shadow: 0 14px 40px -6px rgba(111,60,195,.85); } }
@keyframes respira-w { 0%,100% { transform: scale(1); box-shadow: 0 10px 30px -8px rgba(63,219,128,.45); } 50% { transform: scale(1.025); box-shadow: 0 14px 40px -6px rgba(63,219,128,.65); } }
.f32-copy small { display: block; color: #a49aa8; font-size: .85rem; }
.f32-pie { background: var(--c0); color: #a49aa8; border-top: 1px solid var(--l32); }
.f32-pie p, .f32-pie a { color: #ddd3e2; }

/* ---------- barra inferior en oscuro ---------- */
.v32 .dock { background: rgba(21,19,25,.86); border-top: 1px solid var(--l32); }
.v32 .dock-nivel { border-radius: 14px; border-color: var(--c3); background: var(--c2); }
.v32 .dock-reservar { border-radius: 14px; border: 0; box-shadow: none; }

@media (min-width: 860px) {
  .n32-grid { grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: center; }
  .historia { height: min(72svh, 640px); aspect-ratio: 9 / 16; width: auto; justify-self: center; }
  .v32 .nivel-lista.con-foto { grid-template-columns: repeat(5, 1fr); }
  .v32 .nivel-btn { grid-template-columns: 1fr; min-height: 0; }
  .v32 .nivel-btn .nivel-foto { grid-row: auto; width: 100%; height: 190px; }
  .caso32 { grid-template-columns: 300px 1fr; gap: 2rem; align-items: center; padding: 1.4rem; }
  .giro-v32 { grid-template-columns: 1.2fr .8fr; gap: 3rem; }
  .p32-grid { grid-template-columns: 1.1fr .9fr; }
  .m32-grid { grid-template-columns: 1fr 1fr; }
  .final32 { grid-template-columns: .9fr 1.1fr; gap: 3rem; }
  .v32 .dock { border: 1px solid var(--l32); border-radius: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
}
@media (prefers-reduced-motion: reduce) {
  .v32 *, .v32 *::before, .v32 *::after { animation: none !important; transition: none !important; }
  .rv32 { opacity: 1; transform: none; }
  .firma text { stroke-dashoffset: 0; fill-opacity: 1; }
}

/* en la zona de entreno no se repite el discurso de arriba */
.zona-entreno .hero-copy h1, .zona-entreno .hero-copy .hero-lede, .zona-entreno .hero-copy .hero-microcopy { display: none; }
.zona-entreno .hero { padding-top: .5rem; }
.polaroid32 img, .f32-foto img { height: auto; }
