/* --- VARIABLES Y RESET --- */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #faf8f5; /* Marfil claro */
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --gold: #c5a059; /* Dorado principal */
    --gold-light: #e6d8be;
    --gold-dark: #9a7837;
    --red-burgundy: #800020; /* Rojo vino para notas/detalles */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- CLASES DE UTILIDAD --- */
.gold-text {
    color: var(--gold);
}

.script-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: normal;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: 1px;
}

.section-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* --- ORNAMENTOS SVG --- */
.ornament {
    position: absolute;
    width: clamp(60px, 12vw, 150px);
    height: clamp(60px, 12vw, 150px);
    pointer-events: none;
    opacity: 0.85;
}

.ornament-tl { top: 1.5rem; left: 1.5rem; }
.ornament-tr { top: 1.5rem; right: 1.5rem; }
.ornament-bl { bottom: 1.5rem; left: 1.5rem; }
.ornament-br { bottom: 1.5rem; right: 1.5rem; }

.divider-scroll-gold {
    width: 150px;
    margin: 2.5rem auto;
    display: block;
    opacity: 0.8;
}

/* --- REPRODUCTOR DE MÚSICA FLOTANTE --- */
.music-player-pill {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 50px;
    padding: 0.5rem 1rem 0.5rem 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.music-player-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.2);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--gold);
}

.music-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--bg-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.music-btn:hover {
    background: var(--gold-dark);
}

#mute-btn {
    background: transparent;
    color: var(--text-dark);
}

#mute-btn:hover {
    color: var(--gold);
}

.music-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    min-width: 70px;
    text-align: center;
}

/* --- PORTADA (HERO SECTION) --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden; /* Evita que el zoom de las transiciones se desborde */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 2rem;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
}

.hero-slide-bg.active {
    opacity: 1;
}

@media (min-width: 1025px) {
    .hero-section {
        background-attachment: fixed; /* Parallax en desktops */
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3.8rem, 10vw, 6.5rem);
    font-weight: normal;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

/* Contador Regresivo */
.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-number {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 300;
    line-height: 1;
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
}

.countdown-label {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.4rem;
}

.countdown-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 480px) {
    .countdown-container {
        gap: 0.5rem;
        padding: 0.8rem 1.2rem;
        margin-top: 1.5rem;
    }
    .countdown-item {
        min-width: 48px;
    }
    .countdown-number {
        font-size: 1.6rem;
    }
    .countdown-label {
        font-size: 0.55rem;
        letter-spacing: 1px;
        margin-top: 0.2rem;
    }
    .countdown-divider {
        height: 25px;
    }
}

/* Indicador Scroll Down */
.scroll-down {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

/* --- SECCIÓN MENSAJE --- */
.message-section {
    position: relative;
    padding: clamp(6rem, 12vw, 10rem) 2.5rem;
    background-color: var(--bg-primary);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.poetic-quote {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-style: italic;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.poetic-quote cite {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-top: 1.5rem;
    font-weight: 500;
}

.intro-text {
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

/* --- BANNER DE FRASE --- */
.banner-section {
    position: relative;
    height: 50vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/portada.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
}

@media (min-width: 1025px) {
    .banner-bg {
        background-attachment: fixed;
    }
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

.banner-quote {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    font-style: italic;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}

/* --- SECCIÓN FECHA --- */
.date-section {
    padding: clamp(5rem, 10vw, 7rem) 2rem;
    background-color: var(--bg-secondary);
    text-align: center;
}

.date-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 300;
    color: var(--text-dark);
    margin: 2.5rem 0;
}

.date-part {
    font-family: 'Cormorant Garamond', serif;
}

.date-part.month {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
}

.date-sep {
    color: var(--gold-light);
    font-weight: 200;
}

/* --- SECCIÓN PADRES --- */
.parents-section {
    position: relative;
    padding: clamp(6rem, 12vw, 9rem) 2.5rem;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.parents-section .section-container {
    position: relative;
    z-index: 2;
}

.parents-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .parents-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.parent-card {
    text-align: center;
}

.photo-wrapper {
    position: relative;
    width: clamp(160px, 20vw, 200px);
    height: clamp(160px, 20vw, 200px);
    margin: 0 auto 2rem;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.22);
}

.parent-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
}

.role-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: normal;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.names-list {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 500;
}

.names-list.principal-names {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin-bottom: 1rem;
}

.cross {
    color: var(--red-burgundy);
    font-size: 0.95rem;
    margin-left: 2px;
}

/* --- SECCIÓN PADRINOS --- */
.godparents-section {
    padding: clamp(6rem, 12vw, 9rem) 2.5rem;
    background-color: var(--bg-secondary);
    text-align: center;
}

.godparents-dedication {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.8vw, 1.3rem);
    font-style: italic;
    color: var(--text-muted);
    max-width: 600px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

/* --- ANIMACIONES --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}



/* --- 7. UBICACIONES --- */
.locations-section {
    position: relative;
    padding: clamp(6rem, 12vw, 9rem) 2.5rem;
    background-color: var(--bg-primary);
}

.locations-date {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3.5rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 950px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.location-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location-photo-wrapper {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid var(--gold-light);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.8rem;
}

.location-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.location-card:hover .location-photo {
    transform: scale(1.06);
}

.location-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red-burgundy);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.location-type {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: normal;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.location-venue {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.35rem, 3.5vw, 1.6rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.location-address {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    max-width: 320px;
    min-height: 60px;
}

.gold-btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bg-primary);
    background: var(--gold);
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.15);
}

.gold-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(197, 160, 89, 0.3);
}

/* --- 8. VESTIMENTA Y NORMAS --- */
.dresscode-section {
    padding: clamp(5rem, 10vw, 8rem) 2.5rem;
    background-color: var(--bg-secondary);
    text-align: center;
}

.dresscode-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

.dresscode-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid rgba(197, 160, 89, 0.25);
    padding: clamp(2.5rem, 6vw, 3.5rem) clamp(3rem, 10vw, 5rem);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}

