/* ========================================================= */
/* 🛠️ Carga de la fuente Callisten.woff (AÑADIDO) */
/* ========================================================= */
@font-face {
    font-family: 'Callisten';
    /* ⚠️ Ajusta la ruta si 'Callisten.woff' no está en el directorio raíz. 
       Ej: url('fonts/Callisten.woff') format('woff'); */
    src: url('font/Callisten.woff') format('woff'); 
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Parisienne&family=Monsieur+La+Doulaise&family=Tangerine:wght@400;700&family=Rouge+Script&family=Italianno&family=Sacramento&family=Marck+Script&family=MonteCarlo&family=Allura&family=Pinyon+Script&family=Great+Vibes&family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Dancing+Script:wght@400;700&family=Lora:ital,wght@0,400..700;1,400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Open+Sans:wght@400&family=Montserrat:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'Maffiny';
    src: url('fonts/Maffiny.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #879275;
    --primary-color-rgb: 135, 146, 117;
    --primary-color-hover: #6e795f;

    /* 🧊 ESTILO LIQUID GLASS (CRISTAL LÍQUIDO) PARA BOTONES EN #879275 VERDE OLIVO */
    --liquid-glass-bg: linear-gradient(135deg, rgba(155, 167, 136, 0.94) 0%, rgba(135, 146, 117, 0.90) 50%, rgba(110, 121, 95, 0.94) 100%);
    --liquid-glass-hover: linear-gradient(135deg, rgba(167, 180, 148, 0.98) 0%, rgba(144, 157, 127, 0.95) 50%, rgba(120, 133, 104, 0.98) 100%);
    --liquid-glass-border: 1px solid rgba(255, 255, 255, 0.65);
    --liquid-glass-border-hover: 1px solid rgba(255, 255, 255, 0.9);
    --liquid-glass-inner-shadow: inset 0 1px 2px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 2px 0 rgba(0, 0, 0, 0.08);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #eef2f7;
    background-image: radial-gradient(rgba(215, 151, 180, 0.28) 1px, transparent 1px);
    background-size: 24px 24px;
    overflow-x: hidden;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.mobile-wrapper {
    width: 100%;
    max-width: 500px;
    background-color: #fafafa;
    min-height: 100vh;
    box-shadow: 0 0 40px rgba(215, 151, 180, 0.22);
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* <<<< CAMBIO CLAVE 2: Clase añadida por JS para mostrar cuando el sobre esté listo >>>> */
body.loaded {
    visibility: visible;
    opacity: 1;
}


/* ========================================================= */
/* 🎁 OVERLAY DE APERTURA (PORTADA INTERACTIVA) */
/* ========================================================= */

#overlay-intro {
    /* ⚙️ CONTROLES MANUALES PARA EL NOMBRE DE LOS NOVIOS (intro-couple-name) */
    --couple-top: 25%;               /* Posición vertical en % (25% lo ubica arriba del sello) */
    --couple-offset-y: 0px;          /* Ajuste fino vertical en px (-10px sube, +10px baja) */
    --couple-left: 50%;              /* Posición horizontal (50% centrado) */
    --couple-width: 90%;             /* Ancho del contenedor */
    --couple-color: #d797b4;         /* Color del texto de los novios */
    --couple-size: 2.9rem;           /* Tamaño de letra (hazlo más grande o pequeño) */
    --couple-weight: 700;            /* Grosor de letra (600, 700, bold, etc.) */

    /* ========================================================= */
    /* 🎯 CONTROLES MANUALES DEL OBJETO INTRO (intro.png / SELLO) */
    /* Modifica estos valores para ajustar tamaño y posición:    */
    /* ========================================================= */
    --intro-seal-top: 54%;          /* ↕️ ARRIBA / ABAJO (%): Disminuye para subir (ej. 50%, 48%); aumenta para bajar (ej. 58%, 62%) */
    --intro-seal-offset-y: 0px;     /* ↕️ AJUSTE FINO VERTICAL (PX): Negativos suben (-10px, -20px); positivos bajan (+10px, +20px) */
    --intro-seal-left: 44%;         /* ↔️ IZQUIERDA / DERECHA (%): 50% = centro. Menor mueve a la izquierda (ej. 45%), mayor a la derecha (ej. 55%) */
    --intro-seal-offset-x: 0px;     /* ↔️ AJUSTE FINO HORIZONTAL (PX): Negativos mueven a la izquierda (-10px), positivos a la derecha (+10px) */
    --intro-seal-width: 42%;        /* 📱 ANCHO EN PANTALLA (%): Tamaño en pantalla móvil (ej. 38%, 42%, 46%) */
    --intro-seal-max-width: 140px;  /* 🔍 TAMAÑO MÁXIMO (PX): Reduce para achicar (ej. 160px), aumenta para agrandar (ej. 200px) */

    /* ⚙️ CONTROLES MANUALES PARA EL TEXTO DEL INVITADO (intro-guest-info) */
    --guest-top: 83%;               /* Posición vertical en % (83% punto medio ideal) */
    --guest-offset-y: 20px;         /* Ajuste fino vertical en px (+20px) */
    --guest-left: 50%;              /* Posición horizontal en % (50% centrado) */
    --guest-width: 90%;             /* Ancho del contenedor de texto */
    --guest-color: #ffffff;         /* Color del texto del invitado (blanco) */
    --guest-name-size: 2.1rem;      /* Tamaño de letra base del nombre / ¡Estás invitado! */
    --guest-text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65), 0 0 18px rgba(0, 0, 0, 0.45); /* Sombra de contraste para texto blanco */
    --guest-line-height: 1.08;      /* Interlineado de 1 enter sin espacios extras */
    --guest-passes-size: 0.72rem;   /* Tamaño de letra de los pases asignados */
    --guest-passes-color: #ffffff;  /* Color del texto de pases */
    --guest-passes-bg: linear-gradient(135deg, #879275 0%, #6e795f 100%); /* Fondo en verde olivo */
    --guest-passes-border: 1px solid rgba(255, 255, 255, 0.65); /* Borde de la pastilla */
    --guest-passes-margin-top: 7px; /* Espacio entre el nombre y el texto de pases */

    --o1-top: 50px;
    --o1-right: 0px;
    --o1-width: 95%;
    --o1-max-width: 420px;

    --o2-bottom: 50px;
    --o2-left: 0px;
    --o2-width: 80%;
    --o2-max-width: 390px;

    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 100%;
    z-index: 999999; 
    pointer-events: auto; 
    cursor: pointer;
    background-color: #fafafa;
    background-image: url('elementos/fondo1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: opacity 1s ease-out, filter 1s ease-out, visibility 1s ease-out;
}

/* ✨ CANVAS DE PARTÍCULAS Y BRILLITOS EN EL INTRO (DESACTIVADO) */
#intro-particles-canvas {
    display: none !important;
}

/* ✨ CANVAS GLOBAL DE ESTRELLAS PLATAS CAYENDO (DESDE SECCIÓN 3 EN ADELANTE) */
.silver-falling-stars-canvas {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 100vh;
    pointer-events: none;
    z-index: 6;
    opacity: 0 !important;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.silver-falling-stars-canvas.active {
    opacity: 1 !important;
}

/* Ocultar el contenido interno de la invitación hasta que el usuario dé clic en el intro */
.mobile-wrapper > *:not(#overlay-intro) {
    opacity: 0;
    transition: opacity 0.8s ease 0.2s;
}

body.unlocked .mobile-wrapper > *:not(#overlay-intro) {
    opacity: 1;
}

.intro-couple-name {
    position: absolute;
    top: var(--couple-top, 25%);
    left: var(--couple-left, 50%);
    transform: translate(-50%, calc(-50% + var(--couple-offset-y, 0px)));
    width: var(--couple-width, 90%);
    z-index: 3;
    color: var(--couple-color, #d797b4);
    font-family: 'Parisienne', 'Dancing Script', 'Great Vibes', 'Allura', cursive;
    font-size: var(--couple-size, 2.9rem);
    font-weight: var(--couple-weight, 700);
    text-align: center;
    pointer-events: none;
    opacity: 1;
    margin: 0;
    line-height: 1.2;
}

.intro-guest-info {
    position: absolute;
    top: var(--guest-top, 83%);
    left: var(--guest-left, 50%);
    transform: translate(-50%, calc(-50% + var(--guest-offset-y, 20px)));
    width: var(--guest-width, 90%);
    z-index: 3;
    color: var(--guest-color, #ffffff);
    text-align: center;
    pointer-events: none;
    opacity: 1;
}

.intro-guest-name {
    font-family: 'Parisienne', 'Dancing Script', 'Great Vibes', 'Allura', cursive;
    font-size: var(--guest-name-size, 2.6rem);
    margin: 0;
    line-height: var(--guest-line-height, 1.08);
    color: var(--guest-color, #ffffff);
    font-weight: normal;
    text-align: center;
    text-shadow: var(--guest-text-shadow, 0 2px 10px rgba(0, 0, 0, 0.65), 0 0 18px rgba(0, 0, 0, 0.45));
}

.intro-guest-name.three-lines {
    font-size: calc(var(--guest-name-size, 2.6rem) * 0.88);
    line-height: 1.05;
}

.intro-guest-passes {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--guest-passes-size, 0.72rem);
    margin: var(--guest-passes-margin-top, 7px) auto 0 auto;
    color: var(--guest-passes-color, #ffffff);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    background: var(--guest-passes-bg, linear-gradient(135deg, #879275 0%, #6e795f 100%));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 14px;
    border-radius: 16px;
    border: var(--guest-passes-border, 1px solid rgba(255, 255, 255, 0.65));
    box-shadow: 0 4px 12px rgba(47, 57, 40, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.intro-o1 {
    position: absolute;
    top: var(--o1-top);
    right: var(--o1-right);
    width: var(--o1-width);
    max-width: var(--o1-max-width);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.intro-o1 img {
    width: 100%;
    height: auto;
    display: block;
}

.intro-o2 {
    position: absolute;
    bottom: var(--o2-bottom);
    left: var(--o2-left);
    width: var(--o2-width);
    max-width: var(--o2-max-width);
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.25s, 
                transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.25s,
                filter 0.3s ease;
}

.intro-o2:hover {
    transform: translateY(0) scale(1.03);
    filter: drop-shadow(0 4px 20px #fff6f7);
}

.intro-center {
    position: absolute;
    top: var(--intro-seal-top, 54%);
    left: var(--intro-seal-left, 50%);
    transform: translate(calc(-50% + var(--intro-seal-offset-x, 0px)), calc(-50% + var(--intro-seal-offset-y, 0px)));
    width: var(--intro-seal-width, 42%);
    max-width: var(--intro-seal-max-width, 175px);
    cursor: pointer;
    z-index: 2;
    opacity: 1;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.intro-center:hover {
    transform: translate(calc(-50% + var(--intro-seal-offset-x, 0px)), calc(-50% + var(--intro-seal-offset-y, 0px))) scale(1.04);
    filter: drop-shadow(0 4px 20px #fff6f7);
}

.intro-center img {
    width: 100%;
    height: auto;
    display: block;
}

body.loaded .intro-o1,
body.loaded .intro-o2 {
    opacity: 1;
}

#overlay-intro.is-hidden {
    opacity: 0;
    filter: blur(12px);
    pointer-events: none;
    visibility: hidden;
}

/* 🖼️ SECCIÓN 1 - O3 */
:root {
    --o3-top: 40%;
    --o3-left: 55%;
    --o3-width: 70%;
    --o3-max-width: 400px;
}

.banner-container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    display: block;
}

.banner-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    display: block !important;
}

.section1-o3 {
    position: absolute;
    top: var(--o3-top);
    left: var(--o3-left);
    width: var(--o3-width);
    max-width: var(--o3-max-width);
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 1.5s ease-out, filter 1.5s ease-out, transform 1.5s ease-out;
}

.section1-o3 img {
    width: 100%;
    height: auto;
    display: block;
}

body.unlocked .section1-o3,
.hero-section.active .section1-o3 {
    opacity: 1;
    filter: blur(0);
}

/* ==========================================================================
   📍 SECCION CONTADOR - CONTROLES MANUALES (SECCIÓN 2 - SOLO FALTAN)
   👉 Puedes buscar esto en tu editor con: SECCION CONTADOR
   ========================================================================== */
:root {
    /* ↕️ POSICIÓN: SUBIR, BAJAR O CENTRAR */
    --countdown-top: 25%;               /* Posición vertical en % (subido mucho más arriba) */
    --countdown-offset-y: 0px;          /* Ajuste fino vertical en px (+10px baja, -10px sube) */
    --countdown-left: 50%;              /* Posición horizontal (50% centrado) */
    
    /* 🔤 TAMAÑO Y COLOR DE "Solo faltan" */
    --countdown-title-color: #c5a059;    /* Color dorado / ocre */
    --countdown-title-size: 1.35rem;     /* Tamaño de la letra de "Solo faltan" (más pequeño) */

    /* ⏱️ TAMAÑO Y COLOR DE LOS NÚMEROS Y ETIQUETAS */
    --countdown-number-color: #1e293b;  /* Color de los números (00 : 00 : 00 : 00) */
    --countdown-number-size: 1.55rem;    /* Tamaño de los números (más pequeño) */
    --countdown-label-color: #64748b;   /* Color de las etiquetas (Días, Horas, Minutos, Segundos) */
    --countdown-label-size: 0.65rem;    /* Tamaño de las etiquetas */
    
    /* Opcional para frases secundarias */
    --countdown-phrase-color: #334155;
    --countdown-phrase-size: 1.15rem;
}
/* ========================================================================== */

/* ✨ CONTENEDOR Y CANVAS DE PARTÍCULAS PLATA EN SECCIÓN 1 (seccion1.jpg) */
.section1-banner-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.section1-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.section2-banner-container {
    position: relative;
}

.countdown-overlay {
    position: absolute;
    top: var(--countdown-top, 50%);
    left: var(--countdown-left, 50%);
    transform: translate(-50%, calc(-50% + var(--countdown-offset-y, 0px)));
    width: 100%;
    z-index: 5;
    text-align: center;
    pointer-events: none;
    padding: 0 15px;
    box-sizing: border-box;
}

.countdown-intro-phrase {
    font-family: 'Cormorant Garamond', 'Lora', serif;
    font-style: italic;
    font-weight: 500;
    font-size: var(--countdown-phrase-size, 1.15rem);
    color: var(--countdown-phrase-color, #334155);
    margin: 0 auto 16px auto;
    max-width: 380px;
    line-height: 1.45;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.85);
}

.countdown-header {
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-title {
    font-family: 'Parisienne', 'Alex Brush', cursive;
    font-size: var(--countdown-title-size, 2.6rem);
    font-weight: normal;
    margin: 0;
    line-height: 1;
    color: var(--countdown-title-color, #c5a059);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* 👨‍👩‍👧 SECCIÓN 3 - PADRES DE LOS NOVIOS */
:root {
    /* ⚙️ CONTROLES MANUALES PARA LA SECCIÓN DE PADRES Y PADRINOS */
    --section3-parents-top: 70%;                 /* Posición vertical en % (sube a 58%) */
    --section3-parents-offset-y: -20px;           /* Ajuste fino vertical en px (-20px sube) */
    --section3-parents-left: 50%;                /* Posición horizontal (50% centrado) */
    --section3-parents-main-title-size: 1.25em;  /* Tamaño del título "CON LA BENDICIÓN DE NUESTROS PADRES" */
    --section3-parents-subtitle-size: 1.05em;    /* Tamaño de "PADRES DEL NOVIO" / "PADRES DE LA NOVIA" */
    --section3-parents-name-size: 1.45em;        /* Tamaño de letra de los nombres de los padres */
    --section3-parents-font-family: 'Great Vibes', 'Alex Brush', 'Parisienne', cursive;
    --section3-parents-color: #d797b4;           /* Color del texto */
    --section3-parents-gap: 12px;                /* Espacio entre el grupo del novio y la novia */
    --section3-phrase-top: 15px;                 /* Espacio sobre la frase de agradecimiento */
    --section3-phrase-size: 1.05rem;             /* Tamaño de letra de la frase de agradecimiento */
    --section3-phrase-max-width: 380px;          /* Ancho máximo de la frase */
}

.section3-banner-container {
    position: relative;
}

.section3-parents-overlay {
    position: absolute;
    top: var(--section3-parents-top, 52%);
    left: var(--section3-parents-left, 50%);
    transform: translate(-50%, calc(-50% + var(--section3-parents-offset-y, 0px)));
    width: 100%;
    max-width: 460px;
    z-index: 5;
    text-align: center;
    pointer-events: none;
    padding: 0 15px;
    box-sizing: border-box;
}

.section3-parents-overlay h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--section3-parents-main-title-size, 1.25em);
    font-weight: 700;
    color: #718096;
    line-height: 1.3;
    margin: 0 0 14px 0;
    letter-spacing: 1px;
}

.section3-parents-overlay .parents-block {
    margin-bottom: var(--section3-parents-gap, 12px);
}

.section3-parents-overlay .parents-block h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--section3-parents-subtitle-size, 1.05em);
    font-weight: 600;
    color: var(--section3-parents-color, #d797b4);
    line-height: 1.2;
    margin: 0 0 2px 0;
    letter-spacing: 0.5px;
}

.section3-parents-overlay .parents-names {
    font-family: var(--section3-parents-font-family, 'Great Vibes', 'Alex Brush', cursive);
    font-size: var(--section3-parents-name-size, 1.45em);
    font-weight: normal;
    color: var(--section3-parents-color, #d797b4);
    line-height: 1.3;
    margin: 0;
    padding: 0;
}

.section3-parents-overlay .parents-phrase {
    font-family: 'Cormorant Garamond', 'Lora', serif;
    font-style: italic;
    font-weight: 600;
    font-size: var(--section3-phrase-size, 1.05rem);
    color: var(--section3-parents-color, #d797b4);
    margin-top: var(--section3-phrase-top, 15px);
    margin-bottom: 0;
    line-height: 1.35;
    max-width: var(--section3-phrase-max-width, 380px);
    margin-left: auto;
    margin-right: auto;
}


/* --- Sección Principal (Hero) con Banner, Música, Fecha, etc. --- */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0 0 0;
    width: 100%;
    box-sizing: border-box;
    background-image: url('img/BACK2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #333;
    min-height: 720px;
    margin-top: 0;
}

.banner-container {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    overflow: hidden;
}

.banner-image {
    display: block;
    width: 100%;
    min-height: 480px;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
}

/* Estilos para el reproductor de música */
.music-player-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

#weddingSong {
    display: none;
}

/* Estilos para el nuevo botón de imagen (AUMENTADO APROX. 33%) */
.play-image-button {
    width: 80px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.play-image-button:hover {
    transform: scale(1.1);
}

/* Estilos para las frases del encabezado */
.wedding-phrases-container {
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: center;
    padding: 0 20px;
}

.wedding-headline {
    font-family: 'Great Vibes', 'Allura', 'Parisienne', cursive;
    font-size: 3.2em;
    font-weight: normal;
    color: #d797b4;
    margin: 0;
    line-height: 1.1;
}

.wedding-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.7em;
    font-weight: 600;
    color: #d797b4;
    margin: 0;
    line-height: 1.2;
}

.wedding-location {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    color: #d797b4;
    margin-top: 5px;
    letter-spacing: 3px;
}

.ring-image-container {
    width: 195px;
    margin-bottom: 25px;
}

.ring-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Frase de amor */
.love-phrase {
    font-family: 'Cormorant Garamond', 'Lora', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.35em;
    color: #d797b4;
    line-height: 1.7;
    max-width: 440px;
    margin: 25px auto 35px auto;
    padding: 0 25px;
    box-sizing: border-box;
    text-align: center;
}

.love-phrase b {
    font-weight: 700;
    color: #d797b4;
}

/* --- Contenedor de ancho completo para el contador y el banner --- */
.full-width-container {
    width: 100%;
    position: relative;
    left: 0;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   📍 REGLAS CSS Y ESTRUCTURA DEL CONTADOR (#countdown, .number, .label)
   👉 Puedes buscar esto con: REGLAS DEL CONTADOR
   ========================================================================== */
.countdown-container {
    margin-top: 0;
    margin-bottom: 0;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
}

#countdown {
    display: flex;
    gap: 3px;
    justify-content: center;
    align-items: center;
    padding: 0 5px;
}

.time-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 36px;
}

.number {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: var(--countdown-number-size, 1.55rem);
    font-weight: 400;
    line-height: 1;
    color: var(--countdown-number-color, #1e293b);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.countdown-separator {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--countdown-number-color, #1e293b);
    line-height: 1;
    margin-top: -8px;
    padding: 0 1px;
    user-select: none;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.label {
    font-family: 'Lora', 'Cormorant Garamond', serif;
    font-size: var(--countdown-label-size, 0.65rem);
    color: var(--countdown-label-color, #64748b);
    margin-top: 3px;
    text-transform: none;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-shadow: 0 0 6px #ffffff;
}

/* Nuevo banner de invitación */
.invitation-banner-container {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   🖼️ SEPARADOR DE FOTO (3.JPG) SIN DEFORMAR
   ========================================================================== */
.photo-separator-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    display: block;
    background-color: transparent;
}

.photo-separator-banner .photo-separator-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* ==========================================================================
   📍 SECCIÓN CEREMONIA Y RECEPCIÓN (ESTILO ACUARELA / SAGE GREEN)
   👉 Puedes buscar esto en tu editor con: SECCION CEREMONIA
   ========================================================================== */
:root {
    /* 🎨 PALETA DE COLOR (Exacta a la imagen de muestra) */
    --cr-title-color: #909d7f;          /* Verde salvia / olivo para "Ceremonia" y "Recepción" */
    --cr-venue-color: #cfa867;          /* Dorado / ocre cálido para los nombres de los lugares */
    --cr-text-color: #454545;           /* Gris pizarra / carbón para direcciones y fecha */
    --cr-btn-bg: #909d7f;               /* Verde olivo para el botón "Ver mapa" */
    --cr-btn-hover-bg: #cfa867;         /* Color al pasar el cursor sobre el botón */
    --cr-btn-text-color: #ffffff;       /* Texto blanco del botón */

    /* 🔤 TAMAÑOS DE TIPOGRAFÍA */
    --cr-script-title-size: 2.35rem;    /* Tamaño de "Ceremonia" y "Recepción" */
    --cr-venue-size: 1.25rem;           /* Tamaño del nombre del salón / iglesia */
    --cr-address-size: 0.95rem;         /* Tamaño de la dirección */
    --cr-time-size: 1.15rem;            /* Tamaño de la hora */
    --cr-btn-size: 0.92rem;             /* Tamaño de letra "Ver mapa" */

    /* 🖼️ TAMAÑO Y POSICIÓN DE FLORES E ICONOS */
    --cr-flower-width: 180px;           /* Ancho de la flor (más pequeña) */
    --cr-flower-offset-y: -65px;        /* ↕️ Subir hacia la imagen 3.jpg (valores más negativos suben más: -70px, -80px) */
    --cr-church-icon-width: 96px;       /* Ancho del icono de iglesia */
    --cr-reception-icon-width: 76px;    /* Ancho del icono de copas brindis */
    --cr-events-gap: 36px;              /* Separación entre Ceremonia y Recepción */
    --cr-bg-image: url('elementos/768-1.jpg'); /* Imagen de fondo de la sección */
}

.section4-banner-container {
    width: 100%;
    position: relative;
    z-index: 5;
    overflow: visible;
    background-color: #ffffff;
    background-image: var(--cr-bg-image, url('elementos/768-1.jpg'));
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 15px 20px 65px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.events-floral-header {
    width: 100%;
    max-width: var(--cr-flower-width, 180px);
    margin: var(--cr-flower-offset-y, -65px) auto 15px auto;
    line-height: 0;
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.events-top-flower {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

/* 📅 Bloque de Fecha: DICIEMBRE | SÁBADO 19 2026 */
.events-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    width: 100%;
}

.events-date-badge .date-month {
    font-family: 'Maffiny', 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    color: var(--cr-text-color, #454545);
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: normal;
}

.events-date-badge .date-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.events-date-badge .date-side {
    font-family: 'Maffiny', 'Cormorant Garamond', serif;
    font-size: 1.12rem;
    color: var(--cr-text-color, #454545);
    border-top: 2px solid var(--cr-text-color, #454545);
    border-bottom: 2px solid var(--cr-text-color, #454545);
    padding: 3px 0;
    width: 105px;
    text-align: center;
    letter-spacing: 0.05em;
    font-weight: normal;
}

.events-date-badge .date-number {
    font-family: 'Maffiny', 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--cr-text-color, #454545);
    padding: 0 16px;
    font-weight: normal;
}

/* ⛪ 🥂 Lista de Eventos (Ceremonia y Recepción) */
.events-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--cr-events-gap, 36px);
    width: 100%;
    max-width: 460px;
}

.event-card-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.event-card-heading {
    font-family: 'Parisienne', 'Alex Brush', cursive;
    font-size: var(--cr-script-title-size, 2.35rem);
    color: var(--cr-title-color, #909d7f);
    font-weight: normal;
    margin: 0 0 14px 0;
    line-height: 1.1;
}

.event-card-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.event-card-svg.church-svg {
    width: var(--cr-church-icon-width, 96px);
    height: auto;
    display: block;
}

.event-card-svg.reception-svg {
    width: var(--cr-reception-icon-width, 76px);
    height: auto;
    display: block;
}

.event-card-name {
    font-family: 'Maffiny', 'Cormorant Garamond', serif;
    font-size: var(--cr-venue-size, 1.25rem);
    color: var(--cr-venue-color, #cfa867);
    font-weight: normal;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.event-card-address {
    font-family: 'Maffiny', 'Lora', serif;
    font-size: var(--cr-address-size, 0.95rem);
    color: var(--cr-text-color, #454545);
    line-height: 1.45;
    max-width: 330px;
    margin: 0 auto 10px auto;
}

.event-card-time {
    font-family: 'Maffiny', 'Cormorant Garamond', serif;
    font-size: var(--cr-time-size, 1.15rem);
    color: var(--cr-venue-color, #cfa867);
    font-weight: normal;
    margin: 0 0 12px 0;
}

.event-card-button {
    display: inline-block;
    background-color: var(--cr-btn-bg, #909d7f);
    color: var(--cr-btn-text-color, #ffffff) !important;
    font-family: 'Maffiny', 'Montserrat', sans-serif;
    font-size: var(--cr-btn-size, 0.92rem);
    padding: 6px 22px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid var(--cr-btn-bg, #909d7f);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.event-card-button:hover,
.event-card-button:focus {
    background-color: var(--cr-btn-hover-bg, #cfa867);
    border-color: var(--cr-btn-hover-bg, #cfa867);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   📍 SECCIÓN ITINERARIO / PROGRAMA (ESTILO IDÉNTICO A LA MUESTRA)
   👉 Puedes buscar esto en tu editor con: SECCION PROGRAMA
   ========================================================================== */
:root {
    --prog-bg-image: url('elementos/768-1.jpg'); /* Fondo solicitado */
    --prog-title-width: 175px;                   /* Ancho del título Programa */
    --prog-icon-max-width: 58px;                 /* Ancho máximo de los iconos ilustrados */
    --prog-gold-color: #cfa867;                  /* Tono dorado / ocre para nodos y línea */
    --prog-green-color: #909d7f;                 /* Tono verde salvia para nodos y línea */
    --prog-time-color: #8c7d6b;                  /* Color de la hora */
    --prog-text-color: #454545;                  /* Color del texto del evento */
    --prog-time-size: 0.95rem;                   /* Tamaño de letra de la hora */
    --prog-name-size: 1.12rem;                   /* Tamaño de letra del evento */
    --prog-row-gap: 32px;                        /* Espacio entre cada evento */
}

.itinerary-banner-section {
    width: 100%;
    position: relative;
    background-color: #ffffff;
    background-image: var(--prog-bg-image, url('elementos/768-1.jpg'));
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 60px 15px 75px 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.itinerary-header {
    width: 100%;
    max-width: var(--prog-title-width, 175px);
    margin: 0 auto 40px auto;
    line-height: 0;
}

.itinerary-title-art {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.elegant-timeline {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--prog-row-gap, 32px);
    padding: 10px 0;
}

/* 📏 Línea vertical continua que conecta los nodos */
.elegant-timeline-track {
    position: absolute;
    top: 14px;
    bottom: 24px;
    left: 88px; /* Centrado con el nodo: 72px icon-col + 16px mitad de node-col */
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--prog-gold-color, #cfa867) 0%,
        var(--prog-gold-color, #cfa867) 32%,
        var(--prog-green-color, #909d7f) 36%,
        var(--prog-green-color, #909d7f) 100%
    );
    z-index: 1;
    transform: translateX(-50%);
}

.timeline-event-row {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Columna Izquierda: Icono ilustrado */
.timeline-icon-col {
    width: 72px;
    min-width: 72px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 12px;
    box-sizing: border-box;
}

.timeline-svg-art {
    max-width: var(--prog-icon-max-width, 58px);
    max-height: 48px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Columna Centro: Nodo circular con corazón blanco */
.timeline-node-col {
    width: 32px;
    min-width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.timeline-node-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2.5px #fcfcfc;
    transition: transform 0.2s ease;
}

.timeline-node-dot.dot-gold {
    background-color: var(--prog-gold-color, #cfa867);
}

.timeline-node-dot.dot-green {
    background-color: var(--prog-green-color, #909d7f);
}

.timeline-node-dot .node-heart {
    width: 9px;
    height: 9px;
    display: block;
    filter: brightness(0) invert(1);
}

/* Columna Derecha: Hora y Nombre del evento */
.timeline-info-col {
    flex: 1;
    text-align: left;
    padding-left: 14px;
    box-sizing: border-box;
}

.timeline-event-time {
    font-family: 'Maffiny', 'Lora', serif;
    font-size: var(--prog-time-size, 0.95rem);
    color: var(--prog-time-color, #8c7d6b);
    line-height: 1.2;
    margin-bottom: 2px;
}

.timeline-event-name {
    font-family: 'Maffiny', 'Cormorant Garamond', serif;
    font-size: var(--prog-name-size, 1.12rem);
    color: var(--prog-text-color, #454545);
    line-height: 1.25;
    font-weight: normal;
}

/* ==========================================================================
   📍 SECCIÓN CÓDIGO DE VESTIMENTA (ESTILO IDÉNTICO A LA MUESTRA)
   👉 Puedes buscar esto en tu editor con: SECCION VESTIMENTA
   ========================================================================== */
:root {
    --dc-bg-image: url('elementos/768-1.jpg');   /* Fondo solicitado */
    --dc-title-width: 280px;                     /* Ancho de "Código de vestimenta" */
    --dc-illustration-width: 145px;              /* Ancho de la ilustración traje/vestido */
    --dc-tag-color: #cfa867;                     /* Color dorado para "ETIQUETA" */
    --dc-text-color: #454545;                    /* Color para los textos descriptivos */
    --dc-tag-size: 1.15rem;                      /* Tamaño de "ETIQUETA" */
    --dc-desc-size: 1.05rem;                     /* Tamaño de la descripción */
    --dc-share-size: 0.92rem;                    /* Tamaño de "COMPARTE TUS FOTOS..." */
    --dc-qr-size: 130px;                         /* Tamaño del recuadro del código QR */
    --dc-btn-bg: #909d7f;                        /* Color verde salvia del botón */
    --dc-btn-hover-bg: #cfa867;                  /* Color hover del botón */
}

.dresscode-banner-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    background-image: var(--dc-bg-image, url('elementos/768-1.jpg'));
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 60px 20px 70px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Esquinas florales decorativas */
.dresscode-corner-top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 32%;
    max-width: 150px;
    height: auto;
    pointer-events: none;
    z-index: 1;
}

.dresscode-corner-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28%;
    max-width: 130px;
    height: auto;
    pointer-events: none;
    z-index: 1;
}

.dresscode-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Título vectorial caligráfico */
.dresscode-title-wrap {
    width: 100%;
    max-width: var(--dc-title-width, 280px);
    margin: 0 auto 18px auto;
    line-height: 0;
}

.dresscode-title-svg {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Ilustración Traje y Vestido */
.dresscode-illustration-wrap {
    width: 100%;
    max-width: var(--dc-illustration-width, 145px);
    margin: 0 auto 20px auto;
    line-height: 0;
}

.dresscode-illustration-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Etiqueta */
.dresscode-label-tag {
    font-family: 'Maffiny', 'Cormorant Garamond', serif;
    font-size: var(--dc-tag-size, 1.15rem);
    letter-spacing: 0.12em;
    color: var(--dc-tag-color, #cfa867);
    margin: 0 0 10px 0;
    font-weight: normal;
    text-transform: uppercase;
}

/* Descripción */
.dresscode-desc-block {
    margin-bottom: 30px;
}

.dresscode-desc-main {
    font-family: 'Maffiny', 'Lora', serif;
    font-size: var(--dc-desc-size, 1.05rem);
    color: var(--dc-text-color, #454545);
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.dresscode-desc-sub {
    font-family: 'Maffiny', 'Lora', serif;
    font-size: var(--dc-desc-size, 1.05rem);
    color: var(--dc-text-color, #454545);
    margin: 0;
    line-height: 1.35;
}

/* Bloque comparte fotos */
.dresscode-share-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dresscode-share-title {
    font-family: 'Maffiny', 'Lora', serif;
    font-size: var(--dc-share-size, 0.92rem);
    letter-spacing: 0.08em;
    color: var(--dc-text-color, #454545);
    text-transform: uppercase;
    line-height: 1.4;
    margin: 0 0 16px 0;
    max-width: 320px;
}

/* Recuadro QR */
.dresscode-qr-box {
    width: var(--dc-qr-size, 130px);
    height: var(--dc-qr-size, 130px);
    background-color: #ffffff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(207, 168, 103, 0.25);
    margin-bottom: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dresscode-qr-code {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Botón Subir fotos */
.dresscode-btn {
    display: inline-block;
    background-color: var(--dc-btn-bg, #909d7f);
    color: #ffffff !important;
    font-family: 'Maffiny', 'Montserrat', sans-serif;
    font-size: 0.92rem;
    padding: 7px 26px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid var(--dc-btn-bg, #909d7f);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.dresscode-btn:hover,
.dresscode-btn:focus {
    background-color: var(--dc-btn-hover-bg, #cfa867);
    border-color: var(--dc-btn-hover-bg, #cfa867);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   🎁 SECCIÓN MESA DE REGALOS (FONDO 768-1.JPG, LIVERPOOL, TRANSFERENCIA, LLUVIA DE SOBRES)
   ========================================================================== */
:root {
    --gifts-bg-image: url('elementos/768-1.jpg');
    --gifts-accent-color: #879275;               /* Color verde salvia de botones y acentos */
    --gifts-hover-color: #6e795f;                /* Color hover */
    --gifts-gold-color: #cfa867;                 /* Color dorado */
    --gifts-text-color: #555555;                 /* Color texto general */
    --gifts-flower-width: 175px;                /* Tamaño de la flor 3Flor.png */
    --gifts-flower-offset-y: -65px;             /* ⬆ Desplazamiento hacia arriba entre 6.jpg y 768-1.jpg */
}

.gifts-banner-section {
    width: 100%;
    position: relative;
    z-index: 5;
    overflow: visible;
    background-color: #ffffff;
    background-image: var(--gifts-bg-image, url('elementos/768-1.jpg'));
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 15px 20px 70px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Flor superior flotante entre 6.jpg y el fondo 768-1.jpg */
.gifts-floral-header {
    width: 100%;
    max-width: var(--gifts-flower-width, 175px);
    margin: var(--gifts-flower-offset-y, -65px) auto 15px auto;
    line-height: 0;
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.gifts-top-flower {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

/* Título SVG Mesa de regalos */
.gifts-title-header {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 12px auto;
    display: flex;
    justify-content: center;
}

.gifts-title-svg {
    width: 100%;
    max-width: 226px;
    height: auto;
    display: block;
}

/* Subtítulo */
.gifts-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.94rem;
    color: var(--gifts-text-color, #555555);
    line-height: 1.45;
    margin: 0 auto 34px auto;
    max-width: 380px;
    text-align: center;
}

/* Bloque Liverpool */
.gifts-store-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 35px;
}

.gifts-liverpool-logo {
    width: 165px;
    max-width: 80%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.gifts-event-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    color: #4a4a4a;
    margin-bottom: 12px;
}

.gifts-btn-ver {
    background-color: var(--gifts-accent-color, #879275);
    color: #ffffff !important;
    min-width: 105px;
    padding: 6px 28px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gifts-btn-ver:hover,
.gifts-btn-ver:focus {
    background-color: var(--gifts-hover-color, #6e795f);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Acordeón Transferencia */
.gifts-transfer-accordion {
    width: 266px;
    max-width: 88%;
    margin: 0 auto 46px auto;
    box-sizing: border-box;
}

.gifts-transfer-toggle {
    width: 100%;
    background-color: var(--gifts-accent-color, #879275);
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 9px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    transition: border-radius 0.25s ease, background-color 0.3s ease;
}

.gifts-transfer-toggle:hover {
    background-color: var(--gifts-hover-color, #6e795f);
}

.gifts-transfer-toggle.active {
    border-radius: 7px 7px 0 0;
}

.transfer-caret-icon {
    width: 14px;
    height: 14px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.gifts-transfer-toggle.active .transfer-caret-icon {
    transform: rotate(180deg);
}

.gifts-transfer-content {
    display: none;
    background-color: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--gifts-accent-color, #879275);
    border-top: none;
    border-radius: 0 0 7px 7px;
    padding: 16px 14px 20px 14px;
    text-align: center;
    box-sizing: border-box;
}

.gifts-transfer-content.open {
    display: block;
}

.gifts-bbva-logo {
    width: 85px;
    height: auto;
    display: block;
    margin: 4px auto 12px auto;
}

.transfer-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    color: #666666;
    margin: 10px 0 4px 0;
}

.transfer-number-copy {
    font-family: 'Montserrat', monospace;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 5px;
    padding: 7px 10px;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: all;
    display: inline-block;
}

.transfer-number-copy:hover {
    background-color: #f1f5f9;
    border-color: var(--gifts-accent-color, #879275);
}

.transfer-beneficiary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    color: #333333;
    font-weight: 600;
    margin-top: 14px;
    margin-bottom: 4px;
}

/* Bloque Lluvia de Sobres */
.gifts-envelope-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
}

.gifts-envelope-icon {
    width: 52px;
    height: auto;
    display: block;
    margin: 0 auto 12px auto;
}

.gifts-envelope-title {
    font-family: 'Parisienne', cursive;
    font-size: 2.2rem;
    line-height: 1.15;
    color: var(--gifts-accent-color, #879275);
    margin: 0 0 10px 0;
    font-weight: normal;
}

.gifts-envelope-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    color: var(--gifts-text-color, #555555);
    line-height: 1.45;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
}

/* ==========================================================================
   💌 SECCIÓN CONFIRMACIÓN DE ASISTENCIA (FONDO 768-1.JPG, FLORES, FORMULARIO)
   ========================================================================== */
:root {
    --rsvp-bg-image: url('elementos/768-1.jpg');
    --rsvp-accent-color: #879275;               /* Color verde salvia de botones */
    --rsvp-hover-color: #6e795f;                /* Color hover */
    --rsvp-gold-color: #cfa867;                 /* Color dorado */
    --rsvp-text-color: #4a4a4a;                 /* Color texto */
}

.rsvp-banner-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    background-image: var(--rsvp-bg-image, url('elementos/768-1.jpg'));
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 65px 20px 80px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Flores decorativas de esquinas */
.rsvp-flower-top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 135px;
    max-width: 30%;
    height: auto;
    pointer-events: none;
    z-index: 1;
}

.rsvp-flower-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 105px;
    max-width: 25%;
    height: auto;
    pointer-events: none;
    z-index: 1;
}

/* Título SVG Confirmación de asistencia */
.rsvp-title-header {
    width: 100%;
    max-width: 260px;
    margin: 0 auto 24px auto;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.rsvp-title-svg {
    width: 100%;
    max-width: 215px;
    height: auto;
    display: block;
}

/* Textos introductorios en tipografía Maffiny */
.rsvp-intro-block {
    width: 100%;
    max-width: 440px;
    margin: 0 auto 20px auto;
    position: relative;
    z-index: 2;
    padding: 0 10px;
    box-sizing: border-box;
}

.rsvp-intro-p {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.08rem;
    line-height: 1.55;
    color: var(--rsvp-text-color, #4a4a4a);
    margin: 0 0 14px 0;
}

.rsvp-adults-note {
    font-weight: 600;
    color: #2e3826;
}

/* Separador ramas dorado */
.rsvp-divider-branch {
    width: 100%;
    max-width: 220px;
    margin: 10px auto 30px auto;
    position: relative;
    z-index: 2;
}

.rsvp-branch-svg {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Contenedor del formulario y tarjetas */
.rsvp-card-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(135, 146, 117, 0.35);
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.rsvp-card-container .form-group {
    margin-bottom: 16px;
    text-align: left;
}

.rsvp-card-container .form-group label {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.08rem;
    font-weight: normal;
    color: #3b4631;
    display: block;
    margin-bottom: 6px;
}

.rsvp-card-container input[type="text"],
.rsvp-card-container input[type="tel"],
.rsvp-card-container textarea {
    width: 100%;
    border: 1px solid #c7d1c0;
    border-radius: 6px;
    padding: 10px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    background-color: #ffffff;
    color: #333333;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.rsvp-card-container input[type="text"]:focus,
.rsvp-card-container input[type="tel"]:focus,
.rsvp-card-container textarea:focus {
    border-color: var(--rsvp-accent-color, #879275);
    outline: none;
    box-shadow: 0 0 0 3px rgba(135, 146, 117, 0.22);
}

.rsvp-card-container .attendance-options {
    text-align: center;
}

.rsvp-card-container .attendance-options > label {
    text-align: center;
    width: 100%;
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.15rem;
    color: #3b4631;
}

.rsvp-card-container .radio-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
    margin-bottom: 6px;
}

.rsvp-card-container .radio-group input[type="radio"] {
    display: none;
}

.rsvp-card-container .radio-group label {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #4a573d;
    background-color: #fcfdfa;
    border: 1.5px solid #879275;
    border-radius: 25px;
    padding: 8px 24px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(135, 146, 117, 0.15);
    transition: all 0.25s ease;
}

.rsvp-card-container .radio-group label:hover {
    background-color: #f2f6ee;
    border-color: #6e795f;
    color: #2d3826;
}

.rsvp-card-container .radio-group input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #879275 0%, #6e795f 100%) !important;
    border-color: #6e795f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(110, 121, 95, 0.35) !important;
}

.rsvp-card-container .locked-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.rsvp-card-container .locked-input {
    background-color: #f4f6f1 !important;
    border: 1.5px dashed var(--rsvp-accent-color, #879275) !important;
    color: #3b4631 !important;
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.15rem;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: not-allowed !important;
    padding-right: 35px !important;
}

.rsvp-card-container .locked-input-wrapper .lock-icon {
    position: absolute;
    right: 14px;
    color: var(--rsvp-accent-color, #879275);
    font-size: 0.95em;
    pointer-events: none;
    opacity: 0.95;
}

.rsvp-card-container .rsvp-button {
    width: 100%;
    background-color: var(--rsvp-accent-color, #879275);
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(135, 146, 117, 0.35);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.rsvp-card-container .rsvp-button:hover,
.rsvp-card-container .rsvp-button:focus {
    background-color: var(--rsvp-hover-color, #6e795f);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(110, 121, 95, 0.4);
}

.rsvp-card-container .rsvp-success-card {
    background: #f7f9f4;
    border: 1.5px solid var(--rsvp-accent-color, #879275);
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
}

.rsvp-card-container .success-icon {
    color: var(--rsvp-accent-color, #879275);
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.rsvp-card-container .success-title {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.35rem;
    color: #3b4631;
    margin-bottom: 8px;
}

.rsvp-card-container .success-divider {
    width: 45px;
    height: 2px;
    background-color: var(--rsvp-accent-color, #879275);
    margin: 8px auto 12px auto;
}

.rsvp-card-container .success-message-main {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.1rem;
    color: #4a573f;
    line-height: 1.55;
}

.rsvp-card-container .success-message-sub {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: #2e3826;
    margin-top: 10px;
}

.rsvp-card-container .rsvp-confirmation-ticket {
    background: #ffffff;
    border: 1px solid #dbe3d4;
    border-radius: 10px;
    padding: 16px;
    margin-top: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rsvp-card-container .rsvp-ticket-badge {
    background-color: var(--rsvp-accent-color, #879275);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
}

.rsvp-card-container .rsvp-ticket-guest-name {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.35rem;
    color: #2e3826;
    margin: 10px 0 4px 0;
}

/* Tarjeta verde/oliva para Enlace No Válido o Incompleto */
.rsvp-card-container .rsvp-invalid-card {
    background: #f7f9f4;
    border: 1.5px dashed var(--rsvp-accent-color, #879275);
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
}

.rsvp-card-container .invalid-icon {
    color: var(--rsvp-accent-color, #879275);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.rsvp-card-container .invalid-title {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.35rem;
    color: #3b4631;
    margin-bottom: 10px;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.rsvp-card-container .invalid-text {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.1rem;
    color: #4a573f;
    line-height: 1.55;
    margin: 0;
}

/* 💌 ESTILOS Y VARIABLES PARA EL FORMULARIO MINIMALISTA SOBRE SECCIÓN 5 */
:root {
    /* 📍 POSICIÓN MANUAL EN SECCIÓN 5 (ARRIBA / ABAJO / IZQUIERDA / DERECHA) */
    --section5-rsvp-top: 50%;               /* Mover arriba (-) o abajo (+): Ej. 50% (centro), 45% (arriba), 55% (abajo) */
    --section5-rsvp-left: 50%;              /* Mover izquierda (-) o derecha (+): Ej. 50% (centro), 45% (izq), 55% (der) */
    --section5-rsvp-max-width: 440px;       /* Ancho máximo del formulario minimalista */

    /* 🎨 COLORES Y FONDO MINIMALISTA */
    --section5-rsvp-card-bg: rgba(255, 255, 255, 0.80); /* Fondo suave translúcido ligeramente más transparente */
    --section5-rsvp-border-color: rgba(215, 151, 180, 0.3); /* Borde sutil */
    --section5-rsvp-title-color: #d797b4;    /* Color de títulos principales */
    --section5-rsvp-text-color: #555555;     /* Color del texto */
}

.section5-banner-container {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 35px 15px;
    box-sizing: border-box;
}

.section5-banner-container .banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    z-index: 1;
}

.section5-rsvp-overlay {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: var(--section5-rsvp-max-width, 440px);
    z-index: 5;
    text-align: center;
    pointer-events: auto;
    background: var(--section5-rsvp-card-bg, rgba(255, 255, 255, 0.88));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--section5-rsvp-border-color, rgba(215, 151, 180, 0.35));
    border-radius: 20px;
    padding: 22px 18px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

.section5-rsvp-overlay .rsvp-section {
    padding: 0;
    margin: 0;
    background: transparent;
}

.section5-rsvp-overlay .rsvp-title-confirmacion {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--section5-rsvp-title-color, #d797b4);
    letter-spacing: 2px;
    margin: 0;
}

.section5-rsvp-overlay .rsvp-title-asistencia {
    font-family: 'Great Vibes', 'Allura', cursive;
    font-size: 2.8em;
    color: var(--section5-rsvp-title-color, #d797b4);
    margin: 0 0 8px 0;
    font-weight: normal;
    line-height: 1.1;
}

.section5-rsvp-overlay .rsvp-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85em;
    color: var(--section5-rsvp-text-color, #555555);
    margin: 0 0 18px 0;
    line-height: 1.4;
}

.section5-rsvp-overlay .form-group {
    margin-bottom: 14px;
    text-align: left;
}

.section5-rsvp-overlay .attendance-options {
    text-align: center;
}

.section5-rsvp-overlay .form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78em;
    font-weight: 600;
    color: var(--section5-rsvp-title-color, #d797b4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 5px;
    display: block;
}

.section5-rsvp-overlay .attendance-options > label {
    text-align: center;
    width: 100%;
}

.section5-rsvp-overlay input[type="text"],
.section5-rsvp-overlay input[type="tel"],
.section5-rsvp-overlay textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(215, 151, 180, 0.4);
    border-radius: 12px;
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88em;
    color: #333333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.section5-rsvp-overlay .locked-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.section5-rsvp-overlay .locked-input {
    background-color: rgba(215, 151, 180, 0.08) !important;
    border: 1px dashed rgba(215, 151, 180, 0.6) !important;
    color: #d797b4 !important;
    font-weight: 700 !important;
    text-align: center !important;
    cursor: not-allowed !important;
    user-select: none;
    padding-right: 35px !important;
}

.section5-rsvp-overlay .locked-input-wrapper .lock-icon {
    position: absolute;
    right: 14px;
    color: #d797b4;
    font-size: 0.85em;
    pointer-events: none;
    opacity: 0.8;
}

.section5-rsvp-overlay input[type="text"]:focus,
.section5-rsvp-overlay input[type="tel"]:focus,
.section5-rsvp-overlay textarea:focus {
    border-color: #d797b4;
    box-shadow: 0 0 8px rgba(215, 151, 180, 0.25);
}

.section5-rsvp-overlay .radio-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 4px;
}

.section5-rsvp-overlay .radio-group input[type="radio"] {
    display: none;
}

.section5-rsvp-overlay .radio-group label {
    padding: 8px 18px;
    border: 1.5px solid #879275;
    border-radius: 20px;
    background: #ffffff;
    color: #4a573d;
    font-size: 0.82em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.section5-rsvp-overlay .radio-group input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #879275 0%, #6e795f 100%);
    color: #ffffff;
    border: 1.5px solid #6e795f;
    box-shadow: 0 4px 12px rgba(110, 121, 95, 0.3);
}

.section5-rsvp-overlay .rsvp-button {
    width: 100%;
    background: var(--liquid-glass-bg);
    color: #ffffff;
    padding: 11px 20px;
    border: var(--liquid-glass-border);
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--liquid-glass-inner-shadow);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.section5-rsvp-overlay .rsvp-button:hover {
    background: var(--liquid-glass-hover);
    border: var(--liquid-glass-border-hover);
    transform: translateY(-1px);
    box-shadow: var(--liquid-glass-inner-shadow);
}

/* --- Sección de Padres y Padrinos con imagen de fondo (diseño simplificado) --- */
.parents-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
    background-image: url('img/back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.parents-text-container {
    max-width: 500px;
    padding: 60px 20px;
    background-color: transparent;
    border-radius: 10px;
}

.parents-text-container h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5em;
    font-weight: 600;
    color: #d797b4;
    line-height: 1.4;
    margin: 0;
}

.parents-info {
    font-family: 'Parisienne', 'Pinyon Script', 'Monsieur La Doulaise', cursive;
    font-size: 1.85em;
    font-weight: normal;
    color: #d797b4;
    margin-top: 0px;
    padding: 0;
    line-height: 1.4;
}

.parents-info p {
    margin: 0;
    padding: 0;
    margin-bottom: 15px;
}

.parents-info p:last-child {
    margin-bottom: 0;
}

.parents-info b {
    font-weight: bold;
    color: #666;
}

/* --- Estilos para las secciones de contenido individuales --- */
#locationContent {
    background-color: #ffffff;
    padding: 50px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.location-card {
    background-color: transparent;
    border: none;
    border-radius: 16px;
    padding: 30px 20px;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location-card:hover {
    transform: translateY(-2px);
}

.location-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.location-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fcedf0;
    color: #d797b4;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    margin-bottom: 6px;
}

.location-card h2 {
    font-family: 'Allura', 'Pinyon Script', 'Great Vibes', cursive;
    font-size: 3.6em;
    color: #d797b4;
    margin: 0;
    font-weight: normal;
    line-height: 1.1;
}

/* --- Animación al hacer Scroll (Reveal on Scroll) --- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.location-card .detail-info {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35em;
    font-weight: 700;
    color: #d797b4;
    margin: 8px 0 2px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.location-card .detail-subinfo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15em;
    font-style: italic;
    color: #d797b4;
    margin: 0 0 8px 0;
}

.location-card .detail-address {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    color: #555555;
    margin: 5px 0 12px 0;
    line-height: 1.5;
}

.location-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    color: #d797b4;
    background-color: #ffffff;
    border: 1px solid #f5dcd0;
    padding: 4px 14px;
    border-radius: 20px;
    margin: 0 0 16px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.location-card .map-link {
    display: inline-block;
    background: var(--liquid-glass-bg);
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 25px;
    border: var(--liquid-glass-border);
    box-shadow: var(--liquid-glass-inner-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 0;
}

.location-card .map-link:hover {
    background: var(--liquid-glass-hover);
    border: var(--liquid-glass-border-hover);
    transform: translateY(-1px);
    box-shadow: var(--liquid-glass-inner-shadow);
}

.gift-link, .whatsapp-link, .rsvp-button {
    display: inline-block;
    background: var(--liquid-glass-bg);
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    border: var(--liquid-glass-border);
    box-shadow: var(--liquid-glass-inner-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.gift-link:hover, .whatsapp-link:hover, .rsvp-button:hover {
    background: var(--liquid-glass-hover);
    border: var(--liquid-glass-border-hover);
    box-shadow: var(--liquid-glass-inner-shadow);
}

.whatsapp-link i {
    margin-right: 8px;
}

/* --- Sección de Línea del Tiempo (con imagen) --- */
.timeline-image-section {
    background-color: #ffffff;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
}

.timeline-image-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-image {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Sección de Itinerario (Línea del Tiempo HTML) --- */
.itinerary-section {
    background-color: #ffffff;
    padding: 50px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.itinerary-title {
    font-family: 'Callisten', 'Dancing Script', cursive;
    font-size: 3.5em;
    color: #d797b4;
    margin: 0 0 35px 0;
    font-weight: normal;
}

.timeline-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding: 10px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0;
    border-left: 2px dashed #d797b4;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.timeline-item.left {
    left: 0;
    align-items: center;
    padding-right: 25px;
}

.timeline-item.right {
    left: 50%;
    align-items: center;
    padding-left: 25px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 25px;
    width: 8px;
    height: 8px;
    background-color: #d797b4;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #d797b4;
    z-index: 2;
}

.timeline-item.left::after {
    right: -5px;
}

.timeline-item.right::after {
    left: -5px;
}

.timeline-icon-box {
    width: 55px;
    height: 55px;
    border: 2px solid #d797b4;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    color: #d797b4;
    font-size: 22px;
    margin-bottom: 6px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: none;
}

.timeline-item:hover .timeline-icon-box {
    transform: scale(1.08);
    background-color: #faf0f3;
    box-shadow: none;
}

.timeline-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    color: #d797b4;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.timeline-label {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 1.25em;
    font-weight: 600;
    color: #d797b4;
    margin: 0;
    line-height: 1.2;
}

/* --- Nuevos estilos de la Galería de Fotos --- */
.gallery-title-section {
    text-align: center;
    margin: 40px auto 15px auto;
    padding: 0 15px;
    background-color: transparent;
}

.gallery-title-our {
    font-family: 'Great Vibes', 'Alex Brush', 'Parisienne', cursive;
    font-size: 2.2em;
    color: #d797b4;
    margin: 0;
    line-height: 1;
    font-weight: normal;
}

.gallery-title-gallery {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4em;
    color: #d797b4;
    margin: 2px 0 0 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gallery-container {
    width: 100%;
    max-width: 460px;
    margin: 0 auto 40px auto;
    position: relative;
    padding: 0 15px;
    box-sizing: border-box;
    background-color: transparent;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(215, 151, 180, 0.2);
    background-color: #ffffff;
}

.image-carousel {
    display: flex;
    width: 100%;
    position: relative;
    min-height: 380px;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    width: 100%;
    max-width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* Flechas del carrusel */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    background: var(--liquid-glass-bg);
    border: var(--liquid-glass-border);
    box-shadow: var(--liquid-glass-inner-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 1.1em;
    cursor: pointer;
    z-index: 10;
    opacity: 0.95;
    transition: all 0.25s ease;
}
.carousel-nav:hover {
    opacity: 1;
    background: var(--liquid-glass-hover);
    border: var(--liquid-glass-border-hover);
    transform: translateY(-50%) scale(1.08);
    box-shadow: var(--liquid-glass-inner-shadow);
}
.carousel-nav.prev-nav { left: 10px; }
.carousel-nav.next-nav { right: 10px; }

/* --- Estilos para el Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    position: relative;
    z-index: 100;
}

.lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 102;
}

.lightbox .close-btn:hover {
    color: #d797b4;
}

.lightbox .lightbox-nav {
    color: #ffffff;
    font-size: 2.2em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 15px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 101;
    background: transparent;
    border: none;
}

.lightbox .lightbox-nav:hover {
    opacity: 1;
}

.lightbox .lightbox-nav.prev-nav { left: 20px; }
.lightbox .lightbox-nav.next-nav { right: 20px; }

/* --- Sección de Video --- */
.video-container {
    width: 100%;
    position: relative;
    left: 0;
    transform: none;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    background-color: #000;
}

.video-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.video-preview .preview-content {
    color: #fff;
    text-align: center;
}

.save-the-date-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3em;
    margin: 0;
    line-height: 1;
    font-weight: 500;
}

.play-button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3em;
    cursor: pointer;
    margin-top: 10px;
    padding: 0;
    outline: none;
    transition: transform 0.2s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-player {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Nuevo banner al final del video --- */
.banner-container-bottom {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bottom-banner-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

/* --- Sección de Mesa de Regalos --- */
.gifts-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    background-image: url('img/mesa.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
}

.gifts-container-inner {
    background-color: #ffffff;
    padding: 35px 22px;
    border-radius: 20px;
    border: 1px solid rgba(215, 151, 180, 0.1);
    box-shadow: 0 10px 30px rgba(215, 151, 180, 0.12);
    max-width: 440px;
    width: 100%;
    box-sizing: border-box;
}

.gifts-title-mesa {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--color-maestro, #d797b4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.gifts-title-regalos {
    font-family: 'Great Vibes', 'Allura', 'Parisienne', cursive;
    font-size: 2.8em;
    color: var(--color-maestro, #d797b4);
    margin: 0 0 10px 0;
    line-height: 1.1;
    font-weight: normal;
}

.gift-img-icon {
    display: block;
    max-width: 75px;
    width: 100%;
    height: auto;
    margin: 14px auto;
}

/* ========================================================= */
/* 👗 SECCIÓN CÓDIGO DE VESTIMENTA */
/* ========================================================= */

.dresscode-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    background-image: url('elementos/codigo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.dresscode-container-inner {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 35px 22px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    max-width: 440px;
    width: 100%;
    box-sizing: border-box;
}

.dresscode-title-codigo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    font-weight: 600;
    color: #d797b4;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

.dresscode-title-vestimenta {
    font-family: 'Parisienne', 'Dancing Script', 'Great Vibes', cursive;
    font-size: 2.8em;
    color: #d797b4;
    margin: 0 0 15px 0;
    line-height: 1.1;
    font-weight: normal;
}

.dresscode-type {
    font-family: 'Montserrat', 'Cormorant Garamond', sans-serif;
    font-size: 1.45em;
    font-weight: 800;
    letter-spacing: 4px;
    margin: 4px 0 22px 0;
    text-transform: uppercase;
    display: inline-block;
    background: linear-gradient(135deg, #050505 0%, #3e3e3e 35%, #181818 70%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #111111;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.dresscode-rules {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.dresscode-rules .rule-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88em;
    font-weight: 600;
    color: #718096;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.4;
}

.dresscode-rules .rule-subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78em;
    font-weight: 600;
    color: #d797b4;
    letter-spacing: 1.5px;
    margin: 4px 0 0 0;
    text-transform: uppercase;
}

.color-palette-block {
    margin-bottom: 30px;
}

.palette-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05em;
    font-weight: 700;
    color: #d797b4;
    letter-spacing: 2px;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.palette-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78em;
    font-weight: 500;
    color: #666666;
    letter-spacing: 1px;
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.color-swatches {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.dresscode-img-icon {
    display: block;
    max-width: 90px;
    width: 100%;
    height: auto;
    margin: 18px auto 14px auto;
}

.color-swatches .swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    border: 2px solid #ffffff;
    transition: transform 0.2s ease;
}

.color-swatches .swatch:hover {
    transform: scale(1.15);
}

.dresscode-verse {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(215, 151, 180, 0.12);
}

.verse-quote {
    font-family: 'Cormorant Garamond', 'Lora', serif;
    font-style: italic;
    font-size: 1.1em;
    color: #d797b4;
    margin: 0 0 6px 0;
    line-height: 1.4;
    font-weight: 600;
}

.verse-reference {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82em;
    color: #d797b4;
    letter-spacing: 1.5px;
    margin: 0;
    font-weight: 500;
}

.gifts-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88em;
    color: #555555;
    margin: 15px 0 25px 0;
    line-height: 1.5;
}

.gifts-option {
    margin-bottom: 30px;
}
.gifts-option:last-of-type {
    margin-bottom: 0;
}


.gifts-logo-container {
    margin: 20px 0 10px 0;
}

.gifts-logo {
    width: 150px;
    height: auto;
}
.gifts-logo-bbva {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.bbva-info {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
}
.bbva-info p {
    margin: 5px 0;
}

.sobre-info {
    margin-top: 40px;
}
.envelope-icon {
    font-size: 2.2em;
    color: var(--color-maestro, #d797b4);
    margin-bottom: 10px;
}
.sobre-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88em;
    color: #555555;
    max-width: 350px;
    margin: 0 auto;
    line-height: 1.5;
}

.gift-link {
    display: inline-block;
    background-color: #d797b4;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}
/* --- Sección de Álbum Digital --- */
.album-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.album-container-inner {
    background-color: transparent;
    border-radius: 20px;
    padding: 35px 25px;
    max-width: 420px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.album-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05em;
    color: #d797b4;
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.album-title {
    font-family: 'Allura', 'Pinyon Script', 'Great Vibes', cursive;
    font-size: 3.6em;
    color: #d797b4;
    margin: 5px 0 12px 0;
    line-height: 1;
    font-weight: normal;
}

.album-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    color: #555555;
    margin: 0 0 20px 0;
    line-height: 1.5;
    max-width: 320px;
}

.qr-container {
    margin-bottom: 22px;
    display: flex;
    justify-content: center;
}

.qr-frame {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(215, 151, 180, 0.12);
    border: 1px solid #f6e5e8;
    display: inline-block;
}

.qr-image {
    width: 170px;
    height: 170px;
    display: block;
    object-fit: contain;
}

.album-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--liquid-glass-bg);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 25px;
    border: var(--liquid-glass-border);
    box-shadow: var(--liquid-glass-inner-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82em;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.album-button:hover {
    background: var(--liquid-glass-hover);
    border: var(--liquid-glass-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--liquid-glass-inner-shadow);
}

/* --- Sección de Confirmación de Asistencia (RSVP) --- */
.section5-rsvp-overlay {
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
}

.rsvp-section {
    text-align: center;
    padding: 15px 15px;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.rsvp-title-confirmacion {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    color: #000;
    margin: 0;
    line-height: 1;
    font-weight: 500;
}

.rsvp-title-asistencia {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5em;
    color: #d797b4;
    margin: 0;
    line-height: 1;
    font-weight: 600;
}

/* Nuevos estilos para el formulario */
#rsvpForm {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

.form-group label {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    box-sizing: border-box;
}

.rsvp-button {
    background-color: #d797b4;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
}
.rsvp-button:hover {
    background-color: #d797b4;
}

/* Ocultar sección de galería a petición del usuario */
.gallery-section-wrapper {
    display: none !important;
}

.footer-section-wrapper {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    background-image: url('elementos/768-1.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.respetuosamente {
    text-align: center;
    padding: 45px 20px 10px 20px;
    margin: 0 auto;
    background-color: transparent;
    width: 100%;
    box-sizing: border-box;
}

.rsvp-title-respetuosamente {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.1em;
    color: #3b4631;
    margin: 0;
    line-height: 1;
    font-weight: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rsvp-title-ninos {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.55rem;
    color: #3b4631;
    margin: 0;
    line-height: 1.2;
    font-weight: normal;
    letter-spacing: 1px;
}

.rsvp-name-quinceanera {
    font-family: 'Parisienne', 'Great Vibes', cursive;
    font-size: 2.9em;
    color: #879275;
    margin: 4px 0 0 0;
    font-weight: normal;
    line-height: 1.1;
}

.rsvp-date-closing {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.2rem;
    font-weight: normal;
    color: #4a573d;
    letter-spacing: 3px;
    margin: 6px 0 0 0;
    text-transform: uppercase;
}

/* --- Footer --- */
.footer {
    margin-top: 0;
    font-size: 0.9em;
    color: #4a573d;
    border-top: none;
    background: transparent;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 35px;
    width: 100%;
}

.back-to-top-link {
    color: #879275;
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

.back-to-top-link:hover {
    color: #6e795f;
    transform: translateY(-2px);
}

.back-to-top-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: #6e795f;
    margin-top: 5px;
    margin-bottom: 10px;
}

.copyright, .website-url {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8em;
    margin: 2px 0;
    text-align: center;
    color: #6e795f;
}

/* --- Media Queries para Responsividad --- */
@media (min-width: 769px) {
    /* Mantener carrusel estilo móvil en escritorio */
    .carousel-nav {
        display: block;
    }
}

@media (max-width: 768px) {
    .parents-section {
        flex-direction: column;
        gap: 20px;
        background-position: center;
        margin: 0;
    }

    .parents-text-container {
        max-width: 100%;
        padding: 40px 20px;
    }

    .carousel-wrapper {
        position: relative;
    }
    .carousel-nav {
        display: block;
    }
    .image-carousel {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 15px;
        overflow-x: hidden;
    }
    .carousel-image {
        flex: 0 0 100%;
        width: 100%;
    }
    .save-the-date-text {
        font-size: 2em;
    }
    .play-button {
        font-size: 3em;
    }
    .play-image-button {
        width: 80px;
        height: auto;
    }

    /* SOLUCIÓN para las flechas del lightbox en móvil */
    .lightbox .lightbox-nav {
        font-size: 1.5em;
        padding: 10px;
        opacity: 0.9;
        display: block !important;
        z-index: 101;
    }
    .lightbox .lightbox-nav.prev-nav { left: 10px; }
    .lightbox .lightbox-nav.next-nav { right: 10px; }

    .lightbox .close-btn {
        z-index: 102;
    }

    .lightbox-image {
        z-index: 100;
    }
}

@media (max-width: 508px) {
    .hero-section {
        min-height: 820px;
    }
    .banner-image {
        min-height: 520px;
        height: 70vh;
        object-fit: cover;
        object-position: center;
    }
    #locationContent {
        padding: 40px 25px;
        margin: 0 auto;
    }
    .rsvp-section {
        padding: 40px 20px;
    }
    .gifts-section {
        padding: 40px 20px;
    }
    .wedding-headline {
        font-size: 2.4em;
        font-weight: normal;
    }
    .wedding-date {
        font-size: 1.8em;
        font-weight: 600;
    }
    .wedding-location {
        font-size: 0.9em;
        font-weight: 400;
        letter-spacing: 2px;
    }
    .ring-image-container {
        width: 160px;
    }
    .love-phrase {
        font-size: 1.15em;
        line-height: 1.6;
        max-width: 380px;
        padding: 0 20px;
    }
    #countdown {
        gap: 15px;
    }
    .number {
        font-size: 2em;
    }
    .label {
        font-size: 0.9em;
    }
    .hero .names {
        font-size: 2.8em;
    }
    .we-get-married {
        font-size: 1.3em;
    }
    h2 {
        font-size: 1.5em;
    }
    .detail-info, .detail-address {
        font-size: 0.9em;
    }
    .map-link, .gift-link, .whatsapp-link, .rsvp-button {
        padding: 8px 15px;
        font-size: 0.8em;
    }
    .banner-image {
        height: 60vh;
        object-fit: cover;
    }
}

/* Nuevo estilo para el botón flotante en verde olivo */
.floating-music-button {
    position: fixed;
    bottom: 20px;
    right: max(16px, calc(50vw - 235px));
    background: linear-gradient(135deg, #9ba788 0%, #879275 50%, #6e795f 100%) !important;
    color: #ffffff !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 3px 10px rgba(110, 121, 95, 0.35), inset 0 1px 2px 0 rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
}

.floating-music-button:hover {
    background: linear-gradient(135deg, #a7b494 0%, #909d7f 50%, #788568 100%) !important;
    border-color: rgba(255, 255, 255, 0.95) !important;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(110, 121, 95, 0.45), inset 0 1px 2px 0 rgba(255, 255, 255, 0.9) !important;
}

.floating-music-button i {
    font-size: 14px;
    color: #ffffff !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

/* Estilos para el nuevo grupo de radio buttons */
.attendance-options {
    text-align: center;
}

.radio-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group label {
    display: inline-block;
    padding: 10px 22px;
    border: 1.5px solid #879275;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.9em;
    font-weight: bold;
    color: #4a573d;
    background-color: #ffffff;
}

.radio-group input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #879275 0%, #6e795f 100%) !important;
    border-color: #6e795f !important;
    color: #fff !important;
}

/* ========================================================= */
/* 🎟️ SECCIÓN DE BIENVENIDA PERSONALIZADA DE INVITADO */
/* ========================================================= */
.personalized-guest-section {
    padding: 30px 20px;
    margin: 25px 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: none;
    border: 1px solid #f7e7e9;
    text-align: center;
}

.personalized-guest-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.personalized-icon-wrapper {
    width: 55px;
    height: 55px;
    background-color: #d797b4;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(215, 151, 180, 0.25);
}

.personalized-guest-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    color: #666666;
    letter-spacing: 2px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.personalized-guest-name {
    font-family: 'Great Vibes', 'Callisten', 'Parisienne', 'Allura', cursive;
    font-size: 2.8em;
    font-weight: normal;
    color: #d797b4;
    margin: 4px 0 12px 0;
    line-height: 1.1;
    word-break: break-word;
}

.personalized-passes-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #faf0f1;
    border: 1px solid #f2d6d8;
    color: #d797b4;
    padding: 8px 18px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
}

.personalized-passes-badge i {
    font-size: 0.95em;
    color: #d797b4;
}

/* Mostrar itinerario (linea del tiempo) */
.timeline-image-section {
    display: block;
    width: 100%;
    margin: 0 auto;
}

/* ========================================================= */
/* 📸 SECCIÓN GALERÍA DE FOTOS Y LIGHTBOX */
/* ========================================================= */

.gallery-section-wrapper {
    position: relative;
    width: 100%;
    background-image: url('elementos/galeria.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 35px 0 45px 0;
    box-sizing: border-box;
}

.gallery-title-section {
    display: block !important;
    text-align: center;
    padding: 10px 20px 5px 20px;
    background: transparent !important;
    background-color: transparent !important;
}

.gallery-title-our {
    font-family: 'Parisienne', 'Dancing Script', 'Great Vibes', cursive;
    font-size: 2.6rem;
    color: #d797b4;
    margin: 0;
    line-height: 1;
}

.gallery-title-gallery {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #d797b4;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.gallery-container {
    display: block !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 10px 20px 15px 20px;
}

.carousel-wrapper {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-carousel {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(215, 151, 180, 0.18);
    background-color: #f8f9fa;
    position: relative;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-image:hover {
    transform: scale(1.02);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(215, 151, 180, 0.85);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: none;
}

.carousel-nav:hover {
    background: rgba(215, 151, 180, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev-nav {
    left: 10px;
}

.carousel-nav.next-nav {
    right: 10px;
}

/* Modal Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 9999999;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #ffffff;
    font-size: 42px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000000;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.lightbox .close-btn:hover {
    color: #e0e0e0;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 10000000;
    transition: background 0.3s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev-nav {
    left: 20px;
}

.lightbox-nav.next-nav {
    right: 20px;
}

/* Estilo compacto para titulos largos de recintos */
.location-title-compact {
    font-size: 1.08em !important;
    line-height: 1.25 !important;
}

/* Iconos sociales en el footer abajo de BY CANÁ (solo iconos limpios sin círculo) */
.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
    margin-bottom: 8px;
}

.footer-social-icons .social-icon-link {
    color: #879275;
    background: transparent;
    border: none;
    font-size: 1.35rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer-social-icons .social-icon-link:hover {
    color: #5c684e;
    transform: translateY(-2px) scale(1.15);
}



/* Tarjeta de Confirmación Exitosa Verde & Llamativa */
.rsvp-success-card {
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
    border: 2px solid #a5d6a7;
    border-radius: 16px;
    padding: 16px 14px;
    margin: 10px auto;
    max-width: 390px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.16);
    animation: fadeInUp 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.rsvp-success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #66bb6a, #2e7d32, #66bb6a);
}

.rsvp-success-card .success-icon-wrapper {
    width: 42px;
    height: 42px;
    background-color: #2e7d32;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 6px auto;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
    animation: pulseCheck 1.8s infinite ease-in-out;
}

.rsvp-success-card .success-icon {
    font-size: 1.35em;
}

.rsvp-success-card .success-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15em;
    font-weight: 700;
    color: #1b5e20;
    margin: 0 0 3px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.rsvp-success-card .success-divider {
    width: 36px;
    height: 2px;
    background-color: #81c784;
    margin: 4px auto 6px auto;
    border-radius: 2px;
}

.rsvp-success-card .success-message-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82em;
    color: #2e7d32;
    line-height: 1.4;
    margin: 0 0 4px 0;
    font-weight: 500;
}

.rsvp-success-card .success-message-sub {
    font-family: 'Parisienne', 'Dancing Script', cursive, sans-serif;
    font-size: 1.15em;
    color: #1b5e20;
    margin: 0 0 4px 0;
    font-weight: 700;
}

@keyframes pulseCheck {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(46, 125, 50, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Pase QR Incrustado en la Confirmación RSVP (Liquid Glass & Rosa) */
.rsvp-confirmation-qr-wrapper {
    margin: 8px auto 6px auto;
    width: 100%;
    max-width: 310px;
    box-sizing: border-box;
}

.rsvp-confirmation-ticket {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(215, 151, 180, 0.4);
    border-radius: 12px;
    padding: 10px 8px;
    box-shadow: 0 6px 18px rgba(215, 151, 180, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rsvp-confirmation-ticket::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d797b4 0%, #b86b8b 50%, #d797b4 100%);
}

.rsvp-ticket-header {
    margin-bottom: 4px;
}

.rsvp-ticket-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #d797b4 0%, #b86b8b 100%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(215, 151, 180, 0.3);
    white-space: nowrap !important;
}

.rsvp-ticket-guest-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 4px 0 2px 0;
    line-height: 1.2;
}

.rsvp-ticket-passes {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #555555;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsvp-ticket-qr-box {
    background: #ffffff;
    display: inline-block;
    padding: 6px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(215, 151, 180, 0.25);
    margin: 2px auto 4px auto;
}

.rsvp-ticket-qr-img {
    width: 125px;
    height: 125px;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}

.rsvp-ticket-id {
    font-family: monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #666666;
    letter-spacing: 1.2px;
    margin: 4px 0 0 0;
}

.rsvp-ticket-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    color: #666666;
    margin: 4px 0 0 0;
    line-height: 1.35;
}

.rsvp-ticket-hint i {
    color: #d797b4;
    margin-right: 3px;
}

/* Tarjeta de Invitación No Especificada / Inválida */
.rsvp-invalid-card {
    background-color: #f7f9f4;
    border: 1.5px dashed var(--rsvp-accent-color, #879275);
    border-radius: 12px;
    padding: 24px 18px;
    margin: 15px auto;
    max-width: 420px;
    text-align: center;
    box-shadow: none;
}

.rsvp-invalid-card .invalid-icon {
    font-size: 2.2rem;
    color: var(--rsvp-accent-color, #879275);
    margin-bottom: 10px;
}

.rsvp-invalid-card .invalid-title {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.35rem;
    font-weight: normal;
    color: #3b4631;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.rsvp-invalid-card .invalid-text {
    font-family: 'Maffiny', 'Montserrat', serif;
    font-size: 1.1rem;
    color: #4a573f;
    line-height: 1.55;
    margin: 0;
}

/* ========================================================= */
/* ✨ NUEVA LÍNEA DEL TIEMPO ESTILIZADA (REFERENCIA EGANTE) */
/* ========================================================= */

.custom-itinerary-wrapper {
    width: 100%;
    padding: 50px 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('elementos/itinerario.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.custom-itinerary-card {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 35px 20px 40px 20px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    max-width: 440px;
    width: 100%;
    box-sizing: border-box;
}

.custom-itinerary-title {
    font-family: 'Great Vibes', 'Parisienne', cursive;
    font-size: 2.4rem;
    color: #d797b4;
    text-align: center;
    margin: 0 0 25px 0;
    font-weight: normal;
    line-height: 1;
}

.custom-timeline-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.custom-timeline-line {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 98px;
    width: 1px;
    background-color: #f3d4db;
    z-index: 1;
}

.custom-timeline-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    z-index: 2;
}

.custom-timeline-time {
    width: 78px;
    text-align: right;
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #718096;
    letter-spacing: 0.8px;
    padding-top: 2px;
    flex-shrink: 0;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

@keyframes heartBeatPulse {
    0%, 100% {
        transform: scale(1);
        color: #d797b4;
        border-color: #f2c7ce;
        box-shadow: 0 2px 5px rgba(215, 151, 180, 0.08);
    }
    50% {
        transform: scale(1.16);
        color: #e05469;
        border-color: #f1a3b1;
        box-shadow: 0 4px 12px rgba(215, 151, 180, 0.3);
    }
}

@keyframes heartIconBeat {
    0%, 100% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.22);
    }
    35% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1.18);
    }
}

.custom-timeline-node {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #f2c7ce;
    background-color: #fff8f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d797b4;
    font-size: 0.6rem;
    margin: 0 10px;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(215, 151, 180, 0.08);
    z-index: 2;
    animation: heartBeatPulse 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.custom-timeline-node i {
    display: inline-block;
    animation: heartIconBeat 2.8s ease-in-out infinite;
}

.custom-timeline-row:nth-child(2) .custom-timeline-node,
.custom-timeline-row:nth-child(2) .custom-timeline-node i { animation-delay: 0.2s; }
.custom-timeline-row:nth-child(3) .custom-timeline-node,
.custom-timeline-row:nth-child(3) .custom-timeline-node i { animation-delay: 0.4s; }
.custom-timeline-row:nth-child(4) .custom-timeline-node,
.custom-timeline-row:nth-child(4) .custom-timeline-node i { animation-delay: 0.6s; }
.custom-timeline-row:nth-child(5) .custom-timeline-node,
.custom-timeline-row:nth-child(5) .custom-timeline-node i { animation-delay: 0.8s; }
.custom-timeline-row:nth-child(6) .custom-timeline-node,
.custom-timeline-row:nth-child(6) .custom-timeline-node i { animation-delay: 1.0s; }
.custom-timeline-row:nth-child(7) .custom-timeline-node,
.custom-timeline-row:nth-child(7) .custom-timeline-node i { animation-delay: 1.2s; }
.custom-timeline-row:nth-child(8) .custom-timeline-node,
.custom-timeline-row:nth-child(8) .custom-timeline-node i { animation-delay: 1.4s; }
.custom-timeline-row:nth-child(9) .custom-timeline-node,
.custom-timeline-row:nth-child(9) .custom-timeline-node i { animation-delay: 1.6s; }
.custom-timeline-row:nth-child(10) .custom-timeline-node,
.custom-timeline-row:nth-child(10) .custom-timeline-node i { animation-delay: 1.8s; }

.custom-timeline-info {
    flex: 1;
    text-align: left;
}

.custom-timeline-info .event-title {
    font-family: 'Cormorant Garamond', 'Lora', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #718096;
    margin: 0;
    line-height: 1.15;
    letter-spacing: 0.2px;
}

.custom-timeline-info .event-sub {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.88rem;
    font-weight: 400;
    color: #d797b4;
    margin: 2px 0 0 0;
    line-height: 1.2;
}

/* ========================================================= */
/* 🎟️ SECCIÓN BOLETO / PASE DIGITAL CON CÓDIGO QR */
/* ========================================================= */
.digital-ticket-section {
    padding: 30px 20px;
    background: #fafafa;
    text-align: center;
}

.digital-ticket-card {
    background: #ffffff;
    border-radius: 16px;
    border: 2px dashed #e2c0c7;
    box-shadow: 0 8px 24px rgba(215, 151, 180, 0.12);
    overflow: hidden;
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}

.ticket-header {
    background: linear-gradient(135deg, #d797b4 0%, #ba6e91 100%);
    color: #fff;
    padding: 20px 15px;
}

.ticket-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ticket-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin: 4px 0 2px 0;
    font-weight: 600;
}

.ticket-quinceanera {
    font-family: 'against', 'Callisten', 'Parisienne', cursive;
    font-size: 2.2rem;
    margin: 0;
    line-height: 1;
}

.ticket-divider {
    position: relative;
    height: 20px;
    background: #fff;
    display: flex;
    align-items: center;
}

.ticket-notch {
    width: 20px;
    height: 20px;
    background-color: #fafafa;
    border-radius: 50%;
    position: absolute;
    top: 0;
}

.ticket-notch.left {
    left: -10px;
}

.ticket-notch.right {
    right: -10px;
}

.ticket-line {
    flex: 1;
    border-top: 2px dashed #e2c0c7;
    margin: 0 15px;
}

.ticket-body {
    padding: 15px 20px 25px 20px;
}

.ticket-guest-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.ticket-passes-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fdf2f4;
    color: #d797b4;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 16px;
}

.ticket-qr-wrapper {
    background: #fff;
    display: inline-block;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #f0e6e8;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
}

.ticket-qr-img {
    width: 190px;
    height: 190px;
    display: block;
    margin: 0 auto;
}

.ticket-code-id {
    font-family: monospace;
    font-weight: 700;
    font-size: 0.95rem;
    color: #d797b4;
    margin: 8px 0 0 0;
    letter-spacing: 1.5px;
}

.ticket-instructions {
    font-size: 0.78rem;
    color: #777;
    line-height: 1.4;
    margin: 8px 0 0 0;
}

/* ========================================================= */
/* 🏨 SECCIÓN HOTELES / HOSPEDAJE RECOMENDADO (EXPEDIA STYLE) */
/* ========================================================= */
.hotels-section {
    padding: 55px 15px 60px 15px;
    background-image: url('elementos/hotel.jpg') !important;
    background-attachment: fixed !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Objetos decorativos esquinas superiores */
:root {
    --hotels-superiord-top: -5px;
    --hotels-superiord-right: -18px;
    --hotels-superiord-width: 82px;
    --hotels-superiori-top: -5px;
    --hotels-superiori-left: -5px;
    --hotels-superiori-width: 85px;
}

.hotels-deco-superiord {
    position: absolute;
    top: var(--hotels-superiord-top, -5px);
    right: var(--hotels-superiord-right, -18px);
    width: var(--hotels-superiord-width, 82px);
    max-width: 25%;
    height: auto;
    pointer-events: none;
    z-index: 1;
    display: block;
}

.hotels-deco-superiori {
    position: absolute;
    top: var(--hotels-superiori-top, -5px);
    left: var(--hotels-superiori-left, -5px);
    width: var(--hotels-superiori-width, 85px);
    max-width: 25%;
    height: auto;
    pointer-events: none;
    z-index: 1;
    display: block;
}

.hotels-container-inner {
    max-width: 440px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hotels-title-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    font-weight: 600;
    color: #d797b4;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin: 0;
}

.hotels-title-main {
    font-family: 'Great Vibes', 'Allura', 'Parisienne', cursive;
    font-size: 2.9em;
    color: #d797b4;
    font-weight: normal;
    line-height: 1.1;
    margin: 0 0 10px 0;
}

.hotels-intro-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88em;
    color: #4a5568;
    margin: 0 auto 28px auto;
    max-width: 380px;
    line-height: 1.5;
}

.hotel-cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 410px;
    margin: 0 auto;
}

/* Expedia-Style Hotel Cards */
.hotel-card-expedia {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(215, 151, 180, 0.18);
    border: 1px solid rgba(215, 151, 180, 0.32);
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hotel-card-expedia:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(215, 151, 180, 0.26);
}

.hotel-img-wrapper {
    position: relative;
    width: 100%;
    height: 165px;
    overflow: hidden;
    background: #f3f4f6;
}

.hotel-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.hotel-card-expedia:hover .hotel-card-img {
    transform: scale(1.03);
}

.hotel-badge-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(15, 15, 20, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.hotel-badge-tag i {
    color: #d797b4;
    font-size: 0.78rem;
}

.hotel-card-content {
    padding: 16px 18px 18px 18px;
}

.hotel-card-content .hotel-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #718096;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.hotel-card-content .hotel-address {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0 0 8px 0;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.hotel-card-content .hotel-address i {
    color: #d797b4;
    font-size: 0.88rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.hotel-phone-row {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    color: #4b5563;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.hotel-phone-row i {
    color: #d797b4;
    font-size: 0.82rem;
}

.hotel-phone-link {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    cursor: pointer;
}

.hotel-phone-link:hover {
    color: #d797b4;
    text-decoration: underline;
}

.hotel-route-wrap {
    margin-top: 6px;
}

.btn-hotel-route {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    background: var(--liquid-glass-bg);
    color: #ffffff !important;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 11px 18px;
    border-radius: 25px;
    border: var(--liquid-glass-border);
    box-shadow: var(--liquid-glass-inner-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.btn-hotel-route:hover {
    background: var(--liquid-glass-hover);
    border: var(--liquid-glass-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--liquid-glass-inner-shadow);
    color: #ffffff !important;
}

.btn-hotel-route i {
    font-size: 0.88rem;
}

/* ========================================================= */
/* 🌴 SECCIÓN LUGARES PARA CONOCER (TURISMO & RESTAURANTES) */
/* ========================================================= */
.places-section {
    padding: 45px 20px 45px 20px;
    background: transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.places-container-inner {
    max-width: 440px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Objetos decorativos esquinas superiores de lugares/turismo */
:root {
    --places-superiord-top: -5px;
    --places-superiord-right: -18px;
    --places-superiord-width: 82px;
    --places-superiori-top: -5px;
    --places-superiori-left: -5px;
    --places-superiori-width: 85px;
}

.places-deco-superiord {
    position: absolute;
    top: var(--places-superiord-top, -5px);
    right: var(--places-superiord-right, -18px);
    width: var(--places-superiord-width, 82px);
    max-width: 25%;
    height: auto;
    pointer-events: none;
    z-index: 1;
    display: block;
}

.places-deco-superiori {
    position: absolute;
    top: var(--places-superiori-top, -5px);
    left: var(--places-superiori-left, -5px);
    width: var(--places-superiori-width, 85px);
    max-width: 25%;
    height: auto;
    pointer-events: none;
    z-index: 1;
    display: block;
}

.places-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 440px;
    margin: 20px auto 0 auto;
}

.place-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(215, 151, 180, 0.22);
    border-radius: 0;
    padding: 16px 2px;
    box-shadow: none;
    text-align: left;
}

.place-item:last-child {
    border-bottom: none;
}

.place-item-text {
    flex: 1;
    min-width: 0;
}

.place-item-text h4 {
    margin: 0 0 4px 0;
    font-size: 1.25rem;
    color: #718096;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.25;
}

.place-item-text p {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    font-size: 0.82rem;
    color: #555;
    line-height: 1.45;
}

.place-item-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.place-item-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(215, 151, 180, 0.35);
    box-shadow: 0 4px 12px rgba(215, 151, 180, 0.2);
    display: block;
    transition: transform 0.25s ease;
}

.place-item:hover .place-item-thumb img {
    transform: scale(1.05);
}

.place-phone-link {
    font-family: 'Montserrat', sans-serif;
    color: #d797b4;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 0.8rem;
}
