/* ==========================================================================
   BODA CAMILA & VLADIMIR - Estilos principales
   Paleta: Oro #D4AF37 | Champagne #E5C158 | Marfil #FDFBF7 | Espresso #2C210E
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ---------- Variables ---------- */
:root {
    --gold: #D4AF37;
    --gold-dark: #B8960C;
    --gold-light: #E5C158;
    --champagne: #F3E5AB;
    --ivory: #FDFBF7;
    --ivory-dark: #F5EDDA;
    --espresso: #2C210E;
    --espresso-mid: #4A3A20;
    --white: #FFFFFF;

    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', 'Segoe UI', sans-serif;

    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 40%, #D4AF37 70%, #E5C158 100%);
    --gold-gradient-btn: linear-gradient(135deg, #B8960C 0%, #D4AF37 30%, #E5C158 60%, #D4AF37 100%);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    --shadow-soft: 0 2px 15px rgba(44, 33, 14, 0.08);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.75;
    color: var(--espresso);
    background-color: var(--ivory);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold-dark);
    text-decoration: none;
}

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

/* ---------- Utilidades ---------- */
.hidden {
    display: none !important;
}

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

.ornament {
    display: block;
    text-align: center;
    font-size: 1.6rem;
    color: var(--gold);
    margin: 1.5rem 0;
    letter-spacing: 0.5rem;
    opacity: 0.7;
}

.section-divider {
    width: 80px;
    height: 2px;
    background: var(--gold-gradient);
    border: none;
    margin: 2rem auto;
    border-radius: 2px;
}

/* ---------- SECCIÓN 0: Cover / Splash ---------- */
.cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1),
        opacity 0.6s ease;
}

.cover.abierta {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.cover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) blur(2px);
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(44, 33, 14, 0.3) 0%,
            rgba(44, 33, 14, 0.6) 50%,
            rgba(44, 33, 14, 0.8) 100%);
}

.cover-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1.2s ease;
}

.cover-subtitle {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--champagne);
    margin-bottom: 1rem;
}

.cover-names {
    font-family: var(--font-script);
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 20px rgba(212, 175, 55, 0.4);
}

.cover-names span {
    font-family: var(--font-script);
    color: var(--gold-light);
    font-size: 2.8rem;
    display: inline-block;
    margin: 0 0.3rem;
}

.cover-date {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--champagne);
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
}

.btn-abrir {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--espresso);
    background: var(--gold-gradient-btn);
    border: 2px solid var(--gold);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    animation: pulse 2.5s ease-in-out infinite;
}

.btn-abrir:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

.btn-abrir-icon {
    font-size: 1.3rem;
}

/* ---------- MAIN INVITATION ---------- */
.invitacion {
    opacity: 0;
    transition: opacity 0.8s ease 0.4s;
    max-width: 480px;
    margin: 0 auto;
    background: var(--ivory);
    position: relative;
}

.invitacion.visible {
    opacity: 1;
}

/* Decorative corner leaves (CSS art) */
.invitacion::before,
.invitacion::after {
    content: '🍃';
    position: fixed;
    font-size: 2rem;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.invitacion::before {
    top: 1rem;
    right: 1rem;
    transform: rotate(-30deg);
}

.invitacion::after {
    bottom: 1rem;
    left: 1rem;
    transform: rotate(150deg);
}

/* ---------- SECCIÓN 1: Hero ---------- */
.hero {
    padding: 0 1.5rem 2.5rem;
    text-align: center;
    background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative gold corners */
.hero::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-photo-container {
    position: relative;
    width: 85%;
    max-width: 340px;
    margin: 0 auto 2rem;
    padding-top: 1.5rem;
}

.hero-photo {
    width: 100%;
    /* Fallback para navegadores sin aspect-ratio (Safari <15, Chrome <88) */
    height: 0;
    padding-bottom: 133.33%;
    /* ratio 3:4 = 4/3*100 */
    object-fit: cover;
    border-radius: 50% 50% 5% 5% / 40% 40% 5% 5%;
    -webkit-box-shadow: 0 8px 40px rgba(44, 33, 14, 0.2);
    box-shadow: 0 8px 40px rgba(44, 33, 14, 0.2);
    border: 3px solid #D4AF37;
    border: 3px solid var(--gold);
}

/* Progressive enhancement: navegadores modernos */
@supports (aspect-ratio: 3/4) {
    .hero-photo {
        height: auto;
        padding-bottom: 0;
        aspect-ratio: 3/4;
    }
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--espresso-mid);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Monogram oval frame */
.monogram {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 2rem;
    margin: 0 auto 1.5rem;
    max-width: 260px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: relative;
}

.monogram::before,
.monogram::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
}

.monogram::before {
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
}

.monogram-name {
    font-family: var(--font-script);
    font-size: 2.8rem;
    color: var(--gold-dark);
    line-height: 1.1;
}

.monogram-y {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--gold);
    margin: -0.2rem 0;
}

