
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:wght@400;500;600&display=swap');

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f8f5ee;
    color: #485b4a;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

/* PORTADA */

.portada {
    min-height: 100vh;
    min-height: 100svh;
    padding: 45px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left,
            #dce6d8, transparent 35%),
        radial-gradient(circle at bottom right,
            #dce6d8, transparent 35%),
        #f8f5ee;
}

.decoracion {
    font-size: 55px;
    color: #829b83;
    margin: 10px;
}

.subtitulo {
    font-size: 16px;
    letter-spacing: 5px;
    font-weight: 600;
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(52px, 10vw, 90px);
    font-weight: normal;
    margin: 25px 0;
    line-height: 1.3;
}

h1 span {
    color: #b69a62;
}

.mensaje {
    max-width: 350px;
    font-size: 14px;
    line-height: 1.9;
}

/* SOBRE INTERACTIVO */

.sobre-enlace {
    display: block;
    margin: 65px 0 25px;
    text-decoration: none;
}

.sobre {
    position: relative;
    width: 260px;
    height: 170px;
    background: #829b83;
    border-radius: 5px;
    box-shadow: 0 12px 25px #00000025;
    overflow: hidden;
    transition: transform 0.3s;
}

.sobre:hover {
    transform: scale(1.05);
}

.solapa {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 130px solid transparent;
    border-right: 130px solid transparent;
    border-top: 100px solid #a4b8a3;
    top: 0;
    left: 0;
}

.sello {
    position: absolute;
    top: 68px;
    left: 108px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #c8a96b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 6px #00000030;
}

.instruccion {
    font-size: 12px;
    letter-spacing: 1px;
}

/* SEGUNDA SECCIÓN */

.contenido {
    min-height: 100vh;
    min-height: 100svh;
    padding: 90px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #e6ece2;
}

.contenido h2 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(50px, 9vw, 80px);
    font-weight: normal;
}

.contenido p {
    max-width: 400px;
    line-height: 1.9;
}


/* PRESENTACIÓN DE LOS NOVIOS */

.foto-novios {
    width: min(85%, 340px);
    aspect-ratio: 4 / 5;
    margin: 35px auto 15px;
    padding: 8px;
    border: 1px solid #b5a17a;
    border-radius: 180px 180px 12px 12px;
    overflow: hidden;
    background: #f8f5ee;
}

.foto-novios img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 170px 170px 6px 6px;
}

.frase-romantica {
    font-size: 15px;
    font-style: italic;
    max-width: 340px;
    line-height: 2;
}

.separador {
    font-size: 45px;
    color: #b5a17a;
    margin: 25px 0;
}

.mensaje-invitacion {
    max-width: 380px;
    font-size: 14px;
    line-height: 2;
}

.fecha-boda {
    margin-top: 35px;
    padding: 15px 25px;
    border-top: 1px solid #b5a17a;
    border-bottom: 1px solid #b5a17a;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
}

/* AJUSTES PARA CELULARES */

@media (max-width: 480px) {

    .contenido {
        padding: 70px 22px;
    }

    .contenido h2 {
        font-size: 58px;
        margin: 20px 0;
    }

    .frase-romantica,
    .mensaje-invitacion {
        font-size: 13px;
    }
}


/* FECHA Y CUENTA REGRESIVA */

.bloque-fecha {
    width: 100%;
    max-width: 480px;
    margin: 60px auto 20px;
    padding: 35px 12px;
    border-top: 1px solid #b5a17a;
}

.titulo-fecha {
    font-size: 13px;
    letter-spacing: 4px;
    font-weight: 600;
}

.bloque-fecha h3 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(36px, 8vw, 56px);
    font-weight: normal;
    margin: 20px 0;
    color: #607b63;
}

.texto-contador {
    font-size: 14px;
    margin: 25px 0;
}

.cuenta-regresiva {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 30px;
}

.unidad-tiempo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 3px;
    background: #f8f5ee;
    border: 1px solid #b5a17a;
    border-radius: 8px;
}

.unidad-tiempo span {
    font-size: clamp(22px, 6vw, 32px);
    font-weight: 500;
    color: #607b63;
    font-variant-numeric: tabular-nums;
}

.unidad-tiempo small {
    font-size: clamp(8px, 2vw, 10px);
    letter-spacing: 1px;
}

.mensaje-final {
    margin-top: 25px;
    font-size: 18px;
    font-weight: 600;
}

/* Respetar el atributo HTML hidden */

.mensaje-final[hidden] {
    display: none;
}


/* CEREMONIA Y RECEPCIÓN */

.eventos-boda {
    width: 100%;
    max-width: 480px;
    margin: 70px auto 20px;
}

.titulo-eventos {
    font-family: 'Great Vibes', cursive;
    font-size: 56px;
    font-weight: normal;
    margin: 15px 0 35px;
}

.tarjeta-evento {
    background: #f8f5ee;
    border: 1px solid #d7c9ab;
    border-radius: 14px;
    padding: 35px 20px;
    margin: 25px auto;
    box-shadow: 0 8px 25px #0000000a;
}

.icono-evento {
    font-size: 42px;
    color: #829b83;
    margin-bottom: 15px;
}

.tarjeta-evento h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 40px;
    font-weight: normal;
    color: #607b63;
    margin: 10px 0 20px;
}

.hora-evento {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0;
}

.lugar-evento {
    font-size: 15px;
    font-weight: 600;
    margin: 18px 0 5px;
}

.direccion-evento {
    font-size: 13px;
    margin-bottom: 25px;
}

