/**
 * ESTILO EDITORIAL ROMÁNTICO CINEMATOGRÁFICO: Luchy & Jefryth
 * Paleta sofisticada, tipografía de alta costura, microinteracciones suaves.
 */

:root {
    --bg-primary: #F6F1EB;
    --bg-paper: #FFFDFC;
    --bg-card: #FAF6F0;
    --text-primary: #211E1C;
    --text-secondary: #756D68;
    --text-muted: #9E958F;
    --accent-wine: #743B48;
    --accent-wine-hover: #5A2D37;
    --accent-rose: #B88C91;
    --accent-rose-light: #F0E6E7;
    --accent-gold: #B89A6A;
    --accent-gold-light: #EFE8DC;
    --bg-dark: #151515;
    --bg-dark-surface: #1E1B19;
    --text-on-dark: #F6F1EB;
    --text-on-dark-muted: #9E958F;

    --border-subtle: rgba(184, 140, 145, 0.22);
    --border-paper: #ECE4D8;
    --border-gold: rgba(184, 154, 106, 0.4);
    --shadow-soft: 0 8px 30px -8px rgba(33, 30, 28, 0.08);
    --shadow-medium: 0 16px 40px -12px rgba(33, 30, 28, 0.12);
    --shadow-deep: 0 25px 60px -15px rgba(33, 30, 28, 0.18);
    --shadow-envelope: 0 30px 70px -15px rgba(15, 12, 11, 0.35);

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-gentle: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.25s var(--ease-gentle);
    --transition-medium: 0.5s var(--ease-cinematic);
    --transition-slow: 0.9s var(--ease-cinematic);

    --container-max: 1240px;
    --container-narrow: 840px;
    --container-reading: 680px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-wine), var(--accent-gold));
    z-index: 9999;
    pointer-events: none;
    transition: width 0.1s linear;
}

h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.text-center {
    text-align: center;
}

.section {
    padding: clamp(5rem, 10vw, 8.5rem) 0;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-wine);
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.section-subtext {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    font-weight: 300;
}

/* ================================================== */
/* 4. CURSOR DESKTOP PERSONALIZADO                    */
/* ================================================== */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: default;
    }

    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 10000;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .custom-cursor.cursor-hidden {
        opacity: 0 !important;
    }

    .cursor-dot {
        position: fixed;
        width: 6px;
        height: 6px;
        background-color: var(--accent-wine);
        border-radius: 50%;
        pointer-events: none;
        transform: translate(-50%, -50%);
        transition: transform 0.08s ease-out;
        z-index: 10002;
    }

    .cursor-outline {
        position: fixed;
        width: 32px;
        height: 32px;
        border: 1px solid rgba(116, 59, 72, 0.4);
        border-radius: 50%;
        pointer-events: none;
        transform: translate(-50%, -50%);
        transition: width 0.3s var(--ease-cinematic), 
                    height 0.3s var(--ease-cinematic), 
                    border-color 0.3s ease, 
                    transform 0.15s ease-out;
        z-index: 10001;
    }

    body.cursor-hover .cursor-outline {
        width: 54px;
        height: 54px;
        border-color: var(--accent-gold);
        background-color: rgba(184, 154, 106, 0.08);
    }

    body.cursor-hover .cursor-dot {
        transform: translate(-50%, -50%) scale(1.4);
    }
}

@media (pointer: coarse), (hover: none) {
    .custom-cursor {
        display: none !important;
    }
}

/* ================================================== */
/* 5. HEADER & NAVEGACIÓN DISCRETA                    */
/* ================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.15rem clamp(1rem, 3.5vw, 3rem);
    transition: background-color 0.4s ease, padding 0.35s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: rgba(246, 241, 235, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom-color: rgba(184, 140, 145, 0.16);
    box-shadow: 0 4px 20px rgba(33, 30, 28, 0.04);
}

.site-header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-brand-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 34px;
}

.brand-logo {
    height: 34px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    transition: opacity 0.35s ease, transform 0.35s ease;
    display: block;
}

/* Estado inicial sobre el Hero oscuro */
.site-header:not(.scrolled) .brand-logo.logo-white {
    display: block;
    opacity: 1;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.site-header:not(.scrolled) .brand-logo.logo-color {
    display: none;
    opacity: 0;
}

.site-header:not(.scrolled) .brand-sub {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.site-header:not(.scrolled) .music-toggle-btn {
    background: rgba(26, 22, 20, 0.62);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.site-header:not(.scrolled) .music-toggle-btn:hover {
    background: rgba(26, 22, 20, 0.85);
    border-color: var(--accent-gold);
    color: var(--accent-gold-light);
}

.site-header:not(.scrolled) .music-icon {
    color: var(--accent-gold);
}

/* Estado scrolled sobre páginas y secciones claras */
.site-header.scrolled .brand-logo.logo-white {
    display: none;
    opacity: 0;
}

.site-header.scrolled .brand-logo.logo-color {
    display: block;
    opacity: 1;
}

.site-header.scrolled .brand-sub {
    color: var(--accent-wine);
}

.brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-wine);
    font-weight: 500;
    margin-top: 3px;
}

.music-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(184, 154, 106, 0.35);
    border-radius: 30px;
    background: rgba(255, 253, 252, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.music-toggle-btn:hover {
    border-color: var(--accent-wine);
    background: #FFFFFF;
    color: var(--accent-wine);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(116, 59, 72, 0.12);
}

.music-icon {
    display: inline-flex;
    align-items: center;
    color: var(--accent-wine);
}

.music-label {
    font-size: 0.76rem;
    font-weight: 400;
}

.music-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.music-bars span {
    width: 2px;
    height: 4px;
    background: var(--accent-wine);
    border-radius: 1px;
    transition: height 0.2s ease;
}

.music-toggle-btn.playing .music-bars span:nth-child(1) {
    animation: barPulse 0.9s infinite ease-in-out alternate;
}
.music-toggle-btn.playing .music-bars span:nth-child(2) {
    animation: barPulse 0.7s 0.2s infinite ease-in-out alternate;
}
.music-toggle-btn.playing .music-bars span:nth-child(3) {
    animation: barPulse 1.1s 0.4s infinite ease-in-out alternate;
}

@keyframes barPulse {
    0% { height: 3px; }
    100% { height: 12px; }
}

/* ================================================== */
/* 6. HERO / PORTADA CINEMATOGRÁFICA (100vh)          */
/* ================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 650px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-media-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.05);
    animation: heroImageZoom 20s infinite alternate ease-in-out;
}

@keyframes heroImageZoom {
    0% { transform: scale(1.03); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(21, 21, 21, 0.45) 0%,
        rgba(21, 21, 21, 0.28) 40%,
        rgba(21, 21, 21, 0.62) 100%
    );
}

.hero-vignette {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    max-width: 820px;
    padding: 0 1.5rem;
    margin-top: -2rem;
}

.hero-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.kicker-line {
    width: 38px;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
}

.kicker-text {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 300;
    letter-spacing: 0.18em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2.75rem;
    font-weight: 400;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    background: rgba(255, 253, 252, 0.94);
    color: var(--text-primary);
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: all 0.35s var(--ease-cinematic);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
    background: #FFFFFF;
    color: var(--accent-wine);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateY(3px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
    animation: scrollPulse 2.2s infinite ease-in-out;
}

@keyframes scrollPulse {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ================================================== */
/* 7. PRÓLOGO EDITORIAL                               */
/* ================================================== */
.prologue-section {
    background-color: var(--bg-primary);
    border-bottom: 1px solid rgba(184, 140, 145, 0.15);
}

.prologue-ornament {
    margin-bottom: 2rem;
}

.ornament-diamond {
    color: var(--accent-gold);
    font-size: 1rem;
    letter-spacing: 0.5em;
}

.prologue-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    line-height: 1.45;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.prologue-highlight {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    color: var(--accent-wine);
    letter-spacing: 0.04em;
    font-weight: 500;
}

/* ================================================== */
/* 8. CONTADOR DINÁMICO EN VIVO                       */
/* ================================================== */
.counter-section {
    background: var(--bg-paper);
    border-bottom: 1px solid var(--border-paper);
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.counter-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--text-primary);
    margin-bottom: 3.5rem;
}

/* Vista normal del contador */
.counter-normal-view {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, filter, transform;
}

.counter-normal-view.counter-dissolving {
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.97);
    pointer-events: none;
}

/* Contenedor del contador de 6 unidades */
.counter-grid,
.counter-grid-full {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 1.8vw, 2rem);
    background: var(--bg-primary);
    padding: clamp(1.4rem, 2.5vw, 2.2rem) clamp(1rem, 3vw, 3rem);
    border-radius: 20px;
    border: 1px solid var(--border-paper);
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
    flex-wrap: nowrap;
    max-width: 100%;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: clamp(52px, 8.5vw, 84px);
}

.counter-number {
    font-family: var(--font-serif);
    font-size: clamp(2.3rem, 4.6vw, 4rem);
    line-height: 1;
    font-weight: 600;
    color: var(--accent-wine);
    font-variant-numeric: tabular-nums;
}

.counter-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 500;
}

.counter-divider-dot {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    color: var(--accent-gold);
    line-height: 1;
    user-select: none;
    opacity: 0.65;
    margin-top: -0.6rem;
}

