/* Variables Globales y Reseteo */
:root {
    --color-fondo: #FAFAFA;
    --color-texto: #333333;
    --font-secundaria: 'Inter', sans-serif;
    /* Las variables --font-principal y --color-acento se inyectan dinÃ¡micamente en el HTML */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-fondo);
    color: var(--color-texto);
    font-family: var(--font-secundaria);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none; /* Permite clickar elementos de la UI a travÃ©s del canvas */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-principal);
    font-weight: normal;
}

.invitation-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

/* =========================================
   ESTILOS DE LOS MÃ“DULOS (LEGOS)
   ========================================= */

/* MÃ³dulo 1: Hero Section */
.modulo-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../img/hero-placeholder.webp') center/cover no-repeat;
    color: white;
    padding: 2rem;
}

/* Utilidad para brillo animado en textos (Efecto Gradiente Dorado) */
.texto-brillo {
    background: linear-gradient(
        110deg,
        color-mix(in srgb, var(--color-acento) 70%, black) 0%,
        var(--color-acento) 45%,
        #ffffff 50%,
        var(--color-acento) 55%,
        color-mix(in srgb, var(--color-acento) 70%, black) 100%
    );
    background-size: 200% auto;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: shine 3.5s linear infinite;
    -webkit-transform: translateZ(0); /* Evita que el texto se mueva/tiemble (efecto bajo agua) */
    transform: translateZ(0);
    will-change: background-position;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.modulo-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: var(--color-acento);
}

.modulo-hero .fecha-hero {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* MÃ³dulo 2: Countdown */
.modulo-countdown {
    padding: 4rem 2rem;
    background-color: white;
    text-align: center;
}

.modulo-countdown h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-acento);
}

.contador-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contador-item {
    background-color: #f8f8f8;
    padding: 1.5rem;
    border-radius: 10px;
    min-width: 100px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.contador-item span {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-principal);
    color: var(--color-texto);
}

.contador-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
}

/* MÃ³dulo 3: Detalles */
.modulo-detalles {
    padding: 4rem 2rem;
    background-color: #fcfcfc;
    text-align: center;
}

.modulo-detalles h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-acento);
}

.detalles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.detalle-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--color-acento);
}

.detalle-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.detalle-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Responsividad bÃ¡sica */
@media (max-width: 768px) {
    .modulo-hero h1 { font-size: 2.5rem; }
    .contador-grid { 
        gap: 0.5rem; 
        flex-wrap: nowrap;
    }
    .contador-item { 
        min-width: 60px; 
        padding: 0.5rem; 
        flex: 1;
    }
    .contador-item span { font-size: 1.5rem; }
    .contador-item p { font-size: 0.7rem; }
}

/* =========================================
   MÃ³dulo 0: Sobre Animado Premium (Mobile First)
   ========================================= */

body.sobre-activo {
    overflow: hidden;
}

.sobre-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85); /* Fondo oscuro premium */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    backdrop-filter: blur(5px);
}

.sobre-overlay.abierto {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1.5s ease-in-out 0.5s, visibility 1.5s ease-in-out 0.5s;
}

.sobre-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1500px; 
}

.sobre {
    position: relative;
    width: 90vw;
    max-width: 400px;
    height: 60vw;
    max-height: 260px;
    background: #e0e0e0;
    box-shadow: 0 0 1px rgba(0,0,0,0.5), 0 5px 15px rgba(0,0,0,0.15);
    perspective: 800px;
    margin: 0 auto;
}

/* Sombra interior y borde del sobre (pared trasera) */
.sobre:after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 0;
    border: 0 solid rgba(0,0,0,0.25);
    border-width: 30vw 45vw;
    border-top-color: transparent;
    z-index: 2;
}

@media (min-width: 450px) {
    .sobre:after { border-width: 130px 200px; }
}

