/* Manantiales Golf · variante B ("Cine")
   Capítulos a pantalla completa: la foto queda fija y el texto cambia con el scroll. Tipografía quieta, negro y crema. */
:root {
  --black: #0E0D0A;
  --black-2: #15140F;
  --bone: #F1EBDC;
  --bone-2: rgba(241,235,220,0.76);
  --bone-3: rgba(241,235,220,0.52);
  --rule: rgba(241,235,220,0.16);
  --gold: #C5A56A;
  --paper: #F3EEE3;
  --ink: #16150F;
  --ink-2: rgba(22,21,15,0.66);
  --display: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --pad: clamp(20px, 6vw, 96px);
  --max: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; background: var(--black); color: var(--bone); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button, select, input, textarea { touch-action: manipulation; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip-link { position: absolute; left: var(--pad); top: -60px; z-index: 300; background: var(--gold); color: var(--black); padding: 12px 18px; font-size: 14px; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

/* ---------- Tipografía quieta ---------- */
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 4vw, 60px); line-height: 1.08; margin-bottom: 22px; max-width: 16ch; }
h2 em { font-style: italic; }
h2.dark { color: var(--ink); }
.kicker { font-size: 13px; color: var(--bone-2); margin-bottom: 18px; }
.chapter-no { font-size: 12.5px; color: var(--bone-3); margin-bottom: 26px; }
.chapter-no.dark { color: var(--ink-2); }
.lead { font-size: clamp(16px, 1.25vw, 19px); color: var(--bone-2); max-width: 46ch; }
.facts { margin-top: 18px; font-size: 14px; line-height: 1.7; color: var(--bone-3); max-width: 46ch; }
.statement { font-family: var(--display); font-size: clamp(24px, 2.6vw, 40px); line-height: 1.3; max-width: 26ch; }
.backing { margin-top: 22px; font-size: 14.5px; color: var(--bone-3); max-width: 52ch; line-height: 1.65; }
.caption { margin-top: 26px; font-size: 12.5px; color: var(--bone-3); }
.close { margin-top: 22px; font-family: var(--display); font-style: italic; font-size: clamp(20px, 2vw, 30px); color: var(--gold); }
.text-link { display: inline-block; margin-top: 26px; font-size: 14px; color: var(--bone); border-bottom: 1px solid var(--bone-2); padding-bottom: 3px; transition: color 0.2s, border-color 0.2s; }
.text-link:hover { color: var(--gold); border-color: var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 28px; font-size: 14px; font-weight: 500; color: var(--black); background: var(--bone); padding: 16px 28px; transition: background 0.2s, transform 0.2s var(--ease); }
.btn:hover { background: var(--gold); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; max-width: 620px; }
.figures dt { font-family: var(--display); font-size: clamp(40px, 4vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.figures dd { margin-top: 8px; font-size: 13.5px; color: var(--bone-3); max-width: 20ch; line-height: 1.4; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); transition: background 0.4s var(--ease), padding 0.4s var(--ease); }
.nav.is-solid { background: linear-gradient(180deg, rgba(14,13,10,0.7), rgba(14,13,10,0)); padding: 16px var(--pad); }
.nav-logo { position: relative; z-index: 2; }
.nav-logo img { height: 64px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 22px; position: relative; z-index: 2; }
.nav-cta { font-size: 14px; color: var(--bone); padding: 10px 0; border-bottom: 1px solid var(--bone-3); }
.nav-burger { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 26px; height: 1.5px; background: var(--bone); position: relative; transition: background 0.3s; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; width: 26px; height: 1.5px; background: var(--bone); transition: transform 0.3s var(--ease); }
.nav-burger span::before { top: -8px; } .nav-burger span::after { top: 8px; }
.nav.is-open .nav-burger span { background: transparent; }
.nav.is-open .nav-burger span::before { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav-burger span::after { transform: translateY(-8px) rotate(-45deg); }
.nav-links { position: fixed; inset: 0; background: var(--black); display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); gap: 4px; transform: translateY(-100%); opacity: 0; transition: transform 0.55s var(--ease), opacity 0.4s; }
.nav.is-open .nav-links { transform: none; opacity: 1; }
.nav-links a { font-family: var(--display); font-size: clamp(28px, 4.2vw, 52px); line-height: 1.2; color: var(--bone-2); padding: 4px 0; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--bone); }
.nav-links a[aria-current="true"]::after { content: ' ·'; color: var(--gold); }
.nav-links .btn-wa { font-family: var(--sans); font-size: 15px; color: var(--gold); margin-top: 22px; padding: 8px 0; }

/* Índice de capítulos (desktop) */
.chapters { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.chapters a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 4px 0; color: var(--bone-3); }
.chapters a::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transition: transform 0.2s, background 0.2s; }
.chapters a span { font-size: 11.5px; opacity: 0; transform: translateX(6px); transition: opacity 0.2s, transform 0.2s; }
.chapters a:hover span, .chapters a.is-active span { opacity: 1; transform: none; }
.chapters a.is-active { color: var(--bone); }
.chapters a.is-active::after { background: var(--gold); transform: scale(1.4); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,10,0.42) 0%, rgba(14,13,10,0.08) 30%, rgba(14,13,10,0.3) 55%, rgba(14,13,10,0.9) 100%), linear-gradient(90deg, rgba(14,13,10,0.5) 0%, rgba(14,13,10,0.15) 45%, rgba(14,13,10,0) 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(44px, 8vh, 96px); }
.hero h1 { font-size: clamp(40px, 5.6vw, 88px); line-height: 1.02; max-width: 14ch; margin-bottom: 20px; }
.hero-sub { font-family: var(--sans); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--bone-2); max-width: 56ch; }
.hero-claim { margin-top: 22px; font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.1; color: var(--bone); }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(32px, 6vh, 64px); }
.hero-scroll { font-size: 13px; color: var(--bone-2); display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; }
.hero-scroll::before { content: ''; width: 36px; height: 1px; background: var(--bone-2); }
.video-toggle { font-size: 13px; color: var(--bone-2); padding: 10px 0; }
.video-toggle .vt-play { display: none; }
.video-toggle[aria-pressed="true"] .vt-pause { display: none; }
.video-toggle[aria-pressed="true"] .vt-play { display: inline; }