.nos-casamos {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--espresso);
    letter-spacing: 0.08em;
    margin-top: 0.5rem;
}

/* ---------- SECCIÓN 2: Saludo ---------- */
.saludo {
    padding: 1rem 1.8rem;
    text-align: center;
    background: var(--ivory);
}

.saludo-texto {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.9;
    color: var(--espresso-mid);
    max-width: 400px;
    margin: 0 auto 2rem;
}

.pases-info {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(243, 229, 171, 0.15) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.pases-titulo {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--espresso);
}

.pases-titulo strong {
    color: var(--gold-dark);
    font-size: 1.3rem;
}

.pases-para {
    font-size: 0.9rem;
    color: var(--espresso-mid);
    margin-top: 0.3rem;
}

.ya-confirmo {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    color: #2E7D32;
    font-weight: 500;
}

.ya-confirmo .icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* ---------- SECCIÓN 3: Fecha y Countdown (Estilo Destacado) ---------- */
.fecha {
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: #FAF8F2;
    background: linear-gradient(180deg, #FAF8F2 0%, #F5F1E6 100%);
    position: relative;
}

.fecha-bloque-estetico {
    margin-bottom: 1.5rem;
}

.fecha-intro-texto {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7E7848;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
}

.fecha-destacada-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    line-height: 0.95;
    margin: 0.5rem 0 1.5rem;
}

.fecha-destacada-num {
    font-family: var(--font-serif);
    font-size: 5.8rem;
    font-weight: 700;
    color: #696338;
    letter-spacing: -0.02em;
    line-height: 0.9;
}

.fecha-destacada-mes {
    font-family: var(--font-script);
    font-size: 4.0rem;
    color: #B8960C;
    margin-left: 0.1rem;
    line-height: 0.9;
    text-shadow: 0 2px 15px rgba(212, 175, 55, 0.25);
}

.btn-agendar-estilo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    background: #7E7848;
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(126, 120, 72, 0.35);
    transition: all 0.3s ease;
    margin-bottom: 2.2rem;
}

.btn-agendar-estilo:hover {
    background: #6A6539;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(126, 120, 72, 0.45);
}

.countdown-rotulo {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #7E7848;
    margin-bottom: 1rem;
}

.countdown-card-estetica {
    max-width: 420px;
    margin: 0 auto;
    padding: 1.6rem 1rem;
    border: 1.5px solid rgba(126, 120, 72, 0.35);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 30px rgba(126, 120, 72, 0.08);
}

.countdown {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

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

.countdown-num {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 500;
    color: #565027;
    line-height: 1;
}

.countdown-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7E7848;
    margin-top: 0.3rem;
}

.countdown-divisor {
    color: rgba(126, 120, 72, 0.3);
    font-size: 2rem;
    font-weight: 300;
    user-select: none;
}

/* Botones de acción */
.btn-primary {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 1rem;
    padding: 1.1rem 2rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    color: var(--espresso);
    background: var(--gold-gradient-btn);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.45);
    color: var(--espresso);
}

.btn-secondary {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #B8960C;
    color: var(--gold-dark);
    background: transparent;
    border: 2px solid #D4AF37;
    border: 2px solid var(--gold);
    border-radius: 50px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* ---------- SECCIÓN 4: Padres / Bendición ---------- */
.padres {
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--ivory);
}

