/* Base móvil. Las composiciones de escritorio se activan desde 960px. */
:root {
    --bg: #0b0b0b;
    --surface: #171717;
    --text: #f5f2eb;
    --muted: #d0ccc3;
    --gold: #c6a667;
    --border: rgba(255,255,255,.15);
    --header-space: 128px;
    --gutter: clamp(20px, 6vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-space); }
body { margin: 0; background: var(--bg); color: var(--text); }
body.has-selection { padding-bottom: 220px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
button:disabled { cursor: default; }
h1, h2, h3, p { margin-top: 0; }
p { color: var(--muted); }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 70px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { width: 112px; height: auto; }
.line-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
    max-width: 100%;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--gold);
    background: transparent;
    text-align: left;
    transition: color .25s, background .25s, border-color .25s;
}
.line-button > span:last-child { flex-shrink: 0; font-size: 24px; }
.line-button:disabled { color: var(--muted); border-color: var(--border); }
.quiet-button {
    min-height: 44px;
    padding: 12px 4px;
    border: 0;
    background: transparent;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 5px;
}
.collection-intro { padding: 90px var(--gutter) 60px; text-align: center; }
.collection-intro h2 { margin-bottom: 28px; }
.collection-intro h2 em { color: var(--gold); }
/* Tarjetas de regalo: fotografía completa y contenido en una sola superficie. */
.collection-scenes {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    width: min(100%, 1200px);
    margin-inline: auto;
    padding: 12px clamp(16px, 4vw, 40px) 80px;
}
.scene {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 9px;
    border: 1px solid #c6a66742;
    border-radius: 24px;
    background: linear-gradient(155deg, #29251e, #171717 55%);
    box-shadow: 0 12px 30px #00000030, inset 0 1px 0 #ffffff09;
    transition: border-color .25s, box-shadow .25s;
}
.scene-visual { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px; background: #25231f; }
.scene-photo { width: 100%; height: 100%; object-fit: contain; }
.scene-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 24px 12px 12px; }
.scene-copy .eyebrow { align-self: flex-start; padding: 6px 10px; margin-bottom: 18px; border: 1px solid #c6a66740; border-radius: 8px; background: #c6a6670c; color: #e3c991; }
.scene-copy h2 { margin-bottom: 16px; text-wrap: balance; }
.scene-description { margin-bottom: 28px; color: var(--muted); }
.scene .choose {
    width: 100%;
    min-height: 62px;
    margin-top: auto;
    padding: 16px;
    gap: 12px;
    border: 1px solid #dfc28c;
    border-radius: 12px;
    background: linear-gradient(110deg, #e0c38b, #c6a667);
    color: #17130c;
}
.scene .choose:focus-visible { outline-color: var(--text); }
.scene .choose[aria-pressed="true"] { background: var(--text); border-color: var(--text); }
.scene:focus-within { border-color: var(--gold); }
@media (min-width: 480px) {
    .scene-copy { padding: 28px 22px 22px; }
}
@media (min-width: 800px) {
    .collection-scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: 100px; }
}
.editorial-placeholder { height: 100%; display: grid; align-content: center; justify-items: center; padding: 24px; background: #24291d; text-align: center; }
.editorial-placeholder > span { color: var(--gold); }
.collection-position { display: none; }
.reading-track { height: 1px; background: var(--border); }
.reading-track span { display: block; width: 16.667%; height: 1px; background: var(--gold); transition: width .4s; }
.selection-bar {
    position: fixed;
    z-index: 8;
    inset: auto 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: rgba(11,11,11,.97);
}
.selection-bar > div { width: 100%; min-width: 0; }
.selection-bar .eyebrow { display: block; }
.selection-bar p { margin: 2px 0 0; color: var(--text); }
.closing { min-height: 100svh; overflow-anchor: none; padding: 70px var(--gutter); text-align: center; background: radial-gradient(ellipse at 50% 65%,#28231b,var(--bg) 65%); border-bottom: 1px solid var(--border); }
.closing-inner { max-width: 800px; margin-inline: auto; }
.closing h2 { margin-bottom: 25px; }
.closing h2 em, .closing h3 em { color: var(--gold); }
.closing #final-selection { margin-bottom: 35px; text-transform: uppercase; }
.progress-track { width: 100%; max-width: 400px; height: 2px; margin: 30px auto 12px; background: #ffffff20; }
.progress-track > span { display: block; width: 0; height: 100%; background: var(--gold); transition: width .12s linear; }
.progress-value { color: var(--gold); }
.rejection-label { color: var(--gold); margin-top: 40px; }
#rejection > p { max-width: 520px; margin-inline: auto; }
.next-surprise { margin-top: 40px; }
.closing h3 { margin: 15px 0 25px; }
.closing #birthday > p { max-width: 450px; margin-inline: auto; }
.signature { margin-top: 30px; }
.signature em { color: var(--gold); }
#rejection, #birthday { animation: fade-up .45s both; }
.celebrate { display: block; min-height: 44px; max-width: 100%; margin: 28px auto 0; padding: 10px 0; border: 0; border-bottom: 1px solid #c6a66755; color: var(--gold); background: transparent; }
.footer { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 35px var(--gutter) calc(35px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); text-align: center; }
.footer .brand-logo { width: 150px; }
.footer p { margin: 0; }
.skip-link { position: fixed; top: -150px; left: 15px; z-index: 20; padding: 15px; background: var(--bg); }
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.no-script { padding: 30px var(--gutter); text-align: center; }
.confetti { position: fixed; z-index: 20; top: -20px; width: 8px; height: 12px; pointer-events: none; animation: fall 2.8s ease-in forwards; }
.motion .reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.motion .reveal.is-visible { opacity: 1; transform: none; }
.motion .scene-visual { opacity: 0; transition: opacity 1s; }
.motion .scene-visual.is-visible { opacity: 1; }
.motion .hero-copy { animation: fade-up 1s both; }
@keyframes fall { to { transform: translate(var(--drift),105vh) rotate(650deg); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes cue { 50% { transform: translateY(5px); } }
@media (min-width: 640px) {
    .section { padding-block: 90px; }


    .selection-bar > div { width: auto; flex: 1; }
    body.has-selection { padding-bottom: 150px; }
}
@media (min-width: 960px) {
    .brand-logo { width: 150px; }
    .section { padding-block: 100px; }
    .collection-intro { padding-top: 125px; }
    .selection-bar { flex-wrap: nowrap; gap: 30px; }
    body.has-selection { padding-bottom: 110px; }
    .closing { padding-block: 110px; }
    .footer { flex-direction: row; justify-content: space-between; text-align: left; }
    .footer .brand-logo { width: 175px; }
}
@media (hover: hover) and (pointer: fine) {
    .line-button:hover { color: var(--gold); border-color: var(--text); }
    .scene .choose:hover { background: #e0c58e; border-color: #e0c58e; color: #17130c; }
    .quiet-button:hover { color: var(--text); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .motion .reveal, .motion .scene-visual { opacity: 1; transform: none; }
    .scene-photo { transform: none; }
}