.bowtie-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.2rem;
}

.dress-label {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--text-dark);
}

/* --- 9. MESA DE REGALOS --- */
.gifts-section {
    padding: clamp(6rem, 12vw, 9rem) 2.5rem;
    background-color: var(--bg-primary);
    text-align: center;
}

.gifts-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    color: var(--text-dark);
    font-style: italic;
    max-width: 720px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

.gifts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 850px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .gifts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

.gift-card {
    background: var(--bg-secondary);
    padding: clamp(2.5rem, 6vw, 3.5rem) 2rem;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.gift-icon-wrapper {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    height: 55px;
    display: flex;
    align-items: center;
}

.gift-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.gift-desc {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

.bank-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.clabe-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--gold-dark);
    margin-bottom: 0.4rem;
    word-break: break-all;
}

.account-holder {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.8rem;
}

.copy-alert {
    position: absolute;
    bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #2e7d32;
    font-weight: 600;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.copy-alert.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- 10. NUESTRA HISTORIA --- */
.story-section {
    padding: clamp(6rem, 12vw, 9rem) 2.5rem;
    background-color: var(--bg-secondary);
}

.carousel-container {
    position: relative;
    max-width: 750px;
    margin: 3.5rem auto 0;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid var(--gold-light);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.12);
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Transición de altura fluida */
}

.carousel-slides {
    display: flex;
    width: 300%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: center; /* Centrar fotos verticalmente */
}

.carousel-slide {
    width: 33.333%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-primary); /* Fondo blanco para contrastar con la sección marfil */
}

.slide-placeholder {
    height: clamp(350px, 50vh, 480px);
    background: linear-gradient(135deg, #fcfbf8, #f5efe6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--text-dark);
    position: relative;
}

.placeholder-art {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1.5px dashed var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    position: relative;
}

.placeholder-photo-icon {
    font-size: 2.2rem;
    color: var(--gold-dark);
}

.gold-ring-deco {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.22);
    transform: scale(1.15);
}

.placeholder-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 500;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control:hover {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

.carousel-control.prev { left: 1.2rem; }
.carousel-control.next { right: 1.2rem; }

.carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: var(--gold);
    width: 20px;
    border-radius: 10px;
    border-color: var(--gold);
}

/* --- 11. CONFIRMACIÓN DE ASISTENCIA --- */
.rsvp-section {
    position: relative;
    padding: clamp(6rem, 12vw, 9rem) 2.5rem;
    background: url('images/portada.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

@media (min-width: 1025px) {
    .rsvp-section {
        background-attachment: fixed;
    }
}

.rsvp-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.rsvp-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: clamp(3rem, 7vw, 5rem) clamp(2rem, 5vw, 4rem);
    border-radius: 12px;
    max-width: 650px;
    width: 100%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.rsvp-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.15rem, 2.8vw, 1.35rem);
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.rsvp-kids-note {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.15rem, 2.8vw, 1.35rem);
    color: var(--text-dark);
    margin: 2.2rem auto 2.5rem;
    line-height: 1.7;
}

.highlight-red {
    color: var(--red-burgundy);
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: clamp(1.25rem, 3vw, 1.45rem);
    display: inline-block;
    margin-top: 0.5rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bg-primary);
    background: var(--red-burgundy);
    padding: 1rem 2.2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(128, 0, 32, 0.25);
}

.whatsapp-btn:hover {
    background: #600018;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(128, 0, 32, 0.4);
}

/* --- 12. ÚLTIMA SECCIÓN (FOOTER) --- */
.hashtag-section {
    padding: clamp(3.5rem, 8vw, 5rem) 2.5rem;
    background-color: #faf7f0;
    text-align: center;
    border-top: 1px solid rgba(197, 160, 89, 0.15);
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.hashtag-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.hashtag-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
}

.footer-section {
    position: relative;
    padding: clamp(6rem, 12vw, 9rem) 2.5rem clamp(2.5rem, 6vw, 4rem);
    background-color: var(--bg-primary);
    text-align: center;
    overflow: hidden;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin: 3.5rem 0;
}

.sig-name {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3.5rem, 8vw, 5.2rem);
    color: var(--text-dark);
    line-height: 0.9;
    font-weight: normal;
}

.sig-and {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    font-style: italic;
    color: var(--gold);
    font-weight: 300;
}

.copyright-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 5rem;
    letter-spacing: 0.8px;
    line-height: 1.5;
}

.copyright-text a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.copyright-text a:hover {
    color: var(--gold);
}

/* --- ICONOS DE REEMPLAZO PARA PADRES/PADRINOS --- */
.parent-icon-bg {
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.8rem;
    transition: var(--transition-smooth);
}

.parent-card:hover .parent-icon-bg,
.godparents-section:hover .parent-icon-bg {
    transform: scale(1.04);
    background-color: var(--bg-secondary);
    box-shadow: inset 0 0 15px rgba(197, 160, 89, 0.15);
}

.parent-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- IMÁGENES DEL CARRUSEL --- */
.carousel-img {
    width: 100%;
    height: auto;
    max-height: 600px; /* Límite para que fotos verticales no desborden la pantalla */
    object-fit: contain;
    display: block;
    margin: 0 auto;
}