.counter-footer-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.counter-total-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(184, 154, 106, 0.1);
    border: 1px solid rgba(184, 154, 106, 0.32);
    padding: 0.45rem 1.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-wine);
    font-weight: 400;
}

.counter-total-badge strong {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-wine);
}

.counter-caption {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
}

/* ================================================== */
/* EASTER EGG: VISTA SECRETA ÍNTIMA                   */
/* ================================================== */
.counter-secret-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 340px;
    padding: clamp(2rem, 5vw, 4rem) 1.5rem;
    cursor: pointer;
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.97);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, filter, transform;
}

.counter-secret-view.is-active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.counter-secret-view.counter-secret-leaving {
    opacity: 0;
    filter: blur(6px);
    transform: scale(0.97);
    transition: opacity 0.65s ease, filter 0.65s ease, transform 0.65s ease;
}

.counter-secret-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.secret-phrase {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.secret-phrase.phrase-revealed {
    opacity: 1;
    transform: translateY(0);
}

.secret-phrase-1 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2.8vw, 1.7rem);
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    font-weight: 400;
}

.secret-phrase-2 {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.6vw, 1.65rem);
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.015em;
}

.secret-phrase-3 {
    font-family: var(--font-serif);
    font-size: clamp(2.3rem, 5.8vw, 4.2rem);
    font-weight: 600;
    color: var(--accent-wine);
    line-height: 1.22;
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.secret-heart-wrap {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.secret-heart-wrap.heart-revealed {
    opacity: 0.85;
    transform: scale(1);
}

.secret-heart-icon {
    font-size: 1.6rem;
    color: var(--accent-gold);
    display: inline-block;
    animation: gentleHeartPulse 3.6s ease-in-out infinite;
}

@keyframes gentleHeartPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

/* Adaptación responsive para el contador de 6 unidades en móvil */
@media (max-width: 768px) {
    .counter-grid,
    .counter-grid-full {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem 0.5rem;
        padding: 1.6rem 1rem;
        width: 100%;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 18px;
    }

    .counter-grid .counter-divider-dot,
    .counter-grid-full .counter-divider-dot {
        display: none;
    }

    .counter-grid .counter-item,
    .counter-grid-full .counter-item {
        min-width: unset;
    }

    .counter-grid .counter-number,
    .counter-grid-full .counter-number {
        font-size: clamp(2.1rem, 7.5vw, 2.7rem);
    }

    .counter-grid .counter-label,
    .counter-grid-full .counter-label {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
    }

    .counter-secret-view {
        min-height: 290px;
        padding: 2rem 1rem;
    }

    .secret-phrase-2 {
        margin-bottom: 1.4rem;
    }

    .secret-phrase-3 {
        margin-bottom: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .counter-normal-view,
    .counter-secret-view,
    .secret-phrase,
    .secret-heart-wrap {
        transition: opacity 0.2s ease !important;
        transform: none !important;
        filter: none !important;
    }
    .secret-heart-icon {
        animation: none !important;
    }
}

/* ================================================== */
/* 9. TIMELINE VERTICAL CINEMATOGRÁFICO               */
/* ================================================== */
.timeline-section {
    padding: clamp(5rem, 10vw, 8.5rem) 0;
    position: relative;
    overflow: hidden;
}

/* Lienzo de pétalos flotantes de tulipán */
.timeline-petals-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
}

.timeline-header {
    margin-bottom: clamp(4rem, 8vw, 6.5rem);
    position: relative;
    z-index: 2;
}

.timeline-main-title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    color: var(--text-primary);
}

.timeline-header-line {
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 1.5rem auto 0;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
    z-index: 2;
}

.timeline-spine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(184, 140, 145, 0.28);
    transform: translateX(-50%);
    pointer-events: none;
}

.timeline-spine-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--accent-gold), var(--accent-wine));
    transition: height 0.15s ease-out;
}

.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: clamp(6rem, 12vw, 11rem);
    display: flex;
}

/* Nodo central con broche botánico de tulipán */
.timeline-node {
    position: absolute;
    left: 50%;
    top: 36px;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-tulip-brooch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-paper);
    border: 1.5px solid var(--accent-gold);
    box-shadow: 0 4px 14px rgba(184, 154, 106, 0.22), 0 0 0 4px var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-wine);
    transition: all 0.4s var(--ease-cinematic);
    cursor: default;
}

.node-tulip-svg {
    width: 17px;
    height: 17px;
    transition: transform 0.4s var(--ease-cinematic);
}

.timeline-item:hover .node-tulip-brooch,
.timeline-item.in-view .node-tulip-brooch {
    transform: scale(1.18);
    background: #FFFDF9;
    border-color: var(--accent-wine);
    color: var(--accent-wine);
    box-shadow: 0 6px 22px rgba(116, 59, 72, 0.35), 0 0 0 5px rgba(184, 154, 106, 0.25);
}

.timeline-item:hover .node-tulip-svg,
.timeline-item.in-view .node-tulip-svg {
    transform: scale(1.12);
}

@media (min-width: 992px) {
    /* Línea conectora fina entre el nodo y la tarjeta */
    .timeline-item::after {
        content: '';
        position: absolute;
        top: 36px;
        height: 1px;
        width: 6%;
        z-index: 3;
        pointer-events: none;
        transition: all 0.4s ease;
    }

    .chapter-left {
        justify-content: flex-start;
    }

    .chapter-left::after {
        right: 44%;
        background: linear-gradient(to left, var(--accent-gold), rgba(184, 154, 106, 0.12));
    }

    .chapter-left .chapter-card {
        width: 44%;
        text-align: right;
    }

    .chapter-left .gallery-thumbnails {
        justify-content: flex-end;
    }

    .chapter-right {
        justify-content: flex-end;
    }

    .chapter-right::after {
        left: 44%;
        background: linear-gradient(to right, var(--accent-gold), rgba(184, 154, 106, 0.12));
    }

    .chapter-right .chapter-card {
        width: 44%;
        text-align: left;
    }

    .chapter-right .gallery-thumbnails {
        justify-content: flex-start;
    }

    .timeline-item:hover::after,
    .timeline-item.in-view::after {
        background: linear-gradient(to right, var(--accent-wine), var(--accent-gold));
        height: 1.5px;
    }
}

/* Tarjeta Editorial de Capítulo */
.chapter-card {
    background: var(--bg-paper);
    padding: clamp(2.25rem, 3.8vw, 3.5rem);
    border-radius: 14px;
    border: 1px solid var(--border-paper);
    box-shadow: 0 10px 35px -10px rgba(33, 30, 28, 0.08), 0 2px 6px rgba(184, 154, 106, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.45s var(--ease-cinematic), box-shadow 0.45s var(--ease-cinematic), border-color 0.45s ease;
}

/* Doble filete editorial interior en oro atenuado */
.chapter-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(184, 154, 106, 0.22);
    border-radius: 10px;
    pointer-events: none;
    transition: border-color 0.45s ease, opacity 0.45s ease;
    z-index: 2;
}

.chapter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px -12px rgba(33, 30, 28, 0.14), 0 0 28px rgba(184, 154, 106, 0.12);
    border-color: rgba(184, 154, 106, 0.4);
}

.chapter-card:hover::before {
    border-color: rgba(184, 154, 106, 0.48);
}

/* Grabado botánico de tulipán en marca de agua */
.chapter-tulip-watermark {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 78px;
    height: 118px;
    pointer-events: none;
    opacity: 0.15;
    color: var(--accent-wine);
    transition: opacity 0.5s ease, transform 0.6s var(--ease-cinematic), color 0.5s ease;
    z-index: 1;
}

.chapter-left .chapter-tulip-watermark {
    left: 20px;
    right: auto;
    transform: scaleX(-1);
}

.chapter-right .chapter-tulip-watermark {
    right: 20px;
    left: auto;
}

.chapter-card:hover .chapter-tulip-watermark {
    opacity: 0.38;
    transform: translateY(-3px) scale(1.05);
    color: var(--accent-wine);
}

.chapter-left .chapter-card:hover .chapter-tulip-watermark {
    transform: scaleX(-1) translateY(-3px) scale(1.05);
}

.chapter-number {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--accent-wine);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.chapter-year {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5.5vw, 4.8rem);
    line-height: 0.95;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.chapter-title {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.chapter-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.08rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.photo-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-primary);
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s var(--ease-cinematic), 
                box-shadow 0.4s var(--ease-cinematic),
                filter 0.4s var(--ease-cinematic);
}

.photo-inner {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--ease-cinematic), filter 0.4s ease;
}

.photo-card:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow: var(--shadow-deep);
}

.photo-card:hover .photo-img {
    transform: scale(1.05);
    filter: contrast(1.03);
}

.photo-hover-hint {
    position: absolute;
    inset: 0;
    background: rgba(21, 21, 21, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    font-weight: 400;
}

.photo-card:hover .photo-hover-hint {
    opacity: 1;
}

.hint-icon {
    font-size: 1.1rem;
}

.photo-caption-subtle {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 0.6rem 0.2rem 0;
    font-family: var(--font-serif);
    font-style: italic;
}

.chapter-gallery {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-paper);
}

