/* ELEGANCE | Colección botánica premium
   Cargar después de estilos.css. No modifica HTML ni JavaScript. */
:root {
    --premium-oro: #b69a66;
    --premium-olivo: #53634e;
    --premium-marfil: #faf7ef;
    --premium-rama: url('../img/premium-ramo.svg');
    --premium-superior: url('../img/premium-esquina-superior.svg');
    --premium-inferior: url('../img/premium-esquina-inferior.svg');
}
/* Marco y ornamentos: una sola capa detrás del contenido. */
:is(#cuenta, #historia, #ubicacion, #programa, #confirmar, footer) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    padding: 96px 48px 155px;
    background: radial-gradient(ellipse at center, #fffdf8, #f0ebdf);
    border: 0;
}
:is(#cuenta, #historia, #ubicacion, #programa, #confirmar, footer)::after {
    content: '';
    position: absolute;
    inset: 12px;
    width: auto;
    height: auto;
    margin: 0;
    transform: none;
    z-index: -1;
    pointer-events: none;
    border: 1px solid #b69a6680;
    box-shadow: inset 0 0 0 4px #faf7ef, inset 0 0 0 5px #b69a663b;
    background: var(--premium-superior) left top / 180px 180px no-repeat,
                var(--premium-inferior) right bottom / 180px 180px no-repeat;
    opacity: 1;
}
:is(#cuenta, #historia, #ubicacion, #programa, #confirmar, footer)::before {
    content: '';
    display: block;
    width: min(240px, 72%);
    height: 76px;
    margin: 0 auto 18px;
    background: var(--premium-rama) center / contain no-repeat;
    opacity: 1;
    pointer-events: none;
}
/* Ocultar únicamente el adorno repetido del footer. */
footer .footer-botanical { display: none; }
/* Variaciones de papel entre secciones. */
#historia, #programa { background: #faf7ef; }
#confirmar { background: radial-gradient(ellipse at center, #f9faf4, #e3e9da); }
footer { background: radial-gradient(ellipse at center, #faf5e9, #eae0cb); }
:is(#cuenta, #historia, #ubicacion, #programa, #confirmar, footer) > h2 {
    color: #344334;
    font-weight: 500;
    text-wrap: balance;
    margin-bottom: 20px;
}
:is(#cuenta, #historia, #ubicacion, #programa, #confirmar, footer) > h2::after {
    content: '✧';
    display: block;
    width: 150px;
    height: auto;
    margin: 17px auto 0;
    color: var(--premium-oro);
    font: 18px/1 var(--serif);
    background: linear-gradient(90deg, transparent, #b69a66) left center / 43% 1px no-repeat,
                linear-gradient(90deg, #b69a66, transparent) right center / 43% 1px no-repeat;
}
/* Cuenta regresiva: pequeñas tarjetas de papelería. */
#cuenta .countdown { gap: 10px; }
#cuenta .countdown > div {
    border: 1px solid #c7b58e;
    border-radius: 46% 46% 4px 4px / 24% 24% 4px 4px;
    padding: 22px 4px 15px;
    background: #fffdf7;
    box-shadow: 0 4px 15px #6752340c;
}
#cuenta .countdown strong { color: var(--premium-olivo); }
/* Galería estilo editorial, sin cubrir las fotografías. */
#historia .gallery { max-width: 790px; margin: 35px auto 0; gap: 15px; }
#historia .gallery img {
    border: 1px solid #cbb68d;
    border-radius: 48% 48% 3px 3px / 24% 24% 3px 3px;
    padding: 4px;
    background: #fffdf8;
    box-shadow: 0 8px 22px #54462c14;
}
#historia .gallery img:nth-child(2) { margin-top: 24px; }
/* Ceremonia, recepción, vestimenta y regalos. */
.event-card, .detail-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid #c8b283;
    border-radius: 5px;
    padding: 45px 22px 40px;
    background: #fffdf8;
    box-shadow: 0 8px 26px #6856380d;
}
.event-card::before, .detail-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    width: auto;
    height: auto;
    transform: none;
    border: 1px solid #d9c9a54d;
    background: var(--premium-superior) top left / 76px 76px no-repeat,
                var(--premium-inferior) bottom right / 76px 76px no-repeat;
    opacity: .75;
    pointer-events: none;
    z-index: -1;
}
.details.section { padding: 35px 24px; }
/* Itinerario vertical con pequeñas joyas doradas. */
#programa .timeline { max-width: 540px; padding-left: 24px; border-left: 1px solid #c7b58e; }
#programa .timeline-item { grid-template-columns: 105px 1fr; gap: 14px; }
#programa .timeline-item::before {
    content: ''; position: absolute; left: -29px; top: 50%;
    width: 9px; height: 9px; background: #b69a66;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 0 4px #faf7ef;
}
#confirmar .rsvp-form { padding: 22px; background: #fffdf8; border: 1px solid #c7b58e; border-radius: 4px; }
#confirmar .rsvp-form :is(input, select, textarea) { border-radius: 4px; }
/* Portada: conservar la foto y la lógica del sobre. */
.cover-card { position: relative; isolation: isolate; }
.cover-card::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--premium-superior) top left / 135px 135px no-repeat,
                var(--premium-inferior) bottom right / 135px 135px no-repeat;
    opacity: .9;
}
.cover-botanical { content: var(--premium-rama); width: 215px; object-fit: contain; }
/* Botón de audio real de la plantilla. */
.music { bottom: max(16px, env(safe-area-inset-bottom)); right: 14px; }
@media (max-width: 768px) {
    :is(#cuenta, #historia, #ubicacion, #programa, #confirmar, footer) {
        padding: 106px 26px 135px;
    }
    :is(#cuenta, #historia, #ubicacion, #programa, #confirmar, footer)::after {
        inset: 7px;
        background-size: 126px 126px, 126px 126px;
    }
    :is(#cuenta, #historia, #ubicacion, #programa, #confirmar, footer)::before {
        width: min(200px, 70%); height: 57px; margin-bottom: 12px;
    }
    #cuenta .countdown { gap: 5px; }
    #cuenta .countdown span { font-size: .55rem; letter-spacing: 0; }
    #cuenta .countdown strong { font-size: clamp(1.65rem, 7vw, 2.7rem); }
    #historia .gallery { gap: 6px; }
    #historia .gallery img { padding: 2px; }
    #historia .gallery img:nth-child(2) { margin-top: 12px; }
    #programa .timeline-item { grid-template-columns: 75px minmax(0, 1fr); gap: 8px; }
    #confirmar .rsvp-form { padding: 15px; }
    .details.section { padding: 25px 20px; }
    .cover-card::after { background-size: 88px 88px, 88px 88px; }
}