/* ---------- Capítulos con escenario fijo ---------- */
.chapter { position: relative; }
.chapter .stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--black); }
.chapter .steps { position: relative; z-index: 1; margin-top: -100svh; pointer-events: none; }
.chapter .step { height: 100svh; }
.chapter .steps::after { content: ''; display: block; height: 100svh; }
.bgs { position: absolute; inset: 0; }
.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.1s var(--ease), transform 6s linear; }
.bg.is-active { opacity: 1; transform: scale(1); }
.frames { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-top: 120px; padding-bottom: clamp(44px, 9vh, 100px); display: grid; }
.frames .chapter-no { position: absolute; top: 96px; left: var(--pad); margin: 0; }
.frame { grid-area: 1 / 1; align-self: end; opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); pointer-events: none; }
.frame.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.15s; }
.frame h2:last-child { margin-bottom: 0; }

/* Pantallas quietas (texto sobre negro) */
.still { position: relative; z-index: 2; background: var(--black); padding: clamp(96px, 14vh, 180px) 0; }
.grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.defs li, .team li { padding: 22px 0; border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--bone-2); }
.defs li:last-child, .team li:last-child { border-bottom: 1px solid var(--rule); }
.defs b, .team b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--bone); margin-bottom: 6px; }
.team li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 4px 32px; }
.team i { display: block; font-style: normal; font-size: 13px; color: var(--bone-3); grid-column: 1; }
.team p { grid-column: 2; grid-row: 1 / span 2; }

/* Ficha técnica breve (club house) */
.ficha { max-width: 520px; }
.ficha li { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); padding: 11px 0; border-top: 1px solid var(--rule); }
.ficha li:last-child { border-bottom: 1px solid var(--rule); }

/* Acordeón de ficha técnica */
.acc details { border-top: 1px solid var(--rule); }
.acc details:last-child { border-bottom: 1px solid var(--rule); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-family: var(--display); font-size: 21px; color: var(--bone); position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1px solid var(--bone-2); border-bottom: 1px solid var(--bone-2); transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--ease); }
.acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc details ul { padding: 0 0 22px; }
.acc details li { font-size: 15px; color: var(--bone-2); padding: 6px 0 6px 18px; position: relative; }
.acc details li::before { content: ''; position: absolute; left: 0; top: 16px; width: 6px; height: 1px; background: var(--gold); }
.defs.reasons { counter-reset: r; }
.defs.reasons li { position: relative; padding-left: 52px; counter-increment: r; }
.defs.reasons li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 26px; font-family: var(--display); font-size: 15px; color: var(--gold); }