.padres-titulo {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--espresso);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.padres-grupo {
    margin-bottom: 2rem;
}

.padres-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.padres-nombres {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--espresso-mid);
    line-height: 1.6;
}

.padres-nombres .fallecido {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* ---------- Galería de Fotos ---------- */
.galeria {
    padding: 2rem 0;
    background: var(--ivory-dark);
    overflow: hidden;
}

.galeria-titulo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    text-align: center;
    color: var(--espresso);
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
}

.galeria-scroll {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    overflow-x: auto;
    -webkit-scroll-snap-type: x mandatory;
    scroll-snap-type: x mandatory;
    padding: 0 1.5rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.galeria-scroll::-webkit-scrollbar {
    display: none;
}

.galeria-item {
    -webkit-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 300px;
    -webkit-scroll-snap-align: center;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 15px rgba(44, 33, 14, 0.08);
    box-shadow: var(--shadow-soft);
    border: 2px solid rgba(212, 175, 55, 0.2);
    margin-right: 0.8rem;
}

.galeria-item:last-child {
    margin-right: 0;
}

.galeria-item img {
    width: 100%;
    /* Fallback para navegadores sin aspect-ratio */
    height: 0;
    padding-bottom: 133.33%;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
}

@supports (aspect-ratio: 3/4) {
    .galeria-item img {
        height: auto;
        padding-bottom: 0;
        aspect-ratio: 3/4;
    }
}

.galeria-item:hover img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

/* ---------- SECCIÓN 5: Ubicaciones ---------- */
.ubicaciones {
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--ivory);
}

.ubicaciones-titulo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--espresso);
    margin-bottom: 2rem;
    letter-spacing: 0.08em;
}

.ubicacion-card {
    background: var(--white);
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 2.2rem 1.6rem;
    margin-bottom: 1.8rem;
    box-shadow: 0 6px 25px rgba(44, 33, 14, 0.08);
}

.ubicacion-icon {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.ubicacion-tipo {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.4rem;
}

.ubicacion-nombre {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--espresso);
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.ubicacion-dir {
    font-size: 1.05rem;
    color: var(--espresso-mid);
    margin-bottom: 0.5rem;
}

.ubicacion-hora {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 1.4rem;
}

.btn-mapa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2.4rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2C210E;
    background: linear-gradient(135deg, #B8960C 0%, #D4AF37 35%, #F3E5AB 50%, #D4AF37 65%, #B8960C 100%);
    background-size: 200% auto;
    border: 2px solid #D4AF37;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.45);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 0.3rem;
}

.btn-mapa:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.7);
    color: #2C210E;
}

/* ---------- SECCIÓN 7: Itinerario (Horizontal, Íconos a la Izquierda) ---------- */
.itinerario {
    padding: 3.5rem 1.5rem;
    background: var(--ivory-dark);
}

.itinerario-titulo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--espresso);
    margin-bottom: 0.5rem;
}