.boton-ubicacion {
    display: inline-block;
    padding: 13px 28px;
    background: #829b83;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s,
                transform 0.3s;
}

.boton-ubicacion:hover {
    background: #607b63;
    transform: translateY(-3px);
}

.boton-ubicacion:focus-visible {
    outline: 3px solid #b69a62;
    outline-offset: 4px;
}


/* CRONOGRAMA */

.programa-boda {
    width: 100%;
    max-width: 440px;
    margin: 75px auto 20px;
}

.programa-boda h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 54px;
    font-weight: normal;
    margin: 20px 0 40px;
}

.linea-tiempo {
    position: relative;
    text-align: left;
    margin-left: 25px;
    padding-left: 35px;
    border-left: 2px solid #b5a17a;
}

.actividad {
    position: relative;
    padding: 0 0 40px 5px;
}

.actividad:last-child {
    padding-bottom: 0;
}

.punto-tiempo {
    position: absolute;
    left: -44px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: #829b83;
    border: 3px solid #f8f5ee;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #b5a17a;
}

.detalle-actividad span {
    color: #9b8156;
    font-size: 14px;
    font-weight: 600;
}

.detalle-actividad h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    margin: 10px 0;
}

.detalle-actividad p {
    font-size: 13px;
    margin: 0;
    line-height: 1.7;
}


/* CÓDIGO DE VESTIMENTA */

.vestimenta {
    width: 100%;
    max-width: 440px;
    margin: 85px auto 20px;
    padding: 45px 20px;
    border-top: 1px solid #b5a17a;
    border-bottom: 1px solid #b5a17a;
}

.icono-vestimenta {
    font-size: 45px;
    color: #b69a62;
}

.vestimenta h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 48px;
    font-weight: normal;
    margin: 20px 0;
}

.tipo-vestimenta {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
}

.nota-vestimenta {
    font-size: 13px;
    line-height: 1.9;
    margin-top: 25px;
}


/* CONFIRMACIÓN */

.confirmacion {
    width: 100%;
    max-width: 440px;
    margin: 85px auto 30px;
    padding: 45px 20px;
    background: #f8f5ee;
    border: 1px solid #d7c9ab;
    border-radius: 14px;
}

.confirmacion h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 48px;
    font-weight: normal;
    margin: 20px 0;
}

.confirmacion p {
    font-size: 14px;
    line-height: 1.9;
}

.boton-confirmar {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 25px;
    background: #829b83;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s;
}

.boton-confirmar:hover {
    background: #607b63;
}


/* FOTOGRAFÍAS DECORATIVAS */

.foto-decorativa {
    width: 100%;
    max-width: 420px;
    margin: 65px auto;
    padding: 0 12px;
}

.foto-decorativa img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 160px 160px 12px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}


/* =====================================
   ANIMACIONES DE LA PORTADA
===================================== */

/* 1. Aparición suave de los nombres */

.portada h1 {
    animation: aparecerNombres 1.8s ease-out both;
}