.gallery-title {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.gallery-thumb-btn {
    width: 54px;
    height: 54px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-paper);
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-thumb-btn:hover {
    border-color: var(--accent-wine);
    transform: translateY(-2px) scale(1.08);
    box-shadow: var(--shadow-soft);
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chapter-body {
    margin-top: 1.5rem;
}

.chapter-description {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.chapter-footer {
    margin-top: 2.25rem;
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(184, 154, 106, 0.35);
    display: flex;
    align-items: center;
}

.chapter-left .chapter-footer {
    justify-content: flex-end;
}

.chapter-right .chapter-footer {
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .chapter-footer {
        justify-content: center !important;
    }
}

.btn-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem 2.2rem;
    background: linear-gradient(135deg, #743B48 0%, #4D212B 100%);
    color: #FFFFFF;
    border: 1.5px solid var(--accent-gold);
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(116, 59, 72, 0.35), 0 0 15px rgba(184, 154, 106, 0.22);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.4s var(--ease-cinematic);
}

.btn-letter-text {
    white-space: nowrap;
}

.btn-letter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
    transform: rotate(25deg);
    animation: btnLetterShimmer 4.5s infinite linear;
}

@keyframes btnLetterShimmer {
    0% { transform: translateX(-120%) rotate(25deg); }
    22%, 100% { transform: translateX(120%) rotate(25deg); }
}

.btn-letter:hover {
    background: linear-gradient(135deg, #8A4656 0%, #5E2633 100%);
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(116, 59, 72, 0.48), 0 0 25px rgba(197, 168, 128, 0.6);
    border-color: #E8D5B5;
}

.btn-letter-wax {
    font-size: 1.15rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
}

.btn-letter:hover .btn-letter-wax {
    transform: scale(1.2) rotate(8deg);
}

.btn-letter-arrow {
    font-size: 0.85rem;
    color: var(--accent-gold);
    transition: transform 0.35s ease;
}

.btn-letter:hover .btn-letter-arrow {
    transform: translateX(4px);
    color: #FFFFFF;
}

/* ================================================== */
/* 10. CAPÍTULO ESPECIAL: NUESTRO MATRIMONIO          */
/* (SECCIÓN DEDICADA, ESPECTACULAR & CINEMATOGRÁFICA) */
/* ================================================== */
.marriage-experience-section {
    position: relative;
    padding: clamp(6rem, 12vw, 10rem) 0;
    background: radial-gradient(circle at 50% 15%, rgba(116, 59, 72, 0.09) 0%, rgba(246, 241, 235, 0.98) 70%), var(--bg-primary);
    border-top: 1px solid rgba(184, 154, 106, 0.35);
    border-bottom: 1px solid rgba(184, 154, 106, 0.35);
    overflow: hidden;
}

.marriage-experience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--accent-gold), transparent);
}

.marriage-experience-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(0deg, var(--accent-gold), transparent);
}

.marriage-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.marriage-glow-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(280px, 50vw, 650px);
    height: clamp(280px, 50vw, 650px);
    background: radial-gradient(circle, rgba(197, 168, 128, 0.22) 0%, rgba(116, 59, 72, 0.08) 50%, transparent 70%);
}

.marriage-glow-2 {
    bottom: 15%;
    right: 10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(116, 59, 72, 0.12) 0%, transparent 70%);
}

.container-marriage,
.marriage-container {
    position: relative;
    z-index: 2;
    max-width: min(96vw, 1540px) !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.5vw, 2.5rem);
}

/* Preludio y Cabecera */
.marriage-prelude-wrapper {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.marriage-super-tag {
    display: inline-block;
    padding: 0.5rem 1.6rem;
    border-radius: 30px;
    background: rgba(116, 59, 72, 0.07);
    border: 1px solid rgba(184, 154, 106, 0.45);
    color: var(--accent-wine);
    font-size: 0.76rem;
    letter-spacing: 0.24em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(116, 59, 72, 0.08);
}

.marriage-kicker {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.4rem;
}

.marriage-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    color: var(--accent-wine);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.marriage-divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1rem;
}

.marriage-divider-ornament .ornament-line {
    width: clamp(40px, 10vw, 100px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.marriage-divider-ornament .ornament-ring {
    font-size: 1.4rem;
    color: var(--accent-gold);
    animation: gentleRingFloat 3s infinite ease-in-out;
}

@keyframes gentleRingFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(6deg); }
}

/* Altar de la Propuesta */
.marriage-proposal-altar {
    margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.altar-card {
    background: var(--bg-paper);
    border: 1.5px solid rgba(184, 154, 106, 0.55);
    border-radius: 24px;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
    box-shadow: 0 25px 65px -15px rgba(116, 59, 72, 0.14), 0 0 30px rgba(184, 154, 106, 0.1);
    position: relative;
    overflow: hidden;
}

.altar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(197, 168, 128, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.altar-story-text {
    font-family: var(--font-sans);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.95;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.proposal-question-box {
    background: linear-gradient(135deg, rgba(184, 154, 106, 0.14) 0%, rgba(116, 59, 72, 0.07) 100%);
    border: 1px dashed var(--accent-gold);
    border-radius: 18px;
    padding: clamp(2rem, 4vw, 3.25rem) clamp(1.25rem, 3.5vw, 2.5rem);
    position: relative;
}

.proposal-ring-pulse {
    font-size: 2.8rem;
    display: inline-block;
    margin-bottom: 1rem;
    animation: ringHeartbeat 2.2s infinite ease-in-out;
}

@keyframes ringHeartbeat {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(197, 168, 128, 0)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 16px rgba(197, 168, 128, 0.7)); }
}

.proposal-question-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    color: var(--accent-wine);
    line-height: 1.35;
    margin-bottom: 1rem;
    font-weight: 500;
}

.proposal-instruction {
    font-size: 0.92rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
}

/* Botón "¡SÍ, ACEPTO!" */
.btn-say-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    background: linear-gradient(135deg, #743B48 0%, #542531 100%);
    color: #FFFFFF;
    border: 2px solid #C5A880;
    padding: 1.2rem 3.2rem;
    border-radius: 50px;
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: 0 12px 35px rgba(116, 59, 72, 0.35), 0 0 25px rgba(197, 168, 128, 0.45);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-say-yes::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
    transform: rotate(25deg);
    animation: btnShimmer 3.5s infinite linear;
}

@keyframes btnShimmer {
    0% { transform: translateX(-120%) rotate(25deg); }
    100% { transform: translateX(120%) rotate(25deg); }
}

.btn-say-yes:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 45px rgba(116, 59, 72, 0.45), 0 0 35px rgba(197, 168, 128, 0.7);
    border-color: #E8D5B5;
}

.btn-say-yes:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-say-yes.has-said-yes {
    background: linear-gradient(135deg, #2D5A43 0%, #1E3D2D 100%);
    border-color: #A8D5BA;
    box-shadow: 0 10px 30px rgba(45, 90, 67, 0.4);
    transform: none;
    cursor: default;
}

.btn-say-yes.has-said-yes::before {
    display: none;
}

.btn-say-yes-sparkle,
.btn-say-yes-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-say-yes-sparkle svg,
.btn-say-yes-ring svg {
    display: block;
}

.ornament-ring svg {
    stroke: var(--accent-gold);
    display: block;
}

.proposal-ring-pulse svg {
    stroke: var(--accent-gold);
    display: block;
    margin: 0 auto;
}


.btn-letter-wax svg {
    stroke: #FFFFFF;
    display: block;
}

.seal-heart-svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-gold-light);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
    display: block;
}

.epilogue-heart-svg {
    width: 22px;
    height: 22px;
    fill: var(--accent-wine);
    display: inline-block;
}


/* Contenido posterior a la revelación */
.marriage-post-reveal-content {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(184, 154, 106, 0.3);
}

.marriage-revealed-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.marriage-revealed-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--accent-wine);
    margin-bottom: 1.25rem;
}

.marriage-revealed-desc {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 620px;
    margin: 0 auto 2.25rem;
}

.marriage-revealed-actions {
    display: flex;
    justify-content: center;
}

.btn-letter-marriage {
    background: var(--accent-wine);
    color: #FFFFFF;
    border: 1px solid var(--accent-wine);
    padding: 1rem 2.4rem;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    transition: all 0.35s var(--ease-cinematic);
    box-shadow: 0 8px 25px rgba(116, 59, 72, 0.3);
}

.btn-letter-marriage:hover {
    background: var(--accent-wine-hover);
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(116, 59, 72, 0.45);
}

/* Partículas de celebración doradas */
.gold-particle {
    pointer-events: none;
    will-change: transform, opacity;
}

/* ================================================== */
/* 11. FRASES Y CITAS EDITORIALES                     */
/* ================================================== */
.quote-banner-section {
    background: var(--bg-paper);
    border-top: 1px solid var(--border-paper);
    border-bottom: 1px solid var(--border-paper);
    padding: clamp(6rem, 12vw, 9rem) 0;
}

.quote-banner-alt {
    background: var(--bg-primary);
}

.editorial-banner-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.quote-signature {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-wine);
    font-weight: 500;
}


/* ================================================== */
/* 13. PEQUEÑAS COSAS QUE AMO DE TI                   */
/* ================================================== */
.little-things-section {
    background: var(--bg-paper);
    border-top: 1px solid var(--border-paper);
}