/* Solapas base */
.sobre .flap {
    position: absolute;
    width: 100%; height: 0;
    border: 0 solid transparent;
    border-width: 30vw 45vw;
    z-index: 3;
}
@media (min-width: 450px) {
    .sobre .flap { border-width: 130px 200px; }
}

/* Solapa Frontal (Lados y abajo) */
.sobre .flap.front {
    border-left-color: #f7f7f7;
    border-right-color: #f7f7f7;
    border-bottom-color: #f2f2f2;
}
.sobre .flap.front:after {
    content: '';
    width: 100%; height: 0;
    position: absolute;
    left: -45vw;
    bottom: -30vw;
    border: 0 solid transparent;
    border-width: 29vw 45vw;
    border-bottom-color: #ffffff;
}
@media (min-width: 450px) {
    .sobre .flap.front:after {
        left: -200px; bottom: -130px;
        border-width: 126px 200px;
    }
}

/* Solapa Superior (TriÃ¡ngulo) */
.sobre .flap.top {
    border-top-width: 34vw;
    border-top-color: #ffffff;
    z-index: 4; /* Sobre todo al inicio */
    animation-duration: 1s;
    animation-fill-mode: forwards;
    transform-origin: top;
    transform-style: preserve-3d;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.1));
}
.animando .sobre .flap.top {
    animation-name: flip;
}
.sobre .flap.top:after {
    content: '';
    position: absolute;
    left: -45vw;
    top: -34vw;
    width: 100%; height: 0;
    border: 0 solid transparent;
    border-width: 33vw 45vw;
    border-top-color: #fefefe;
}
@media (min-width: 450px) {
    .sobre .flap.top { border-top-width: 145px; }
    .sobre .flap.top:after {
        left: -200px; top: -145px;
        border-width: 142px 200px;
    }
}

/* La Carta (Panel Central) */
.sobre .letter {
    position: absolute;
    width: 86vw;
    max-width: 380px;
    height: 55vw;
    max-height: 240px;
    top: 2vw;
    left: 2vw;
    z-index: 1; /* DetrÃ¡s de las solapas inicialmente */
    animation-duration: 2s;
    animation-delay: 0.5s; /* Empieza cuando la solapa top casi termina de abrir */
    animation-fill-mode: forwards;
    transform-style: preserve-3d;
}
@media (min-width: 450px) {
    .sobre .letter { top: 10px; left: 10px; }
}
.animando .sobre .letter {
    animation-name: remove-card;
}

/* Panel Central de la Carta */
.letter-center {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Panel Superior (Doblado hacia adelante) */
.letter-top {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%; height: 95%; /* un poco mÃ¡s corto para simular el pliegue */
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
    border: 1px solid #eaeaea;
    border-bottom: none;
    transform-origin: bottom;
    transform: rotateX(-179deg); /* Doblado hacia adelante */
    z-index: 3;
    animation-duration: 1.2s;
    animation-fill-mode: forwards;
    backface-visibility: hidden;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05); /* Sombra visible cuando estÃ¡ doblado */
}