@keyframes aparecerNombres {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Movimiento flotante del sobre */

.sobre-enlace {
    display: inline-block;
    animation: flotarSobre 3s ease-in-out infinite;
}

@keyframes flotarSobre {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 3. Brillo y pulso suave del sello */

.sello {
    animation: brilloSello 2.5s ease-in-out infinite;
}

@keyframes brilloSello {
    0%, 100% {
        filter: brightness(1);
        box-shadow: 0 0 0 rgba(212, 175, 55, 0);
    }

    50% {
        filter: brightness(1.15);
        box-shadow: 0 0 14px rgba(212, 175, 55, 0.45);
    }
}

/* 4. Aparición de las instrucciones */

.portada > p {
    animation: aparecerTexto 2s ease-out both;
    animation-delay: 0.5s;
}

@keyframes aparecerTexto {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Accesibilidad: respetar la preferencia
   de reducir movimiento del dispositivo */

@media (prefers-reduced-motion: reduce) {
    .portada h1,
    .sobre-enlace,
    .sello,
    .portada > p {
        animation: none;
    }
}


/* IMAGEN DEL SOBRE ELEGANTE */

.imagen-sobre {
    display: block;
    width: min(85vw, 420px);
    height: auto;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.sobre-enlace {
    display: inline-block;
    cursor: pointer;
}


/* ==================================
   ANIMACIÓN DE APERTURA DEL SOBRE
================================== */

.sobre-enlace.abriendo {
    animation: abrirSobre 1.2s ease-in-out forwards;
    pointer-events: none;
}

@keyframes abrirSobre {

    0% {
        transform: scale(1);
        opacity: 1;
        filter: brightness(1);
    }

    45% {
        transform: scale(1.12);
        opacity: 1;
        filter: brightness(1.25);
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
        filter: brightness(1.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sobre-enlace.abriendo {
        animation: none;
    }
}


/* =====================================
   DETALLES ELEGANTES DE LA PORTADA
===================================== */

/* Separador dorado */

.adorno-portada {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 15px auto 25px;
    width: min(75%, 260px);
    animation: aparecerAdorno 2s ease-out both;
    animation-delay: 0.5s;
}

.linea-adorno {
    height: 1px;
    flex: 1;
    background: linear-gradient(
        90deg,
        transparent,
        #b69a62,
        transparent
    );
}

.corazon-adorno {
    color: #b69a62;
    font-size: 19px;
}

/* Refinar el título */

.portada h1 {
    color: #607b63;
    text-shadow: 0 2px 10px rgba(96, 123, 99, 0.08);
}

/* Aparición del adorno */

@keyframes aparecerAdorno {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Brillo sutil alrededor del sobre */

.imagen-sobre {
    box-shadow:
        0 14px 35px rgba(50, 65, 48, 0.12),
        0 0 30px rgba(182, 154, 98, 0.06);
}

/* Adaptación a pantallas pequeñas */

@media (max-width: 480px) {
    .adorno-portada {
        width: 65%;
        margin-bottom: 20px;
    }
}

/* Reducir animaciones cuando el usuario lo solicita */

@media (prefers-reduced-motion: reduce) {
    .adorno-portada {
        animation: none;
    }
}


/* =====================================
   PORTADA ADAPTABLE A CELULARES
===================================== */

/* Distribución general */

.portada {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    height: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px 18px;
    gap: 12px;
}

/* Evita que los elementos sobresalgan */

.portada > * {
    max-width: 100%;
}

/* Sobre adaptable */

.imagen-sobre {
    width: min(75vw, 360px);
    max-width: 100%;
    height: auto;
}

/* Celulares */

@media (max-width: 600px) {

    .portada {
        padding: 20px 15px;
        gap: 8px;
    }

    .portada h1 {
        font-size: clamp(38px, 10vw, 55px);
        line-height: 1.2;
        margin: 5px 0;
    }

    .adorno-portada {
        margin: 5px auto 12px;
    }

    .imagen-sobre {
        width: min(72vw, 300px);
    }

    .portada > p {
        margin: 6px 0;
        line-height: 1.5;
    }
}

/* Celulares con pantallas bajas */

@media (max-width: 600px) and (max-height: 700px) {

    .portada {
        padding-top: 12px;
        padding-bottom: 12px;
        gap: 5px;
    }

    .portada h1 {
        font-size: clamp(32px, 8vw, 45px);
    }

    .imagen-sobre {
        width: min(60vw, 240px);
    }

    .adorno-portada {
        margin: 3px auto 8px;
    }
}



/* =====================================
   REPRODUCTOR MUSICAL DE LA BODA
===================================== */

.reproductor-boda {
    width: calc(100% - 30px);
    max-width: 400px;
    margin: 35px auto 50px;
    padding: 28px 25px;

    background: #f8f5ee;
    border: 1px solid #d7c9ab;
    border-radius: 16px;

    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.icono-reproductor {
    font-size: 32px;
    color: #b69a62;
    margin-bottom: 8px;
}

.titulo-reproductor {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #607b63;
    margin-bottom: 12px;
}

.reproductor-boda h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 42px;
    font-weight: normal;
    color: #607b63;
    margin: 0 0 5px;
}

.artista-reproductor {
    font-size: 13px;
    color: #7a7a70;
    margin-bottom: 25px;
}

.controles-reproductor {
    display: flex;
    align-items: center;
    gap: 18px;
}

.boton-reproducir {
    width: 52px;
    height: 52px;
    flex-shrink: 0;

    border: none;
    border-radius: 50%;

    background: #829b83;
    color: white;

    font-size: 19px;
    cursor: pointer;

    transition: background 0.3s;
}

.boton-reproducir:hover {
    background: #607b63;
}

.boton-reproducir:focus-visible {
    outline: 3px solid #b69a62;
    outline-offset: 4px;
}

.progreso-reproductor {
    flex: 1;
    min-width: 0;
}

#barra-musica {
    display: block;
    width: 100%;
    height: 6px;
    margin: 0;
    cursor: pointer;
    accent-color: #829b83;
}

.tiempos-reproductor {
    display: flex;
    justify-content: space-between;

    margin-top: 10px;

    font-size: 11px;
    color: #7a7a70;
}

@media (max-width: 480px) {
    .reproductor-boda {
        padding: 25px 18px;
    }
}


/* =====================================
   INVITACIÓN PERSONALIZADA
===================================== */

.invitacion-personalizada[hidden] {
    display: none !important;
}

.invitacion-personalizada {
    box-sizing: border-box;
    width: calc(100% - 30px);
    max-width: 470px;
    margin: 35px auto 45px;
    padding: 35px 25px;

    background: #f8f5ee;
    border: 1px solid #c7b184;
    border-radius: 12px;

    text-align: center;

    box-shadow:
        0 8px 30px rgba(72, 91, 74, 0.08);
}

.personalizada-etiqueta {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: #94784c;
    margin: 0 0 15px;
}

.personalizada-intro {
    font-size: 14px;
    line-height: 1.7;
    color: #607b63;
}

.invitacion-personalizada h2 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(38px, 9vw, 55px);
    font-weight: normal;
    line-height: 1.25;
    color: #485b4a;
    margin: 20px 0;
    overflow-wrap: anywhere;
}

.personalizada-separador {
    color: #b69a62;
    font-size: 20px;
    margin: 20px auto 25px;
}

.personalizada-cupos {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    color: #485b4a;
}

.personalizada-cupos strong {
    font-size: 46px;
    font-weight: 600;
    color: #94784c;
}

.personalizada-cupos span {
    font-size: 16px;
}

@media (max-width: 480px) {
    .invitacion-personalizada {
        padding: 28px 18px;
        margin-top: 25px;
    }
}



/* =====================================
   AVISO DE INVITACIÓN NO DISPONIBLE
===================================== */

.aviso-invitacion[hidden] {
    display: none !important;
}

.aviso-invitacion {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 100vh;
    min-height: 100dvh;

    background: #f8f5ee;
    padding: 25px;

    text-align: center;
    overflow-y: auto;
}

.aviso-contenido {
    width: 100%;
    max-width: 430px;

    padding: 40px 25px;

    border: 1px solid #c7b184;
    border-radius: 14px;

    background: #fffdf8;
    color: #485b4a;
}

.aviso-iniciales {
    font-family: 'Great Vibes', cursive;
    font-size: 55px;
    color: #94784c;
}

.aviso-contenido h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 23px;
    line-height: 1.4;
    margin: 25px 0;
}

.aviso-contenido p {
    font-size: 14px;
    line-height: 1.8;
}


#portada[hidden],
#invitacion[hidden] {
    display: none !important;
}


/* =====================================
   PANTALLA DE CARGA
===================================== */

.pantalla-carga[hidden] {
    display: none !important;
}

.pantalla-carga {
    position: fixed;
    inset: 0;
    z-index: 100000;

    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;
    background: #f8f5ee;
    text-align: center;
}

.carga-contenido {
    width: 100%;
    max-width: 400px;
}

.carga-etiqueta {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    color: #94784c;
}

.carga-contenido h2 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(45px, 10vw, 65px);
    font-weight: normal;
    color: #485b4a;
    margin: 25px 0;
}

.carga-corazon {
    font-size: 28px;
    color: #b69a62;
    animation: latido 1.6s ease-in-out infinite;
}

.carga-mensaje {
    margin-top: 25px;
    font-size: 15px;
    color: #485b4a;
}

.carga-subtitulo {
    margin-top: 10px;
    font-size: 12px;
    color: #607b63;
}

.carga-spinner {
    width: 30px;
    height: 30px;

    margin: 30px auto 0;

    border: 3px solid #e2dfd4;
    border-top-color: #94784c;
    border-radius: 50%;

    animation: girarCarga 0.9s linear infinite;
}

@keyframes girarCarga {
    to {
        transform: rotate(360deg);
    }
}

@keyframes latido {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .carga-spinner,
    .carga-corazon {
        animation: none;
    }
}


/* =====================================
   NOMBRES PRINCIPALES DE LOS NOVIOS
===================================== */

.nombres-principales {
    width: 100%;
    max-width: 600px;
    margin: 45px auto 55px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.nombre-novia,
.nombre-novio {
    display: block;

    font-family: 'Great Vibes', cursive;
    font-size: clamp(72px, 13vw, 120px);
    font-weight: normal;
    line-height: 1.15;

    color: #485b4a;
    white-space: nowrap;
}

.separador-nombres {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 80%;
    max-width: 400px;

    gap: 20px;
    margin: -2px 0;
}

.linea-dorada {
    height: 1px;
    flex: 1;
    background-color: #b69a62;
}

.ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: 75px;
    font-weight: normal;
    line-height: 1;

    color: #b69a62;
}

/* Ajustes para celulares */

@media (max-width: 600px) {

    .nombres-principales {
        margin: 35px auto 45px;
    }

    .nombre-novia,
    .nombre-novio {
        font-size: clamp(62px, 15vw, 88px);
    }

    .separador-nombres {
        width: 85%;
        gap: 14px;
    }

    .ampersand {
        font-size: 65px;
    }
}

/* Celulares pequeños */

@media (max-width: 360px) {

    .nombre-novia,
    .nombre-novio {
        font-size: 58px;
    }

    .ampersand {
        font-size: 55px;
    }
}


/* ILUSTRACIÓN DE LA IGLESIA */

.imagen-iglesia {
    width: 100%;
    text-align: center;
    margin: 20px auto 25px;
}

.imagen-iglesia img {
    display: block;
    width: 100%;
    max-width: 230px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .imagen-iglesia img {
        max-width: 190px;
    }
}



/* ILUSTRACIÓN DEL REGALO */
.imagen-regalo {
    width: 100%;
    text-align: center;
    margin: 20px auto 25px;
}

.imagen-regalo img {
    display: block;
    width: 100%;
    max-width: 55px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 200px) {
    .imagen-regalo img {
        max-width: 50px;
    }
}


/* ILUSTRACIÓN DE LA RECOMENDACION */
.imagen-recomendacion {
    width: 100%;
    text-align: center;
    margin: 20px auto 25px;
}

.imagen-recomendacion img {
    display: block;
    width: 100%;
    max-width: 45px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 100px) {
    .imagen-recomendacion img {
        max-width: 50px;
    }
}


/* ILUSTRACIÓN DEL TELEFONO */
.imagen-telefono {
    width: 100%;
    text-align: center;
    margin: 20px auto 25px;
}

.imagen-telefono img {
    display: block;
    width: 100%;
    max-width: 50px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 100px) {
    .imagen-telefono img {
        max-width: 50px;
    }
}



/* =========================================
   PORTADA CINEMATOGRÁFICA - ANDREA LÓPEZ
   ========================================= */

.portada.portada-andrea {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding: 40px 20px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
        linear-gradient(
            to bottom,
            rgba(7, 20, 45, 0.12),
            rgba(7, 20, 45, 0.28)
        ),
        url("imagenes/portada-andrea.png")
        center center / cover no-repeat;

    overflow: hidden;
    isolation: isolate;
}

/* Luz ambiental sobre el lago */

.portada-andrea::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background: radial-gradient(
        ellipse at 50% 25%,
        rgba(220, 235, 255, 0.14),
        transparent 65%
    );

    animation: luzLago 7s ease-in-out infinite alternate;
}

/* Contenido de la portada */

.portada-andrea-contenido {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;

    display: flex;
    flex-direction: column;
    align-items: center;

    animation: aparecerAndrea 2.5s ease both;
}

.andrea-etiqueta {
    color: #f4f0e9;
    font-size: 15px;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px #101c35;
}

.andrea-nombre {
    margin: 20px 0;
    color: #fffaf2;
    font-family: Georgia, serif;
    font-size: clamp(48px, 10vw, 86px);
    font-weight: normal;
    line-height: 1.05;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.65);
}

