/* ═══════════════════════════════════════════════════════════════
   EL ÚLTIMO ADIÓS · web promocional
   Cine negro · oro (lo humano) · azul de señal (la máquina)
   Cormorant Garamond · Figtree · IBM Plex Mono
   ═══════════════════════════════════════════════════════════════ */

:root {
  --k0: #050505; --k1: #0A0A0A; --k2: #111110; --k3: #191816; --k4: #23211E;
  --gold: #D4AF6A; --gold-hi: #E8C98A; --gold-lo: #9A7D48; --gold-glow: rgba(212,175,106,.16);
  --cold: #9FD3FF; --cold-hi: #DDF0FF; --cold-dim: rgba(159,211,255,.28); --cold-glow: rgba(159,211,255,.12);
  --t0: #EDE8DF; --t1: #BDB6AA; --t2: #8A857C; --t3: #5E5A54;
  --line: rgba(237,232,223,.08); --line-gold: rgba(212,175,106,.22);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); background: var(--k0); color: var(--t0);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
::selection { background: var(--cold-dim); color: var(--t0); }
:focus-visible { outline: 2px solid var(--cold); outline-offset: 3px; border-radius: 4px; }

/* Grano de película */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 9000; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@media (max-width: 900px), (hover: none) { .grain { animation: none; inset: 0; width: 100%; height: 100%; opacity: .035; } }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }

/* ── Sistema (monoespaciada) ─────────────────────────── */
.sys { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cold); }
.sys.small { font-size: 10.5px; color: var(--t3); letter-spacing: .16em; }
.sys .cur::after { content: '▍'; margin-left: 2px; animation: blink 1s steps(2) infinite; color: var(--cold); }
@keyframes blink { 50% { opacity: 0; } }
.k { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.k::before { content: ''; width: 28px; height: 1px; background: var(--gold); opacity: .7; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 28px; transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(5,5,5,.72); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold); }
.brand img { width: 26px; height: 26px; }
.brand b { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .2px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { font-size: 13px; color: var(--t2); text-decoration: none; padding: 8px 13px; border-radius: 100px; transition: .3s; }
.nav-links a:hover { color: var(--t0); background: rgba(255,255,255,.05); }
.nav-cta { font-size: 13px; font-weight: 600; text-decoration: none; padding: 10px 18px; border-radius: 100px; background: var(--gold); color: var(--k0); transition: .3s; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-hi); transform: translateY(-1px); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--cold), var(--cold-hi)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--cold-dim); }
@media (max-width: 900px) { .nav-links { display: none; } .nav { padding: 14px 18px; } }

/* ── Botones ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 100px; font-size: 15px; font-weight: 600; text-decoration: none; transition: .35s var(--ease); letter-spacing: .1px; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-hi)); color: var(--k0); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px var(--gold-glow); }
.btn-ghost { border: 1px solid var(--line-gold); color: var(--gold-hi); }
.btn-ghost:hover { background: var(--gold-glow); border-color: var(--gold); }
.btn-cold { border: 1px solid var(--cold-dim); color: var(--cold-hi); }
.btn-cold:hover { background: var(--cold-glow); border-color: var(--cold); }
.btn.playing { border-color: var(--cold); background: var(--cold-glow); color: var(--cold-hi); }
.ico { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Ondas de voz ────────────────────────────────────── */
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 56px; max-width: 100%; overflow: hidden; }
.wave i { width: 3px; height: 22px; border-radius: 3px; background: var(--cold); opacity: .5; transform: scaleY(.25); transform-origin: center; transition: height .07s linear, opacity .07s linear; }
.wave:not(.idle) i { transform: none; }
.wave.idle i { animation: waveIdle 1.6s ease-in-out infinite; }
.wave.idle i:nth-child(3n) { animation-delay: .25s; } .wave.idle i:nth-child(5n) { animation-delay: .6s; } .wave.idle i:nth-child(7n) { animation-delay: .9s; }
@keyframes waveIdle { 0%,100% { transform: scaleY(.22); opacity: .3; } 50% { transform: scaleY(1); opacity: .8; } }
.wave.gold i { background: var(--gold); }
.wave.mini { height: 22px; gap: 2px; justify-content: flex-start; } .wave.mini i { width: 2px; }
.wave.big { height: 140px; gap: 5px; } .wave.big i { width: 4px; }

