/* --- RESET FUNDAMENTAL PARA ANCHO COMPLETO --- */
* {
    box-sizing: border-box !important;
}

/* 2. Reseteo de las bases para eliminar la barra lateral */
/* --- RESET TOTAL --- */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    /* Eliminamos cualquier altura fija que esté peleando */
    height: auto !important; 
    min-height: 100%;
    /* Solo permitimos scroll en el eje Y del HTML */
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body {
    /* El body debe ser un flujo continuo, sin atrapar el scroll */
    display: block;
    position: relative;
    overflow: visible !important;
}

h1 {
    font-family: 'Bodoni Moda', serif;
    color: #ffffff;
    font-size: clamp(2.5rem, 8vw, 4.5rem); /* Tamaño elástico */
    margin: 15px 0;
    line-height: 1.1;
    text-transform: uppercase;
}

h1 span {
    font-family: 'Great Vibes', cursive; /* La letra ampersand (&) en cursiva */
    text-transform: none;
    font-size: 0.8em;
    display: block; /* Pone la & en su propia línea si prefieres */
    margin: 5px 0;
}

main, #wrapper, .main-container {
    overflow: visible !important;
    display: block;
}

/* 4. El truco maestro: Si una sección intenta crear scroll, la cortamos */
header {
    overflow: hidden !important;
    width: 100% !important;
    display: block !important;
}

section {
    position: relative;
    width: 100%;
    max-width: 100vw;
    /* Esto es vital: 'clip' corta el movimiento del efecto fade 
       para que no cree scroll extra hacia abajo */
    overflow: clip; 
}

h1, .date-num, .passes-digit {
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    /* Si el texto no cabe, se encoge solo */
    font-size: clamp(2rem, 8vw, 4.5rem) !important;
}

/* --- TOP HEADRE --- */
/* --- ESTILOS TOP BAR --- */
.top-bar-olivo {
    position: fixed;
    top: 0;
    left: 0;
    right: 0; /* Esto es más preciso que width: 100% */
    height: 60px;
    z-index: 9999;
    background-color: #808b72;
    /* Evita que se sumen bordes al ancho */
    box-sizing: border-box;
}