.andrea-nombre span {
    display: block;
    font-size: 0.75em;
    font-style: italic;
}

.andrea-frase {
    max-width: 310px;
    margin: 12px auto 30px;
    color: #f6f2ee;
    font-size: 16px;
    line-height: 1.7;
    text-shadow: 0 2px 10px #101c35;
}

/* Botón de apertura */

.andrea-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 40px;

    background: rgba(16, 35, 66, 0.75);
    color: #ffffff;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 18px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease,
                background 0.3s ease;
}

.andrea-boton:hover {
    transform: translateY(-3px);
    background: rgba(65, 88, 125, 0.9);
}

/* Animaciones */

@keyframes aparecerAndrea {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes luzLago {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

/* Adaptación a celulares */

@media (max-width: 600px) {
    .portada.portada-andrea {
        padding: 30px 16px;
    }

    .andrea-etiqueta {
        font-size: 12px;
        letter-spacing: 4px;
    }

    .andrea-frase {
        font-size: 14px;
    }

    .andrea-boton {
        font-size: 16px;
        padding: 13px 25px;
    }
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
    .portada-andrea::before,
    .portada-andrea-contenido {
        animation: none;
    }
}


/* TRANSICIÓN CINEMATOGRÁFICA DE APERTURA */

.portada.portada-andrea {
    transition: filter 0.85s ease;
}

.portada-andrea .portada-andrea-contenido {
    transition:
        opacity 0.85s ease,
        transform 0.85s ease;
}

.portada-andrea.portada-desapareciendo {
    filter: brightness(0.35);
}

.portada-andrea.portada-desapareciendo
.portada-andrea-contenido {
    opacity: 0;
    transform: translateY(-25px) scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .portada.portada-andrea,
    .portada-andrea .portada-andrea-contenido {
        transition: none;
    }
}


/* PRESENTACIÓN PRINCIPAL - ANDREA */

.presentacion-andrea {
    padding: 65px 20px;
    text-align: center;
    background: linear-gradient(
        180deg,
        #182b46,
        #304b6c,
        #182b46
    );
    color: #faf8f4;
}

.presentacion-etiqueta {
    font-size: 12px;
    letter-spacing: 4px;
    color: #d9e5f0;
}

.presentacion-titulo {
    margin: 18px 0 35px;
    font-family: Georgia, serif;
    font-size: clamp(34px, 8vw, 56px);
    font-weight: normal;
    color: #e6e6eb;
}

.marco-foto-andrea {
    width: min(100%, 340px);
    margin: 0 auto;
    padding: 9px;
    border: 1px solid #c5d3e3;
    border-radius: 180px 180px 14px 14px;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 15px 45px rgba(0,0,0,0.35);
    overflow: hidden;
}

.marco-foto-andrea img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    border-radius: 170px 170px 8px 8px;
}

.presentacion-nombre {
    margin: 30px 0 15px;
    font-family: Georgia, serif;
    font-size: clamp(30px, 7vw, 46px);
    font-weight: normal;
    color: #f1edf3;
}

.presentacion-frase {
    max-width: 440px;
    margin: 0 auto;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.9;
    color: #d9e5f0;
}

.presentacion-adorno {
    margin-top: 30px;
    font-size: 23px;
    color: #c5d3e3;
}


/* BIENVENIDA - ANDREA LÓPEZ */

.bienvenida-andrea {
    padding: 55px 22px 70px;
    text-align: center;
    background: #faf8f4;
    color: #182b46;
}

.bienvenida-etiqueta {
    margin-bottom: 22px;
    font-size: 12px;
    letter-spacing: 4px;
    color: #809ab5;
}

.bienvenida-adorno {
    margin: 20px 0;
    font-size: 22px;
    color: #809ab5;
}

.bienvenida-titulo {
    margin: 20px auto 30px;
    font-family: Georgia, serif;
    font-size: clamp(32px, 7vw, 46px);
    font-weight: normal;
    color: #182b46;
}

.bienvenida-texto {
    max-width: 470px;
    margin: 0 auto 22px;
    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1.9;
    color: #40536d;
}

.bienvenida-destacado {
    max-width: 450px;
    margin: 30px auto;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 19px;
    line-height: 1.8;
    color: #182b46;
}


/* CEREMONIA Y RECEPCIÓN - ANDREA */

.eventos-andrea {
    padding: 70px 20px;
    background: #182b46;
    text-align: center;
    color: #faf8f4;
}

.eventos-etiqueta {
    font-size: 12px;
    letter-spacing: 3px;
    color: #d9e5f0;
}

.eventos-titulo {
    margin: 18px 0 40px;
    font-family: Georgia, serif;
    font-size: clamp(34px, 7vw, 48px);
    font-weight: normal;
    color: #faf8f4;
}

.tarjeta-andrea {
    max-width: 460px;
    margin: 0 auto 28px;
    padding: 35px 22px;
    border: 1px solid rgba(230,230,235,0.45);
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.tarjeta-simbolo {
    margin-bottom: 15px;
    font-size: 28px;
    color: #d9e5f0;
}

.tarjeta-andrea h3 {
    margin: 0 0 18px;
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: normal;
    color: #faf8f4;
}

.tarjeta-lugar {
    font-size: 19px;
    color: #d9e5f0;
}

.tarjeta-hora {
    margin-top: 12px;
    font-family: Georgia, serif;
    font-size: 32px;
    color: #faf8f4;
}

.mensaje-puntualidad {
    margin-top: 28px;
    padding: 22px 15px;
    border-top: 1px solid rgba(230,230,235,0.3);
    color: #d9e5f0;
}

.mensaje-puntualidad p {
    max-width: 350px;
    margin: 12px auto;
    font-family: Georgia, serif;
    font-size: 16px;
    font-style: italic;
    line-height: 1.8;
}

.mensaje-puntualidad strong {
    color: #ffffff;
    font-weight: bold;
}


/* SEGUNDA FOTOGRAFÍA - ANDREA */

.recuerdo-andrea {
    padding: 75px 20px;
    text-align: center;
    background: linear-gradient(
        180deg,
        #faf8f4 0%,
        #e4ebf3 50%,
        #faf8f4 100%
    );
}

.recuerdo-etiqueta {
    color: #809ab5;
    font-size: 12px;
    letter-spacing: 3px;
}

.recuerdo-titulo {
    margin: 15px 0 20px;
    color: #182b46;
    font-family: Georgia, serif;
    font-size: clamp(34px, 7vw, 48px);
    font-weight: normal;
}

.recuerdo-frase {
    max-width: 420px;
    margin: 0 auto 35px;
    color: #40536d;
    font-family: Georgia, serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1.8;
}

.recuerdo-marco {
    width: min(100%, 370px);
    margin: 0 auto;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #b7c8db;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(24,43,70,0.18);
    transform: rotate(-2deg);
}

.recuerdo-marco img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.recuerdo-adorno {
    margin-top: 35px;
    color: #809ab5;
    font-size: 24px;
}

@media (max-width: 600px) {
    .recuerdo-andrea {
        padding: 55px 20px;
    }

    .recuerdo-marco {
        width: min(90%, 330px);
    }
}


/* CRONOGRAMA - ANDREA */

.programa-andrea {
    padding: 75px 22px;
    background: #faf8f4;
    color: #182b46;
    text-align: center;
}

.programa-andrea-etiqueta {
    font-size: 12px;
    letter-spacing: 3px;
    color: #809ab5;
}

.programa-andrea-titulo {
    margin: 15px 0 20px;
    font-family: Georgia, serif;
    font-size: clamp(32px, 7vw, 46px);
    font-weight: normal;
}

.programa-andrea-intro {
    max-width: 430px;
    margin: 0 auto 45px;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.8;
    color: #40536d;
}

.programa-andrea-linea {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    text-align: left;
}

.programa-andrea-linea::before {
    content: "";
    position: absolute;
    left: 110px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: #a7b9cc;
}

.programa-andrea-actividad {
    display: grid;
    grid-template-columns: 90px 20px 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 42px;
}

.programa-andrea-hora {
    padding-top: 2px;
    text-align: right;
    font-size: 14px;
    font-weight: bold;
    color: #40536d;
}

.programa-andrea-punto {
    position: relative;
    z-index: 1;
    width: 11px;
    height: 11px;
    margin: 5px auto 0;
    border-radius: 50%;
    background: #809ab5;
    border: 2px solid #faf8f4;
    box-shadow: 0 0 0 1px #809ab5;
}

.programa-andrea-detalle h3 {
    margin: 0 0 8px;
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: normal;
    color: #182b46;
}

.programa-andrea-detalle p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #60748d;
}

@media (max-width: 480px) {
    .programa-andrea-linea::before {
        left: 90px;
    }

    .programa-andrea-actividad {
        grid-template-columns: 70px 20px 1fr;
        gap: 10px;
    }

    .programa-andrea-hora {
        font-size: 12px;
    }

    .programa-andrea-detalle h3 {
        font-size: 18px;
    }
}


/* INTERLUDIO DEL LAGO ENCANTADO */

.interludio-andrea {
    padding: 65px 20px;
    background: linear-gradient(
        160deg,
        #182b46,
        #304b6c,
        #182b46
    );
    text-align: center;
}

.interludio-andrea-marco {
    width: min(100%, 320px);
    margin: 0 auto;
    padding: 7px;
    border: 1px solid rgba(230,230,235,0.6);
    border-radius: 160px 160px 12px 12px;
    overflow: hidden;
}

.interludio-andrea-marco img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 150px 150px 7px 7px;
}