.things-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.75rem;
    margin-top: 3.5rem;
}

.thing-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-paper);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.35s var(--ease-cinematic);
    outline: none;
    position: relative;
}

.thing-card:hover,
.thing-card:focus-visible {
    background: #FFFFFF;
    border-color: var(--accent-rose);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.thing-tag {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.thing-title {
    font-size: 1.45rem;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
}

.thing-preview {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.thing-detail-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-cinematic), opacity 0.35s ease;
}

.thing-card.active .thing-detail-panel {
    max-height: 250px;
    opacity: 1;
}

.thing-divider {
    width: 36px;
    height: 1px;
    background: var(--accent-wine);
    margin: 1.2rem 0;
}

.thing-detail-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--accent-wine);
}

.thing-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.thing-chevron {
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.thing-card.active .thing-chevron {
    transform: rotate(45deg);
}

/* ================================================== */
/* 14. EPÍLOGO CINEMATOGRÁFICO (MODO OSCURO)          */
/* ================================================== */
.epilogue-section {
    position: relative;
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding: clamp(7rem, 15vw, 12rem) 0;
    overflow: hidden;
}

.epilogue-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(116, 59, 72, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.epilogue-content {
    position: relative;
    z-index: 2;
}

/* Corazón Latiendo Cinemático (Sustituye la fotografía previa) */
.epilogue-heart-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    margin-bottom: clamp(2.5rem, 5vw, 3.8rem);
}

.heart-pulse-glow {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226, 115, 135, 0.3) 0%, rgba(116, 59, 72, 0.15) 50%, transparent 75%);
    filter: blur(14px);
    pointer-events: none;
    animation: glowPulse 2.4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0.95; }
}

.heart-pulse-ripple {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(226, 115, 135, 0.45);
    pointer-events: none;
    animation: heartRippleWave 2.8s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.heart-pulse-ripple.ripple-2 {
    animation-delay: 1.4s;
}

@keyframes heartRippleWave {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
        border-color: rgba(226, 115, 135, 0.5);
    }
    60% {
        opacity: 0.25;
        border-color: rgba(184, 154, 106, 0.35);
    }
    100% {
        transform: scale(1.85);
        opacity: 0;
        border-color: rgba(184, 154, 106, 0);
    }
}

.epilogue-heart-icon-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(45, 30, 35, 0.85), rgba(18, 14, 16, 0.95));
    border: 1.5px solid rgba(184, 154, 106, 0.45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 0 20px rgba(116, 59, 72, 0.4);
    animation: epilogueHeartBeat 2.4s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform, filter;
}

.epilogue-beating-heart-svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 10px rgba(226, 115, 135, 0.5));
}

@keyframes epilogueHeartBeat {
    0% {
        transform: scale(1);
    }
    12% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 24px rgba(226, 115, 135, 0.75));
    }
    24% {
        transform: scale(1.04);
    }
    36% {
        transform: scale(1.22);
        filter: drop-shadow(0 0 32px rgba(226, 115, 135, 0.9));
    }
    65% {
        transform: scale(1);
        filter: drop-shadow(0 0 16px rgba(226, 115, 135, 0.45));
    }
    100% {
        transform: scale(1);
    }
}

.epilogue-lead {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: var(--text-on-dark-muted);
    margin-bottom: 0.5rem;
}

.epilogue-pause {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    color: #FFFFFF;
    font-weight: 300;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
}

.epilogue-continuation {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-rose);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.epilogue-promise {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.6vw, 2.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    font-style: italic;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.epilogue-ending {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
}

.epilogue-heart {
    font-size: 1.8rem;
    color: var(--accent-wine);
    margin-bottom: 1.5rem;
    animation: heartBeat 2s infinite ease-in-out;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.epilogue-signature {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
    margin-bottom: 4rem;
}

.btn-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.95rem 2.2rem;
    background: linear-gradient(135deg, rgba(116, 59, 72, 0.38) 0%, rgba(22, 18, 20, 0.92) 100%);
    border: 1.5px solid rgba(184, 154, 106, 0.45);
    border-radius: 40px;
    color: #F8F5F1;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 0 18px rgba(184, 154, 106, 0.12);
    cursor: pointer;
    transition: all 0.4s var(--ease-cinematic);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.btn-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.75s ease;
}

.btn-top:hover::before {
    left: 100%;
}

.btn-top:hover {
    background: linear-gradient(135deg, rgba(116, 59, 72, 0.7) 0%, rgba(184, 154, 106, 0.3) 100%);
    border-color: var(--accent-gold);
    color: #FFFFFF;
    box-shadow: 0 10px 32px rgba(116, 59, 72, 0.5), 0 0 30px rgba(184, 154, 106, 0.35);
    transform: translateY(-3px);
}

.btn-top:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-top-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(184, 154, 106, 0.18);
    border: 1px solid rgba(184, 154, 106, 0.4);
    color: var(--accent-gold);
    transition: all 0.35s ease;
}

.btn-top:hover .btn-top-icon-wrap {
    background: var(--accent-gold);
    color: #151515;
    transform: translateY(-2px);
}

.btn-top-svg {
    display: block;
    transition: transform 0.3s ease;
}

.btn-top:hover .btn-top-svg {
    transform: translateY(-1px);
}

/* ================================================== */
/* 15. MODAL DE CARTA DE AMOR (ENVELOPE UX)           */
/* ================================================== */
.letter-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-cinematic), visibility 0.4s;
}

.letter-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.letter-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 16, 15, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.letter-modal-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.envelope-container {
    position: absolute;
    width: 320px;
    height: 200px;
    background: #E8DECF;
    border-radius: 6px;
    box-shadow: var(--shadow-envelope);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    transition: transform 0.6s var(--ease-cinematic), opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
}

.letter-modal.animating-envelope .envelope-container {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.letter-modal.open-flap .envelope-flap {
    transform: rotateX(180deg);
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 160px solid transparent;
    border-right: 160px solid transparent;
    border-top: 110px solid #D8CCBA;
    transform-origin: top;
    transition: transform 0.5s var(--ease-cinematic);
    z-index: 3;
}

.envelope-pocket {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-bottom: 200px solid #DFD3C0;
    border-left: 160px solid #D5C7B2;
    border-right: 160px solid #D5C7B2;
    z-index: 2;
}

.envelope-seal {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-wine);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 4;
}

.letter-sheet {
    width: 100%;
    max-height: 85vh;
    background-color: var(--bg-paper);
    border-radius: 4px;
    padding: clamp(2rem, 5vw, 4.25rem);
    border: 1px solid var(--border-paper);
    box-shadow: var(--shadow-paper);
    overflow-y: auto;
    position: relative;
    z-index: 10;
    transform: translateY(30px) scale(0.96);
    opacity: 0;
    transition: transform 0.6s var(--ease-cinematic), opacity 0.5s ease;
}

.letter-modal.active .letter-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.letter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px dashed var(--border-paper);
    margin-bottom: 2.5rem;
}

.letter-stamp {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--accent-wine);
    padding: 0.35rem 0.85rem;
    border-radius: 2px;
}

.stamp-year {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-wine);
    line-height: 1;
}

.stamp-text {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.letter-date {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.letter-salutation {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--accent-wine);
    margin-bottom: 1.75rem;
    font-weight: 500;
}

.letter-paragraphs p {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.85;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.letter-signature-block {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-paper);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.letter-signature {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--accent-wine);
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    line-height: 1.4;
}

.letter-signature-image-wrapper {
    display: block;
    margin-top: 0.25rem;
}

.letter-handwritten-signature {
    width: clamp(140px, 25vw, 210px);
    height: auto;
    display: block;
    mix-blend-mode: multiply;
    opacity: 0.92;
    filter: contrast(1.08) drop-shadow(0 1px 2px rgba(116, 59, 72, 0.08));
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.4s var(--ease-gentle);
}

.letter-sheet:hover .letter-handwritten-signature {
    transform: scale(1.03) rotate(-0.5deg);
}

.letter-footer {
    margin-top: 2.5rem;
    padding-top: 1rem;
}

.letter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
    width: 100%;
}

.btn-save-letter {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    background: linear-gradient(135deg, var(--accent-wine) 0%, #4D212B 100%);
    color: #FFFFFF;
    border: 1.5px solid var(--accent-gold);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(116, 59, 72, 0.28);
    cursor: pointer;
    transition: all 0.35s var(--ease-cinematic);
}

.btn-save-letter:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #8A4656 0%, #5E2633 100%);
    box-shadow: 0 8px 25px rgba(116, 59, 72, 0.4);
    border-color: #E8D5B5;
}

.btn-save-letter svg {
    color: var(--accent-gold-light);
    transition: transform 0.3s ease;
}

.btn-save-letter:hover svg {
    transform: translateY(2px);
}

.btn-close-letter {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.4rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-paper);
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-letter:hover {
    background: var(--accent-wine);
    color: #FFFFFF;
    border-color: var(--accent-wine);
}

/* Botón de cierre rápido superior de la carta */
.btn-letter-close-corner {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-paper);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.35s var(--ease-cinematic);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-letter-close-corner:hover {
    background: var(--accent-wine);
    color: #FFFFFF;
    border-color: var(--accent-wine);
    transform: rotate(90deg) scale(1.08);
}