.top-bar-olivo.scrolled {
    /* Bajamos la opacidad (0.8) y mantenemos el color verde */
    background-color: rgba(128, 139, 114, 0.85); 
    
    /* El toque de lujo: desenfoca lo que pasa por detrás */
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    
    height: 50px; /* Opcional: hacerlo un poquito más delgado al bajar */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.top-bar-initials {
    font-family: 'Great Vibes', cursive;
    /* El dorado resalta muy bien sobre este verde claro */
    color: #fdfaf5; /* Usamos un blanco crema para que se vea más limpio */
    font-size: 2.2rem;
    margin: 0 25px;
    /* Un toque de dorado sutil para la letra */
    text-shadow: 1px 1px 0px rgba(184, 155, 94, 0.5);
    text-align: center;
}

.top-bar-line {
    flex: 1;
    height: 1px;
    /* La línea ahora es de un dorado mate muy fino */
    background: linear-gradient(
        to right, 
        transparent, 
        rgba(212, 175, 55, 0.8) 50%, 
        transparent
    );
}

/* --- HERO CLÁSICO --- */
.hero-classic {
    width: 100vw; /* Ancho total de la ventana visual */
    height: 100vh; /* Alto total de la ventana visual */
    background-image: url('https://images.unsplash.com/photo-1583939003579-730e3918a45a?q=80&w=800');
    background-size: cover; /* Cubre todo el espacio sin deformarse */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

/* La Capa Tenue Negra (Overlay) */
.black-overlay {
    background: rgba(0, 0, 0, 0.4); /* Oscurece la imagen para que el texto se lea */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- ESTILOS DE TEXTO (Blanco & Dorado) --- */
.hero-content {
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
    /* Si tienes width: 100% + padding, cámbialo a esto: */
    width: 100% !important; 
    max-width: 100% !important;
}

.hero-container {
    text-align: center;
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    color: #d4af37; 
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2.5rem, 9vw, 5.5rem); /* Tamaño fluido y grande */
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* Sombra suave para definición extra */
}

.hero-content h1 span {
    font-family: 'Great Vibes', cursive;
    color: #d4af37; /* DORADO para la '&' manuscrita */
    font-size: 1.2em;
    text-transform: lowercase;
    margin: 0 10px;
    display: block; /* La '&' en su propia línea si quieres, o inline */
}

.gold-line {
    width: 60px;
    height: 2px;
    margin: 20px auto;
    background: linear-gradient(
        to right, 
        transparent, 
        #d4af37 20%, 
        #fdfaf5 50%, 
        #d4af37 80%, 
        transparent
    );
}

/* --- DISEÑO DE FECHA --- */
.date-num {
    display: block;
    font-family: 'Bodoni Moda', serif;
    color: #d4af37; /* DORADO */
    line-height: 1;
    margin: 0;
    max-width: 100%;
    font-size: clamp(3rem, 15vw, 6rem) !important;
}

.date-text {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    letter-spacing: 3px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Caja de Fecha */
.date-box {
    display: inline-block; /* Para que la caja no ocupe todo el ancho */
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding: 15px 40px;
}



/* --- CONTEO REGRESIVO ---- */

/* --- SECCIÓN CONTEO CON CUADRO DORADO --- */
.countdown-section {
    padding: 100px 20px;
    background-color: #808b72; /* Verde Olivo Tenue */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1; /* Aseguramos visibilidad total */
    position: relative;
    z-index: 1; /* Capa inferior */
}

/* El Cuadro Dorado */
.countdown-container {
    border: 1px solid #d4af37; /* Línea más fina = más elegancia */
    padding: 60px 40px;
    max-width: 700px;
    width: 100%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.03);
}

/* Título en Blanco */
.countdown-title {
    /* Una cursiva más editorial */
    font-family: 'Great Vibes', cursive;
    font-style: italic;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 50px;
    letter-spacing: 2px;
    padding: 15px 1px;
}

#countdown-timer {
    display: flex;
    justify-content: center;
    align-items: baseline; /* Alinea los números por su base */
    gap: 30px;
}

/* Números y Etiquetas en Blanco */
.time-block span {
    /* Bodoni con estilo más estilizado */
    font-family: 'Bodoni Moda', serif;
    font-weight: 300; /* Más delgada para que se vea más fina */
    font-size: clamp(3rem, 7vw, 5rem);
    color: #ffffff;
    line-height: 0.8;
}

.time-block small {
    /* Tipografía tipo "San Serif" de lujo para las etiquetas */
    font-family: 'Cinzel', serif; 
    text-transform: uppercase;
    letter-spacing: 5px; /* Espaciado muy amplio */
    font-size: 0.65rem;
    color:  #ffffff; /* Regresamos un toque de dorado aquí para detalle */
    margin-top: 20px;
    font-weight: 400;
}

.time-divider {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3); /* Los dos puntos casi invisibles para no distraer */
    align-self: center;
}

/* --- SECCIÓN NUESTRA HISTORIA --- */
.history-section {
    background-color: #fdfaf5;
    padding: 80px 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
    z-index: 10;
}

.history-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    /* Preparamos el contenedor para el movimiento de JS */
    transform: translateY(0); 
    transition: transform 0.1s ease-out; /* Movimiento suave */
}

/* Texto a la izquierda */
.history-text {
    flex: 1;
    max-width: 500px;
}

.history-text small {
    font-family: 'Cinzel', serif;
    color: #808b72; /* El Verde Olivo Tenue */
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

.history-text h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: 3rem;
    color: #2f3625;
    margin-top: 10px;
    margin-bottom: 20px;
}

.history-divider {
    width: 50px;
    height: 1px;
    background-color: #d4af37;
    margin-bottom: 25px;
}

.history-text p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.history-quote {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: #b89b5e;
    margin-top: 30px;
}

/* Imagen a la derecha */
.history-image {
    flex: 1;
    max-width: 550px;
    /* Aseguramos que la imagen no se pierda */
    display: flex;
    justify-content: center;
    align-items: center;
}

.history-image img {
    width: 100%;
    height: auto;
    max-height: 600px; /* Evitamos que sea gigante */
    object-fit: cover; /* Recorte elegante */
    border-radius: 4px;
    /* Sombra sutil verde olivo */
    box-shadow: 15px 15px 0px -2px #808b72; 
}

/* --- NÚMERO DE PASES --- */
/* --- SECCIÓN PASES COLOR VERDE OLIVO --- */
.passes-section {
    width: 100%;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    overflow: hidden; /* No permite que el efecto fade cree scroll extra */
}