/* ═══════════════════════════════════════════════════════════════
   0 · COLD OPEN
   ═══════════════════════════════════════════════════════════════ */
.hero { position: relative; min-height: 92vh; display: grid; place-items: center; padding: 120px 24px 80px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(212,175,106,.10), transparent 70%); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0,0,0,.6)); }
.hero-in { position: relative; z-index: 1; max-width: 900px; text-align: center; display: grid; justify-items: center; gap: 22px; }
.h1 { font-size: clamp(44px, 8.4vw, 108px); line-height: .98; letter-spacing: -.012em; font-weight: 600; max-width: 12ch; font-kerning: none; }
.h1 em { font-style: italic; font-weight: 500; color: var(--gold-hi); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--t1); max-width: 620px; line-height: 1.6; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hero-wave { width: min(560px, 90vw); margin-top: 8px; }
.scanline { position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: linear-gradient(90deg, transparent, var(--cold), transparent); box-shadow: 0 0 24px var(--cold), 0 0 60px var(--cold-dim); opacity: 0; pointer-events: none; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--t3); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint::after { content: ''; width: 1px; height: 36px; background: linear-gradient(var(--cold), transparent); animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); transform-origin: top; opacity: 0; } }

/* ═══════════════════════════════════════════════════════════════
   ESCENAS (pinned)
   ═══════════════════════════════════════════════════════════════ */
.scene { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 100px 24px; overflow: hidden; }
.scene-in { width: 100%; max-width: var(--max); }
.scene h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 18px; text-wrap: balance; }
.scene h2 em { font-style: italic; font-weight: 500; color: var(--gold-hi); }
.p { font-size: 16.5px; color: var(--t1); line-height: 1.65; max-width: 520px; margin-bottom: 18px; }

/* 1 · Lo que se pierde */
.s1 { background: var(--k0); }
.s1 .scene-in { display: grid; gap: 40px; justify-items: center; text-align: center; }
.flat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 22px; width: min(820px, 100%); }
.flat .wave { height: 44px; }
.flat .wave i { background: var(--cold); }
.flat .wave.off i { background: var(--t3); animation: none; transform: none; }
.lines { display: grid; width: min(820px, 100%); }
.lines .line { grid-area: 1 / 1; font-family: var(--serif); font-size: clamp(26px, 4.2vw, 50px); line-height: 1.12; font-weight: 500; opacity: 0; text-wrap: balance; }
.lines .line.on { opacity: 1; }
.lines .line em { font-style: italic; color: var(--cold-hi); }
@media (max-width: 700px) { .flat { grid-template-columns: repeat(4, 1fr); gap: 12px 14px; } .flat .wave:nth-child(n+9) { display: none; } .lines .line { font-size: clamp(24px, 7vw, 32px); } }