/* Video del recorrido */
.film { padding-top: 0; }
.film-frame { background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.film-video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Video del club house: controles grandes */
.film-frame { position: relative; }
.film-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 104px; height: 104px; border-radius: 50%; background: rgba(241,235,220,0.94); color: var(--black); display: flex; align-items: center; justify-content: center; transition: transform 0.2s var(--ease), opacity 0.3s, background 0.2s; }
.film-play svg { width: 44px; height: 44px; margin-left: 4px; }
.film-play:hover { background: var(--gold); }
.film-frame.is-playing .film-play { opacity: 0; pointer-events: none; }
.film-frame.is-playing:hover .film-play { opacity: 0.9; pointer-events: auto; }
.film-frame.is-playing .film-play svg { margin-left: 0; }
.ico-pause { display: none; }
.is-playing .ico-pause { display: block; } .is-playing .ico-play { display: none; }
.film-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: linear-gradient(0deg, rgba(14,13,10,0.85), rgba(14,13,10,0)); }
.film-btn { width: 52px; height: 52px; border-radius: 50%; background: rgba(241,235,220,0.14); color: var(--bone); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.film-btn:hover { background: rgba(241,235,220,0.3); }
.film-btn svg { width: 24px; height: 24px; }
.film-mute.is-muted .ico-wave { display: none; }
.film-seek { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; background: rgba(241,235,220,0.3); border-radius: 2px; cursor: pointer; }
.film-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--bone); border: 0; }
.film-seek::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--bone); border: 0; }
.film-time { font-size: 13px; color: var(--bone-2); min-width: 4ch; font-variant-numeric: tabular-nums; }