.itinerario-contenedor {
    max-width: 440px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.itinerario-fila {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1.5px solid rgba(212, 175, 55, 0.28);
    border-radius: 18px;
    padding: 0.85rem 1.2rem;
    box-shadow: 0 4px 15px rgba(44, 33, 14, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.itinerario-fila:hover {
    transform: translateX(4px);
    border-color: var(--gold);
}

.itinerario-icono {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(243, 229, 171, 0.35));
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B8960C;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 1rem;
}

.itinerario-hora {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    color: #8A7B20;
    min-width: 55px;
}

.itinerario-punto {
    color: rgba(212, 175, 55, 0.6);
    margin: 0 0.4rem;
    font-weight: bold;
    font-size: 1.2rem;
    user-select: none;
}

.itinerario-actividad {
    font-family: var(--font-serif);
    font-size: 1.22rem;
    font-weight: 600;
    color: var(--espresso);
    line-height: 1.3;
}

/* ---------- SECCIÓN: Conteo de Regalos ---------- */
.conteo-regalos {
    padding: 2.5rem 1.5rem;
    background: var(--ivory);
}

.conteo-regalos-card {
    background: linear-gradient(135deg, #FFFDF8 0%, #FBF6EB 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    border-radius: 24px;
    padding: 2.2rem 1.6rem;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 8px 30px rgba(44, 33, 14, 0.06);
    position: relative;
}

.conteo-regalos-icono {
    width: 55px;
    height: 55px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(243, 229, 171, 0.45));
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #B8960C;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.conteo-regalos-titulo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--espresso);
    margin-bottom: 0.6rem;
}

.conteo-regalos-desc {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--espresso-mid);
    margin-bottom: 1.4rem;
}

.conteo-regalos-horario {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: #4A3A20;
}

/* ---------- SECCIÓN 8: RSVP (Colores Llamativos y Destacados) ---------- */
.rsvp {
    padding: 3.5rem 1.2rem;
    background: var(--ivory);
}

.rsvp-bloque-destacado {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF7 100%);
    border: 2.5px solid #D4AF37;
    border-radius: 28px;
    padding: 2.4rem 1.6rem;
    box-shadow: 0 12px 45px rgba(212, 175, 55, 0.28), 0 0 0 5px rgba(243, 229, 171, 0.4);
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.rsvp-insignia {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #B8960C 0%, #D4AF37 50%, #B8960C 100%);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 12px rgba(184, 150, 12, 0.35);
}

.rsvp-titulo {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    text-align: center;
    color: var(--espresso);
    margin-bottom: 0.4rem;
}

.rsvp-subtitulo {
    text-align: center;
    font-size: 0.95rem;
    color: #5C4B32;
    margin-bottom: 1.2rem;
}

.pases-fijados-aviso {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.14) 0%, rgba(243, 229, 171, 0.3) 100%);
    border: 1.5px solid #D4AF37;
    border-radius: 16px;
    padding: 1.1rem 1.3rem;
    margin-bottom: 1.6rem;
}

.pases-fijados-icono {
    font-size: 2rem;
    color: #B8960C;
    flex-shrink: 0;
}

.pases-fijados-cuerpo {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pases-fijados-cifra {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: #2C210E;
    line-height: 1;
}

.pases-fijados-texto {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2C210E;
}

.rsvp-form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: 0.6rem;
}

/* Radio buttons estilizados */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.radio-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    background: var(--white);
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: var(--gold);
}

.radio-option-si.selected {
    border-color: #2E7D32;
    background: rgba(46, 125, 50, 0.08);
}

.radio-option-no.selected {
    border-color: #C62828;
    background: rgba(198, 40, 40, 0.06);
}

.radio-option input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #D4AF37;
    border: 2px solid var(--gold);
    border-radius: 50%;
    margin-right: 0.8rem;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked {
    border-color: var(--gold-dark);
    background: var(--gold);
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radio-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--espresso);
    line-height: 1.4;
    display: flex;
    align-items: center;
}

/* Inputs y textarea */
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--espresso);
    background: var(--white);
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* Checkbox extra pases */
.extra-pases-contenedor {
    background: rgba(212, 175, 55, 0.08);
    border: 1.5px dashed #D4AF37;
    border-radius: 14px;
    padding: 1rem 1.1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #D4AF37;
    cursor: pointer;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.btn-enviar-destacado {
    display: block;
    width: 100%;
    padding: 1.2rem;
    font-family: var(--font-sans);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2C210E;
    background: linear-gradient(135deg, #B8960C 0%, #D4AF37 35%, #F3E5AB 50%, #D4AF37 65%, #B8960C 100%);
    background-size: 200% auto;
    border: 2px solid #D4AF37;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.55);
    transition: all 0.3s ease;
    margin-top: 1.2rem;
}

.btn-enviar-destacado:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.7);
}

.btn-enviar-destacado:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Respuesta RSVP */
.rsvp-respuesta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(243, 229, 171, 0.12));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    animation: fadeInUp 0.5s ease;
}

/* Estado verde de confirmación */
.rsvp-bloque-confirmado {
    border-color: #2E7D32 !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5FBF5 100%) !important;
    box-shadow: 0 12px 45px rgba(46, 125, 50, 0.22), 0 0 0 5px rgba(46, 125, 50, 0.15) !important;
    transition: all 0.5s ease;
}

