/* BODA NEFTA Y CECI - ESTILOS PREMIUM */
:root { --dorado: #b8934e; --marfil: #faf5e9; }
#bienvenida, .escena {
  width: 100%; min-height: 100vh; min-height: 100dvh;
  height: auto; box-sizing: border-box;
  padding: 24dvh 12% 16dvh;
  background: url('../assets/decoraciones/marco-floral.png') center / 100% 100% no-repeat, radial-gradient(ellipse, #fffdf7, #faf5e9, #e8d7b5);
  display: flex; align-items: center; justify-content: center;
}
[hidden] { display: none !important; }
.portada-sobre, .contenido-escena { width: 100%; max-width: 650px; margin: 0 auto; position: relative; z-index: 5; text-align: center; overflow-wrap: break-word; }
.portada-sobre { max-width: 550px; }
.portada-sobre .texto-superior { font-size: clamp(12px, 2.1dvh, 19px); letter-spacing: 2px; margin: 0 0 5px; line-height: 1.2; }
.portada-sobre h1 { font-size: clamp(18px, 3dvh, 30px); margin: 5px 0; line-height: 1.2; }
.portada-sobre h2 { font-size: clamp(34px, min(9dvh, 11vw), 82px); margin: 5px 0 12px; line-height: 1.15; }
#bienvenida .portada-sobre .sobre { width: min(100%, 360px, 35dvh); max-width: 360px; height: auto; aspect-ratio: 3 / 2; margin: 10px auto; background: linear-gradient(145deg,#fff8e9,#decca5); border: 1px solid #c7aa73; box-shadow: 0 18px 35px #493b2b40; }
.sobre::before { background: linear-gradient(145deg,#f9efd9,#e5d2ad); }
.solapa { background: linear-gradient(160deg,#fff9ed,#e4d0a9); }
.carta { background: linear-gradient(135deg,#fffef9,#f8f0df); box-shadow: inset 0 0 0 5px #fff9ed,inset 0 0 0 6px #b8934e; }
#bienvenida .sello { width: clamp(44px,8dvh,78px); height: clamp(44px,8dvh,78px); font-size: clamp(18px,3dvh,27px); background: radial-gradient(circle at 32% 25%,#fff0b5,#dfbe70 25%,#b8934e 55%,#977031 80%,#70501e); border: 3px solid #c5a059; color:#fff0c7; text-shadow:1px 2px 2px #70501e; transition: opacity .4s, scale .4s; }
.portada-sobre .instruccion { font-size: clamp(13px,2.2dvh,18px); margin: 12px 0 0; line-height: 1.3; color:#80602e; animation: brilloInstruccion 3s ease-in-out infinite; }
@keyframes brilloInstruccion { 0%,100% { opacity:1; } 50% { opacity:.65; } }
#invitacion { min-height:100dvh; height:auto; overflow:visible; }
.escena { padding-bottom: max(17dvh,85px); overflow:visible; }
.titulo-cinematico { font-size: clamp(30px,min(7dvh,9vw),75px); line-height:1.15; margin:5px 0 10px; text-shadow:0 2px 3px #b8934e40; }
.subtitulo-cinematico { font-size:clamp(15px,2.8dvh,25px); margin:6px 0; line-height:1.3; }
.texto-cinematico { font-size:clamp(17px,2.9dvh,27px); line-height:1.3; margin:7px auto; }
.versiculo { font-size:clamp(21px,3.8dvh,38px); line-height:1.35; margin:10px auto; }
.referencia-biblica { font-size:clamp(15px,2.3dvh,21px); margin:10px 0; }
.nombre-padre { font-size:clamp(15px,2.6dvh,25px); line-height:1.3; margin:8px 0; }
.numero-fecha { font-size:clamp(65px,15dvh,140px); line-height:1; }
.separador-dorado { margin:10px auto; }
.marco-fotografico, .marco-lugar { width:fit-content; max-width:100%; height:auto; margin:10px auto; padding:5px; border:2px solid #b8934e; border-radius:15px; background:#faf5e9; box-shadow:0 0 0 3px #faf5e9,0 0 0 4px #b8934e,0 12px 30px #493b2b33; overflow:hidden; }
.fotografia-cinematica, .foto-lugar { display:block; width:auto; height:auto; max-width:100%; max-height:27dvh; object-fit:contain; border-radius:10px; }
.marco-lugar { max-width:min(100%,480px); }
.foto-lugar { max-height:23dvh; }
.escena.activa .marco-lugar { animation: aparecerLugar 2s ease both; }
@keyframes aparecerLugar { from {opacity:0;transform:scale(.95);} to {opacity:1;transform:scale(1);} }
.controles-cinematicos { bottom:max(10px,env(safe-area-inset-bottom)); gap:7px; padding:6px 10px; max-width:95%; }
.boton-cinematico { width:36px;height:36px;font-size:16px; }
.particulas-doradas { position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:4; }
.particula-dorada { position:absolute;bottom:-20px;width:5px;height:5px;border-radius:50%;background:#dfbe70;box-shadow:0 0 8px #dfbe70,0 0 15px #b8934e;opacity:0;animation:flotarDorado 12s linear infinite; }
@keyframes flotarDorado { 0% {transform:translateY(0);opacity:0;} 20% {opacity:.65;} 80% {opacity:.45;} 100% {transform:translate(40px,-110vh);opacity:0;} }
@media(max-width:600px) { #bienvenida,.escena {padding-left:10%;padding-right:10%;} .portada-sobre .texto-superior {letter-spacing:1px;} .texto-cinematico {font-size:clamp(16px,2.5dvh,20px);} .nombre-padre {font-size:16px;} }
@media(prefers-reduced-motion:reduce) { .particulas-doradas {display:none;} .instruccion,.escena.activa .marco-lugar {animation:none;} }

/* ========================================
   OPTIMIZACION VISUAL RESPONSIVA 5.8
======================================== */

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.escena {
    min-height: 100dvh;
    padding: 18dvh 14% 100px;
    background-size: cover, cover;
    overflow: hidden;
}

.escena .contenido-escena {
    width: 100%;
    max-width: 780px;
}

.escena .monograma-premium {
    font-size: clamp(75px, 13vw, 230px);
    color: rgba(184, 147, 78, 0.065);
    max-width: 95%;
    text-align: center;
}

.escena .marco-fotografico {
    padding: 6px;
    border-radius: 18px;
    box-shadow:
        0 0 0 3px #faf5e9,
        0 0 0 4px #b8934e,
        0 15px 35px #80602e30;
}

.escena .fotografia-cinematica {
    max-height: 36dvh;
    max-width: 100%;
    object-fit: contain;
}

.escena .foto-lugar {
    max-height: 29dvh;
    max-width: 100%;
    object-fit: contain;
}

.escena .titulo-cinematico {
    font-size: clamp(34px, 6.5dvh, 78px);
}

.boton-cinematico {
    width: 44px;
    height: 44px;
}

/* TABLETAS */

@media (min-width: 601px) and (max-width: 1024px) {

    .escena {
        padding: 15dvh 10% 100px;
    }

}

/* CELULARES */

@media (max-width: 600px) {

    .escena {
        padding: 80px 8% 110px;
        background-size: 100% 100%, cover;
    }

    .escena .titulo-cinematico {
        font-size: clamp(34px, 9vw, 48px);
    }

    .escena .subtitulo-cinematico {
        font-size: 17px;
        letter-spacing: 2px;
    }

    .escena .texto-cinematico {
        font-size: clamp(17px, 4.5vw, 21px);
        line-height: 1.45;
    }

    .escena .versiculo {
        font-size: clamp(22px, 5.5vw, 29px);
        line-height: 1.4;
    }

    .escena .fotografia-cinematica {
        max-height: 36dvh;
    }

    .escena .foto-lugar {
        max-height: 27dvh;
    }

    .escena .monograma-premium {
        font-size: clamp(70px, 20vw, 140px);
    }

    .escena .cruz-premium {
        top: 25px;
    }

    .escena .ornamento-inferior {
        bottom: 74px;
    }

    .controles-cinematicos {
        gap: 5px;
        padding: 6px;
    }

}

@media (orientation: landscape) and (max-height: 500px) {

    .escena {
        padding: 40px 12% 90px;
    }

    .escena .fotografia-cinematica {
        max-height: 42dvh;
    }

}

/* FIN DE OPTIMIZACION RESPONSIVA */


/* ==========================================
   MARCO FLORAL RESPONSIVO PREMIUM
========================================== */

@media (orientation: portrait) {

    #bienvenida,
    .escena {

        background-image:
            url('../assets/decoraciones/marco-vertical.png'),
            radial-gradient(ellipse, #fffdf7, #faf5e9);

        background-size: cover, cover;
        background-position: center;
        background-repeat: no-repeat;

    }

}

/* AJUSTE DE LAS INICIALES DEL SELLO */

#bienvenida .sello {
    white-space: nowrap;
    font-size: clamp(14px, 2.8dvh, 24px);
    padding: 0;
}

/* FIN DEL MARCO FLORAL RESPONSIVO */


/* ==========================================
   MARCOS FLORALES DEFINITIVOS
   BODA NEFTA Y CECI
========================================== */

/* COMPUTADORAS Y PANTALLAS HORIZONTALES */

@media (orientation: landscape) {

    #bienvenida,
    .escena {

        background-image:
            url('../assets/decoraciones/marco-horizontal.png'),
            radial-gradient(ellipse, #fffdf7, #faf5e9);

        background-size: cover, cover;
        background-position: center;
        background-repeat: no-repeat;

    }

}

/* CELULARES Y PANTALLAS VERTICALES */

@media (orientation: portrait) {

    #bienvenida,
    .escena {

        background-image:
            url('../assets/decoraciones/marco-vertical.png'),
            radial-gradient(ellipse, #fffdf7, #faf5e9);

        background-size: cover, cover;
        background-position: center;
        background-repeat: no-repeat;

    }

}

/* FIN DE MARCOS FLORALES DEFINITIVOS */


/* ==========================================
   ESCENA FINAL PREMIUM
========================================== */

.escena:last-of-type .titulo-cinematico {
    font-size: clamp(48px, 7vw, 100px);
    color: #92703a;
    margin-bottom: 20px;
}

.escena:last-of-type .contenido-escena button {
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    color: #fffdf7;
    background: linear-gradient(
        135deg, #c9a45c, #987237
    );
    border: 1px solid #b8934e;
    border-radius: 50px;
    padding: 12px 28px;
    margin-top: 22px;
    cursor: pointer;
    box-shadow: 0 5px 18px #80602e35;
    transition: transform .3s, box-shadow .3s;
}

.escena:last-of-type .contenido-escena button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px #80602e50;
}

.escena:last-of-type .ornamento-inferior {
    display: none;
}

@media (max-width: 600px) {

    .escena:last-of-type .titulo-cinematico {
        font-size: clamp(38px, 11vw, 58px);
    }

    .escena:last-of-type .contenido-escena button {
        max-width: 100%;
        font-size: 16px;
        padding: 12px 20px;
    }

}

/* FIN DE ESCENA FINAL PREMIUM */


/* ==========================================
   BOTONES PREMIUM DE GOOGLE MAPS
========================================== */

.boton-ubicacion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    margin: 12px auto 0;
    padding: 11px 24px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    color: #fffdf7;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(
        135deg, #b48d47, #89652e
    );
    border: 1px solid #b8934e;
    border-radius: 50px;
    box-shadow: 0 5px 18px #80602e35;
    transition: transform .3s, box-shadow .3s;
}

.boton-ubicacion:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px #80602e50;
}

.boton-ubicacion:focus-visible {
    outline: 3px solid #92703a;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .boton-ubicacion {
        font-size: 16px;
        padding: 10px 18px;
        min-height: 44px;
    }
}

/* FIN DE BOTONES GOOGLE MAPS */