/* 2 · Así funciona (placa + móvil) */
.s2 { background: linear-gradient(180deg, var(--k0), var(--k1) 50%, var(--k0)); }
.scene-in.two { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .scene-in.two { grid-template-columns: 1fr; gap: 36px; } }
.s2-vis { position: relative; height: 620px; }
.stone {
  position: absolute; left: 0; top: 0; width: min(300px, 46%); aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px; padding: 13% 8% 11%;
  background: linear-gradient(160deg, #35322d, #1e1b18 55%, #131110);
  box-shadow: 0 40px 80px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
}
.stone::before { content: ''; position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.engrave { position: relative; width: 100%; text-align: center; }
.engrave b { display: block; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; color: #9c9385; letter-spacing: .04em; text-shadow: 0 1px 0 rgba(255,255,255,.08), 0 -1px 1px rgba(0,0,0,.8); }
.engrave span { display: block; font-family: var(--mono); font-size: 11px; color: #6f685e; letter-spacing: .2em; margin-top: 6px; }
.plaque { position: relative; flex: none; width: 48%; aspect-ratio: 1; border-radius: 8px; padding: 9%; background: linear-gradient(145deg, #d9c99a, #b49a62 45%, #8f7745 80%, #c9b57f); box-shadow: 0 14px 30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 4px rgba(0,0,0,.35); }
.plaque img { width: 100%; height: 100%; }
.plaque .glow { position: absolute; inset: -6px; border-radius: 12px; box-shadow: 0 0 0 0 var(--cold); opacity: 0; pointer-events: none; }
.beam { position: absolute; left: -10%; right: -10%; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--cold-hi), transparent); box-shadow: 0 0 20px var(--cold), 0 0 50px var(--cold-dim); opacity: 0; }

.phone {
  position: absolute; right: 0; bottom: 0; width: min(300px, 52%); aspect-ratio: 9 / 19; border-radius: 44px;
  background: #0b0a09; padding: 10px;
  box-shadow: 0 0 0 2px #2a2621, 0 0 0 4px #0b0a09, 0 50px 100px rgba(0,0,0,.75), 0 0 80px var(--cold-glow);
}
.phone::before { content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 34%; height: 24px; background: #0b0a09; border-radius: 20px; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0C0B09; }
.screen .off { position: absolute; inset: 0; background: #000; z-index: 2; }
.mem { padding: 54px 18px 12px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.06); }
.mem img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; border: 2px solid var(--gold); box-shadow: 0 0 24px var(--gold-glow); }
.mem b { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.mem span { display: block; font-size: 10.5px; color: var(--t2); margin-top: 2px; }
.mem .st { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .18em; color: #6FCF97; text-transform: uppercase; }
.chat { padding: 12px 12px 16px; display: grid; gap: 9px; }
.msg { max-width: 88%; font-size: 12px; line-height: 1.45; padding: 9px 11px; border-radius: 14px; }
.msg.me { justify-self: end; background: #1a1815; color: var(--t1); border-bottom-right-radius: 4px; }
.msg.ai { justify-self: start; background: rgba(212,175,106,.10); border: 1px solid var(--line-gold); border-bottom-left-radius: 4px; }
.msg.typing { justify-self: start; display: flex; gap: 4px; padding: 10px 12px; }
.msg.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: typing 1.2s ease infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,100% { opacity: .25; } 50% { opacity: 1; transform: translateY(-2px); } }
.msg .mini-play { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cold); }
.msg .mini-play::before { content: '▶'; font-size: 8px; }
.msg .wave.mini { margin-top: 6px; }
@media (max-width: 600px) { .s2-vis { height: 540px; } .stone { width: 44%; gap: 10px; } .engrave b { font-size: 15px; letter-spacing: .03em; } .engrave span { font-size: 9.5px; letter-spacing: .16em; margin-top: 4px; } .plaque { width: 46%; } .phone { width: 56%; } .mem { padding-top: 44px; } .mem b { font-size: 18px; } }

/* 3 · Tres pasos (horizontal en escritorio) */
.hwrap { position: relative; overflow: hidden; background: var(--k1); }
.track { display: flex; }
.panel { flex: 0 0 100vw; min-height: 100vh; display: grid; place-items: center; padding: 100px 24px; }
.panel-in { width: 100%; max-width: 1080px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.panel .n { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; color: var(--cold); margin-bottom: 14px; }
.panel h3 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; margin-bottom: 14px; text-wrap: balance; }
.panel h3 em { font-style: italic; font-weight: 500; color: var(--gold-hi); }
.panel figure { position: relative; min-height: 320px; display: grid; place-items: center; }
.plate { width: min(280px, 80%); aspect-ratio: 1; border-radius: 10px; padding: 9%; background: linear-gradient(145deg, #d9c99a, #b49a62 45%, #8f7745 80%, #c9b57f); box-shadow: 0 30px 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.55); transform: rotate(-4deg); }
.plate img { width: 100%; height: 100%; }
.collage { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; }
.collage img { position: absolute; border-radius: 12px; object-fit: cover; box-shadow: 0 24px 50px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.06); }
.collage img:nth-child(1) { width: 62%; height: 46%; left: 0; top: 4%; transform: rotate(-3deg); }
.collage img:nth-child(2) { width: 46%; height: 42%; right: 0; top: 22%; transform: rotate(4deg); }
.collage img:nth-child(3) { width: 54%; height: 40%; left: 14%; bottom: 2%; transform: rotate(-1.5deg); }
.collage .note { position: absolute; right: 2%; bottom: 8%; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--cold); background: rgba(5,5,5,.8); padding: 8px 10px; border-radius: 6px; border: 1px solid var(--cold-dim); text-transform: uppercase; }
.visit { position: relative; width: min(300px, 80%); aspect-ratio: 1; display: grid; place-items: center; }
.visit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--cold-dim); animation: ring 3s ease-out infinite; }
.visit .ring:nth-child(2) { animation-delay: 1s; } .visit .ring:nth-child(3) { animation-delay: 2s; }
@keyframes ring { 0% { transform: scale(.4); opacity: 0; } 30% { opacity: .6; } 100% { transform: scale(1.05); opacity: 0; } }
.visit img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); box-shadow: 0 0 60px var(--gold-glow); }
@media (max-width: 900px) { .track { display: block; } .panel { flex: none; min-height: 0; padding: 70px 24px; } .panel-in { grid-template-columns: 1fr; gap: 30px; } .panel figure { min-height: 0; } }

/* 4 · La voz */
.s4 { background: var(--k0); text-align: center; }
.s4 .scene-in { display: grid; justify-items: center; gap: 18px; max-width: 900px; }
.s4 .k { justify-content: center; } .s4 .k::before { display: none; }
.s4 .p { text-align: center; margin: 0 auto; }
.s4 .wave.big { width: min(760px, 100%); margin: 14px 0 6px; }
.honest { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 32px); color: var(--t0); margin-top: 22px; max-width: 18ch; line-height: 1.25; }
.honest b { font-style: normal; font-weight: 500; color: var(--gold-hi); }
.s4 .sys.small { margin-top: 10px; }
.s4.playing { background: radial-gradient(ellipse 70% 60% at 50% 60%, var(--cold-glow), var(--k0) 70%); }