/* Panel Inferior (Doblado hacia adelante) */
.letter-bottom {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; height: 95%;
    background: linear-gradient(to top, #f9f9f9, #ffffff);
    border: 1px solid #eaeaea;
    border-top: none;
    transform-origin: top;
    transform: rotateX(179deg); /* Doblado hacia adelante */
    z-index: 4;
    animation-duration: 1.2s;
    animation-fill-mode: forwards;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Animaciones de desdoble al abrir el sobre */
.animando .letter-top {
    animation-name: unfold-top;
    animation-delay: 2.2s; /* DespuÃ©s de que sale la carta */
}
.animando .letter-bottom {
    animation-name: unfold-bottom;
    animation-delay: 2.5s;
}

/* Nombres en la carta */
.sobre .letter .sobre-nombres {
    font-family: var(--font-principal);
    font-size: 2rem;
    color: var(--color-acento);
    letter-spacing: 1px;
    text-align: center;
    padding: 0 1rem;
}
.sobre .letter .sobre-invitacion {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888;
    margin-top: 0.5rem;
}

/* Animaciones */
@keyframes flip {
    100% {
        transform: rotateX(180deg);
        z-index: 1; /* Pasa hacia atrÃ¡s de la carta */
    }
}

@keyframes remove-card {
    50% {
        top: -100vw; /* Sale por arriba */
        z-index: 1;
    }
    100% {
        top: 4vw; /* Baja y se asienta */
        z-index: 5; /* Se pone delante de todo (enfrente del sobre) */
    }
}
@media (min-width: 450px) {
    @keyframes remove-card {
        50% { top: -450px; z-index: 1; }
        100% { top: 15px; z-index: 5; }
    }
}

@keyframes unfold-top {
    to { transform: rotateX(0deg); box-shadow: 0 0 0 transparent; }
}

@keyframes unfold-bottom {
    to { transform: rotateX(0deg); box-shadow: 0 0 0 transparent; }
}

/* Sello de Cera OrgÃ¡nico */
.sobre-sello {
    position: absolute;
    top: 34vw; /* Alineado con el borde del top flap */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 5;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.4));
}
@media (min-width: 450px) {
    .sobre-sello { top: 145px; }
}

.animando .sobre-sello {
    opacity: 0;
    pointer-events: none;
}

.sello-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../img/sello.webp');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
}