/* ================================================== */
/* 16. MODAL LIGHTBOX FOTOGRÁFICO                     */
/* ================================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2.5rem);
}

.lightbox-figure {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image-wrapper {
    position: relative;
    max-height: 80vh;
    max-width: 85vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-height: 80vh;
    max-width: 85vw;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.lightbox-loader.active {
    opacity: 1;
}

.loader-dot {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 0.8s infinite linear;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.lightbox-caption {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.lightbox-counter {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
}

.lightbox-caption-divider {
    color: rgba(255, 255, 255, 0.4);
}

.lightbox-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
}

.lightbox-btn {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* ================================================== */
/* 17. ANIMACIONES DE ENTRADA SCROLL REVEAL           */
/* ================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s var(--ease-cinematic), transform 0.9s var(--ease-cinematic);
    transition-delay: var(--stagger-delay, 0s);
    will-change: opacity, transform;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================== */
/* 18. RESPONSIVE OPTIMIZATION                        */
/* ================================================== */
@media (max-width: 991px) {
    .timeline-container {
        padding: 0 14px !important;
    }

    .timeline-spine {
        left: 50% !important;
        transform: translateX(-50%) !important;
        opacity: 0.28 !important;
        z-index: 1 !important;
    }

    .timeline-item {
        justify-content: center !important;
        margin-bottom: clamp(4rem, 8vw, 5.5rem) !important;
        width: 100% !important;
        position: relative !important;
    }

    /* Broche de tulipán centrado en la cabecera superior de la tarjeta */
    .timeline-node {
        left: 50% !important;
        top: 0 !important;
        transform: translate(-50%, -50%) !important;
        z-index: 6 !important;
        width: 40px !important;
        height: 40px !important;
    }

    .node-tulip-brooch {
        width: 38px !important;
        height: 38px !important;
        background: #FFFDF9 !important;
        border: 2px solid var(--accent-gold) !important;
        box-shadow: 0 4px 16px rgba(184, 154, 106, 0.35), 0 0 0 4px var(--bg-primary) !important;
        color: var(--accent-wine) !important;
    }

    .node-tulip-svg {
        width: 17px !important;
        height: 17px !important;
    }

    /* Tarjeta editorial de ancho completo aprovechando todo el ancho móvil */
    .chapter-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
        padding: 2.35rem 1.25rem 1.85rem !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 32px -8px rgba(33, 30, 28, 0.1), 0 2px 6px rgba(184, 154, 106, 0.05) !important;
        position: relative !important;
        z-index: 2 !important;
        box-sizing: border-box !important;
    }

    .chapter-card::before {
        inset: 6px !important;
        border-radius: 12px !important;
    }

    .chapter-header {
        text-align: center !important;
        margin-top: 0.25rem !important;
        margin-bottom: 1.25rem !important;
    }

    .chapter-number {
        font-size: 0.72rem !important;
        letter-spacing: 0.2em !important;
        margin-bottom: 0.35rem !important;
    }

    .chapter-year {
        font-size: clamp(2.8rem, 8.5vw, 3.6rem) !important;
        line-height: 0.95 !important;
        margin-bottom: 0.5rem !important;
    }

    .chapter-title {
        font-size: clamp(1.4rem, 4.5vw, 1.85rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 0.4rem !important;
    }

    .chapter-quote {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.35rem !important;
    }

    .chapter-tulip-watermark {
        right: 12px !important;
        left: auto !important;
        top: 12px !important;
        width: 48px !important;
        height: 72px !important;
        opacity: 0.10 !important;
        transform: none !important;
    }

    .chapter-left .chapter-tulip-watermark {
        transform: none !important;
        left: auto !important;
        right: 12px !important;
    }

    .photo-inner {
        aspect-ratio: 4 / 3 !important;
        border-radius: 8px !important;
    }

    .chapter-gallery {
        margin-top: 1.35rem !important;
    }

    .gallery-title {
        font-size: 0.78rem !important;
        letter-spacing: 0.12em !important;
        margin-bottom: 0.6rem !important;
    }

    .gallery-thumbnails {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        justify-content: center !important;
    }

    .gallery-thumb-btn {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 6px !important;
        overflow: hidden !important;
    }

    .chapter-body {
        margin-top: 1.35rem !important;
        text-align: left !important;
    }

    .chapter-description {
        font-size: 0.96rem !important;
        line-height: 1.75 !important;
    }

    .chapter-footer {
        margin-top: 1.75rem !important;
        display: flex !important;
        justify-content: center !important;
    }

    .btn-letter {
        padding: 0.85rem 1.6rem !important;
        font-size: 0.76rem !important;
        letter-spacing: 0.12em !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        gap: 0.6rem !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .marriage-card {
        padding: 2.25rem 1.5rem;
    }

    .lightbox-prev {
        left: 0.75rem;
    }

    .lightbox-next {
        right: 0.75rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 576px) {
    .counter-grid {
        gap: clamp(0.75rem, 3vw, 1.5rem);
        padding: 1.25rem 1.2rem;
        border-radius: 16px;
    }

    .counter-item {
        min-width: 60px;
    }

    .counter-number {
        font-size: clamp(2.2rem, 9vw, 2.8rem);
    }

    .counter-divider-dot {
        font-size: 1.4rem;
        margin-top: -0.5rem;
    }

    .letter-sheet {
        padding: 1.75rem 1.25rem;
    }

    .letter-salutation {
        font-size: 1.45rem;
    }

    .letter-paragraphs p {
        font-size: 1.1rem;
    }

    .letter-actions {
        justify-content: center !important;
        gap: 0.75rem !important;
    }

    .btn-save-letter,
    .btn-close-letter {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.8rem 1.2rem !important;
        font-size: 0.78rem !important;
    }

    .btn-letter-close-corner {
        top: 0.75rem !important;
        right: 0.75rem !important;
        width: 32px !important;
        height: 32px !important;
    }
}

/* ================================================== */
/* 19. ACCESIBILIDAD: PREFERS-REDUCED-MOTION          */
/* ================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-image {
        animation: none !important;
    }
}

/* ================================================== */
/* MEJORAS EXCLUSIVAS: CARTA DE MATRIMONIO & DETALLES */
/* ================================================== */
.letter-sheet::-webkit-scrollbar {
    width: 6px;
}
.letter-sheet::-webkit-scrollbar-track {
    background: transparent;
}
.letter-sheet::-webkit-scrollbar-thumb {
    background-color: rgba(116, 59, 72, 0.25);
    border-radius: 3px;
}
.letter-sheet::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-wine);
}

.letter-modal.is-marriage-modal .letter-sheet {
    border: 2px solid var(--accent-gold);
    background: #FFFDF9;
    box-shadow: 0 35px 90px -15px rgba(184, 154, 106, 0.35);
}

.letter-modal.is-marriage-modal .letter-stamp {
    border-color: var(--accent-gold);
    background: rgba(184, 154, 106, 0.08);
}

.letter-modal.is-marriage-modal .stamp-year {
    color: var(--accent-gold);
}

.letter-modal.is-marriage-modal .stamp-text {
    color: var(--accent-wine);
}

.letter-modal.is-marriage-modal .letter-salutation {
    color: var(--accent-wine);
    font-size: clamp(1.9rem, 3.2vw, 2.3rem);
}

.letter-modal.is-marriage-modal .letter-signature {
    color: var(--accent-wine);
    font-size: 1.65rem;
}

/* ================================================== */
/* 20. PRELOADER & CARTA DE BIENVENIDA (AUDIO AVISO)  */
/* ================================================== */
body.intro-active {
    overflow: hidden !important;
}

.intro-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
    transition: opacity 0.7s var(--ease-cinematic), filter 0.7s var(--ease-cinematic), transform 0.7s var(--ease-cinematic);
}

.intro-preloader.intro-fading {
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.03);
    pointer-events: none;
}

.intro-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, #FAF6F0 0%, #F0E8DD 60%, #E5DACB 100%);
}

.intro-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 460px);
    margin: 0 auto;
}

.intro-card-wrapper {
    position: relative;
    width: 100%;
}

/* Broche de Sello Lacrado Superior */
.intro-seal-brooch {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s var(--ease-cinematic), opacity 0.4s ease;
}

.seal-ribbon {
    width: 22px;
    height: 18px;
    background: linear-gradient(180deg, var(--accent-gold), var(--accent-wine));
    border-radius: 2px 2px 0 0;
    opacity: 0.9;
}