/* =========================================
   CIERRE FLORAL DE LUJO - ELEGANCE
========================================= */

#invitacion footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 650px;
    padding: 100px 45px 210px 170px;

    background: #f7f3ea;

    text-align: center;
}
/* Eliminar el ornamento superior anterior */

#invitacion footer::before {
    display: none;
}

#invitacion footer .footer-botanical {
    display: none;
}

/* Gran composición floral inferior */

#invitacion footer::after {
    content: "";
    position: absolute;

    inset: auto;
    left: 0;
    bottom: 0;

    width: min(100%, 620px);
    height: auto;
    aspect-ratio: 1 / 1;

    background: url('../img/premium-floral-final.png')
                left bottom / contain no-repeat;

    border: none;
    box-shadow: none;
    transform: none;
    margin: 0;

    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

/* Nombres de los novios */

#invitacion footer h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.05;
    color: #46543f;
}

/* Fecha */

#footerDate {
    color: #947747;
    letter-spacing: 2px;
}

/* Mensaje de despedida */

.footer-message {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-style: italic;
    color: #59634e;
    margin-top: 24px;
}

/* Adaptación a celulares */

@media (max-width: 768px) {

    #invitacion footer {
        min-height: 580px;
        padding: 65px 20px 180px 65px;
    }

    #invitacion footer::after {
        width: 100%;
    }

    #invitacion footer h2 {
        font-size: clamp(2.7rem, 10vw, 4rem);
    }

    .footer-message {
        font-size: 1.7rem;
    }
}


/* =========================================
   MEJORA 05 - ANIMACIONES PREMIUM
========================================= */

/* Animaciones principales */

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