/* ═══════════════════════════════════════════════════════════════
   SECCIONES
   ═══════════════════════════════════════════════════════════════ */
.sec { padding: 120px 24px; position: relative; }
.sec-in { max-width: var(--max); margin: 0 auto; }
.sec h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.01em; margin-bottom: 12px; text-wrap: balance; }
.sec h2 em { font-style: italic; font-weight: 500; color: var(--gold-hi); }
.sec .sub { font-size: 16px; color: var(--t2); max-width: 560px; margin-bottom: 40px; }

/* Planes */
.planes { background: var(--k1); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; padding: 30px 26px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--k2); display: flex; flex-direction: column; gap: 14px; transition: .35s var(--ease); }
.plan:hover { border-color: var(--line-gold); transform: translateY(-4px); }
.plan.featured { border-color: var(--gold-lo); background: linear-gradient(170deg, #1b1813, var(--k2)); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px var(--gold-lo) inset; }
.plan .tag { position: absolute; top: -12px; left: 26px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--k0); background: var(--gold); padding: 5px 10px; border-radius: 100px; }
.plan h3 { font-size: 30px; line-height: 1; }
.plan .price { font-family: var(--serif); font-size: 46px; font-weight: 600; color: var(--gold); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.plan .price small { font-family: var(--sans); font-size: 13px; color: var(--t2); font-weight: 400; margin-left: 6px; }
.plan .per { font-size: 13px; color: var(--t2); margin-top: -8px; }
.plan ul { list-style: none; display: grid; gap: 9px; font-size: 14px; color: var(--t1); flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 8px; }
.plan li.no { color: var(--t3); } .plan li.no::before { background: var(--t3); }
.plan .btn { width: 100%; }
.plans-note { margin-top: 18px; font-size: 13px; color: var(--t3); text-align: center; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* Preguntas */
.faq { max-width: 780px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--serif); font-size: 24px; font-weight: 600; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 22px; color: var(--gold); transition: transform .3s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-hi); }
.faq .a { padding: 0 4px 24px; font-size: 15.5px; color: var(--t1); line-height: 1.65; max-width: 66ch; }
.faq .a b { color: var(--t0); font-weight: 500; }

/* Reservar */
.reservar { background: var(--k1); }
.res-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .res-in { grid-template-columns: 1fr; gap: 40px; } }
.form { display: grid; gap: 12px; padding: 28px; border: 1px solid var(--line-gold); border-radius: 20px; background: var(--k2); position: relative; overflow: hidden; }
.form::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-hi), var(--gold)); }
.form label { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--t2); display: block; margin-bottom: 7px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 15px; background: var(--k0); border: 1px solid var(--line); border-radius: 12px; color: var(--t0); font: inherit; font-size: 15px; outline: 0; transition: .3s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--t2) 50%), linear-gradient(135deg, var(--t2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form .btn { width: 100%; margin-top: 6px; }
.form .fine { font-size: 11.5px; color: var(--t3); line-height: 1.5; }
.form .ok { display: none; text-align: center; padding: 30px 10px; }
.form.sent .fields { display: none; } .form.sent .ok { display: block; }
.form .ok b { display: block; font-family: var(--serif); font-size: 28px; margin-bottom: 8px; }
.form .ok p { color: var(--t1); font-size: 15px; }
.letter { font-size: 16px; color: var(--t1); line-height: 1.7; max-width: 52ch; }
.letter p + p { margin-top: 14px; }
.letter .sig { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-hi); }

/* Funerarias */
.fun-in { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 40px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, var(--k2), var(--k1)); }
@media (max-width: 900px) { .fun-in { grid-template-columns: 1fr; padding: 28px; } }
.fun-in ul { list-style: none; display: grid; gap: 10px; margin: 14px 0 22px; font-size: 15px; color: var(--t1); }
.fun-in li { display: flex; gap: 12px; } .fun-in li::before { content: '—'; color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--k0); }
.stat b { display: block; font-family: var(--serif); font-size: 36px; color: var(--gold); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stat span { font-size: 12px; color: var(--t2); }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* Footer */
footer { padding: 50px 24px 40px; border-top: 1px solid var(--line); }
.foot-in { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--t3); }
.foot-in a { color: var(--t2); text-decoration: none; margin-right: 16px; } .foot-in a:hover { color: var(--gold); }
.foot-in .brand b { font-size: 17px; }