.seal-wax-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #8E4453 0%, var(--accent-wine) 60%, #4A202A 100%);
    box-shadow: 0 8px 24px rgba(74, 32, 42, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(184, 154, 106, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -6px;
}

.seal-heart {
    font-size: 1.35rem;
    color: var(--accent-gold-light);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.intro-preloader.intro-opening .intro-seal-brooch {
    transform: translate(-50%, -15px) scale(1.15);
    opacity: 0;
}

/* Tarjeta Editorial de Papel */
.intro-paper {
    background: #FFFDFC;
    border-radius: 8px;
    padding: clamp(2.5rem, 6vw, 3.25rem) clamp(1.25rem, 5vw, 2.5rem) clamp(1.75rem, 4vw, 2.25rem);
    text-align: center;
    border: 1px solid var(--border-paper);
    box-shadow: 0 25px 60px -15px rgba(33, 30, 28, 0.16), 0 0 0 1px rgba(184, 154, 106, 0.2);
    position: relative;
    z-index: 5;
    transition: transform 0.6s var(--ease-cinematic);
}

.intro-preloader.intro-opening .intro-paper {
    transform: scale(1.02);
}

.intro-tag {
    display: inline-block;
    font-size: 0.66rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--accent-wine);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.intro-heading {
    font-size: clamp(2rem, 5.5vw, 2.75rem);
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.intro-subheading {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    color: var(--accent-gold);
    display: block;
}

.intro-divider-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.25rem auto 1.35rem;
    width: 90px;
    height: 1px;
    background: rgba(184, 154, 106, 0.4);
    position: relative;
}

.divider-diamond {
    position: absolute;
    background: #FFFDFC;
    padding: 0 6px;
    font-size: 0.65rem;
    color: var(--accent-wine);
}

.intro-text {
    font-size: clamp(0.88rem, 2vw, 0.95rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 380px;
    margin: 0 auto 1.5rem;
    font-weight: 300;
}

/* Caja de Aviso de Audio */
.intro-audio-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(184, 154, 106, 0.08);
    border: 1px solid rgba(184, 154, 106, 0.32);
    padding: 0.65rem 1.15rem;
    border-radius: 40px;
    margin: 0 auto 1.75rem;
    text-align: left;
    max-width: 100%;
}

.audio-wave-anim {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
    flex-shrink: 0;
}

.audio-wave-anim span {
    width: 2px;
    background: var(--accent-wine);
    border-radius: 1px;
    animation: barPulse 1.1s infinite alternate ease-in-out;
}
.audio-wave-anim span:nth-child(1) { height: 10px; }
.audio-wave-anim span:nth-child(2) { height: 14px; animation-delay: 0.2s; }
.audio-wave-anim span:nth-child(3) { height: 7px; animation-delay: 0.4s; }
.audio-wave-anim span:nth-child(4) { height: 12px; animation-delay: 0.15s; }

.audio-notice-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.audio-notice-label {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-wine);
    font-weight: 500;
    line-height: 1.2;
}

.audio-notice-song {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Botones */
.intro-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.btn-enter-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 320px;
    padding: 0.95rem 1.6rem;
    background: var(--accent-wine);
    color: #FFFFFF;
    border-radius: 40px;
    font-size: 0.88rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.35s var(--ease-cinematic);
    box-shadow: 0 8px 25px rgba(116, 59, 72, 0.32);
    min-height: 50px;
}

.btn-enter-primary:hover {
    background: var(--accent-wine-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(116, 59, 72, 0.42);
}

.btn-enter-main {
    letter-spacing: 0.16em;
    font-weight: 500;
}

.btn-enter-music-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.22);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    margin-left: 0.35rem;
}

.music-pill-icon {
    font-size: 0.85rem;
    color: var(--accent-gold-light);
    line-height: 1;
}

.music-pill-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 13px;
}

.music-pill-bars span {
    width: 2px;
    background: var(--accent-gold-light);
    border-radius: 1px;
    animation: pillBarPulse 0.9s infinite alternate ease-in-out;
}

.music-pill-bars span:nth-child(1) { height: 5px; animation-delay: 0s; }
.music-pill-bars span:nth-child(2) { height: 13px; animation-delay: 0.2s; }
.music-pill-bars span:nth-child(3) { height: 8px; animation-delay: 0.4s; }
.music-pill-bars span:nth-child(4) { height: 11px; animation-delay: 0.15s; }

@keyframes pillBarPulse {
    0% { height: 3px; }
    100% { height: 13px; }
}

.btn-enter-secondary {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    transition: color 0.25s ease;
    padding: 0.4rem;
}

.btn-enter-secondary:hover {
    color: var(--accent-wine);
    text-decoration: underline;
}

.intro-envelope-shadow {
    position: absolute;
    bottom: -10px;
    left: 4%;
    width: 92%;
    height: 30px;
    background: rgba(33, 30, 28, 0.12);
    border-radius: 50%;
    filter: blur(10px);
    z-index: 1;
}

/* ================================================== */
/* 21. HERO TIPOGRÁFICO & FONDOS ROMÁNTICOS           */
/* ================================================== */
.hero-typographic {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.hero-romantic-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-aurora-layer {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 50% 45%, rgba(184, 140, 145, 0.16) 0%, rgba(184, 154, 106, 0.12) 40%, rgba(246, 241, 235, 0.9) 75%);
    animation: auroraDrift 16s infinite alternate ease-in-out;
}

@keyframes auroraDrift {
    0% { transform: scale(0.95) rotate(0deg); }
    100% { transform: scale(1.08) rotate(4deg); }
}

.hero-light-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.orb-1 {
    width: 420px;
    height: 420px;
    background: rgba(116, 59, 72, 0.12);
    filter: blur(95px);
    top: 15%;
    left: 18%;
    animation: orbFloat1 18s infinite alternate ease-in-out;
}

.orb-2 {
    width: 480px;
    height: 480px;
    background: rgba(184, 154, 106, 0.15);
    filter: blur(110px);
    bottom: 12%;
    right: 15%;
    animation: orbFloat2 22s infinite alternate ease-in-out;
}

.orb-3 {
    width: 360px;
    height: 360px;
    background: rgba(184, 140, 145, 0.14);
    filter: blur(85px);
    top: 40%;
    right: 32%;
    animation: orbFloat3 15s infinite alternate ease-in-out;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -35px) scale(1.12); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-45px, 30px) scale(1.08); }
}

@keyframes orbFloat3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, -40px) scale(1.15); }
}

/* Chispas y estrellas sutiles flotantes */
.hero-sparkles {
    position: absolute;
    inset: 0;
}

.sparkle {
    position: absolute;
    color: var(--accent-gold);
    font-size: 0.85rem;
    opacity: 0.35;
    animation: sparkleBreathe 4s infinite alternate ease-in-out;
}

.s-1 { top: 22%; left: 25%; animation-delay: 0s; font-size: 0.75rem; }
.s-2 { top: 30%; right: 22%; animation-delay: 1.2s; font-size: 1rem; }
.s-3 { bottom: 35%; left: 18%; animation-delay: 2.4s; font-size: 0.65rem; }
.s-4 { bottom: 25%; right: 28%; animation-delay: 0.8s; font-size: 0.9rem; }
.s-5 { top: 15%; right: 40%; animation-delay: 1.8s; font-size: 0.65rem; }
.s-6 { bottom: 42%; left: 38%; animation-delay: 2.9s; font-size: 0.8rem; }

@keyframes sparkleBreathe {
    0% { opacity: 0.15; transform: scale(0.8); }
    100% { opacity: 0.65; transform: scale(1.3); }
}

.hero-radial-vignette {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 100px rgba(246, 241, 235, 0.75);
}

/* Tipografía y Contenido del Hero Cinemático */
.hero-delayed-content {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: opacity 1.8s var(--ease-cinematic), transform 1.8s var(--ease-cinematic);
}

.hero-delayed-content.is-revealed {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-delayed-indicator {
    opacity: 0;
    transform: translate(-50%, 16px);
    transition: opacity 1.4s var(--ease-cinematic) 0.5s, transform 1.4s var(--ease-cinematic) 0.5s;
}

.hero-delayed-indicator.is-revealed {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Experiencia Cinemática de Hero con Fotografía */
.hero-photo-experience {
    position: relative;
    background-color: #12100E;
    overflow: hidden;
}

.hero-photo-experience .hero-image {
    object-position: center center;
    filter: brightness(0.92) contrast(1.05);
}

.hero-photo-experience .hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center 45%, rgba(18, 16, 14, 0.12) 0%, rgba(18, 16, 14, 0.42) 75%, rgba(18, 16, 14, 0.72) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-photo-experience .hero-vignette {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    z-index: 2;
}

.hero-photo-experience .hero-content {
    color: #FFFFFF;
    position: relative;
    z-index: 4;
    max-width: 860px;
}

.hero-photo-experience .monogram-symbol {
    font-size: 1.8rem;
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(184, 154, 106, 0.6);
}

.hero-photo-experience .hero-logo-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.9rem;
}

.hero-photo-experience .hero-brand-logo {
    height: clamp(34px, 5.5vw, 44px);
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.75));
    transition: transform 0.4s var(--ease-cinematic);
}

.hero-photo-experience .hero-brand-logo:hover {
    transform: scale(1.03);
}

.hero-photo-experience .kicker-line {
    width: 36px;
    height: 1px;
    background: rgba(239, 232, 220, 0.65);
}

.hero-photo-experience .hero-title {
    color: #FFFFFF;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.65);
}

.hero-photo-experience .hero-subtitle {
    color: var(--accent-gold-light);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.25rem, 2.4vw, 1.85rem);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

.hero-photo-experience .hero-poem {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    color: rgba(255, 253, 252, 0.95);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.75);
    line-height: 1.85;
    max-width: 640px;
    margin: 0 auto 2.75rem;
}