.interludio-andrea-contenido {
    max-width: 420px;
    margin: 30px auto 0;
    color: #faf8f4;
}

.interludio-andrea-adorno {
    color: #d9e5f0;
    font-size: 23px;
}

.interludio-andrea-contenido p {
    margin-top: 20px;
    font-family: Georgia, serif;
    font-size: 19px;
    font-style: italic;
    line-height: 1.8;
}


/* DRESS CODE - ANDREA */

.dresscode-andrea {
    padding: 75px 20px;
    background: linear-gradient(
        180deg,
        #182b46 0%,
        #304b6c 50%,
        #182b46 100%
    );
    color: #faf8f4;
    text-align: center;
}

.dresscode-etiqueta {
    color: #d9e5f0;
    font-size: 12px;
    letter-spacing: 3px;
}

.dresscode-titulo {
    margin: 20px 0;
    font-family: Georgia, serif;
    font-size: clamp(38px, 8vw, 54px);
    font-weight: normal;
    color: #faf8f4;
}

.dresscode-adorno {
    margin: 18px 0;
    font-size: 24px;
    color: #d9e5f0;
}

.dresscode-intro {
    max-width: 400px;
    margin: 0 auto 35px;
    font-family: Georgia, serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    color: #e6e6eb;
}

.dresscode-tarjeta {
    max-width: 420px;
    margin: 0 auto;
    padding: 38px 25px;
    border: 1px solid rgba(230,230,235,0.55);
    border-radius: 18px;
    background: rgba(255,255,255,0.07);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.dresscode-icono {
    font-size: 34px;
    color: #d9e5f0;
}

.dresscode-tarjeta h3 {
    margin: 20px 0;
    font-family: Georgia, serif;
    font-size: 29px;
    font-weight: normal;
    color: #faf8f4;
}

.dresscode-tarjeta p {
    font-size: 16px;
    line-height: 1.9;
    color: #d9e5f0;
}

.dresscode-final {
    max-width: 350px;
    margin: 35px auto 0;
    font-family: Georgia, serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1.8;
    color: #e6e6eb;
}


/* REGALOS - ANDREA */

.regalos-andrea {
    padding: 70px 22px;
    background: #faf8f4;
    text-align: center;
    color: #182b46;
}

.regalos-etiqueta {
    font-size: 12px;
    letter-spacing: 3px;
    color: #809ab5;
}

.regalos-titulo {
    margin: 18px 0 25px;
    font-family: Georgia, serif;
    font-size: clamp(36px, 8vw, 50px);
    font-weight: normal;
}

.regalos-simbolo {
    margin: 20px auto;
    font-size: 42px;
    color: #809ab5;
}

.regalos-mensaje,
.regalos-mensaje-secundario {
    max-width: 430px;
    margin: 0 auto 22px;
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.9;
    color: #40536d;
}

.regalos-mensaje-secundario {
    font-style: italic;
}

.regalos-adorno {
    margin-top: 30px;
    font-size: 23px;
    color: #809ab5;
}


/* RECOMENDACIONES - ANDREA */

.recomendaciones-andrea {
    padding: 70px 20px;
    background: linear-gradient(
        180deg,
        #e4ebf3,
        #faf8f4
    );
    color: #182b46;
    text-align: center;
}

.recomendaciones-etiqueta {
    font-size: 12px;
    letter-spacing: 3px;
    color: #809ab5;
}

.recomendaciones-titulo {
    margin: 18px 0 35px;
    font-family: Georgia, serif;
    font-size: clamp(34px, 7vw, 48px);
    font-weight: normal;
}

.recomendacion-tarjeta {
    max-width: 440px;
    margin: 0 auto;
    padding: 38px 25px;
    border: 1px solid #b7c8db;
    border-radius: 18px;
    background: rgba(255,255,255,0.75);
    box-shadow: 0 12px 35px rgba(24,43,70,0.10);
}

.recomendacion-icono {
    font-size: 32px;
    color: #809ab5;
}

.recomendacion-tarjeta h3 {
    margin: 18px 0 22px;
    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: normal;
    color: #182b46;
}

.recomendacion-tarjeta p {
    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1.8;
    color: #40536d;
}

.recomendacion-hora {
    margin: 20px auto;
    font-family: Georgia, serif;
    font-size: clamp(38px, 9vw, 56px);
    color: #182b46;
    font-weight: bold;
    letter-spacing: 2px;
}

.recomendacion-destacado {
    font-style: italic;
}

.recomendaciones-adorno {
    margin-top: 30px;
    font-size: 23px;
    color: #809ab5;
}


/* ILUSTRACIÓN DEL LAGO ENCANTADO */

.interludio-andrea-marco {
    width: min(100%, 440px);
    padding: 5px;
    border-radius: 18px;
}

.interludio-andrea-marco img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 13px;
}


