@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

:root {
    --perla: #ded1cb;
    --borgona: #561e27;
    --verde: #2f3b2f;
    --negro: #000000;

    --sand: #ded1cb;
    --ink: #561e27;
    --ink-soft: #2f3b2f;
    --white: #F7F6F4;
    --gold: #561e27;
    --gold-bright: #ded1cb;

    /* ── TIPOGRAFÍAS ── */
    --font-gothic: 'UnifrakturMaguntia', serif;
    /* Nombres novios + Títulos */
    --font-serif: 'Cinzel', serif;
    /* Resto del contenido elegante */
    --font-sans: 'Cinzel', serif;
    /* Info, fechas, subtítulos */
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--sand);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ══════════ OVERLAY (CAPAS PNG) ══════════ */
.wlc-overlay-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--ink);
    transition: opacity .8s ease, visibility .8s;
    overflow: hidden;
}

.wlc-overlay-fullscreen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Imagen de fondo dinámica */
.wlc-bg-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

@media (max-width: 1080px) {
    .wlc-bg-img {
        width: auto;
        height: 100%;
        aspect-ratio: 9 / 16;
        max-width: 100%;
        object-fit: cover;
        margin: 0 auto;
        display: block;
    }
}

/* Contenedor central del floral/papel */
.wlc-floral-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Contenedor maestro del Papel y el Sobre */
.wlc-paper-envelope-wrapper {
    position: relative;
    max-width: clamp(280px, 94vw, 650px);
    /* 94vw en móvil para que sea más grande, 650px de tope en PC */
    max-height: 85vh;
    display: inline-block;
    /* Se ajusta exactamente al tamaño de la imagen interior */
}