.hero-photo-experience .btn-primary {
    background: rgba(255, 253, 252, 0.94);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(184, 154, 106, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-photo-experience .btn-primary:hover {
    background: #FFFFFF;
    color: var(--accent-wine);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.hero-photo-experience .scroll-text {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-photo-experience .scroll-line {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent);
}

/* ================================================== */
/* AJUSTE EDITORIAL DE HERO EN MÓVIL                  */
/* ================================================== */
@media (max-width: 768px) {
    .hero-photo-experience {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding-bottom: clamp(2rem, 5.5vh, 3.5rem);
        min-height: 100svh;
        height: 100svh;
    }

    .hero-photo-experience .hero-image {
        object-position: center 12% !important;
        animation: heroImageZoomMobile 20s infinite alternate ease-in-out;
    }

    @keyframes heroImageZoomMobile {
        0% { transform: scale(1.02); }
        100% { transform: scale(1.07); }
    }

    /* Velo inferior suave: rostro libre de texto arriba, contraste rico abajo */
    .hero-photo-experience .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(18, 16, 14, 0.04) 0%,
            rgba(18, 16, 14, 0.12) 32%,
            rgba(18, 16, 14, 0.65) 58%,
            rgba(18, 16, 14, 0.90) 85%,
            rgba(18, 16, 14, 0.96) 100%
        ) !important;
    }

    .hero-photo-experience .hero-vignette {
        box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.45);
    }

    .hero-photo-experience .hero-content {
        margin-top: 0 !important;
        padding: 0 1.25rem;
        max-width: 360px;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero-photo-experience .hero-monogram {
        margin-bottom: 0.35rem;
    }

    .hero-photo-experience .monogram-symbol {
        font-size: 1.25rem;
    }

    .hero-photo-experience .hero-logo-kicker {
        gap: 0.75rem;
        margin-bottom: 0.35rem;
    }

    .hero-photo-experience .hero-brand-logo {
        height: 25px !important;
        max-width: 160px !important;
    }

    .hero-photo-experience .kicker-line {
        width: 18px;
    }

    .site-brand-logo-wrap {
        height: 28px;
    }

    .brand-logo {
        height: 28px;
        max-width: 140px;
    }

    .hero-photo-experience .hero-title {
        font-size: clamp(2.1rem, 8vw, 2.75rem) !important;
        letter-spacing: 0.14em;
        margin-bottom: 0.35rem;
        line-height: 1.1;
    }

    .hero-photo-experience .hero-subtitle {
        font-size: 0.92rem !important;
        margin-bottom: 0.6rem;
        line-height: 1.35;
    }

    .hero-photo-experience .hero-poem {
        font-size: 0.82rem !important;
        line-height: 1.5;
        max-width: 320px;
        margin: 0 auto 1.4rem;
    }

    .hero-photo-experience .hero-cta {
        margin-bottom: 0.75rem;
    }

    .hero-photo-experience .btn-primary {
        padding: 0.8rem 1.85rem !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.12em;
        border-radius: 35px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
    }

    .hero-photo-experience .hero-scroll-indicator {
        bottom: 0.5rem !important;
        gap: 0.25rem;
    }

    .hero-photo-experience .scroll-text {
        font-size: 0.62rem;
        letter-spacing: 0.18em;
    }

    .hero-photo-experience .scroll-line {
        height: 16px;
    }
}

/* ================================================== */
/* 22. GRAN SECCIÓN MATRIMONIO: PROPUESTA & REVELADO  */
/* ================================================== */
.marriage-experience-section {
    position: relative;
    padding: clamp(6rem, 12vw, 9.5rem) 0;
    background: radial-gradient(ellipse at 50% 25%, rgba(184, 154, 106, 0.15) 0%, #FAF6F0 60%, var(--bg-primary) 100%);
    border-top: 1px solid rgba(184, 154, 106, 0.35);
    border-bottom: 1px solid rgba(184, 154, 106, 0.35);
    overflow: hidden;
}

.marriage-experience-section .marriage-container {
    max-width: min(95vw, 1420px);
    width: 100%;
}

.marriage-royal-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.marriage-glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(184, 154, 106, 0.12);
    filter: blur(120px);
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.prelude-crown-icon {
    font-size: 3.2rem;
    line-height: 1;
    margin-bottom: 1.25rem;
    animation: crownFloat 3s infinite alternate ease-in-out;
}

@keyframes crownFloat {
    0% { transform: translateY(0) scale(0.95); }
    100% { transform: translateY(-8px) scale(1.08); }
}

.marriage-hero-heading {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.marriage-proposal-narrative {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 720px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

/* Caja de la Propuesta */
.proposal-card-box {
    max-width: 740px;
    margin: 0 auto 3.5rem;
    background: #FFFDFC;
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 25px 60px -15px rgba(184, 154, 106, 0.28);
    position: relative;
}

.proposal-sub {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-wine);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.proposal-box-question {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.85rem, 4.2vw, 2.75rem);
    color: var(--accent-wine);
    line-height: 1.3;
    margin-bottom: 2.25rem;
}

.proposal-action-wrapper {
    display: flex;
    justify-content: center;
}

/* Botón Interactivo: ¡SÍ, ACEPTO! */
.btn-say-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-wine) 0%, #8E4453 100%);
    color: #FFFFFF;
    border: 2px solid var(--accent-gold);
    border-radius: 50px;
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 12px 35px rgba(116, 59, 72, 0.42);
    cursor: pointer;
    transition: all 0.4s var(--ease-cinematic);
    position: relative;
    overflow: hidden;
}

.btn-say-yes:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 45px rgba(116, 59, 72, 0.52);
    border-color: #FFFFFF;
}

.say-yes-ring-pulse {
    font-size: 1.4rem;
    line-height: 1;
    animation: ringSparkle 2s infinite alternate ease-in-out;
}

@keyframes ringSparkle {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.25) rotate(15deg); }
}

.say-yes-badge {
    background: rgba(255, 255, 255, 0.22);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--accent-gold-light);
    white-space: nowrap;
}

.btn-say-yes.has-said-yes {
    background: linear-gradient(135deg, #2D6A4F 0%, #1B4332 100%);
    border-color: #95D5B2;
    box-shadow: 0 10px 30px rgba(45, 106, 79, 0.4);
    pointer-events: none;
}

/* ================================================== */
/* ESCENARIO DE REVELADO DE BODA CINEMATOGRÁFICO      */
/* ================================================== */
.wedding-reveal-stage {
    display: none; /* Oculto inicialmente hasta que se presione ¡SÍ, ACEPTO! */
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 2.75rem auto 0;
    border-radius: 24px;
    overflow: hidden;
    background: #FFFDFC;
    border: 1px solid var(--border-gold);
    box-shadow: 0 35px 90px -20px rgba(184, 154, 106, 0.32);
    opacity: 0;
    transform: translateY(45px) scale(0.97);
    filter: blur(10px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s ease-out,
                box-shadow 1.2s ease;
    will-change: opacity, transform, filter;
}

/* Entrada triunfal y destello áureo al decir "¡SÍ, ACEPTO!" */
.wedding-reveal-stage.is-revealed,
.wedding-reveal-stage.unveiled {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    animation: weddingStageEntranceAura 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes weddingStageEntranceAura {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 168, 128, 0), 0 35px 90px -20px rgba(184, 154, 106, 0.2);
    }
    35% {
        box-shadow: 0 0 65px 12px rgba(197, 168, 128, 0.5), 0 35px 90px -20px rgba(116, 59, 72, 0.3);
    }
    100% {
        box-shadow: 0 0 35px rgba(197, 168, 128, 0.18), 0 35px 90px -20px rgba(184, 154, 106, 0.32);
    }
}

/* Cascada de animación escalonada de los elementos del álbum */
.wedding-reveal-stage .wedding-album-header,
.wedding-reveal-stage .panoramic-col,
.wedding-reveal-stage .marriage-post-reveal-content {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.wedding-reveal-stage.is-revealed .wedding-album-header,
.wedding-reveal-stage.unveiled .wedding-album-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.wedding-reveal-stage.is-revealed .panoramic-col-flank:first-child,
.wedding-reveal-stage.unveiled .panoramic-col-flank:first-child {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.wedding-reveal-stage.is-revealed .panoramic-col-center,
.wedding-reveal-stage.unveiled .panoramic-col-center {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.wedding-reveal-stage.is-revealed .panoramic-col-flank:last-child,
.wedding-reveal-stage.unveiled .panoramic-col-flank:last-child {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.wedding-reveal-stage.is-revealed .marriage-post-reveal-content,
.wedding-reveal-stage.unveiled .marriage-post-reveal-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.75s;
}

/* Destello de luz sobre las tarjetas de fotografía */
.wedding-reveal-stage.is-revealed .marriage-mosaic-card::after,
.wedding-reveal-stage.unveiled .marriage-mosaic-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    border-radius: inherit;
    animation: photoRevealGleam 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes photoRevealGleam {
    0% { opacity: 0; transform: scale(0.96); }
    40% { opacity: 0.7; }
    100% { opacity: 0; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .wedding-reveal-stage,
    .wedding-reveal-stage .wedding-album-header,
    .wedding-reveal-stage .panoramic-col,
    .wedding-reveal-stage .marriage-post-reveal-content {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
    }
}

/* Escaparate del Álbum de Boda Revelado */
.wedding-album-showcase {
    padding: clamp(2rem, 3.5vw, 3.8rem) clamp(1rem, 2.5vw, 2.8rem);
    background: #FFFDFC;
    position: relative;
}

.wedding-album-header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.wedding-album-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.3rem;
    background: rgba(184, 154, 106, 0.12);
    border: 1px solid var(--accent-gold);
    border-radius: 30px;
    color: var(--accent-wine);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.badge-tulip-icon {
    display: inline-flex;
    align-items: center;
    color: var(--accent-wine);
}

.wedding-album-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.15;
}

.wedding-album-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
}

/* Mosaico Panorámico de Gala: 4 Momentos Únicos Sin Repeticiones */
.wedding-album-panoramic-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: clamp(1rem, 2vw, 1.85rem);
    align-items: center;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.panoramic-col {
    display: flex;
    flex-direction: column;
}

.panoramic-col-flank {
    display: flex;
    flex-direction: column;
}

.panoramic-col-flank .marriage-mosaic-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.panoramic-col-flank .marriage-mosaic-card .photo-inner {
    aspect-ratio: 611 / 917;
    width: 100%;
    min-height: unset;
}

.panoramic-col-flank .marriage-mosaic-card.card-portrait .photo-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.65s var(--ease-cinematic);
}

.panoramic-col-center {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.85rem);
    justify-content: center;
}

.panoramic-col-center .marriage-mosaic-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.panoramic-col-center .marriage-mosaic-card .photo-inner {
    aspect-ratio: 1280 / 853;
    width: 100%;
    min-height: unset;
}

.panoramic-col-center .marriage-mosaic-card.card-landscape .photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.65s var(--ease-cinematic);
}