/* PORTADA DE ANDREA - BOTÓN FLOTANTE */

/* Ocultamos el texto HTML sin quitar accesibilidad */
.texto-accesible {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* La portada utiliza la ilustración completa */
.portada.portada-andrea {
    position: relative;
    background-image: url("imagenes/portada-andrea.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #071c36;
}

/* Zona invisible que activa el botón de la imagen */
.portada.portada-andrea .andrea-boton-flotante {
    position: absolute;
    left: 23%;
    bottom: 8%;
    width: 54%;
    height: 9%;

    display: block;
    padding: 0;
    margin: 0;

    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 40px;

    transform: none;
    animation: flotarBotonAndrea 3s ease-in-out infinite;
    cursor: pointer;
    z-index: 5;
}

/* Efecto flotante */
@keyframes flotarBotonAndrea {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .portada.portada-andrea .andrea-boton-flotante {
        animation: none;
    }
}


/* BOTÓN FLOTANTE VISIBLE - ANDREA */

.portada.portada-andrea .andrea-boton-flotante {
    display: flex;
    align-items: center;
    justify-content: center;

    left: 23%;
    bottom: 8%;
    width: 54%;
    height: 9%;

    background: rgba(9, 28, 56, 0.92);
    border: 2px solid #dce8f7;
    border-radius: 50px;

    box-shadow:
        0 0 15px rgba(210, 230, 255, 0.45),
        inset 0 0 12px rgba(210, 230, 255, 0.15);

    color: #ffffff;
    font-family: Georgia, serif;
    font-size: clamp(13px, 3.5vw, 22px);
    font-style: italic;
    text-decoration: none;

    animation: flotarBotonAndrea 3s ease-in-out infinite;
}

.portada.portada-andrea .andrea-boton-flotante .texto-accesible {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip-path: none;
    white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
    .portada.portada-andrea .andrea-boton-flotante {
        animation: none;
    }
}


/* PORTADA ANDREA - PANTALLA COMPLETA */

.portada.portada-andrea {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    background-image: url("imagenes/portada-andrea.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    position: relative;
    overflow: hidden;
}

/* BOTÓN FLOTANTE SOBRE LA PORTADA */

.portada.portada-andrea .andrea-boton-flotante {
    position: absolute;

    left: 23%;
    bottom: 10%;

    width: 54%;
    height: 7%;

    z-index: 10;
}



/* REPRODUCTOR - ESTILO LAGO DE LOS CISNES */

.reproductor-boda {
    background: #f8f9fc;
    border: 1px solid #b8c9dc;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(24,43,70,0.10);
}

.reproductor-boda .icono-reproductor {
    color: #819bb8;
}

.reproductor-boda .titulo-reproductor {
    color: #536f91;
    letter-spacing: 2px;
}

.reproductor-boda h3 {
    color: #182b46;
}

.reproductor-boda .artista-reproductor {
    color: #7187a1;
}

.reproductor-boda .boton-reproducir {
    background: #304b6c;
    color: #ffffff;
    border-color: #304b6c;
}

.reproductor-boda .boton-reproducir:hover {
    background: #182b46;
}

.reproductor-boda #barra-musica {
    accent-color: #607fa3;
}

.reproductor-boda .tiempos-reproductor {
    color: #7187a1;
}


/* CONTADOR - EL LAGO DE LOS CISNES */

.bloque-fecha {
    max-width: 520px;
    margin: 30px auto;
    padding: 45px 18px;

    background: linear-gradient(
        160deg,
        #f8f9fc 0%,
        #e7edf5 100%
    );

    border: 1px solid #b8c9dc;
    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(24,43,70,0.08);
    text-align: center;
}

.bloque-fecha .titulo-fecha {
    color: #536f91;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 600;
}

.bloque-fecha #fecha-visible {
    margin: 22px 0;
    color: #182b46;
    font-family: Georgia, serif;
    font-size: clamp(25px, 6vw, 38px);
    font-style: italic;
    font-weight: normal;
    line-height: 1.3;
}

.bloque-fecha .texto-contador {
    margin: 25px 0;
    color: #536f91;
    font-size: 15px;
}

.bloque-fecha .cuenta-regresiva {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.bloque-fecha .unidad-tiempo {
    min-width: 0;
    padding: 14px 3px;

    background: #ffffff;
    border: 1px solid #b8c9dc;
    border-radius: 12px;
}

.bloque-fecha .unidad-tiempo span {
    display: block;
    color: #182b46;
    font-size: clamp(21px, 5vw, 32px);
    font-weight: 500;
}

.bloque-fecha .unidad-tiempo small {
    display: block;
    margin-top: 8px;
    color: #7187a1;
    font-size: 9px;
    letter-spacing: 0.5px;
}

@media (max-width: 360px) {
    .bloque-fecha {
        padding: 35px 12px;
    }

    .bloque-fecha .cuenta-regresiva {
        gap: 5px;
    }
}


/* CONFIRMACIÓN DE ASISTENCIA - ANDREA */

.confirmacion {
    max-width: 480px;
    margin: 45px auto;
    padding: 48px 24px;

    background: linear-gradient(
        160deg,
        #f8f9fc,
        #e7edf5
    );

    border: 1px solid #b8c9dc;
    border-radius: 22px;

    box-shadow: 0 12px 35px rgba(24,43,70,0.10);
    text-align: center;
}

.confirmacion .subtitulo {
    color: #7187a1;
    font-size: 12px;
    letter-spacing: 3px;
}

.confirmacion h2 {
    margin: 22px 0 28px;
    color: #182b46;
    font-family: Georgia, serif;
    font-size: clamp(30px, 7vw, 43px);
    font-weight: normal;
}

.confirmacion p:not(.subtitulo) {
    color: #40536d;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.confirmacion .boton-confirmar {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    max-width: 100%;
    min-height: 50px;
    margin-top: 18px;
    padding: 14px 25px;

    background: #304b6c;
    color: #ffffff;
    border: 1px solid #b8c9dc;
    border-radius: 40px;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 6px 18px rgba(24,43,70,0.18);
    transition: background 0.3s, transform 0.3s;
}

.confirmacion .boton-confirmar:hover {
    background: #182b46;
    transform: translateY(-3px);
}

@media (max-width: 480px) {
    .confirmacion {
        margin: 30px 12px;
        padding: 38px 18px;
    }
}


/* FONDO GENERAL - ANDREA LÓPEZ */

body {
    background: #e8eef6;
}

#invitacion.contenido {
    background: #e8eef6;
}

/* Separación uniforme entre bloques principales */

#invitacion > .presentacion-andrea,
#invitacion > .reproductor-boda,
#invitacion > .bienvenida-andrea,
#invitacion > .bloque-fecha,
#invitacion > .recuerdo-andrea,
#invitacion > .eventos-andrea,
#invitacion > .programa-andrea,
#invitacion > .interludio-andrea,
#invitacion > .dresscode-andrea,
#invitacion > .regalos-andrea,
#invitacion > .recomendaciones-andrea,
#invitacion > .confirmacion {
    box-sizing: border-box;
}

/* Evitar desbordamiento horizontal */

#invitacion {
    width: 100%;
    box-sizing: border-box;
}


/* UNIFICAR TONOS DE LAS TARJETAS - ANDREA */

#invitacion .bienvenida-andrea,
#invitacion .bloque-fecha,
#invitacion .reproductor-boda,
#invitacion .confirmacion {
    background: #f8f9fc;
    border: 1px solid #b8c9dc;
    border-radius: 20px;
}

