/* Chat inline */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-launch { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 20px; border-radius: 999px; background: var(--bone); color: var(--black); font-size: 14px; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,0.35); transition: background 0.2s, transform 0.2s var(--ease); }
.chat-launch:hover { background: var(--gold); }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: #3FA35B; box-shadow: 0 0 0 0 rgba(63,163,91,0.6); }
.chat.is-nudge .chat-dot { animation: chat-pulse 1.6s ease-out 3; }
@keyframes chat-pulse { 0% { box-shadow: 0 0 0 0 rgba(63,163,91,0.6); } 100% { box-shadow: 0 0 0 14px rgba(63,163,91,0); } }
.chat.is-nudge .chat-launch { transform: translateY(-4px); }
.chat-panel[hidden] { display: none; }
.chat-panel { width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--black-2); color: var(--bone); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.chat-head b { font-family: var(--display); font-weight: 400; font-size: 18px; }
.chat-head span { font-size: 12px; color: var(--bone-3); flex: 1; }
.chat-close { width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--bone-2); }
.chat-close:hover { background: rgba(241,235,220,0.1); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.chat-msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.chat-msg.bot { background: rgba(241,235,220,0.08); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.me { background: var(--bone); color: var(--black); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chat-link { font-size: 13px; color: var(--gold); border: 1px solid rgba(197,165,106,0.5); border-radius: 999px; padding: 6px 12px; }
.chat-link:hover { background: var(--gold); color: var(--black); }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat-chip { font-size: 13px; color: var(--bone); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 12px; }
.chat-chip:hover { border-color: var(--gold); color: var(--gold); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--rule); }
.chat-input { flex: 1; font: inherit; font-size: 15px; color: var(--bone); background: rgba(241,235,220,0.06); border: 1px solid var(--rule); border-radius: 999px; padding: 12px 16px; }
.chat-input:focus { outline: none; border-color: var(--gold); }
.chat-send { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--black); display: flex; align-items: center; justify-content: center; }
.chat-send svg { width: 20px; height: 20px; }
body.no-scroll .chat { display: none; }

/* Interludio de papel (planos) */
.paper { position: relative; z-index: 2; background: var(--paper); color: var(--ink); padding: clamp(80px, 12vh, 150px) 0; }
.paper-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.paper-imgs { display: grid; gap: 16px; }

/* Rieles de galería */
.rail { position: relative; z-index: 2; background: var(--black); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: clamp(28px, 4vh, 48px) var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail figure { flex: 0 0 auto; width: min(70vw, 1000px); margin: 0; scroll-snap-align: start; }
.rail button { display: block; width: 100%; }
.rail img { width: 100%; height: clamp(300px, 62vh, 680px); object-fit: cover; }
.rail figcaption { margin-top: 10px; font-size: 12.5px; color: var(--bone-3); }

/* ---------- Contacto ---------- */
address { font-style: normal; margin-top: 40px; font-size: 14px; color: var(--bone-3); line-height: 1.8; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; color: var(--bone-3); }
.field .req { color: var(--gold); }
.field input, .field select, .field textarea { font: inherit; color: var(--bone); background: transparent; border: 0; border-bottom: 1px solid rgba(241,235,220,0.35); padding: 12px 0; border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color 0.2s; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 30px; }
.field select option { color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--bone-3); }
.field-error { font-size: 13px; color: #E2A28C; display: none; }
.field.is-error .field-error { display: block; }
.field.is-error input, .field.is-error select { border-bottom-color: #E2A28C; }
.btn .btn-busy { display: none; }
.form.is-busy .btn .btn-label { display: none; }
.form.is-busy .btn .btn-busy { display: inline; }
.form .btn { margin-top: 0; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 14px; color: var(--bone-2); min-height: 1.5em; }
.form-status.is-ok { color: var(--gold); }
.form-status.is-error { color: #E2A28C; }
.form-note { font-size: 12.5px; color: var(--bone-3); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; background: var(--black-2); border-top: 1px solid var(--rule); padding: 56px 0 44px; }
.footer img { height: 34px; width: auto; margin-bottom: 20px; }
.footer p { font-size: 14px; color: var(--bone-2); }
.footer small { display: block; margin-top: 14px; font-size: 12.5px; color: var(--bone-3); max-width: 70ch; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(14,13,10,0.96); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s ease-out; }
.lightbox.is-open { display: flex; }
.lightbox.is-visible { opacity: 1; }
.lightbox figure { margin: 0; max-width: min(92vw, 1600px); max-height: 100vh; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 60px 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { font-size: 13px; color: var(--bone-2); }
.lightbox-count { position: fixed; top: 24px; left: var(--pad); font-size: 13px; color: var(--bone-2); }
.lightbox-close, .lightbox-prev, .lightbox-next { position: fixed; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 50%; color: var(--bone); transition: background 0.2s; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(241,235,220,0.1); }
.lightbox-close { top: 20px; right: var(--pad); }
.lightbox-prev { left: var(--pad); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--pad); top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 18px; height: 18px; }

/* ---------- WhatsApp flotante (mobile) ---------- */
.wa-float { display: none; }
@media (max-width: 860px) {
  .chat { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .chat-launch-text { display: none; }
  .chat-launch { width: 56px; padding: 0; justify-content: center; }
  .chat.is-open .chat-launch { display: none; }
  .nav-logo img { height: 44px; }
  .film-play { width: 76px; height: 76px; } .film-play svg { width: 32px; height: 32px; }
  .film-btn { width: 44px; height: 44px; } .film-time { display: none; }
  .wa-float { position: fixed; right: 84px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 18px; border-radius: 999px; background: var(--gold); color: var(--black); font-size: 14px; font-weight: 500; transition: transform 0.2s var(--ease), opacity 0.3s; }
  .wa-float svg { width: 18px; height: 18px; }
  .wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
  body.no-scroll .wa-float { opacity: 0; pointer-events: none; }
}

/* ---------- Modo captura (?noanim): capítulos planos ---------- */
.noanim .chapter .stage { position: relative; height: auto; min-height: 0; padding: 120px 0 80px; }
.noanim .chapter .steps { display: none; }
.noanim .bgs { position: absolute; inset: 0; }
.noanim .bg { opacity: 0; transform: none; }
.noanim .bg.is-active { opacity: 1; }
.noanim .frames { position: relative; padding-top: 0; gap: 48px; }
.noanim .frames .chapter-no { position: relative; top: auto; left: auto; margin-bottom: 40px; }
.noanim .frame { grid-area: auto; opacity: 1 !important; transform: none !important; }
.noanim .hero { height: 860px; }
.noanim .rail img { height: 420px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid, .paper-grid, .team li { grid-template-columns: 1fr; }
  .team p { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .form { grid-template-columns: 1fr; }
  .nav-cta, .chapters { display: none; }
  .hero h1 { max-width: 11ch; }
  .rail figure { width: 84vw; }
  .rail img { height: clamp(240px, 48vh, 460px); }
  .figures { gap: 22px 20px; }
  .frames .chapter-no { top: 84px; }
  .noanim .rail img { height: 300px; }
  .noanim .hero { height: 760px; }
}

/* ---------- Selector de idioma ---------- */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--bone-3); border-radius: 999px; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 10px; border-radius: 999px; font-size: 13px; letter-spacing: 0.08em; color: var(--bone-2); transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.lang a:hover { color: var(--bone); background: rgba(241,235,220,0.12); }
.lang a[aria-current="true"] { color: var(--black); background: var(--bone); }
.nav-links .lang-menu { margin-top: 28px; align-self: flex-start; border-color: rgba(241,235,220,0.3); }
.nav-links .lang-menu a { font-family: var(--sans); font-size: 14px; min-width: 52px; min-height: 44px; padding: 0 14px; border-bottom: 0; }
.nav-links .lang-menu a::after { display: none; }
.nav-links .lang-menu a:hover { padding-left: 14px; }
.nav-links .lang-menu a[aria-current="true"] { color: var(--black); }
@media (max-width: 860px) {
  .lang { padding: 2px; }
  .lang a { min-width: 36px; min-height: 36px; padding: 0 6px; font-size: 12px; }
}