.passes-card {
    /* Mantenemos tus colores y sombras */
    background-color: #808b72; /* Nuestro Verde Olivo */
    padding: 25px; 
    box-shadow: 0 15px 35px rgba(47, 54, 37, 0.2);
    position: relative;

    /* ESTRUCTURA ESBELTA */
    width: 85%;            /* Un poco más angosta que antes */
    max-width: 380px;      /* El límite ideal para que se vea como tarjeta */
    margin: 0 auto;        /* Centrado perfecto */
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 2px;    /* Un toque sutil de suavizado en las esquinas */
}
/* El borde interno dorado le da el toque de invitación física */
.passes-inner-border {
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 40px 20px;
    text-align: center;
}

.passes-subtitle {
    font-family: 'Cinzel', serif;
    color: #fdfaf5;
    letter-spacing: 5px;
    font-size: 0.7rem;
    display: block;
    margin-bottom: 10px;
}

.passes-title {
    font-family: 'Bodoni Moda', serif;
    color: #ffffff;
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.passes-deco-line {
    width: 40px;
    height: 2px;
    background-color: #d4af37; /* Detalle dorado */
    margin: 0 auto 30px;
}

.passes-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #fdfaf5;
    font-size: 1.3rem;
    margin-bottom: 25px;
}

/* Contenedor del Número */
.passes-number-display {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    margin-bottom: 30px;
}

.passes-digit {
    display: block;
    font-family: 'Bodoni Moda', serif;
    color: #ffffff; /* El número blanco sobre el fondo verde */
    line-height: 1;
    font-size: clamp(3rem, 12vw, 5rem) !important;
    width: 100%;
}

.passes-label {
    font-family: 'Cinzel', serif;
    color: #d4af37; /* Dorado para el texto pequeño */
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.passes-footer {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    font-size: 0.65rem;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* --- SECCIÓN PADRES --- */
.parents-section {
    padding: 40px 20px; /* Espacio reducido para evitar el blanco excesivo */
    background-color: #fdfaf5;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
}

.parents-container {
    max-width: 800px;
    margin: 0 auto;
    /* Transición suave para el efecto de aparecer/desaparecer */
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.parents-main-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #808b72; /* Verde Olivo */
    margin-bottom: 30px;
}

.parents-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.parents-group small {
    font-family: 'Cinzel', serif;
    display: block;
    letter-spacing: 3px;
    color: #b89b5e; /* Dorado */
    margin-bottom: 10px;
    font-size: 0.7rem;
}

.parents-group p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #2f3625;
    margin: 5px 0;
}

.parents-divider {
    width: 1px;
    height: 80px;
    background-color: rgba(128, 139, 114, 0.3);
}

.parents-blessing {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    margin-top: 30px;
    color: #808b72;
    font-size: 1.1rem;
}

/* --- ESTADOS PARA EL EFECTO SCROLL --- */
.scroll-fade {
    opacity: 0;
    visibility: hidden;
    /* Reducimos el movimiento a solo 10px para que el 
       navegador no crea que la sección es más larga */
    transform: translateY(10px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, visibility 0.6s;
    will-change: opacity, transform;
}

.scroll-fade.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

header.hero-classic.scroll-fade {
    opacity: 1;
    transform: translateY(0);
}

/* --- donde y cuando --- */
/* --- SECCIÓN DÓNDE Y CUÁNDO --- */
.where-when-section {
    padding: 60px 20px;
    background-color: #fdfaf5;
    text-align: center;
}

.section-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: #808b72; /* Verde Olivo */
    margin-bottom: 40px;
}

.events-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap; /* Para que en móvil se pongan uno abajo del otro */
}

.event-card {
    background: white;
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(128, 139, 114, 0.2);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

/* Un toque especial para la tarjeta de Recepción */
.event-card.highlight {
    border-top: 4px solid #808b72;
}

.event-icon span {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: #b89b5e; /* Dorado */
}

.event-card h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.6rem;
    margin: 15px 0;
    color: #2f3625;
}

.event-time {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    color: #808b72;
}

.event-divider {
    width: 40px;
    height: 1px;
    background: #d4af37;
    margin: 20px auto;
}

.event-address {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #666;
    margin-bottom: 25px;
}

/* Botones estilo minimalista */
.btn-maps {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid #808b72;
    color: #808b72;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-maps:hover {
    background: #808b72;
    color: white;
}

/* --- SECCIÓN GALERÍA / CARRUSEL --- */
.gallery-section {
    padding: 60px 0;
    background-color: #fdfaf5;
    text-align: center;
    overflow: hidden; /* Seguridad antiscroll */
}

.gallery-header {
    width: 90%;
    max-width: 700px;
    margin: 0 auto 40px auto; /* Margen inferior para separarlo del carrusel */
}