@keyframes premiumZoom {
    from {
        opacity: 0;
        transform: scale(0.93);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes premiumIzquierda {
    from {
        opacity: 0;
        transform: translateX(-25px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes premiumDerecha {
    from {
        opacity: 0;
        transform: translateX(25px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Transición general de las secciones */

.js-reveal .reveal {
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

/* Ornamentos botánicos superiores */

.js-reveal .reveal.visible::before {
    animation: premiumZoom 1.2s ease both;
}

/* Subtítulos */

.js-reveal .reveal.visible > .eyebrow {
    animation: premiumEntrada 0.9s ease 0.1s both;
}

/* Títulos principales */

.js-reveal .reveal.visible > h2 {
    animation: premiumEntrada 1s ease 0.25s both;
}

/* Párrafos */

.js-reveal .reveal.visible > p:not(.eyebrow) {
    animation: premiumEntrada 1s ease 0.4s both;
}

/* Cuenta regresiva */

.js-reveal #cuenta.visible .countdown > div {
    animation: premiumZoom 0.9s ease both;
}

#cuenta.visible .countdown > div:nth-child(1) {
    animation-delay: 0.15s;
}

#cuenta.visible .countdown > div:nth-child(2) {
    animation-delay: 0.30s;
}

#cuenta.visible .countdown > div:nth-child(3) {
    animation-delay: 0.45s;
}

#cuenta.visible .countdown > div:nth-child(4) {
    animation-delay: 0.60s;
}

/* Galería fotográfica */

.js-reveal #historia.visible .gallery img {
    animation: premiumEntrada 1.1s ease both;
}

#historia.visible .gallery img:nth-child(1) {
    animation-delay: 0.3s;
}

#historia.visible .gallery img:nth-child(2) {
    animation-delay: 0.5s;
}

#historia.visible .gallery img:nth-child(3) {
    animation-delay: 0.7s;
}

/* Ceremonia y recepción */

.js-reveal #ubicacion.visible .event-card:nth-child(1) {
    animation: premiumIzquierda 1s ease 0.2s both;
}

.js-reveal #ubicacion.visible .event-card:nth-child(2) {
    animation: premiumDerecha 1s ease 0.4s both;
}

/* Itinerario */

.js-reveal #programa.visible .timeline-item {
    animation: premiumEntrada 0.9s ease both;
}

#programa.visible .timeline-item:nth-child(1) {
    animation-delay: 0.15s;
}

#programa.visible .timeline-item:nth-child(2) {
    animation-delay: 0.30s;
}

#programa.visible .timeline-item:nth-child(3) {
    animation-delay: 0.45s;
}

#programa.visible .timeline-item:nth-child(4) {
    animation-delay: 0.60s;
}

/* Vestimenta y mesa de regalos */

.js-reveal .details.visible .detail-card {
    animation: premiumZoom 1s ease both;
}

.details.visible .detail-card:nth-child(2) {
    animation-delay: 0.3s;
}

/* Formulario de asistencia */

.js-reveal #confirmar.visible .rsvp-form {
    animation: premiumEntrada 1.2s ease 0.2s both;
}

/* Despedida */

.js-reveal footer.visible > h2 {
    animation: premiumEntrada 1.4s ease 0.3s both;
}

.js-reveal footer.visible .footer-message {
    animation: premiumEntrada 1.2s ease 0.6s both;
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {

    .js-reveal .reveal,
    .js-reveal .reveal *,
    .js-reveal .reveal::before,
    .js-reveal .reveal::after {
        animation: none !important;
        transition: none !important;
        opacity: 1;
    }

    .js-reveal .reveal {
        transform: none;
    }
}


/* =========================================
   MEJORA 06 - CUENTA REGRESIVA PREMIUM
========================================= */

#cuenta .countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 580px;
    margin: 40px auto 30px;
}

/* Tarjetas del contador */

#cuenta .countdown > div {
    position: relative;
    isolation: isolate;
    min-width: 0;

    padding: 40px 8px 22px;

    background: linear-gradient(
        145deg,
        #fffdf8,
        #f5f1e7
    );

    border: 1px solid #b69a66;
    border-radius: 70px 70px 5px 5px;

    box-shadow: 0 8px 20px rgba(74, 60, 38, 0.08);
}

/* Segundo borde dorado */

#cuenta .countdown > div::before {
    content: "";
    position: absolute;
    inset: 5px;

    width: auto;
    height: auto;

    background: none;
    border: 1px solid #d9c8a6;
    border-radius: 65px 65px 3px 3px;

    transform: none;
    opacity: 1;
    pointer-events: none;
}

