/* ========================================================= */
/* 🛠️ 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');

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #f7eaec;
    background-image: radial-gradient(rgba(213, 148, 168, 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(213, 148, 168, 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 {
    --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;

    --guest-top: 220px;
    --guest-left: 35px;
    --guest-color: #a1717f;
    --guest-name-size: 3.1rem;
    --guest-passes-size: 1.2rem;

    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 100%;
    z-index: 999999; 
    pointer-events: auto; 
    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;
}

.intro-guest-info {
    position: absolute;
    top: var(--guest-top);
    left: var(--guest-left);
    z-index: 3;
    color: var(--guest-color);
    text-align: left;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.4s, 
                transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.4s;
}

.intro-guest-name {
    font-family: 'Parisienne', 'Dancing Script', 'Great Vibes', 'Allura', cursive;
    font-size: var(--guest-name-size);
    margin: 0;
    line-height: 1.1;
    color: var(--guest-color);
    font-weight: normal;
}

.intro-guest-passes {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--guest-passes-size);
    margin: 6px 0 0 0;
    color: var(--guest-color);
    font-weight: 500;
    letter-spacing: 1px;
}

.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 6px 16px rgba(0, 0, 0, 0.25));
}

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

body.loaded .intro-guest-info,
body.loaded .intro-o1,
body.loaded .intro-o2 {
    opacity: 1;
    transform: translateY(0) scale(1);
}

body.loaded .intro-guest-info {
    transform: translateX(0);
}

#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);
}

/* 🖼️ SECCIÓN 2 - O4 Y CONTADOR */
:root {
    --o4-top: 50%;
    --o4-left: 50%;
    --o4-width: 100%;
    --o4-max-width: 500px;

    --countdown-top: 32%;
    --countdown-left: 50%;
    --countdown-color: #d594a8;
    --countdown-number-size: 2.5em;
    --countdown-label-size: 1em;

    --countdown-phrase-top: 20px;
    --countdown-phrase-color: #d594a8;
    --countdown-phrase-size: 1.25rem;
    --countdown-phrase-max-width: 380px;
}

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

.section2-o4 {
    position: absolute;
    top: var(--o4-top, 50%);
    left: var(--o4-left, 50%);
    width: var(--o4-width, 100%);
    max-width: var(--o4-max-width, 500px);
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1), 
                filter 1.4s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.section2-o4 img {
    width: 100%;
    height: auto;
    display: block;
}

.section2-banner-container.active .section2-o4,
.section2-o4.active {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(1);
}

.countdown-overlay {
    position: absolute;
    top: var(--countdown-top, 32%);
    left: var(--countdown-left, 50%);
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 5;
    text-align: center;
    pointer-events: none;
}

.countdown-phrase {
    font-family: 'Cormorant Garamond', 'Lora', serif;
    font-style: italic;
    font-weight: 600;
    font-size: var(--countdown-phrase-size, 1.25rem);
    color: var(--countdown-phrase-color, #d594a8);
    margin: var(--countdown-phrase-top, 20px) auto 0 auto;
    padding: 0 15px;
    max-width: var(--countdown-phrase-max-width, 380px);
    text-align: center;
    line-height: 1.4;
    pointer-events: none;
}

/* 👨‍👩‍👧 SECCIÓN 3 - PADRES Y PADRINOS */
:root {
    --section3-parents-top: 55%;
    --section3-parents-left: 50%;
    --section3-parents-title-size: 1.3em;
    --section3-parents-name-size: 1.5em;
    --section3-parents-font-family: 'Great Vibes', 'Alex Brush', 'Parisienne', cursive;
    --section3-parents-color: #d594a8;
    --section3-parents-info-color: #d594a8;
    --section3-parents-gap: 12px;

    --section3-phrase-top: 10px;
    --section3-phrase-size: 1.1rem;
    --section3-phrase-color: #d594a8;
    --section3-phrase-max-width: 360px;
}

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

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

.section3-parents-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--section3-parents-title-size, 1.3em);
    font-weight: 600;
    color: var(--section3-parents-color, #d594a8);
    line-height: 1.3;
    margin: 0 0 4px 0;
    letter-spacing: 0.5px;
}