.gallery-subtitle {
    font-family: 'Great Vibes', cursive; /* Subtítulo en cursiva */
    color: #b89b5e; /* Dorado suave */
    font-size: 1.6rem;
    margin: 5px 0 15px 0;
}

.gallery-title {
    font-family: 'Bodoni Moda', serif;
    color: #808b72; /* Nuestro Verde Olivo */
    font-size: clamp(2.2rem, 8vw, 2.8rem);
    margin: 0;
    line-height: 1.2;
}

.gallery-message {
    font-family: 'Cormorant Garamond', serif; /* Tipografía para texto largo */
    font-style: italic;
    font-size: 1.15rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Contenedor del carrusel */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden; /* Esconde las imágenes que no están activas */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-item {
    min-width: 100%; /* Cada imagen ocupa el 100% del contenedor */
    height: 500px; /* Altura fija para orden */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la foto sin deformarla */
}

.gallery-divider {
    width: 50px;
    height: 1px;
    background-color: rgba(184, 155, 94, 0.3); /* Dorado muy tenue */
    margin: 25px auto 0 auto;
}

/* Botones */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(128, 139, 114, 0.7); /* Verde Olivo con transparencia */
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-btn:hover { background: #808b72; }
.prev { left: 0; border-radius: 0 5px 5px 0; }
.next { right: 0; border-radius: 5px 0 0 5px; }

/* Puntitos */
.carousel-dots {
    margin-top: 15px;
}

.dot {
    height: 8px;
    width: 8px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.dot.active { background-color: #808b72; }

/* --- SECCIÓN PADRINOS --- */
.godparents-section {
    padding: 80px 20px;
    background-color: #ffffff; /* Un blanco puro para contrastar con el crema */
    text-align: center;
}

.godparents-container {
    max-width: 900px;
    margin: 0 auto;
}

.godparents-main-title {
    font-family: 'Bodoni Moda', serif;
    color: #808b72; /* Verde Olivo */
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.godparents-divider {
    width: 60px;
    height: 1px;
    background-color: #d4af37; /* Dorado */
    margin: 20px auto;
}

.godparents-intro {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

/* La Cuadrícula */
.godparents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas en PC */
    gap: 40px;
}

.godparents-item small {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.7rem;
    color: #b89b5e; /* Dorado */
    display: block;
    margin-bottom: 5px;
}

.godparents-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #2f3625;
    margin-bottom: 10px;
    font-weight: 400;
}

.godparents-item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #444;
    margin: 3px 0;
}

Aquí tienes el bloque completo del CSS para la sección de Mesa de Regalos. He unificado todo para que los nombres de las marcas luzcan tipográficamente parecidos a los originales pero con tu paleta de Verde Olivo y Dorado.

Este código está diseñado para ser "anti-errores", respetando el ancho de la pantalla para que no regrese la barra de scroll.

CSS
/* =========================================
   SECCIÓN MESA DE REGALOS (COMPLETO)
   ========================================= */

.gifts-section {
    width: 100%;
    display: flex;
    flex-direction: column;  /* Alinea los hijos (título, grid) en vertical */
    align-items: center;     /* CENTRA todo horizontalmente */
    justify-content: center;
    text-align: center;      /* Refuerzo para navegadores antiguos */
    padding: 80px 0;
    overflow: hidden;
}

.gifts-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.gifts-header {
    width: 100%;
    margin-bottom: 40px;
}

.gifts-title {
    font-family: 'Bodoni Moda', serif;
    color: #808b72;
    font-size: clamp(2.2rem, 8vw, 2.8rem);
    
    /* ESTO ES LO QUE FALTA */
    text-align: center;      /* Centra el texto dentro del h2 */
    width: 100%;             /* Asegura que ocupe todo el ancho disponible */
    display: block;          /* Lo confirma como bloque */
    
    margin: 0 auto 10px auto; /* Centra el bloque mismo y da espacio abajo */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gifts-divider {
    width: 60px;
    height: 1px;
    background: #d4af37;
    margin: 15px auto 30px auto;
}

.gifts-intro {
    font-family: 'Cormorant Garamond', serif; /* Una fuente tipo serif es más formal */
    font-style: italic;
    font-size: 1.25rem;
    color: #666;
    max-width: 700px; /* Un poco más ancho para que la frase formal fluya mejor */
    margin: 0 auto 50px auto;
    line-height: 1.6;
    text-align: center;
}

/* --- CUADRÍCULA DE TIENDAS --- */
.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gift-card {
    background: #ffffff;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    text-align: center;
    /* Borde inicial Verde Olivo */
    border: 2px solid #808b72; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.gift-card:hover {
    transform: translateY(-5px);
    /* Cambio de borde a Dorado al hacer hover */
    border-color: #d4af37;
}

.gift-card:hover .brand-name {
    color: #d4af37; /* El nombre también cambia a dorado en el hover */
}

/* --- ESTILOS DE MARCAS (TEXTO) --- */
.brand-name {
    display: block;
    color: #808b72;
    margin-bottom: 20px;
    transition: color 0.4s ease;
}

.liverpool {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.2rem;
    letter-spacing: -1px;
}

.amazon {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    font-style: italic;
    text-transform: lowercase;
}

.palacio {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 400;
}

.gift-id {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Botón Minimalista */
.btn-gift {
    text-decoration: none;
    color: #808b72;
    border: 1px solid #808b72;
    padding: 12px 25px;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-gift:hover {
    background: #808b72;
    color: #ffffff;
}

/* --- LLUVIA DE SOBRES --- */
.envelope-section {
    max-width: 700px;
    margin: 0 auto;
}

.envelope-card {
    background-color: #808b72;
    color: #ffffff;
    padding: 50px 30px;
    border-radius: 4px;
    max-width: 650px;
    margin: 0 auto;
    
    /* ESTO CENTRA TODO LO QUE ESTÉ DENTRO */
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centra horizontalmente */
    text-align: center;     /* Centra el texto de los párrafos */
}

.envelope-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 2rem;
    margin: 0 auto 15px auto; /* Centra el bloque y da espacio abajo */
    text-align: center;       /* CENTRA EL TEXTO */
    width: 100%;              /* Ocupa todo el ancho interno */
    display: block;           /* Asegura que respete el centrado */
    letter-spacing: 3px;
    text-transform: uppercase;
}

.envelope-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0.9;
}

.envelope-thank-you {
    font-family: 'Great Vibes', cursive !important;
    font-size: 2.5rem !important;
    margin-top: 20px !important;
    color: #fdfaf5 !important;
}

.bank-details {
    width: 100%;            /* Ocupa el ancho de la tarjeta verde */
    max-width: 400px;       /* Pero no se estira demasiado */
    margin: 25px auto;      /* Se centra a sí mismo */
    padding: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    text-align: center;     /* Centra los números de cuenta */
}

.bank-details p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    margin: 8px 0;
    letter-spacing: 1px;
}

.bank-details strong {
    color: #fdfaf5;
    letter-spacing: 2px;
}

/* --- SECCIÓN ITINERARIO --- */
.itinerary-section {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.itinerary-title {
    font-family: 'Bodoni Moda', serif;
    color: #808b72;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
}

.itinerary-divider {
    width: 60px;
    height: 1px;
    background: #d4af37;
    margin: 15px auto 50px;
}

/* La Línea del Tiempo */
.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

/* La línea vertical de fondo */
.timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background-color: rgba(128, 139, 114, 0.3); /* Verde muy tenue */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -0.5px;
}

.timeline-item {
    padding: 10px 0;
    position: relative;
    width: 50%; /* Ocupa la mitad del contenedor */
    display: flex;
    flex-direction: column;
}

/* Alternar lados de los ítems (izquierda y derecha) */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 30px;
    align-items: flex-end;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 30px;
    align-items: flex-start;
}

/* El punto dorado central */
.timeline-dot {
    width: 12px;
    height: 12px;
    background-color: #d4af37;
    border-radius: 50%;
    position: absolute;
    top: 25px;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -6px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -6px;
}

/* Textos dentro del itinerario */
.timeline-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #808b72;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.3rem;
    color: #2f3625;
    margin: 5px 0;
}

.timeline-content p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #777;
    margin: 0;
}