/* Detalle ornamental superior */

#cuenta .countdown > div::after {
    content: "✧";
    position: absolute;
    top: 12px;
    left: 50%;

    transform: translateX(-50%);
    color: #b28a43;
    font-size: 1.1rem;
    pointer-events: none;
}

/* Números */

#cuenta .countdown strong {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: #46543f;
}

/* Etiquetas */

#cuenta .countdown span {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #73796b;
    text-transform: uppercase;
    margin-top: 8px;
}

/* Botón para agendar */

#calendario {
    background: #59634e;
    color: #fffdf8;
    border: 1px solid #59634e;
    border-radius: 40px;
    padding: 14px 32px;
    box-shadow: 0 6px 18px #59634e20;
    transition: background 0.3s ease;
}

#calendario:hover {
    background: #414c3b;
}

/* Adaptación a celulares */

@media (max-width: 768px) {

    #cuenta .countdown {
        gap: 6px;
        margin: 32px auto;
    }

    #cuenta .countdown > div {
        padding: 32px 2px 18px;
        border-radius: 45px 45px 4px 4px;
    }

    #cuenta .countdown > div::before {
        inset: 3px;
        border-radius: 42px 42px 2px 2px;
    }

    #cuenta .countdown > div::after {
        top: 8px;
        font-size: 0.9rem;
    }

    #cuenta .countdown strong {
        font-size: clamp(1.4rem, 6.8vw, 2.8rem);
    }

    #cuenta .countdown span {
        font-size: 0.52rem;
        letter-spacing: 0;
        margin-top: 5px;
    }
}


/* =========================================
   MEJORA 07 - GALERÍA INTERACTIVA PREMIUM
========================================= */

/* Fotografías de la galería */

#galeria img {
    cursor: zoom-in;

    transition:
        transform 0.5s ease,
        filter 0.5s ease,
        box-shadow 0.5s ease;
}

@media (hover: hover) {

    #galeria img:hover {
        transform: translateY(-5px) scale(1.025);
        filter: brightness(1.06);
        box-shadow: 0 10px 25px #00000020;
    }
}

/* Evitar desplazamiento al abrir la galería */

body.lightbox-open {
    overflow: hidden;
}

/* Visor de fotografías */

.lightbox {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;

    margin: 0;
    padding: 55px 60px;

    border: none;
    background: transparent;
    color: #fffdf8;

    overflow: auto;
}

.lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox::backdrop {
    background: rgba(20, 27, 21, 0.97);
}

/* Contenedor de la fotografía */

.lightbox-content {
    width: 100%;
    max-width: 1000px;
    min-width: 0;
    text-align: center;
}

#lightboxImage {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    max-height: 75dvh;

    margin: auto;
    object-fit: contain;

    border: 1px solid #b28a43;
    padding: 4px;
    background: #f5f1e7;

    border-radius: 4px;
}

/* Descripción */

#lightboxCaption {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-style: italic;
    color: #f5f1e7;
    margin-top: 14px;
}

/* Contador */

#lightboxCounter {
    display: block;
    color: #d9c8a6;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-top: 8px;
}

/* Botones */

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 2;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border: 1px solid #b28a43;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
    color: #fffdf8;

    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: #9a7943;
}

/* Botón cerrar */

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2rem;
}

/* Flechas */

.lightbox-prev {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

/* Animación de entrada */

.lightbox[open] .lightbox-content {
    animation: galeriaEntrada 0.4s ease both;
}

@keyframes galeriaEntrada {

    from {
        opacity: 0;
        transform: scale(0.95);
    }

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

/* Adaptación a celulares */

@media (max-width: 768px) {

    .lightbox {
        padding: 65px 40px;
    }

    #lightboxImage {
        max-height: 70vh;
        max-height: 70dvh;
    }

    #lightboxCaption {
        font-size: 1.3rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .lightbox-prev {
        left: 4px;
    }

    .lightbox-next {
        right: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {

    #galeria img,
    .lightbox[open] .lightbox-content {
        animation: none;
        transition: none;
    }
}


/* =========================================
   MEJORA 08 - UBICACIÓN PREMIUM
========================================= */

/* Tarjetas de eventos */

#ubicacion .event-card {
    padding: 45px 24px;
    background: #fffdf8;
}

/* Nombre del evento */

#ubicacion .event-card h3 {
    font-size: 2.5rem;
    color: #46543f;
}

/* Hora del evento */

#ubicacion .event-card .time {
    color: #b28a43;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Botón de ubicación */

#ubicacion .event-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: #59634e;
    color: #fffdf8;

    border: 1px solid #59634e;
    border-radius: 40px;

    padding: 13px 28px;
    margin-top: 25px;

    font-size: 0.85rem;
    letter-spacing: 1px;

    box-shadow: 0 6px 15px #59634e25;

    transition: background 0.3s ease,
                transform 0.3s ease;
}