.marriage-mosaic-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #FFFDFB;
    border: 1.5px solid var(--accent-gold);
    box-shadow: 0 10px 30px -5px rgba(33, 30, 28, 0.08);
    transition: transform 0.4s var(--ease-cinematic), box-shadow 0.4s var(--ease-cinematic), border-color 0.4s ease;
    cursor: pointer;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.marriage-mosaic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px -10px rgba(184, 154, 106, 0.35);
    border-color: var(--accent-wine);
}

.marriage-mosaic-card .photo-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
    flex: 1;
}

.marriage-mosaic-card:hover .photo-img {
    transform: scale(1.04);
}

/* Leyendas de tarjetas en el mosaico */
.wedding-card-caption {
    padding: 0.85rem 1.15rem;
    background: #FFFDFC;
    border-top: 1px solid rgba(184, 154, 106, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.caption-badge {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-wine);
    background: rgba(116, 59, 72, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    white-space: nowrap;
}

.caption-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Detalle post-revelado con votos */
.marriage-post-reveal-content {
    margin-top: clamp(2rem, 4vw, 3.5rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--border-paper);
}

.marriage-revealed-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.marriage-revealed-line {
    width: 45px;
    height: 1px;
    background: var(--accent-gold);
}

.marriage-revealed-ornament {
    color: var(--accent-wine);
    font-size: 1.25rem;
}

.marriage-revealed-title {
    font-size: clamp(1.85rem, 3.8vw, 2.75rem);
    color: var(--accent-wine);
    margin-bottom: 0.75rem;
}

.marriage-revealed-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    color: var(--accent-gold);
    max-width: 680px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

.marriage-revealed-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 680px;
    margin: 0 auto 2.25rem;
}

/* Responsividad para móviles y tablets */
@media (max-width: 991px) {
    .wedding-album-panoramic-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .panoramic-col-center {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .panoramic-col-flank .marriage-mosaic-card .photo-inner {
        aspect-ratio: 611 / 917 !important;
        min-height: unset !important;
    }

    .panoramic-col-center .marriage-mosaic-card .photo-inner {
        aspect-ratio: 1280 / 853 !important;
        min-height: unset !important;
    }
}

@media (max-width: 768px) {
    .btn-say-yes {
        padding: 0.78rem 1.55rem;
        font-size: 0.84rem;
        gap: 0.6rem;
        letter-spacing: 0.12em;
        white-space: nowrap;
        max-width: 92%;
    }

    .btn-say-yes-sparkle svg {
        width: 12px;
        height: 12px;
    }

    .btn-say-yes-ring svg {
        width: 14px;
        height: 14px;
    }

    .wedding-album-panoramic-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .panoramic-col-center {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .panoramic-col-flank .marriage-mosaic-card .photo-inner {
        aspect-ratio: 611 / 917 !important;
        min-height: unset !important;
        height: auto !important;
    }

    .panoramic-col-flank .marriage-mosaic-card.card-portrait .photo-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .panoramic-col-center .marriage-mosaic-card .photo-inner {
        aspect-ratio: 1280 / 853 !important;
        min-height: unset !important;
        height: auto !important;
    }

    .panoramic-col-center .marriage-mosaic-card.card-landscape .photo-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .wedding-album-showcase {
        padding: 1.5rem 0.85rem;
    }

    .wedding-card-caption {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}

@media (max-width: 480px) {
    .btn-say-yes {
        padding: 0.72rem 1.35rem;
        font-size: 0.8rem;
        gap: 0.5rem;
        letter-spacing: 0.1em;
    }

    .wedding-album-panoramic-grid {
        max-width: 100%;
    }
}

/* ================================================== */
/* 20. IDENTIDAD VISUAL: LOGOTIPOS LUCHY & JEFRYTH   */
/* ================================================== */

/* Preloader / Carta Inicial (Fondo Claro) */
.intro-brand-logo-wrap {
    margin: 0.4rem auto 0.6rem;
    display: flex;
    justify-content: center;
}

.intro-brand-logo {
    height: 38px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Álbum Real de Boda (Fondo Claro) */
.wedding-album-logo-wrap {
    margin: 0.35rem auto 0.75rem;
    display: flex;
    justify-content: center;
}

.wedding-brand-logo {
    height: clamp(30px, 4vw, 40px);
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Cita Editorial Banner (Fondo Claro) */
.quote-signature-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.quote-dash {
    color: var(--accent-gold);
    font-size: 1.25rem;
    line-height: 1;
}

.quote-brand-logo {
    height: 26px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Epílogo Final (Fondo Oscuro) */
.epilogue-signature-wrap {
    margin-top: clamp(2.8rem, 5vw, 4.2rem);
    margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.8rem, 2.5vw, 2.2rem);
}

.epilogue-logo-flourish {
    display: inline-block;
    height: 1px;
    width: clamp(35px, 8vw, 85px);
    opacity: 0.75;
}

.flourish-left {
    background: linear-gradient(90deg, transparent, rgba(184, 154, 106, 0.75));
}

.flourish-right {
    background: linear-gradient(90deg, rgba(184, 154, 106, 0.75), transparent);
}

.epilogue-brand-logo {
    height: clamp(38px, 6vw, 54px);
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: drop-shadow(0 2px 18px rgba(184, 154, 106, 0.5)) drop-shadow(0 0 35px rgba(116, 59, 72, 0.35));
    transition: transform 0.4s var(--ease-cinematic), filter 0.4s ease;
}

.epilogue-brand-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 24px rgba(184, 154, 106, 0.75)) drop-shadow(0 0 50px rgba(226, 115, 135, 0.5));
}

/* ================================================== */
/* 21. ESTILOS DE IMPRESIÓN & GUARDADO EN PDF         */
/* ================================================== */
@media print {
    /* Ocultar toda la web excepto la carta */
    body > * {
        display: none !important;
    }

    body {
        background: #FFFFFF !important;
        color: #211E1C !important;
        font-family: 'Cormorant Garamond', Georgia, serif !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #letterModal {
        display: block !important;
        position: static !important;
        inset: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .letter-modal-backdrop,
    .envelope-container,
    .letter-footer,
    .btn-letter-close-corner {
        display: none !important;
    }

    .letter-modal-wrapper {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        transform: none !important;
    }

    .letter-sheet {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        border: 2px solid #B89A6A !important;
        border-radius: 8px !important;
        padding: 40px 50px !important;
        background: #FFFDF9 !important;
        color: #211E1C !important;
        transform: none !important;
        opacity: 1 !important;
        page-break-inside: avoid;
    }

    .letter-header {
        border-bottom: 1px dashed #B89A6A !important;
        padding-bottom: 20px !important;
        margin-bottom: 30px !important;
        display: flex !important;
        justify-content: space-between !important;
    }

    .letter-stamp {
        border: 1px solid #743B48 !important;
    }

    .stamp-year {
        color: #743B48 !important;
    }

    .stamp-text {
        color: #B89A6A !important;
    }

    .letter-date {
        color: #756D68 !important;
    }

    .letter-salutation {
        color: #743B48 !important;
        font-size: 24pt !important;
        margin-bottom: 25px !important;
    }

    .letter-paragraphs p {
        font-size: 13.5pt !important;
        line-height: 1.85 !important;
        color: #211E1C !important;
        margin-bottom: 18px !important;
    }

    .letter-signature-block {
        border-top: 1px dashed #B89A6A !important;
        margin-top: 35px !important;
        padding-top: 20px !important;
    }

    .letter-signature {
        color: #743B48 !important;
        font-size: 17pt !important;
    }

    .letter-handwritten-signature {
        max-width: 190px !important;
        filter: none !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}