/* --- EFECTO DE CASCADA PARA ITINERARIO --- */

.scroll-fade, .timeline-item {
    opacity: 0;
    transform: translateY(20px);
    /* El ease-in-out hace que el movimiento sea fluido en ambas direcciones */
    transition: all 0.8s ease-in-out; 
    visibility: hidden;
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* Estado inicial: ocultos y movidos hacia los lados */
.itinerary-section .timeline-item {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Los impares (izquierda) vienen desde la izquierda */
.itinerary-section .timeline-item:nth-child(odd) {
    transform: translateX(-50px);
}

/* Los pares (derecha) vienen desde la derecha */
.itinerary-section .timeline-item:nth-child(even) {
    transform: translateX(50px);
}

/* Estado activo: cuando el JavaScript les añade la clase .visible */
.itinerary-section .timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Efecto para el punto dorado (escala) */
.timeline-dot {
    transform: scale(0);
    transition: transform 0.5s ease 0.4s; /* Aparece con un pequeño retraso */
}

.timeline-item.visible .timeline-dot {
    transform: scale(1);
}

/* Retrasos manuales para que no salgan todos al mismo tiempo si el invitado baja rápido */
.timeline-item:nth-child(1) { transition-delay: 0.1s; }
.timeline-item:nth-child(2) { transition-delay: 0.3s; }
.timeline-item:nth-child(3) { transition-delay: 0.5s; }
.timeline-item:nth-child(4) { transition-delay: 0.7s; }

/* --- SECCIÓN CÓDIGO DE VESTIMENTA --- */
.dress-code-section {
    padding: 100px 20px;
    background-color: #fdfaf5; /* Fondo crema para calidez */
    text-align: center;
}

.dress-code-container {
    max-width: 800px;
    margin: 0 auto;
}

.dress-code-header {
    margin-bottom: 60px;
}

.dress-code-title {
    font-family: 'Bodoni Moda', serif;
    color: #808b72;
    font-size: clamp(2rem, 8vw, 2.8rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 5px;
}

.dress-code-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: #b89b5e; /* Dorado */
    font-size: 0.8rem;
    letter-spacing: 6px;
    font-weight: 500;
}

.dress-code-content {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
}

.dress-card {
    position: relative;
    padding: 20px;
}

.dress-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: #999;
}

.dress-line {
    width: 30px;
    height: 1px;
    background-color: #d4af37;
    margin: 15px auto;
}

.dress-card h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.5rem;
    color: #2f3625;
    font-weight: 400;
    margin-bottom: 5px;
}