/* Revelados (estado inicial visible; GSAP los anima desde fuera) */
.rv { will-change: transform, opacity; }

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
  .lines .line { grid-area: auto; opacity: 1; margin-bottom: 12px; }
  .screen .off { display: none; }
}

/* ── Fotografía en las escenas (cine: desaturada, velada, nunca compite con el texto) ── */
.s1 .scene-in, .s4 .scene-in { position: relative; z-index: 2; }
.s1-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1) contrast(1.05); opacity: .26; z-index: 0; pointer-events: none; }
.s1-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(5,5,5,.15), rgba(5,5,5,.92) 75%), linear-gradient(180deg, var(--k0), transparent 25%, transparent 75%, var(--k0)); }
.s4-bg { position: absolute; left: 50%; top: 50%; width: min(560px, 90vw); aspect-ratio: 1; transform: translate(-50%, -54%); z-index: 0; pointer-events: none; opacity: .18; transition: opacity 1.2s var(--ease); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%); }
.s4-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) sepia(.15) contrast(1.05); }
.s4.playing .s4-bg { opacity: .34; }
.letter-photo { margin: 0 0 22px; max-width: 520px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.6); position: relative; }
.letter-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.85); }
.letter-photo figcaption { position: absolute; left: 14px; bottom: 12px; padding: 7px 11px; border-radius: 8px; background: rgba(5,5,5,.72); border: 1px solid var(--cold-dim); backdrop-filter: blur(6px); }
.letter-photo figcaption .sys.small { color: var(--cold); }
/* Móvil de la escena 2: la pantalla está encendida desde el principio */
.screen .off { display: none; }