.rsvp-insignia-confirmado {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%) !important;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.38) !important;
    color: #FFFFFF !important;
}

.rsvp-titulo-confirmado {
    color: #1B5E20 !important;
}

.rsvp-subtitulo-confirmado {
    color: #2E7D32 !important;
    font-weight: 600 !important;
}

.rsvp-respuesta-verde {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.08) 0%, rgba(76, 175, 80, 0.14) 100%) !important;
    border: 1.5px solid rgba(46, 125, 50, 0.4) !important;
}

.rsvp-icono-exito {
    font-size: 3.5rem;
    color: #2E7D32;
    margin-bottom: 1.1rem;
    display: inline-block;
    animation: zoomIn 0.4s ease-out;
}

.rsvp-respuesta .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.rsvp-respuesta p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--espresso);
}

.rsvp-generico {
    text-align: center;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 20px;
    border: 1px dashed var(--gold);
}

.rsvp-generico p {
    font-size: 1rem;
    color: var(--espresso-mid);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: #25D366;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #1EBE57;
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Audio Player Flotante ---------- */
.btn-audio {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    background: var(--gold-gradient-btn);
    border: 2px solid var(--gold);
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
}

.btn-audio.visible {
    opacity: 1;
    transform: scale(1);
}

.btn-audio:hover {
    transform: scale(1.1);
}

.btn-audio.playing .audio-icon {
    animation: spin 2s linear infinite;
}

.audio-icon {
    display: block;
    line-height: 1;
}

/* ---------- Footer ---------- */
.footer {
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--espresso);
    color: var(--champagne);
}

.footer-names {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.footer-date {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--champagne);
    opacity: 0.7;
}

.footer-heart {
    font-size: 1.5rem;
    margin: 1rem 0;
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* ---------- Animaciones ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: var(--shadow-gold);
    }

    50% {
        box-shadow: 0 4px 35px rgba(212, 175, 55, 0.6);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.25);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }
}

/* Scroll reveal seguro y progresivo */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal .reveal:not(.visible) {
    opacity: 0;
    transform: translateY(25px);
}

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

/* ---------- SECCIÓN: Más Fotos (Galería Final con Lightbox) ---------- */
.mas-fotos {
    padding: 3.5rem 1.2rem;
    background: var(--ivory-dark);
    text-align: center;
}

.mas-fotos-titulo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--espresso);
    margin-bottom: 0.4rem;
}

.mas-fotos-subtitulo {
    font-size: 0.9rem;
    color: var(--espresso-mid);
    margin-bottom: 2rem;
}

.foto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    max-width: 440px;
    margin: 0 auto;
}

.foto-grid-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 2px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 15px rgba(44, 33, 14, 0.06);
    cursor: pointer;
    background: #E8E2D5;
}

.foto-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.foto-grid-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 33, 14, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.foto-grid-item:hover img {
    transform: scale(1.08);
}

.foto-grid-item:hover .foto-grid-overlay {
    opacity: 1;
}

/* Modal Lightbox */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.activo {
    display: flex;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 14, 8, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-container {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2.8rem;
    cursor: pointer;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--gold-light);
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 14px;
    border: 2px solid var(--gold);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 1rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--champagne);
    text-align: center;
    font-style: italic;
}

@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ---------- Responsive ---------- */
@media (min-width: 480px) {
    body {
        font-size: 19px;
    }

    .cover-names {
        font-size: 4.2rem;
    }

    .monogram-name {
        font-size: 3.2rem;
    }

    .galeria-item {
        flex: 0 0 55%;
    }
}

@media (min-width: 768px) {
    body {
        font-size: 20px;
    }

    .invitacion {
        max-width: 520px;
        box-shadow: 0 0 60px rgba(44, 33, 14, 0.1);
    }

    .countdown-item {
        min-width: 85px;
        padding: 1.2rem 0.8rem;
    }

    .countdown-num {
        font-size: 2.4rem;
    }
}