.dress-card p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #666;
}

/* --- NOTA DE COLORES REFINADA --- */
.color-note {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    border-top: 1px solid rgba(128, 139, 114, 0.2);
    border-bottom: 1px solid rgba(128, 139, 114, 0.2);
}

.color-note p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.color-note strong {
    color: #808b72;
    font-weight: 600;
}

/* --- ANIMACIÓN ESPECÍFICA PARA DRESS CODE --- */

/* La sección principal sube normal */
.dress-code-section.scroll-fade {
    transform: translateY(30px);
    transition: all 1s ease-out;
}

/* Las tarjetas internas tienen un retraso para efecto "cascada" */
.dress-code-content .dress-card.scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

/* Cuando se vuelven visibles */
.dress-code-section.visible, 
.dress-card.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* Retraso para la segunda tarjeta (Ellos) para que se vea más elegante */
.dress-code-content .dress-card.scroll-fade:nth-child(2) {
    transition-delay: 0.3s;
}

/* La nota de color también puede entrar al final */
.color-note {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1s ease-out 0.5s; /* 0.5s de retraso */
}

.visible .color-note {
    opacity: 1;
    transform: scale(1);
}

/* --- SECCIÓN RSVP --- */
.rsvp-section {
    padding: 100px 20px;
    background-color: #fdfaf5;
    text-align: center;
}

.rsvp-container {
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-card {
    background-color: #808b72; /* Nuestro Verde Olivo */
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 2px;
}

.rsvp-title {
    font-family: 'Bodoni Moda', serif;
    color: #ffffff;
    /* Bajamos el mínimo a 1.5rem y el flexible a 8vw */
    font-size: clamp(1.5rem, 8vw, 2.5rem) !important; 
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 auto 10px auto;
    width: 100%;
    display: block;
    word-wrap: break-word; /* Por si una palabra es muy larga */
}

.rsvp-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: #d4af37;
    letter-spacing: 3px; /* Reducimos un poco el espaciado en móvil para que no se estire */
    font-size: 0.75rem;
    font-weight: 600;
}

.rsvp-divider {
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 25px auto;
}

.rsvp-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem; /* Un poco más pequeño para legibilidad en móvil */
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 30px;
    padding: 0 10px; /* Margen interno para que el texto no toque los bordes de la tarjeta verde */
}

/* Botón de Confirmación */
.btn-rsvp {
    display: inline-block;
    background-color: #ffffff;
    color: #808b72;
    padding: 18px 35px;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    border: 1px solid #ffffff;
}

.btn-rsvp:hover {
    background-color: transparent;
    color: #ffffff;
}