.section3-parents-overlay .parents-info {
    font-family: var(--section3-parents-font-family, 'Great Vibes', 'Alex Brush', cursive);
    font-size: var(--section3-parents-name-size, 1.5em);
    font-weight: normal;
    color: var(--section3-parents-info-color, #d594a8);
    line-height: 1.35;
    margin-bottom: var(--section3-parents-gap, 12px);
}

.section3-parents-overlay .parents-info p {
    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.1rem);
    color: var(--section3-phrase-color, #d594a8);
    margin-top: var(--section3-phrase-top, 10px);
    margin-bottom: 0;
    line-height: 1.35;
    max-width: var(--section3-phrase-max-width, 360px);
    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: #d594a8;
    margin: 0;
    line-height: 1.1;
}

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

.wedding-location {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    color: #d594a8;
    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: #d594a8;
    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: #b55f65;
}

/* --- 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;
}

/* --- Contador Regresivo --- */
.countdown-container {
    margin-top: 30px;
    margin-bottom: 0;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
}

#countdown {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

.time-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    font-weight: bold;
    color: #d594a8;
}

.label {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    color: #d594a8;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ⛪ ESTILOS Y VARIABLES DE CONFIGURACIÓN PARA SECCIÓN 4 (MISA Y RECEPCIÓN EN SECCION4.JPG) */
:root {
    /* 📍 POSICIÓN MANUAL SECCIÓN 4 (ARRIBA / ABAJO / IZQUIERDA / DERECHA) */
    --section4-events-top: 42%;             /* Mover arriba (-) o abajo (+): Ej. 50% (centro), 42% (más arriba), 58% (abajo) */
    --section4-events-left: 50%;            /* Mover izquierda (-) o derecha (+): Ej. 50% (centro), 45% (izq), 55% (der) */

    /* 📏 TAMAÑOS DE TIPOGRAFÍA DE EVENTOS */
    --section4-title-size: 2.2em;           /* Tamaño títulos "Misa" y "Recepción" */
    --section4-place-size: 0.95em;          /* Tamaño nombre del lugar (un poco más pequeño) */
    --section4-address-size: 0.85em;        /* Tamaño dirección */
    --section4-time-size: 0.95em;           /* Tamaño horario */

    /* 🎨 COLORES Y ESPACIADO */
    --section4-title-color: #d594a8;        /* Color títulos "Misa" / "Recepción" */
    --section4-text-color: #555555;         /* Color texto dirección */
    --section4-place-color: #d594a8;        /* Color nombre del lugar */
    --section4-gap-between-events: 20px;    /* Espacio entre Misa y Recepción */
}

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

.section4-events-overlay {
    position: absolute;
    top: var(--section4-events-top, 50%);
    left: var(--section4-events-left, 50%);
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 440px;
    z-index: 5;
    text-align: center;
    pointer-events: auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: var(--section4-gap-between-events, 22px);
    align-items: center;
}

.section4-events-overlay .event-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section4-events-overlay .event-type {
    font-family: 'Great Vibes', 'Allura', 'Pinyon Script', cursive;
    font-size: var(--section4-title-size, 2.2em);
    color: var(--section4-title-color, #d594a8);
    margin: 0 0 2px 0;
    font-weight: normal;
    line-height: 1.1;
}

.section4-events-overlay .event-place {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--section4-place-size, 1.1em);
    font-weight: 700;
    color: var(--section4-place-color, #d594a8);
    margin: 3px 0 3px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.section4-events-overlay .event-address {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--section4-address-size, 0.85em);
    color: var(--section4-text-color, #555555);
    margin: 3px 0 5px 0;
    line-height: 1.4;
}

.section4-events-overlay .event-time {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--section4-time-size, 0.95em);
    font-weight: 600;
    color: var(--section4-title-color, #d594a8);
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.section4-events-overlay .map-link {
    display: inline-block;
    background-color: #d594a8;
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 8px rgba(213, 148, 168, 0.25);
    margin-top: 2px;
}

/* 💌 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(213, 148, 168, 0.3); /* Borde sutil */
    --section5-rsvp-title-color: #d594a8;    /* Color de títulos principales */
    --section5-rsvp-text-color: #555555;     /* Color del texto */
}

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

.section5-rsvp-overlay {
    position: absolute;
    top: var(--section5-rsvp-top, 50%);
    left: var(--section5-rsvp-left, 50%);
    transform: translate(-50%, -50%);
    width: 90%;
    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.80));
    backdrop-filter: blur(8px);
    border: 1px solid var(--section5-rsvp-border-color, rgba(213, 148, 168, 0.3));
    border-radius: 20px;
    padding: 25px 20px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.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, #d594a8);
    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, #d594a8);
    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, #d594a8);
    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(213, 148, 168, 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(213, 148, 168, 0.08) !important;
    border: 1px dashed rgba(213, 148, 168, 0.6) !important;
    color: #d594a8 !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: #d594a8;
    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: #d594a8;
    box-shadow: 0 0 8px rgba(213, 148, 168, 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: 1px solid rgba(213, 148, 168, 0.4);
    border-radius: 20px;
    background: #ffffff;
    color: #d594a8;
    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-color: #d594a8;
    color: #ffffff;
    border-color: #d594a8;
    box-shadow: 0 3px 10px rgba(213, 148, 168, 0.3);
}

.section5-rsvp-overlay .rsvp-button {
    width: 100%;
    background-color: #d594a8;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(213, 148, 168, 0.3);
    margin-top: 10px;
}

.section5-rsvp-overlay .rsvp-button:hover {
    background-color: #b55f65;
    transform: translateY(-1px);
}

/* --- 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: #d594a8;
    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: #d594a8;
    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: #d594a8;
    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: #d594a8;
    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: #d594a8;
    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: #d594a8;
    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: #d594a8;
    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-color: #d594a8;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 8px rgba(213, 148, 168, 0.25);
    margin-top: 0;
}

.location-card .map-link:hover {
    background-color: #b55f65;
    transform: translateY(-1px);
}

.gift-link, .whatsapp-link, .rsvp-button {
    display: inline-block;
    background-color: #d594a8;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.gift-link:hover, .whatsapp-link:hover, .rsvp-button:hover {
    background-color: #b55f65;
}

.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: #d594a8;
    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 #d594a8;
    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: #d594a8;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #d594a8;
    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 #d594a8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    color: #d594a8;
    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: #d594a8;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

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

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

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

.gallery-title-gallery {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3em;
    color: #d594a8;
    margin: 0;
    line-height: 1;
    font-weight: 600;
}

.gallery-container {
    max-width: 900px;
    margin: 0 auto 0 auto;
    position: relative;
    padding: 0 20px;
    background-color: #ffffff;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.image-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 15px;
}

.carousel-image {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    scroll-snap-align: center;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* Flechas del carrusel */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #d594a8;
    font-size: 2em;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    display: none;
}
.carousel-nav:hover {
    opacity: 1;
}
.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: #d594a8;
}

.lightbox .lightbox-nav {
    color: #fff;
    font-size: 2.5em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 15px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: block !important;
    z-index: 101;
}

.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: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.gifts-title-mesa {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--color-maestro, #d594a8);
    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, #d594a8);
    margin: 0 0 10px 0;
    line-height: 1.1;
    font-weight: normal;
}

.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, #d594a8);
    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: #d594a8;
    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: #d594a8;
    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: #d594a8;
    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(213, 148, 168, 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-color: #d594a8;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82em;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(213, 148, 168, 0.25);
}

.album-button:hover {
    background-color: #b55f65;
    transform: translateY(-2px);
}

/* --- Sección de Confirmación de Asistencia (RSVP) --- */
.rsvp-section {
    text-align: center;
    padding: 60px 40px;
    background-color: #fff;
    max-width: 900px;
    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: #d594a8;
    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: #d594a8;
    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: #b55f65;
}

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

.rsvp-title-respetuosamente {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.0em;
    color: var(--color-maestro, #d594a8);
    margin: 0;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rsvp-title-ninos {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2em;
    color: var(--color-maestro, #d594a8);
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rsvp-name-quinceanera {
    font-family: 'Great Vibes', 'Allura', 'Parisienne', cursive;
    font-size: 2.5em;
    color: var(--color-maestro, #d594a8);
    margin: 2px 0 0 0;
    font-weight: normal;
    line-height: 1.1;
}

.rsvp-date-closing {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05em;
    font-weight: 600;
    color: var(--color-maestro, #d594a8);
    letter-spacing: 3px;
    margin: 6px 0 0 0;
    text-transform: uppercase;
}

/* --- Footer --- */
.footer {
    margin-top: 0;
    font-size: 0.9em;
    color: #d594a8;
    border-top: none;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 20px;
}

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

.back-to-top-link:hover {
    color: #b55f65;
}

.back-to-top-text {
    margin-top: 5px;
    margin-bottom: 10px;
}

.copyright, .website-url {
    font-size: 0.8em;
    margin: 2px 0;
    text-align: center;
}

/* --- 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 */
.floating-music-button {
    position: fixed;
    bottom: 20px;
    right: max(15px, calc(50vw - 235px));
    background-color: #d594a8;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(213, 148, 168, 0.4);
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 99;
}

.floating-music-button:hover {
    background-color: #b55f65;
    transform: scale(1.08);
}

.floating-music-button i {
    font-size: 18px;
}

/* 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 20px;
    border: 1px solid #d594a8;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.9em;
    font-weight: bold;
    color: #d594a8;
}

.radio-group input[type="radio"]:checked + label {
    background-color: #d594a8;
    color: #fff;
}

/* ========================================================= */
/* 🎟️ 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: #d594a8;
    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(213, 148, 168, 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: #d594a8;
    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: #d594a8;
    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: #d594a8;
}

/* Ocultar galeria e itinerario (linea del tiempo) */
.gallery-title-section,
.gallery-container,
.timeline-image-section {
    display: none !important;
}

/* 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Á */
.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    margin-bottom: 5px;
}

.footer-social-icons .social-icon-link {
    color: #d594a8;
    font-size: 1.15em;
    transition: opacity 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.footer-social-icons .social-icon-link:hover {
    opacity: 0.8;
    transform: 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: 18px;
    padding: 32px 24px;
    margin: 25px auto;
    max-width: 460px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.18);
    animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

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

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

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

.rsvp-success-card .success-divider {
    width: 60px;
    height: 2px;
    background-color: #81c784;
    margin: 10px auto 16px auto;
    border-radius: 2px;
}

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

.rsvp-success-card .success-message-sub {
    font-family: 'Parisienne', 'Dancing Script', cursive, sans-serif;
    font-size: 1.45em;
    color: #1b5e20;
    margin: 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 12px 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(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tarjeta de Invitación No Especificada / Inválida */
.rsvp-invalid-card {
    background-color: #fff8f8;
    border: 1px dashed #f2b6bb;
    border-radius: 14px;
    padding: 28px 22px;
    margin: 20px auto;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(213, 148, 168, 0.08);
}

.rsvp-invalid-card .invalid-icon {
    font-size: 2.5em;
    color: #d594a8;
    margin-bottom: 12px;
}

.rsvp-invalid-card .invalid-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5em;
    font-weight: 700;
    color: #d594a8;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.rsvp-invalid-card .invalid-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92em;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}