/* PartÃ­culas MÃ¡gicas (Al abrir el sobre) */
.particula {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--color-acento, #d4af37);
    border-radius: 50%;
    pointer-events: none;
    z-index: 20000;
    box-shadow: 0 0 8px var(--color-acento, #d4af37), 0 0 4px #fff;
    opacity: 0;
}

.sello-iniciales {
    position: relative;
    z-index: 5;
    color: #ffffff;
    font-family: var(--font-cursiva);
    font-size: 2.2rem; /* Ligeramente mÃ¡s grande para que destaque en el PNG */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.sobre-sello:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.instruccion-tap {
    margin-top: 3rem;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInOut 3s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Animaciones de apertura */
.sobre-overlay.animando .sobre-sello {
    opacity: 0;
    pointer-events: none;
}

.sobre-overlay.animando .sobre-solapa {
    transform: rotateX(180deg);
    z-index: 0;
    filter: drop-shadow(0 -5px 5px rgba(0,0,0,0.1));
}

.sobre-overlay.animando .sobre-carta {
    transform: translateY(-100px) scale(1.1);
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* =========================================
   MÃ“DULO DE GALERÃA 3D
   ========================================= */
.modulo-galeria {
    padding: 3rem 0;
    overflow: hidden;
}

.modulo-galeria .scene, .modulo-galeria .a3d { 
    display: grid; 
}

.modulo-galeria .scene {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    perspective: 45em;
    -webkit-mask: linear-gradient(90deg, transparent, #000 20% 80%, transparent);
    mask: linear-gradient(90deg, transparent, #000 20% 80%, transparent);
}

.modulo-galeria .a3d {
    place-self: center;
    transform-style: preserve-3d;
    animation: ry 40s linear infinite;
}

@keyframes ry { to { transform: rotateY(1turn); } }

.modulo-galeria .card {
    --w: 50vw;
    max-width: 250px;
    --ba: calc(1turn / var(--n));
    grid-area: 1 / 1;
    width: var(--w);
    aspect-ratio: 7 / 10;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--color-acento, #fff);
    backface-visibility: hidden;
    transform: 
        rotateY(calc(var(--i) * var(--ba)))
        translateZ(calc(-1 * (0.5 * var(--w) + 0.5em) / tan(0.5 * var(--ba))));
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

@media (min-width: 600px) {
    .modulo-galeria .card {
        --w: 250px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modulo-galeria .a3d { animation-duration: 128s; }
}

/* =========================================
   MÃ“DULO 9: GALERÃA CINEMATOGRÃFICA GSAP
   ========================================= */
.modulo-cinematica {
    /* El contenedor padre da espacio para el scroll (ej: 600vh) */
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Forzar ancho completo aunque haya padding */
    margin-right: calc(-50vw + 50%);
}

.modulo-cinematica .sticky-bg svg {
    border-radius: 2.5vh;
    width: 80%;
    height: 90%;
    position: absolute;
    left: 10%;
    top: 5%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: #111;
}

@media (max-aspect-ratio: 1.5) {
    .modulo-cinematica .sticky-bg svg {
        left: 5%;
        width: 90%;
    }
}

/* =========================================
   SOBRE TEXTURIZADO (MODIFICADORES)
   ========================================= */
.sobre.texturizado {
    background-image: url('../img/textura_sobre.svg');
    background-size: 400px;
    background-blend-mode: multiply;
}

/* Anulamos los pseudo-elementos de los bordes antiguos */
.sobre.texturizado .flap {
    border: none !important;
    width: 100%;
    height: 100%;
}

.sobre.texturizado .flap.front {
    clip-path: polygon(0 0, 50% 50%, 100% 0, 100% 100%, 0 100%);
    background-color: #f7f7f7;
    background-image: url('../img/textura_sobre.svg');
    background-size: 400px;
    background-blend-mode: multiply;
}

.sobre.texturizado .flap.top {
    height: 34vw;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background-color: #ffffff;
    background-image: url('../img/textura_sobre.svg');
    background-size: 400px;
    background-blend-mode: multiply;
}

@media (min-width: 450px) {
    .sobre.texturizado .flap.top { height: 145px; }
}

.sobre.texturizado .flap.top:after,
.sobre.texturizado .flap.front:after,
.sobre.texturizado:after {
    display: none;
}

.sobre.texturizado .sobre-atras {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    background-color: rgba(0,0,0,0.1); /* Sombra interior */
    z-index: 0;
}

/* Utilidad para textura de fondo */
.textura-papel {
    background-image: url('../img/textura_sobre.svg') !important;
    background-size: 400px !important;
    background-repeat: repeat !important;
    background-blend-mode: multiply !important;
}

/* =========================================
   MODAL DE CALENDARIO
   ========================================= */
.modal-calendario {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-calendario.mostrar {
    display: flex;
    opacity: 1;
}

.modal-calendario-content {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-calendario.mostrar .modal-calendario-content {
    transform: translateY(0);
}

.cerrar-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.cerrar-modal:hover {
    color: var(--color-acento);
}

.opciones-calendario {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-opcion-cal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-family: var(--font-secundaria);
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-opcion-cal i {
    margin-right: 12px;
    font-size: 1.3rem;
}

.btn-opcion-cal:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.btn-opcion-cal.google { background-color: #DB4437; }
.btn-opcion-cal.outlook { background-color: #0078D4; }
.btn-opcion-cal.apple { background-color: #000000; }

/* =========================================
   MODULO LIBRO DE VISITAS
   ========================================= */
.controles-visitas {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-secundario {
    background-color: transparent;
    color: var(--color-texto);
    border: 1px solid var(--color-texto);
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-secundaria);
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secundario:hover {
    background-color: rgba(0,0,0,0.05);
}

.btn-principal {
    background-color: var(--color-acento);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-secundaria);
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-principal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.contenedor-mensajes-oculto {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-out;
}

.contenedor-mensajes-visible {
    max-height: 4000px;
    overflow: hidden;
    transition: max-height 0.8s ease-in;
}

.grid-mensajes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 1rem;
    text-align: left;
}

@media (min-width: 768px) {
    .grid-mensajes {
        grid-template-columns: 1fr 1fr;
    }
}

.tarjeta-mensaje {
    background-color: #fbfbfb;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tarjeta-mensaje:hover {
    transform: translateY(-4px);
}

.tarjeta-texto {
    font-family: var(--font-secundaria);
    font-style: italic;
    color: #444;
    line-height: 1.6;
    flex-grow: 1;
}

.tarjeta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 15px;
    font-family: var(--font-secundaria);
    font-size: 0.85rem;
    color: #777;
    font-weight: bold;
    letter-spacing: 1px;
}

.tarjeta-footer i {
    color: var(--color-acento);
    opacity: 0.7;
}

/* Formulario */
.form-comentario {
    text-align: left;
}

.grupo-input {
    margin-bottom: 1.5rem;
}

.grupo-input label {
    display: block;
    font-family: var(--font-secundaria);
    font-size: 0.85rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 8px;
}

.grupo-input input, .grupo-input textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: var(--font-secundaria);
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.grupo-input input:focus, .grupo-input textarea:focus {
    border-color: var(--color-acento);
    outline: none;
}

/* =========================================
   MODULO ITINERARIO (VERTICAL COMPACTO)
   ========================================= */
.timeline-compacta {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.item-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    padding: 10px;
    transition: transform 0.3s;
}

.item-timeline:hover {
    transform: scale(1.05);
}

.hora-timeline {
    font-family: var(--font-principal);
    font-size: 1.8rem;
    color: var(--color-acento);
    margin-bottom: 5px;
}

.icono-timeline {
    font-size: 1.8rem;
    color: #444;
    margin-bottom: 10px;
}

.contenido-timeline h4 {
    font-family: var(--font-principal);
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contenido-timeline p {
    font-family: var(--font-secundaria);
    font-size: 0.95rem;
    color: #777;
}

.linea-conectora {
    width: 2px;
    height: 40px;
    background-color: var(--color-acento);
    opacity: 0.4;
    margin: 10px 0;
}/* =========================================
   SEPARADOR FLORAL
   ========================================= */
.separador-rosas {
    width: 100%;
    height: 40px;
    background-image: url('../img/separador-transparente.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    opacity: 0.9;
    margin-top: -35px;
    margin-bottom: -35px;
    position: relative;
    z-index: 50;
    pointer-events: none;
}




/* =========================================
   MODULO MESA DE REGALOS
   ========================================= */
.contenedor-tarjetas-regalo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 2rem;
}

.tarjeta-regalo {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid var(--color-acento);
}

.tarjeta-regalo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.icono-regalo {
    font-size: 3rem;
    color: var(--color-acento);
    margin-bottom: 20px;
    opacity: 0.8;
}

.titulo-regalo {
    font-family: var(--font-principal);
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.desc-regalo {
    font-family: var(--font-secundaria);
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-regalo {
    padding: 12px 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    width: 100%;
}

.btn-secundario {
    background: transparent;
    border: 1px solid var(--color-acento);
    color: var(--color-acento);
    padding: 10px 25px;
    border-radius: 30px;
    font-family: var(--font-secundaria);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-secundario:hover {
    background: var(--color-acento);
    color: white;
}

/* Acordeón Datos Bancarios */
.datos-bancarios {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), opacity 0.3s, margin-top 0.3s;
    opacity: 0;
    width: 100%;
    margin-top: 0;
    text-align: left;
    background: #fdfdfd;
    border-radius: 10px;
    border: 1px dashed #ddd;
}

.datos-bancarios.mostrar {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
    padding: 15px;
    border-color: var(--color-acento);
    transition: max-height 0.5s ease-in-out, opacity 0.3s 0.2s, margin-top 0.3s;
}

.dato-fila {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-secundaria);
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.dato-fila:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.dato-fila span {
    color: #777;
}

.dato-fila strong {
    color: #333;
    font-weight: 600;
}

.btn-copiar {
    background: #f0f0f0;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #555;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
    font-family: var(--font-secundaria);
}

.btn-copiar:hover {
    background: #e0e0e0;
}