/* Icono de ubicación */


/* Icono de ubicación integrado */

#ubicacion .event-card .btn::before {
    content: "";
    display: inline-block;

    width: 22px;
    height: 22px;
    flex-shrink: 0;

    mask: none;
    -webkit-mask: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");

    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 1;
    margin-right: 4px;
}


/* Efecto al pasar el cursor */

#ubicacion .event-card .btn:hover {
    background: #414c3b;
    transform: translateY(-3px);
}

/* Adaptación a celulares */

@media (max-width: 768px) {

    #ubicacion .event-card {
        padding: 40px 20px;
    }

    #ubicacion .event-card h3 {
        font-size: 2.2rem;
    }

    #ubicacion .event-card .btn {
        width: 100%;
        max-width: 260px;
    }
}


/* =========================================
   MEJORA 10 - OPTIMIZACIÓN RESPONSIVE
========================================= */

/* Ajustes generales */

#invitacion img {
    max-width: 100%;
}

#invitacion h2,
#invitacion h3 {
    overflow-wrap: anywhere;
    text-wrap: balance;
}

/* TABLETS Y CELULARES */

@media (max-width: 768px) {

    /* Sobre de presentación */

    .cover {
        padding: 20px;
    }

    .cover-card {
        max-width: 100%;
    }

    .cover h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
        overflow-wrap: anywhere;
    }

    /* Portada fotográfica */

    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-visual {
        width: 100%;
        height: 100%;
    }

    .hero-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-content {
        width: 100%;
        padding: 40px 22px;
    }

    .hero h2 {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    /* Secciones principales */

    #invitacion .section {
        padding-left: 24px;
        padding-right: 24px;
    }

    #invitacion .section h2 {
        font-size: clamp(2.3rem, 8vw, 3.5rem);
    }

    /* Galería fotográfica */

    #historia .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    #historia .gallery img {
        width: 100%;
        min-width: 0;
    }

    /* Ceremonia y recepción */

    #ubicacion .event-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    /* Vestimenta y regalos */

    #invitacion .details {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    /* Formulario de asistencia */

    #confirmar .rsvp-form {
        width: 100%;
        min-width: 0;
        padding: 25px 18px;
    }

    #confirmar input,
    #confirmar select,
    #confirmar textarea {
        min-width: 0;
        font-size: 16px;
    }

    /* Tamaño adecuado para botones táctiles */

    #invitacion .btn {
        min-height: 48px;
        max-width: 100%;
        white-space: normal;
    }

    /* Botón flotante de música */

    #musicButton {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        min-height: 44px;
        padding: 10px 14px;
    }

    /* Despedida floral */

    #invitacion footer {
        min-height: 540px;
        padding: 65px 20px 190px 65px;
    }

    #invitacion footer::after {
        width: min(100%, 480px);
    }

    #invitacion footer h2 {
        font-size: clamp(2.5rem, 9vw, 4rem);
    }
}

/* CELULARES PEQUEÑOS */

@media (max-width: 380px) {

    #invitacion .section {
        padding-left: 18px;
        padding-right: 18px;
    }

    #cuenta .countdown {
        gap: 4px;
    }

    #cuenta .countdown > div {
        min-width: 0;
        padding-left: 1px;
        padding-right: 1px;
    }

    #cuenta .countdown strong {
        font-size: 1.6rem;
    }

    #cuenta .countdown span {
        font-size: 0.5rem;
        letter-spacing: 0;
    }

    #historia .gallery {
        gap: 5px;
    }

    #confirmar .rsvp-form {
        padding: 20px 12px;
    }

    #confirmar button[type="submit"] {
        font-size: 0.8rem;
        gap: 6px;
    }

    #invitacion footer {
        padding-left: 55px;
        padding-right: 18px;
    }
}