/* Capa 1: Papel base */
.wlc-papel-base {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

/* Capa 2: Texto del invitado */
.wlc-guest-info-hidden {
    display: none;
    opacity: 0;
}

.wlc-guest-info-show {
    position: absolute;
    inset: 0;
    /* Cubre exactamente toda el área gráfica del PAPELLAN.webp */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15% 10%;
    /* Relleno seguro para no pisar bordes del gráfico */
    color: #2e3a2e;
    /* Ajusta según color de papel */
    animation: fadeInText 1s ease 0.3s forwards;
    /* Entra suavemente */
}

.wlc-inv-label {
    font-family: var(--font-sans);
    font-size: clamp(0.6rem, 2vw, 0.8rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #2e3a2e;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.wlc-inv-name,
.nombre-invitado {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.2;
    color: #2e3a2e;
    margin-bottom: 1.5rem;
}

.wlc-inv-passes {
    font-family: var(--font-sans);
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2e3a2e;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.passes-label {
    color: #2e3a2e;
    opacity: 0.85;
}

.passes-count {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: #2e3a2e;
}

.btn-ver-mas {
    background: var(--ink);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: clamp(0.6rem, 2vw, 0.75rem);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 14px 30px;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.btn-ver-mas:hover {
    background: var(--ink-soft);
    transform: translateY(-2px);
}

/* Capa 3: Sobre superpuesto */
.wlc-sobre-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 1s ease;
    z-index: 10;
}

.wlc-sobre-top.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Botón ABRIR INVITACION */
.btn-abrir-sobre {
    margin-top: 30px;
    background: var(--gold);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 16px 45px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: opacity 0.5s ease, transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
    z-index: 15;
    opacity: 0;
    pointer-events: none;
}

.btn-abrir-sobre.ready {
    opacity: 1;
    pointer-events: auto;
}

.btn-abrir-sobre:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-abrir-sobre.hidden {
    display: none !important;
}

@keyframes fadeInText {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ══════════ MUSIC ══════════ */
.music-btn-watercolor {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.music-btn-watercolor.visible {
    opacity: 1;
    pointer-events: auto;
}

.music-btn-watercolor svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.music-btn-watercolor .icon-pause {
    display: none;
}

.music-btn-watercolor.playing .icon-play {
    display: none;
}

.music-btn-watercolor.playing .icon-pause {
    display: block;
}

/* ══════════ HERO ══════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--sand);
    overflow: hidden;
    padding: 0 8% 0;
}

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 35px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.hero-ml {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    letter-spacing: 4px;
    font-weight: 300;
}


.hero-content {
    position: relative;
    z-index: 5;
    padding-top: clamp(40px, 8vh, 90px);
}

.hero-names {
    font-family: var(--font-gothic);
    font-weight: 400;
    color: var(--ink);
    font-size: clamp(3.2rem, 10vw, 7rem);
    line-height: 1.15;
}

.hero-names .ampersand {
    font-family: var(--font-gothic);
    font-style: normal;
    font-size: clamp(3.5rem, 9vw, 6rem);
    display: inline-block;
    margin: 10px 0 10px clamp(30px, 5vw, 60px);
    opacity: 0.7;
}

.hero-date {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 12px;
    margin-top: 35px;
    font-weight: 400;
}

.flor-portada {
    position: absolute;
    top: -8%;
    right: -8%;
    width: 55%;
    max-width: 550px;
    z-index: 2;
    pointer-events: none;
}

/* ══════════ SECTION WAVE SHAPES (DESACTIVADAS PARA SECCIONES RECTAS) ══════════ */
.wave-divider,
.wave-bottom,
.wave-top {
    display: none !important;
}

/* ══════════ PHOTO B&W ══════════ */
.photo-fullwidth {
    position: relative;
    z-index: 1;
    margin-top: 0;
    margin-bottom: 0;
}

.photo-fullwidth img {
    width: 100%;
    height: clamp(500px, 75vh, 850px);
    object-fit: cover;
    object-position: center 20%;
    filter: none;
    display: block;
}

/* ── <picture> debe ser block para que object-position funcione correctamente ── */
.photo-fullwidth picture {
    display: block;
    width: 100%;
    line-height: 0;
}

/* ── Móvil: la imagen enfoca al centro para no cortar a la pareja ── */
@media (max-width: 768px) {
    .photo-fullwidth img {
        height: 65vh;
        object-position: center 25%;
    }
}

/* ══════════ TARJETA UNIFICADA COMPUESTA (PC & MÓVIL) ══════════ */
.unified-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 5;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Tarjetas en secciones oscuras (Borgoña / Guindo) */
.historia-section .unified-card,
.lluvia-sobres-section .unified-card,
.rsvp-section .unified-card {
    background: var(--ink);
    background-image: none;
    border: 1px solid rgba(222, 209, 203, 0.2);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
    color: #ddd0ca;
}

/* Tarjetas en tono Verde Oliva Oscuro (#2f3b2f) con Textura Papel Pliego y Letras (#ddd0ca) */
.padres-section .unified-card,
.amenizado-section .unified-card {
    background-color: #2f3b2f;
    background-image: url('assets/img/textura_papel.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border: 1px solid rgba(221, 208, 202, 0.22);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
    color: #ddd0ca;
}

.unified-card .card-cover-photo {
    flex: 0 0 45%;
    align-self: stretch;
    min-height: 100%;
    overflow: hidden;
    position: relative;
}

.unified-card .card-cover-photo picture {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.unified-card .card-cover-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.unified-card:hover .card-cover-photo img {
    transform: scale(1.03);
}

.unified-card .card-body {
    flex: 1;
    padding: clamp(35px, 5vw, 55px) clamp(25px, 4vw, 45px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* Estilos específicos de contenido en tarjeta */
.historia-section .card-body {
    text-align: left;
}

.eventos-section .card-body,
.padres-section .card-body,
.amenizado-section .card-body {
    text-align: center;
    align-items: center;
}

.rsvp-section .card-body {
    text-align: left;
}

@media (max-width: 820px) {
    .unified-card {
        flex-direction: column;
        max-width: 500px;
    }

    .unified-card .card-cover-photo {
        flex: auto;
        width: 100%;
        height: 290px;
        max-height: 320px;
    }

    .unified-card .card-body {
        padding: 30px 20px;
        text-align: center !important;
        align-items: center;
    }

    .rsvp-section .card-body {
        text-align: left !important;
        align-items: stretch;
    }
}

/* ══════════ HISTORIA ══════════ */
.historia-section {
    position: relative;
    background: var(--ink);
    color: #ddd0ca;
    padding: clamp(80px, 12vw, 180px) 8%;
    overflow: hidden;
}

.historia-title {
    font-family: var(--font-gothic);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: none;
    line-height: 1.25;
    margin-bottom: 25px;
    color: #ddd0ca;
}

.historia-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.85;
    font-weight: 300;
    opacity: 0.9;
    color: #ddd0ca;
    margin-bottom: 30px;
}

.historia-text strong {
    color: #ffffff;
    font-weight: 600;
}

.btn-elegant {
    display: inline-block;
    padding: 14px 35px;
    border: 1px solid rgba(221, 208, 202, 0.35);
    color: #ddd0ca;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s;
}

.btn-elegant:hover {
    background: #ddd0ca;
    color: var(--ink);
}

/* Versículo Bíblico */
.versiculo-biblico {
    border-left: 2px solid rgba(221, 208, 202, 0.4);
    padding-left: 25px;
    margin-top: 10px;
}

.versiculo-text {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.7;
    color: #ddd0ca;
    opacity: 0.95;
    margin-bottom: 12px;
}

.versiculo-cita {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-style: normal;
    opacity: 0.45;
    color: var(--gold);
}

.flor-lateral {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    max-width: 45%;
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
    object-fit: contain;
    object-position: right bottom;
}

/* ══════════ CEREMONIA & RECEPCION (1 SECCION) ══════════ */
.eventos-section {
    position: relative;
    background: var(--sand);
    overflow: hidden;
    padding: clamp(80px, 12vw, 160px) 8% clamp(80px, 12vw, 160px);
}

.eventos-header {
    text-align: center;
    margin-bottom: clamp(50px, 8vw, 100px);
}

.eventos-header h2 {
    font-family: var(--font-gothic);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: none;
}

.eventos-header .deco-line {
    width: 60px;
    height: 1px;
    background: var(--ink);
    opacity: 0.25;
    margin: 20px auto 0;
}

.eventos-cols {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(40px, 8vw, 120px);
    position: relative;
    z-index: 5;
    width: 100%;
    margin: 0 auto;
}

.evento-col {
    text-align: center;
    flex: 0 1 380px;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.evento-lottie-icon {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    opacity: 0.85;
    display: flex;
    justify-content: center;
    align-items: center;
}

.evento-lottie-icon>div,
.evento-lottie-icon svg {
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto !important;
    display: block !important;
}

.evento-name {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.6;
}

.evento-time {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.evento-lugar {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.7;
    opacity: 0.7;
    font-weight: 300;
    margin-bottom: 20px;
}

.btn-ubicacion {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(86, 30, 39, 0.25);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-ubicacion:hover {
    background: var(--ink);
    color: var(--white);
}

.iglesia-sketch {
    position: absolute;
    right: -3%;
    top: 50%;
    transform: translateY(-50%);
    height: 90%;
    width: auto;
    max-width: 45%;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

/* ── Conteo de Regalos en Sección Eventos ── */
.conteo-regalos-texto {
    position: relative;
    z-index: 5;
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
    padding: 0 15px;
}

.conteo-p {
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: var(--ink);
    line-height: 1.85;
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 14px;
}

.conteo-p strong {
    font-weight: 500;
    color: var(--ink);
}

.conteo-agradecimiento {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    line-height: 1.6;
    color: var(--ink);
    opacity: 0.85;
}

/* ── Código de Vestimenta (Dress Code) ── */
.dresscode-block {
    position: relative;
    z-index: 5;
    max-width: 580px;
    margin: 0 auto clamp(60px, 9vw, 100px);
    text-align: center;
    padding: 0 15px;
}

.dresscode-img-wrapper {
    max-width: 165px;
    margin: 0 auto 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dresscode-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.dresscode-p {
    font-family: var(--font-sans);
    font-size: clamp(0.88rem, 2vw, 1rem);
    color: #ddd0ca;
    line-height: 1.85;
    font-weight: 300;
    opacity: 0.9;
}

.dresscode-p strong {
    color: #ffffff;
    font-weight: 600;
}

.amenizado-section .unified-card .section-heading {
    color: #ddd0ca;
}

.amenizado-section .unified-card .section-heading-line {
    background: #ddd0ca;
    opacity: 0.3;
}

.amenizado-section .dresscode-etiqueta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.8vw, 1.4rem);
    font-weight: 600;
    letter-spacing: 4px;
    color: #ddd0ca;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* ══════════ CONTADOR ══════════ */
.contador-section {
    position: relative;
    background: var(--ink);
    color: var(--white);
    padding: clamp(100px, 15vw, 200px) 8%;
    text-align: center;
}

.contador-label-top {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2vw, 1.4rem);
    letter-spacing: 12px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 50px;
}

.contador-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 3vw, 35px);
    flex-wrap: nowrap;
}

.cnt-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.cnt-num {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 7vw, 5rem);
    font-weight: 300;
    line-height: 1;
}

.cnt-unit {
    font-family: var(--font-sans);
    font-size: clamp(0.45rem, 1.2vw, 0.65rem);
    letter-spacing: clamp(1px, 0.5vw, 4px);
    text-transform: uppercase;
    opacity: 0.4;
    margin-top: 8px;
}

.cnt-sep {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 5vw, 3.5rem);
    opacity: 0.25;
    margin-top: -20px;
}

/* ══════════ PADRES ══════════ */
.padres-section {
    position: relative;
    background: var(--sand);
    padding: clamp(80px, 12vw, 160px) 8%;
    text-align: center;
}

.section-heading {
    font-family: var(--font-gothic);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: none;
    margin-bottom: 15px;
}

.section-heading-line {
    width: 60px;
    height: 1px;
    background: currentColor;
    opacity: 0.2;
    margin: 0 auto 60px;
}

.personas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(40px, 6vw, 80px);
}

.persona-card {
    flex: 0 1 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.persona-lottie {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.persona-role {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 12px;
}

.persona-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.35;
    width: 100%;
    text-align: center;
}

.persona-name span {
    display: block;
    white-space: nowrap;
    width: 100%;
    margin: 2px 0;
}

/* ── Ajustes Tarjeta Padres (#2f3b2f / #ddd0ca) ── */
.padres-section .unified-card {
    min-height: 590px;
}

.padres-section .unified-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(30px, 4vw, 48px) clamp(20px, 3vw, 40px);
    width: 100%;
    box-sizing: border-box;
}

.padres-section .unified-card .section-heading {
    color: #ddd0ca;
    text-align: center;
    width: 100%;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 6px;
}

.padres-section .unified-card .section-heading-line {
    background: #ddd0ca;
    opacity: 0.3;
    width: 50px;
    height: 1px;
    margin: 0 auto 20px;
}

.padres-section .personas-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 12px;
}

.padres-section .persona-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: transparent;
    box-shadow: none;
}

.padres-section .persona-role {
    color: #ddd0ca;
    opacity: 0.75;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    margin-bottom: 6px;
}

.padres-section .persona-name {
    color: #ddd0ca;
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.45;
    text-align: center;
    width: 100%;
}

.padres-section .persona-name span {
    display: block;
    margin: 2px 0;
}

/* ── Divisor sutil entre Padres ── */
.padres-divider-line {
    width: 45px;
    height: 1px;
    background: #ddd0ca;
    opacity: 0.35;
    margin: 12px auto;
}

/* ── Separador Floral Padres (flor4.webp) ── */
.flor-padres-separator {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 10px auto;
    pointer-events: none;
}

.flor-padres-img {
    width: clamp(190px, 28vw, 290px);
    max-width: 300px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
    opacity: 0.98;
    transition: transform 0.4s ease;
}


/* ── Fotos de Padres ── */
.persona-photo-wrapper {
    position: relative;
    margin-top: 18px;
    width: 100%;
    max-width: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(86, 30, 39, 0.12);
    border: 2px solid rgba(86, 30, 39, 0.25);
    background: var(--white);
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.persona-photo-wrapper:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 32px rgba(86, 30, 39, 0.18);
    border-color: var(--gold);
}

.persona-photo-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.persona-photo-wrapper:hover .persona-photo-img {
    transform: scale(1.04);
}

.photo-zoom-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(86, 30, 39, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.persona-photo-wrapper:hover .photo-zoom-badge {
    opacity: 1;
    background: var(--gold);
    color: var(--ink);
    transform: scale(1.1);
}

.photo-zoom-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ══════════ LIGHTBOX MODAL PARA FOTOS ══════════ */
.image-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.image-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxZoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

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

.lightbox-img-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 82vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: min(92vw, 850px);
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid rgba(222, 209, 203, 0.45);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.2);
}

.lightbox-caption {
    margin-top: 14px;
    color: var(--sand);
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 28px;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--gold);
    color: var(--ink);
    transform: rotate(90deg) scale(1.1);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    font-size: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-prev {
    left: -65px;
}

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

.lightbox-nav-btn:hover {
    background: var(--gold);
    color: var(--ink);
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Mobile responsive for padres and corte de honor to avoid vertical stacking */
@media (max-width: 768px) {
    .personas-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 10px;
    }

    .persona-card {
        flex: auto;
        width: 100%;
    }

    .persona-photo-wrapper {
        max-width: 150px;
        margin-top: 12px;
        border-radius: 8px;
    }

    .lightbox-close {
        top: -40px;
        right: -5px;
    }

    .persona-lottie {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }

    .persona-role {
        font-size: 0.6rem;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .persona-name {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .persona-name span {
        display: block;
        white-space: nowrap;
        width: 100%;
    }

    /* Center the 3rd item in Corte de Honor if it wraps */
    #padrinos .persona-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* ══════════ CORTE ══════════ */
.corte-section {
    position: relative;
    background: var(--ink);
    color: var(--white);
    padding: clamp(80px, 12vw, 160px) 8%;
    text-align: center;
}

/* ══════════ CRONOGRAMA ══════════ */
.cronograma-section {
    position: relative;
    background: var(--sand);
    padding: clamp(80px, 12vw, 160px) 8%;
}

.timeline-elegant {
    max-width: 550px;
    margin: 60px auto 0;
    position: relative;
    padding-left: 40px;
}

.timeline-elegant::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(86, 30, 39, 0.15);
}

.tl-item {
    position: relative;
    margin-bottom: 45px;
    padding-left: 30px;
}

.tl-dot {
    position: absolute;
    left: -55px;
    top: -10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 1px solid rgba(86, 30, 39, 0.1);
}

.tl-lottie {
    width: 64px;
    height: 64px;
}

.tl-time {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 3px;
    opacity: 0.5;
    margin-bottom: 6px;
    display: block;
}

.tl-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.tl-desc {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    line-height: 1.6;
    opacity: 0.7;
    font-weight: 300;
    margin-top: 4px;
}

/* ── Cronograma de Grupos ── */
.cronograma-grupos-block {
    position: relative;
    z-index: 5;
    max-width: 520px;
    margin: clamp(50px, 8vw, 90px) auto 0;
    text-align: center;
    padding: 0 15px;
}

.grupos-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grupo-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 12px 24px;
    background: rgba(86, 30, 39, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(86, 30, 39, 0.08);
    transition: all 0.3s ease;
}

.grupo-item:hover {
    background: rgba(86, 30, 39, 0.08);
    transform: translateX(4px);
}

.grupo-time {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: 2px;
    color: var(--ink);
    opacity: 0.65;
    min-width: 85px;
    text-align: left;
    font-weight: 400;
}

.grupo-name {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 1px;
    text-align: left;
}

/* ══════════ CARRUSEL 3D "NUESTRA HISTORIA" (EXACTO MODELO 1) ══════════ */
.history-showroom,
.galeria-section {
    padding: clamp(80px, 12vw, 130px) 20px;
    background: var(--ink);
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.history-showroom h2,
.galeria-section h2 {
    font-family: var(--font-gothic);
    font-size: clamp(1.5rem, 5vw, 2.4rem);
    color: var(--sand);
    text-transform: none;
    letter-spacing: 4px;
    margin: 0 0 5px;
    font-weight: 400;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.history-showroom h2::before,
.galeria-section h2::before {
    content: "";
    display: inline-block;
    width: 35px;
    height: 1px;
    background: var(--sand);
    opacity: 0.5;
    vertical-align: middle;
    margin-right: 18px;
}

.history-showroom h2::after,
.galeria-section h2::after {
    content: "";
    display: inline-block;
    width: 35px;
    height: 1px;
    background: var(--sand);
    opacity: 0.5;
    vertical-align: middle;
    margin-left: 18px;
}

.carousel-wrapper {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    perspective: 1500px;
    touch-action: pan-y;
    z-index: 2;
    cursor: pointer;
    user-select: none;
}

.carousel-item {
    position: absolute;
    width: 280px;
    height: 420px;
    border-radius: 140px 140px 6px 6px;
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.8s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    background: #1a1a1a;
    border: 1px solid rgba(222, 209, 203, 0.25);
    will-change: transform, opacity;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    filter: none !important;
    /* A todo color */
    display: block;
}

.swipe-hint {
    font-family: var(--font-sans);
    font-size: 0.55rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 30px;
    color: var(--sand);
    opacity: 0.7;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .carousel-wrapper {
        height: 380px;
        margin-top: 25px;
    }

    .carousel-item {
        width: 190px;
        height: 290px;
        border-radius: 95px 95px 6px 6px;
    }

    .history-showroom h2,
    .galeria-section h2 {
        letter-spacing: 8px;
    }

    .history-showroom h2::before,
    .history-showroom h2::after,
    .galeria-section h2::before,
    .galeria-section h2::after {
        width: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* ══════════ AMENIZADO (VIDEO) ══════════ */
.amenizado-section {
    position: relative;
    background: var(--sand);
    padding: clamp(80px, 12vw, 160px) 8%;
    text-align: center;
}

.amenizado-subtext {
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--ink);
    opacity: 0.75;
    max-width: 540px;
    margin: -35px auto 30px;
}

.amenizado-video-wrapper {
    max-width: 720px;
    width: 100%;
    margin: 30px auto 0;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(86, 30, 39, 0.12);
    border: 2px solid rgba(86, 30, 39, 0.35);
    background: #000000;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-facade-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.video-facade-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    filter: brightness(0.85);
}

.video-facade-cover:hover .video-facade-img {
    transform: scale(1.04);
    filter: brightness(0.75);
}

.video-facade-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(86, 30, 39, 0.3) 0%, rgba(86, 30, 39, 0.75) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.video-play-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
    border: 2px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
}

.video-facade-cover:hover .video-play-btn {
    transform: scale(1.12);
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.video-play-hint {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0.9;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.amenizado-iframe,
.amenizado-video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    border-radius: 14px;
}

@media (max-width: 768px) {
    .amenizado-video-wrapper {
        max-width: 380px;
        margin-top: 20px;
        border-radius: 14px;
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .video-play-btn {
        width: 58px;
        height: 58px;
    }
}

/* ══════════ MESA DE REGALOS (COLOR CLARO PERLA) ══════════ */
.mesa-regalos-section {
    position: relative;
    background: var(--sand);
    color: var(--ink);
    padding: clamp(70px, 10vw, 130px) clamp(20px, 6vw, 70px);
    overflow: hidden;
}

.mesa-regalos-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
    gap: clamp(20px, 5vw, 60px);
    position: relative;
    z-index: 5;
}

.mesa-regalos-flor-wrapper {
    flex: 0 0 clamp(140px, 30vw, 320px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.flor-mesa-regalos {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 12px 25px rgba(86, 30, 39, 0.09));
    transition: transform 0.5s ease;
}

.mesa-regalos-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.mesa-regalos-content .section-heading {
    margin-bottom: 8px;
    color: var(--ink);
}

.mesa-regalos-content .section-heading-line {
    margin: 0 auto 20px;
    background: var(--ink);
    opacity: 0.3;
}

.mesa-regalos-lottie-box {
    width: 75px;
    height: 75px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mesa-regalos-lottie-box lottie-player {
    width: 100% !important;
    height: 100% !important;
}

.mesa-regalos-text {
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 1.8vw, 0.98rem);
    line-height: 1.8;
    color: var(--ink);
    font-weight: 300;
    opacity: 0.88;
    margin-bottom: 24px;
    max-width: 480px;
}

.btn-mesa-regalos {
    display: inline-block;
    padding: 13px 34px;
    background: var(--ink);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1.5px solid var(--ink);
    transition: all 0.4s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-mesa-regalos:hover {
    background: transparent;
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(86, 30, 39, 0.18);
}

/* ── Móvil: mantiene la flor a la izquierda y el texto a la derecha ── */
@media (max-width: 768px) {
    .mesa-regalos-section {
        padding: 50px 12px;
    }

    .mesa-regalos-container {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        width: 100%;
    }

    .mesa-regalos-flor-wrapper {
        flex: 0 0 42%;
        max-width: 210px;
    }

    .flor-mesa-regalos {
        width: 100%;
        max-width: 210px;
        transform: scale(1.05);
    }

    .mesa-regalos-content {
        flex: 1;
        min-width: 0;
        text-align: center;
    }

    .mesa-regalos-content .section-heading {
        font-size: clamp(1.35rem, 4.8vw, 1.7rem);
        margin-bottom: 3px;
    }

    .mesa-regalos-content .section-heading-line {
        margin-bottom: 10px;
        width: 32px;
    }

    .mesa-regalos-lottie-box {
        width: 54px;
        height: 54px;
        margin-bottom: 8px;
    }

    .mesa-regalos-text {
        font-size: 0.74rem;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .btn-mesa-regalos {
        padding: 9px 16px;
        font-size: 0.62rem;
        letter-spacing: 1.5px;
        white-space: nowrap;
    }
}

/* ══════════ LLUVIA DE SOBRES (COLOR GUINDO / BORGOÑA) ══════════ */
.lluvia-sobres-section {
    position: relative;
    background: var(--ink);
    color: var(--white);
    padding: clamp(80px, 12vw, 150px) 8%;
    text-align: center;
}

.lluvia-sobres-card {
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5;
}

.lluvia-sobres-icon-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(222, 209, 203, 0.1);
    border: 1px solid rgba(222, 209, 203, 0.3);
    color: var(--sand);
}

.lluvia-sobres-icon-box svg {
    width: 42px;
    height: 42px;
    fill: currentColor;
}

.lluvia-sobres-text {
    font-family: var(--font-sans);
    font-size: clamp(0.8rem, 1.8vw, 0.92rem);
    line-height: 1.55;
    color: #ddd0ca;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 20px;
}

.lluvia-qr-box {
    width: 190px;
    height: 190px;
    margin: 0 auto 30px;
    padding: 12px;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid rgba(222, 209, 203, 0.45);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lluvia-qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.btn-lluvia-qr {
    display: inline-block;
    padding: 14px 38px;
    border: 1px solid rgba(222, 209, 203, 0.6);
    color: var(--sand);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-lluvia-qr:hover {
    background: var(--sand);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* ── Datos Bancarios Exterior ── */
.bank-details-exterior {
    width: 100%;
    margin-top: 10px;
}

.bank-details-divider {
    width: 60px;
    height: 1px;
    background: #ddd0ca;
    opacity: 0.3;
    margin: 0 auto 20px;
}

.bank-details-title {
    font-family: var(--font-sans);
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    color: #ddd0ca;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.85;
}

.bank-details-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(221, 208, 202, 0.15);
    border-radius: 12px;
    padding: 20px 24px;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.bank-detail-row {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px solid rgba(221, 208, 202, 0.08);
}

.bank-detail-row:last-child {
    border-bottom: none;
}

.bank-label {
    font-family: var(--font-sans);
    font-size: clamp(0.65rem, 1.4vw, 0.75rem);
    color: #ddd0ca;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.bank-value {
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    color: #ddd0ca;
    font-weight: 500;
    letter-spacing: 0.02em;
    word-break: break-all;
}

.bank-value-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.btn-copy {
    position: relative;
    background: rgba(221, 208, 202, 0.1);
    border: 1px solid rgba(221, 208, 202, 0.15);
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    color: #ddd0ca;
    opacity: 0.5;
    transition: opacity 0.25s ease, background 0.25s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-copy:hover {
    opacity: 1;
    background: rgba(221, 208, 202, 0.2);
}

.btn-copy:active {
    transform: scale(0.9);
}

.copy-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #ddd0ca;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.copy-tooltip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ══════════ SUBIR FOTO (TARJETA VERDE #2f3b2f) ══════════ */
.subir-section {
    position: relative;
    background: var(--sand);
    color: var(--ink);
    padding: clamp(70px, 10vw, 130px) 8%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Líneas decorativas triples */
.subir-deco-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.subir-deco-top span {
    display: block;
    background: #2f3b2f;
    opacity: 0.25;
}

.subir-deco-top span:nth-child(1),
.subir-deco-top span:nth-child(3) {
    width: 35px;
    height: 1px;
}

.subir-deco-top span:nth-child(2) {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0.4;
}

/* Tarjeta elevada central */
.subir-card {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 60px) clamp(30px, 5vw, 50px);
    background-color: #2f3b2f;
    background-image: url('assets/img/textura_papel.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border: 1px solid rgba(221, 208, 202, 0.22);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 5;
    color: #ddd0ca;
}

/* Contenedor de ícono Lottie sin círculo */
.subir-badge {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #ddd0ca;
    transition: transform 0.4s ease;
}

.subir-badge lottie-player {
    width: 100% !important;
    height: 100% !important;
}

.subir-card:hover .subir-badge {
    transform: scale(1.08);
}

.subir-card .section-heading {
    color: #ddd0ca;
}

.subir-card .section-heading-line {
    background: #ddd0ca;
    opacity: 0.3;
}

/* Frase */
.subir-phrase {
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.8;
    font-weight: 300;
    opacity: 0.9;
    color: #ddd0ca;
    margin-bottom: 30px;
    max-width: 400px;
}

/* Botón con ícono */
.btn-subir {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: #ddd0ca;
    color: #2f3b2f;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1.5px solid #ddd0ca;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-subir:hover {
    background: transparent;
    color: #ddd0ca;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ══════════ RSVP ══════════ */
.rsvp-section {
    position: relative;
    background: var(--sand);
    padding: clamp(80px, 12vw, 160px) 8% clamp(60px, 8vw, 100px);
    overflow: hidden;
}

.rsvp-section .unified-card .section-heading {
    color: #ddd0ca;
}

.rsvp-section .unified-card .section-heading-line {
    background: #ddd0ca;
    opacity: 0.3;
}

.rsvp-subtitle {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.85;
    color: #ddd0ca;
    margin-bottom: 30px;
}

.form-elegant {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.f-group {
    position: relative;
    padding-top: 8px;
}

.f-group label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.75;
    color: #ddd0ca;
    display: block;
    margin-bottom: 8px;
}

.f-group input,
.f-group select,
.f-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(221, 208, 202, 0.3);
    padding: 10px 0;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #ddd0ca;
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.f-group input::placeholder,
.f-group textarea::placeholder {
    color: rgba(221, 208, 202, 0.45);
    font-style: italic;
}

.f-group select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ddd0ca%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 12px auto;
    padding-right: 30px;
}

.f-group select option {
    background: var(--ink);
    color: #ddd0ca;
}

.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
    border-bottom-color: #ddd0ca;
}

.btn-submit {
    display: inline-block;
    background: #ddd0ca;
    color: var(--ink);
    border: 1.5px solid #ddd0ca;
    padding: 16px 0;
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-submit:hover {
    background: transparent;
    color: #ddd0ca;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.flor-rsvp {
    position: absolute;
    bottom: -5%;
    right: -5%;
    width: 55%;
    max-width: 550px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}

/* ══════════ FOOTER ══════════ */
.footer-section {
    background: var(--ink);
    color: var(--white);
    padding: 80px 8%;
    text-align: center;
}

.footer-small {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 20px;
}

.footer-names {
    font-family: var(--font-gothic);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-style: normal;
    font-weight: 400;
}

/* ══════════ SCROLL REVEAL ══════════ */
.reveal-left,
.reveal-right,
.reveal-bottom,
.reveal-scale,
.scroll-reveal {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-bottom {
    transform: translateY(50px);
}

.reveal-scale {
    transform: scale(0.8);
}

.scroll-reveal {
    transform: translateY(40px);
}

.is-visible.reveal-left,
.is-visible.reveal-right,
.is-visible.reveal-bottom,
.is-visible.scroll-reveal {
    opacity: 1;
    transform: translate(0);
}

.is-visible.reveal-scale {
    opacity: 1;
    transform: scale(1);
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 768px) {
    .iglesia-eventos-right {
        width: 55%;
        opacity: 0.3;
        /* Ligeramente más transparente para compensar el tamaño */
    }

    .flor-contador {
        width: 40%;
        opacity: 0.4;
    }

    .recepcion-cronograma-right {
        width: 55%;
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 25px 6%;
    }

    .flor-portada {
        width: 75%;
        right: -12%;
        top: -3%;
    }

    .historia-section {
        padding: clamp(60px, 10vw, 120px) 6%;
    }

    .flor-lateral {
        max-width: 70%;
        opacity: 0.5;
    }

    .eventos-cols {
        flex-direction: column;
        gap: 35px;
        align-items: center;
        width: 100%;
        margin: 0 auto;
    }

    .evento-col {
        flex: 1 1 auto;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        padding: 0 10px;
    }

    .iglesia-sketch {
        height: 60%;
        opacity: 0.08;
        right: -5%;
    }

    .flor-rsvp {
        width: 75%;
        right: -10%;
        opacity: 0.4;
    }
}


@media (max-width: 480px) {
    .flor-portada {
        width: 90%;
        right: -15%;
    }

    .iglesia-sketch {
        display: none;
    }
}


/* ══════════ SINGLE SVG SECTIONS ══════════ */
.single-svg-section {
    position: relative;
    background: transparent !important;
    z-index: 1;
}

.single-svg-section .bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.single-svg-section>*:not(.bg-shape) {
    position: relative;
    z-index: 1;
}



/* ══════════ HERO & PHOTO ══════════ */
.hero-section {
    position: relative;
    min-height: 90vh;
    padding: 0 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 5;
    margin-top: -10vh;
}

.hero-names {
    font-family: var(--font-gothic);
    font-weight: 400;
    color: var(--ink);
    font-size: clamp(3.2rem, 10vw, 7rem);
    line-height: 1.15;
}

.hero-names .ampersand {
    font-family: var(--font-gothic);
    font-style: normal;
    font-size: clamp(3.5rem, 9vw, 6rem);
    display: inline-block;
    margin: 10px 0 10px 40px;
    opacity: 0.7;
}

.hero-date {
    font-family: var(--font-sans);
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    letter-spacing: 10px;
    margin-top: 35px;
    font-weight: 400;
}

.flor-portada {
    position: absolute;
    top: 5%;
    right: 0;
    width: 50%;
    max-width: 550px;
    z-index: 2;
    pointer-events: none;
}

/* .photo-fullwidth → regla principal consolidada arriba (línea ~112) */

@media (max-width: 768px) {
    .flor-portada {
        width: 80%;
        top: 2%;
        right: -10%;
    }
}

/* ══════════ PAPER LAYER TRANSITIONS ══════════ */
.paper-layer {
    position: relative;
    z-index: var(--z);
    background-color: var(--bg-color) !important;
    overflow: visible !important;
    will-change: transform;
    transform: translateZ(0);
}

.paper-layer .wave-bottom,
.paper-layer .wave-top {
    display: none !important;
}

/* .photo-layer ya no es necesario; los márgenes negativos están en .photo-fullwidth */

/* Fix body so no horizontal scroll from waves */
body {
    overflow-x: hidden;
}


.iglesia-cronograma-left {
    position: absolute;
    bottom: 5%;
    left: -5%;
    width: 35%;
    max-width: 400px;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    /* Removed opacity */
}

.flor-cronograma-right {
    position: absolute;
    top: 5%;
    right: -5%;
    width: 30%;
    max-width: 350px;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 768px) {
    .iglesia-cronograma-left {
        width: 60%;
        bottom: 2%;
        left: -10%;
    }

    .flor-cronograma-right {
        width: 50%;
        top: 2%;
        right: -10%;
    }
}


/* ══════════ POSITIONING TWEAKS ══════════ */
.iglesia-eventos-right {
    position: absolute;
    top: 0;
    transform: translateY(0);
    left: 0;
    width: 25%;
    max-width: 350px;
    height: 90%;
    /* Toma hasta el 90% del alto de la sección */
    max-height: 600px;
    object-fit: contain;
    /* Nunca se recorta */
    object-position: left center;
    /* Pegada a la izquierda */
    z-index: 2;
    pointer-events: none;
}

.flor-contador {
    position: absolute;
    top: 60%;
    transform: translateY(-90%);
    right: 0;
    width: 50%;
    max-width: 600px;
    height: 90%;
    object-fit: contain;
    object-position: right center;
    /* Pegada a la derecha */
    z-index: 2;
    pointer-events: none;
}

.recepcion-cronograma-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 25%;
    max-width: 350px;
    height: 90%;
    object-fit: contain;
    object-position: right center;
    /* Pegada a la derecha */
    z-index: 2;
    pointer-events: none;
}

.grupo-cronograma-left {
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    left: 0;
    width: 26%;
    max-width: 380px;
    height: 85%;
    object-fit: contain;
    object-position: left center;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 768px) {
    .iglesia-eventos-right {
        width: 45%;
        opacity: 0.4;
    }

    .flor-contador {
        width: 65%;
        opacity: 0.5;
    }

    .recepcion-cronograma-right {
        width: 45%;
        opacity: 0.4;
    }

    .grupo-cronograma-left {
        width: 45%;
        opacity: 0.3;
        top: 75%;
        left: 0;
    }
}


/* ══════════ FLOWER ANIMATIONS (GENTLE BREEZE) ══════════ */
@keyframes swayPortada {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(2deg);
    }
}

@keyframes swayContador {

    0%,
    100% {
        transform: translateY(-50%) rotate(0deg);
    }

    50% {
        transform: translateY(-50%) rotate(3deg);
    }
}

@keyframes swayRsvp {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-2.5deg);
    }
}

.flor-portada {
    transform-origin: bottom center;
    animation: swayPortada 6s ease-in-out infinite;
    will-change: transform;
}

.flor-contador {
    transform-origin: bottom center;
    animation: swayContador 7.5s ease-in-out infinite;
    will-change: transform;
}

.flor-rsvp {
    transform-origin: bottom center;
    animation: swayRsvp 8s ease-in-out infinite;
    will-change: transform;
}

/* ══════════════════════════════════════════════════════════════════
   DISEÑO RESPONSIVO MÓVIL (PANTALLAS <= 820px)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 820px) {

    /* ══════════ 1. SECCIONES EN 2 COLUMNAS (HISTORIA & DRESS CODE) ══════════ */
    .historia-section,
    .amenizado-section {
        padding: clamp(40px, 8vw, 70px) 10px !important;
        overflow: hidden !important;
    }

    .historia-section .unified-card,
    .amenizado-section .unified-card {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        align-items: stretch !important;
        overflow: hidden !important;
    }

    .historia-section .card-cover-photo,
    .amenizado-section .card-cover-photo {
        flex: 0 0 35% !important;
        width: 35% !important;
        min-width: 35% !important;
        max-width: 35% !important;
        height: auto !important;
        max-height: none !important;
        min-height: 100% !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .historia-section .card-cover-photo img,
    .amenizado-section .card-cover-photo img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 20% !important;
    }

    .historia-section .card-body,
    .amenizado-section .card-body {
        flex: 0 0 65% !important;
        width: 65% !important;
        max-width: 65% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    /* Nuestra Historia */
    .historia-section .card-body {
        padding: clamp(14px, 3vw, 22px) clamp(10px, 2.5vw, 16px) !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .historia-section .historia-title {
        font-size: clamp(1.15rem, 4.2vw, 1.5rem) !important;
        margin-bottom: 8px !important;
        line-height: 1.15 !important;
    }

    .historia-section .historia-text {
        font-size: clamp(0.68rem, 2.1vw, 0.8rem) !important;
        line-height: 1.45 !important;
    }

    .historia-section .versiculo-biblico {
        border-left: 2px solid rgba(222, 209, 203, 0.35) !important;
        border-top: none !important;
        border-bottom: none !important;
        padding: 4px 0 4px 8px !important;
        margin-top: 8px !important;
    }

    .historia-section .versiculo-text {
        font-size: clamp(0.64rem, 2vw, 0.76rem) !important;
        line-height: 1.35 !important;
    }

    /* Dress Code */
    .amenizado-section .card-body {
        padding: clamp(14px, 3.5vw, 22px) 8px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .amenizado-section .section-heading {
        font-size: clamp(0.98rem, 3.8vw, 1.3rem) !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 2px !important;
        width: 100% !important;
    }

    .amenizado-section .section-heading-line {
        width: 35px !important;
        margin: 0 auto 6px !important;
    }

    .amenizado-section .dresscode-etiqueta-title {
        font-size: clamp(0.78rem, 2.3vw, 0.95rem) !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 6px !important;
        width: 100% !important;
    }

    .amenizado-section .dresscode-img-wrapper {
        margin-bottom: 6px !important;
        width: 100% !important;
    }

    .amenizado-section .dresscode-img {
        max-height: 50px !important;
        width: auto !important;
    }

    .amenizado-section .dresscode-p {
        font-size: clamp(0.64rem, 2vw, 0.78rem) !important;
        line-height: 1.38 !important;
        width: 100% !important;
    }


    /* ══════════ 2. NUESTROS PADRES (VERTICAL / FOTO ARRIBA) ══════════ */
    .padres-section {
        padding: clamp(40px, 8vw, 70px) 12px !important;
    }

    .padres-section .unified-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }

    .padres-section .card-cover-photo {
        width: 100% !important;
        height: clamp(200px, 30vh, 260px) !important;
        max-height: 270px !important;
        min-height: auto !important;
        flex: none !important;
        position: relative !important;
    }

    .padres-section .card-cover-photo picture,
    .padres-section .card-cover-photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 20% !important;
    }

    .padres-section .card-body {
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px 16px !important;
        text-align: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .padres-section .section-heading {
        font-size: clamp(1.3rem, 4.5vw, 1.7rem) !important;
        margin-bottom: 4px !important;
    }

    .padres-section .section-heading-line {
        width: 40px !important;
        margin: 0 auto 14px !important;
    }

    .padres-section .personas-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .padres-section .persona-role {
        font-size: 0.65rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 3px !important;
    }

    .padres-section .persona-name {
        font-size: clamp(0.92rem, 2.8vw, 1.15rem) !important;
        line-height: 1.4 !important;
    }

    .padres-section .padres-divider-line {
        width: 35px !important;
        margin: 8px auto !important;
    }

    .padres-section .flor-padres-separator {
        margin: 8px auto 0 !important;
    }

    .padres-section .flor-padres-img {
        width: clamp(220px, 80vw, 320px) !important;
        max-width: 320px !important;
    }


    /* ══════════ 3. RSVP (ANCHO COMPLETO & COMPACTO) ══════════ */
    .rsvp-section {
        padding: clamp(30px, 6vw, 55px) 10px !important;
    }

    .rsvp-section .unified-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }

    .rsvp-section .card-cover-photo {
        width: 100% !important;
        height: clamp(150px, 22vh, 190px) !important;
        max-height: 190px !important;
        min-height: auto !important;
        flex: none !important;
        position: relative !important;
    }

    .rsvp-section .card-cover-photo picture,
    .rsvp-section .card-cover-photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 20% !important;
    }

    .rsvp-section .card-body {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 16px !important;
        text-align: left !important;
        align-items: stretch !important;
        box-sizing: border-box !important;
    }

    .rsvp-section .section-heading {
        font-size: clamp(1.35rem, 4.5vw, 1.75rem) !important;
        margin-bottom: 2px !important;
        text-align: left !important;
    }

    .rsvp-section .section-heading-line {
        width: 35px !important;
        margin: 0 auto 8px 0 !important;
    }

    .rsvp-subtitle {
        font-size: 0.78rem !important;
        margin-bottom: 14px !important;
    }

    .form-elegant {
        gap: 12px !important;
    }

    .f-group {
        padding-top: 0 !important;
    }

    .f-group label {
        font-size: 0.58rem !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 2px !important;
    }

    .f-group input,
    .f-group select,
    .f-group textarea {
        padding: 6px 0 !important;
        font-size: 0.95rem !important;
    }

    .f-group textarea {
        min-height: 48px !important;
    }

    .btn-submit {
        padding: 12px 0 !important;
        font-size: 0.75rem !important;
        letter-spacing: 3px !important;
        margin-top: 6px !important;
    }
}