.rsvp-footer {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.rsvp-footer p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

.rsvp-footer span {
    font-family: 'Bodoni Moda', serif;
    color: #ffffff;
    font-size: 1.1rem;
}

/* --- MAIN FOOTER (CRÉDITOS Y AGENCIA) --- */
.main-footer {
    background-color: #fdfaf5; /* Fondo crema para suavizar la transición */
    padding: 60px 20px 30px;
    text-align: center;
    border-top: 1px solid rgba(128, 139, 114, 0.1);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Great Vibes', cursive;
    color: #808b72; /* Nuestro Verde Olivo */
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: #777;
    margin-bottom: 25px;
}

/* Iconos Sociales */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-socials a {
    color: #808b72;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    color: #d4af37; /* Cambio a Dorado al pasar el mouse */
    transform: translateY(-3px);
}

.footer-divider {
    width: 40px;
    height: 1px;
    background-color: rgba(128, 139, 114, 0.2);
    margin: 0 auto 25px;
}

/* Parte Inferior (Copyright) */
.footer-bottom {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: #999;
    letter-spacing: 1px;
    line-height: 1.8;
    text-transform: uppercase;
}

.footer-dev {
    margin-top: 10px;
    color: #666 !important;
    font-weight: 500;
}

.footer-dev span {
    color: #e74c3c; /* Color para el corazón */
}

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 768px) {
    /**--- TOB HEADER --- */
    .top-bar-olivo {
        height: 50px;
    }
    .top-bar-initials {
        font-size: 1.8rem;
    }

    /*--- BANER---*/

    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .hero-content h1 span {
        font-size: 3.5rem;
    }

    .date-num {
        font-size: 3.8rem;
    }

    .hero-classic {
        margin-top: 50px; /* Ajuste para el tamaño de móvil */
    }

    /* --- CONTEO REGRESIVO --- */
    .countdown-container {
        padding: 40px 15px;
        border-width: 1px; /* Línea más fina en móvil */
    }
    #countdown-timer { gap: 10px; }
    .countdown-title { font-size: 1.5rem; }
    .time-block span { font-size: 1.8rem; }
    .time-block small { letter-spacing: 1.5px; font-size: 0.55rem; }

    /* --- NUESTRA HISTORIA --- */
    .history-container {
        flex-direction: column-reverse; /* Foto arriba del texto */
        gap: 50px;
        padding: 0 20px;
    }
    .history-text h2 { font-size: 1.5rem; }
    .history-image img { max-height: 400px; }

    /* --- NUMERO DE PASES --- */
    .passes-card {
        max-width: 350px;
    }
    .passes-digit {
        font-size: 4rem;
    }

    /* --- Seccion Padres --- */
    .parents-flex { flex-direction: column; }
    .parents-divider { width: 50px; height: 1px; margin: 20px 0; }

    /* --- DONDE Y CUANDO --- */
    .events-container {
        flex-direction: column;
        align-items: center;
    }
    .event-card {
        width: 90%;
    }

    /*--- CARUSEL --- */
    .carousel-item { height: 350px; }

    /* --- PADRINOS --- */
    .godparents-grid {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
        gap: 30px;
    }
    
    .godparents-main-title {
        font-size: 2rem;
    }

    /* --- MESA DE REGALOS --- */
    .gifts-section {
        padding: 60px 15px;
    }
    .gift-card {
        padding: 30px 15px;
    }

    /* --- ITINERRIO --- */
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
        align-items: flex-start !important;
        left: 0 !important;
    }

    .timeline-dot {
        left: 14px !important;
    }

    /* --- DRESS CODE --- */
    .dress-code-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .dress-code-section {
        padding: 60px 20px;
    }

    /* --- RSVP ---*/
    .rsvp-section {
        padding: 50px 15px; /* Menos espacio exterior */
    }

    .rsvp-card {
        padding: 40px 20px !important; /* Menos espacio interno */
    }

    .rsvp-title {
        font-size: 1.6rem !important; /* Tamaño fijo de seguridad para celulares */
        letter-spacing: 1px;
    }

    .rsvp-subtitle {
        font-size: 0.7rem !important;
        letter-spacing: 3px !important;
    }

    .rsvp-text {
        font-size: 1rem !important;
        padding: 0;
    }
    
    .btn-rsvp {
        padding: 15px 20px; /* Botón un poco más compacto */
        font-size: 0.7rem;
        width: 100%; /* El botón ocupa todo el ancho para que sea fácil de presionar */
    }
}
/* Ajustes de finalización de demo: contenido informativo y acciones simuladas. */
.guest-pass-name {
    margin: 0 0 8px;
    color: #fff;
    font-family: 'Bodoni Moda', serif;
    font-size: 1.45rem;
}
.guest-pass-message {
    margin: 0 0 22px;
    color: rgba(255,255,255,.88);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
}
.btn-maps, .btn-gift, .btn-lodging, .btn-rsvp {
    cursor: pointer;
}
button:focus-visible, a:focus-visible, select:focus-visible, textarea:focus-visible, .dot:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 3px;
}
.carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.carousel-dots .dot { cursor: pointer; }
.info-section-container {
    width: min(100% - 40px, 980px);
    margin: 0 auto;
    text-align: center;
}
.policy-section, .lodging-section {
    padding: 76px 20px;
    background: #fdfaf5;
    text-align: center;
}
.lodging-section { background: #fff; }
.info-eyebrow {
    margin: 0 0 10px;
    color: #808b72;
    font: 600 .75rem 'Montserrat', sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.info-section-container .section-title { margin: 0 0 18px; }
.info-lead {
    max-width: 650px;
    margin: 0 auto 28px;
    color: #555;
    font: 1.2rem/1.7 'Cormorant Garamond', serif;
}
.policy-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border: 1px solid rgba(128,139,114,.38);
    border-radius: 999px;
    color: #52604b;
    background: #fff;
    font: 500 .9rem 'Montserrat', sans-serif;
}
.policy-badge i, .lodging-icon { color: #b89b5e; }
.lodging-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 790px;
    margin: 0 auto;
}
.lodging-card {
    padding: 28px;
    border: 1px solid rgba(128,139,114,.25);
    background: #fdfaf5;
    box-shadow: 0 8px 24px rgba(47,54,37,.06);
}
.lodging-icon { font-size: 1.6rem; }
.lodging-card h3 {
    margin: 12px 0 8px;
    color: #2f3625;
    font: 1.45rem 'Bodoni Moda', serif;
}
.lodging-card p { color: #555; font: 1rem/1.6 'Montserrat', sans-serif; }
.btn-lodging {
    margin-top: 8px;
    padding: 11px 16px;
    border: 1px solid #808b72;
    background: transparent;
    color: #52604b;
    letter-spacing: .06em;
    font-size: .72rem;
}
.rsvp-demo-fields {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    text-align: left;
}
.rsvp-demo-fields label {
    margin-top: 8px;
    color: #2f3625;
    font: 600 .83rem 'Montserrat', sans-serif;
}
.rsvp-demo-fields select, .rsvp-demo-fields textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(128,139,114,.5);
    border-radius: 2px;
    background: #fff;
    color: #333;
    font: 1rem 'Montserrat', sans-serif;
}
.rsvp-demo-fields textarea { resize: vertical; }
.rsvp-demo-note {
    margin: 2px 0 0;
    color: #666;
    font: .77rem/1.6 'Montserrat', sans-serif;
}
.demo-toast {
    position: fixed;
    z-index: 10000;
    right: 20px;
    bottom: 20px;
    width: min(420px, calc(100vw - 40px));
    padding: 16px 20px;
    border-left: 4px solid #d4af37;
    background: #fff;
    color: #333;
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
    font: .9rem/1.5 'Montserrat', sans-serif;
}
.demo-toast[hidden] { display: none; }
.footer-socials span { cursor: default; }
.footer-pending { margin: 10px 0 0; color: rgba(255,255,255,.75); font-size: .78rem; }
@media (max-width: 640px) {
    .lodging-grid { grid-template-columns: 1fr; }
    .policy-section, .lodging-section { padding: 58px 16px; }
    .info-section-container { width: 100%; }
    .rsvp-demo-fields { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .scroll-fade { opacity: 1 !important; visibility: visible !important; transform: none !important; }
}
.btn-maps, .btn-gift { background: transparent; }
.btn-lodging { font-family: 'Montserrat', sans-serif; }
.passes-confirm-link {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,.75);
    color: #fff;
    text-decoration: none;
    font: .68rem 'Cinzel', serif;
    letter-spacing: .12em;
    transition: background .25s ease, color .25s ease;
}
.passes-confirm-link:hover { background: #fff; color: #52604b; }
.demo-data-note {
    max-width: 500px;
    margin: 18px auto 0;
    color: rgba(255,255,255,.85);
    font: .78rem/1.6 'Montserrat', sans-serif;
    text-align: center;
}
