/* ==========================================
   PORTADA PREMIUM - JULIO & MARICIELO
========================================== */

:root{
    --gold:#C8A96A;
    --gold2:#d8bf88;
    --blue:#112B4A;
    --blue2:#183B61;
    --white:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    height:100%;
}

body{
    font-family:'Montserrat',sans-serif;
    overflow:hidden;
    background:var(--blue);
}

/* ===============================
   FONDO
================================ */

.portada{
    width:100%;
    min-height:100vh;
    min-height:100dvh;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    overflow:hidden;
}

.portada::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(17,43,74,.62),
        rgba(17,43,74,.72)
    );
    z-index:1;
}

.portada-border{
    position:absolute;
    inset:25px;
    border:1px solid rgba(216,191,136,.45);
    border-radius:30px;
    z-index:2;
    pointer-events:none;
}

/* ===============================
   CONTENIDO PRINCIPAL
================================ */

.portada-card{
    position:relative;
    z-index:5;
    width:min(760px,95vw);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    transform:translateY(-115px);
}

.line{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:16px;
    margin:18px auto;
    width:420px;
    max-width:90%;
}

.line span{
    flex:1;
    height:1px;
    background:rgba(216,191,136,.35);
}

.line i{
    color:var(--gold);
}

.invite-text{
    color:var(--gold);
    letter-spacing:5px;
    font-size:13px;
    text-transform:uppercase;
    margin-bottom:15px;
    font-weight:600;
}

.portada-card h1{
    font-family:'Cormorant Garamond',serif;
    font-size:82px;
    line-height:.92;
    font-weight:600;
    text-shadow:0 8px 30px rgba(0,0,0,.35);
}

.portada-card h1 span{
    color:var(--gold);
}

.date-box{
    margin:26px 0 0;
    display:flex;
    justify-content:center;
    gap:25px;
    align-items:center;
    font-size:16px;
    letter-spacing:2px;
    color:white;
}

.date-box div{
    display:flex;
    gap:10px;
    align-items:center;
}

.date-box i{
    color:var(--gold);
}

/* ===============================
   CONTADOR PREMIUM
================================ */

.countdown-premium{
    position:absolute;
    left:50%;
    bottom:115px;
    transform:translateX(-50%);
    z-index:10;
    width:min(560px,92vw);
    padding:16px 18px;
    border-radius:24px;
    background:rgba(17,43,74,.30);
    backdrop-filter:blur(10px);
    border:1px solid rgba(216,191,136,.32);
    box-shadow:0 20px 40px rgba(0,0,0,.22);
    text-align:center;
}

.count-title{
    color:var(--gold2);
    font-size:11px;
    letter-spacing:4px;
    text-transform:uppercase;
    margin-bottom:10px;
    font-weight:700;
}

.count-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
}

.count-item{
    border-radius:18px;
    padding:10px 6px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
}

.count-item span{
    display:block;
    font-family:'Cormorant Garamond',serif;
    font-size:30px;
    line-height:1;
    color:#f4d694;
    font-weight:700;
}

.count-item small{
    display:block;
    margin-top:5px;
    color:white;
    font-size:10px;
    letter-spacing:1px;
    text-transform:uppercase;
}

/* ===============================
   BOTÓN
================================ */

.btn-bottom{
    position:absolute;
    left:0;
    right:0;
    bottom:38px;
    display:flex;
    justify-content:center;
    z-index:20;
    padding:0 20px;
}

.btn-open{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    padding:16px 48px;
    border-radius:50px;
    background:linear-gradient(135deg,#D9BF85,#B88F40);
    color:var(--blue);
    text-decoration:none;
    font-weight:800;
    letter-spacing:1px;
    transition:.35s;
    box-shadow:0 20px 40px rgba(0,0,0,.25);
}

.btn-open:hover{
    transform:translateY(-4px);
    background:white;
}

/* ===============================
   FLECHA
================================ */

.scroll{
    margin-top:26px;
    font-size:26px;
    color:white;
    animation:scroll 1.5s infinite;
}

@keyframes scroll{
    0%,100%{
        transform:translateY(0);
        opacity:.5;
    }

    50%{
        transform:translateY(10px);
        opacity:1;
    }
}

/* ===============================
   OCULTAR MONOGRAMAS ANTIGUOS
================================ */

.monogram,
.monogram-soft,
.heart-monogram{
    display:none !important;
}

/* ===============================
   RESPONSIVE
================================ */

@media(max-width:992px){
    .portada-card{
        transform:translateY(-95px);
    }

    .portada-card h1{
        font-size:68px;
    }
}

@media(max-width:768px){
    .portada{
        padding:18px;
    }

    .portada-border{
        inset:12px;
        border-radius:22px;
    }

    .portada-card{
        width:95vw;
        transform:translateY(-78px);
    }

    .invite-text{
        font-size:11px;
        letter-spacing:3px;
        margin-bottom:12px;
    }

    .line{
        margin:14px auto;
    }

    .portada-card h1{
        font-size:54px;
        line-height:.95;
    }

    .date-box{
        margin-top:20px;
        flex-direction:column;
        gap:10px;
        font-size:14px;
    }

    .date-box span{
        display:none;
    }

    .countdown-premium{
        bottom:92px;
        width:92vw;
        padding:13px 12px;
    }

    .count-item{
        padding:9px 4px;
    }

    .count-item span{
        font-size:24px;
    }

    .count-item small{
        font-size:9px;
    }

    .btn-bottom{
        bottom:24px;
    }

    .btn-open{
        width:100%;
        padding:15px;
    }

    .scroll{
        display:none;
    }
}

@media(max-width:420px){
    .portada-card{
        transform:translateY(-72px);
    }

    .portada-card h1{
        font-size:46px;
    }

    .count-grid{
        gap:6px;
    }

    .countdown-premium{
        bottom:88px;
    }
}

@media(max-height:720px){
    .portada-card{
        transform:translateY(-68px);
    }

    .countdown-premium{
        bottom:78px;
        padding:10px 12px;
    }

    .count-title{
        margin-bottom:6px;
    }

    .count-item{
        padding:7px 5px;
    }

    .count-item span{
        font-size:22px;
    }

    .btn-bottom{
        bottom:16px;
    }

    .scroll{
        display:none;
    }
}
.hero-nombres{

    display:flex;
    justify-content:center;
    align-items:flex-end;
    gap:18px;

    font-family:'Cormorant Garamond',serif;
    font-size:72px;
    font-weight:600;

}

.nombre{

    display:flex;
    align-items:flex-end;

}

.letra-inicial{

    width:250px;
    height:auto;

    margin-right:2px;

    display:block;

}

.ampersand{

    margin:0 8px;

}
@media(max-width:768px){

.hero-nombres{

    font-size:48px;
    gap:10px;

}

.letra-inicial{

    width:42px;

}

}

.hero-nombres{
    display:flex;
    justify-content:center;
    align-items:flex-end;
    width:100%;
    gap:25px;
}

.hero-nombres .nombre{
    flex:1;
    display:flex;
    align-items:flex-end;
}

.hero-nombres .nombre:first-child{
    justify-content:flex-end;   /* Julio hacia el centro */
    text-align:right;
}

.hero-nombres .nombre:last-child{
    justify-content:flex-start; /* Maricielo hacia el centro */
    text-align:left;
}

.hero-nombres .ampersand{
    flex:0 0 auto;
    margin:0 20px;
    font-size:90px;
}.hero-nombres{
    display:flex;
    justify-content:center;
    align-items:flex-end;
    width:100%;
    gap:25px;
}

.hero-nombres .nombre{
    flex:1;
    display:flex;
    align-items:flex-end;
}

.hero-nombres .nombre:first-child{
    justify-content:flex-end;   /* Julio hacia el centro */
    text-align:right;
}

.hero-nombres .nombre:last-child{
    justify-content:flex-start; /* Maricielo hacia el centro */
    text-align:left;
}

.hero-nombres .ampersand{
    flex:0 0 auto;
    margin:0 20px;
    font-size:90px;
}
/* =====================================================
   NOMBRES DE LA PORTADA
   [J imagen]ulio  &  [M imagen]aricielo
===================================================== */

.hero-nombres{
    width:100%;
    max-width:950px;
    margin:15px auto;

    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    align-items:center;
    column-gap:22px;

    font-family:'Cormorant Garamond',serif;
    font-size:64px;
    font-weight:600;
    line-height:1;
    text-align:center;
}

.hero-nombres .nombre{
    min-width:0;
    display:flex;
    align-items:center;
    font-size:inherit;
    line-height:1;
    white-space:nowrap;
}

/* Julio se acerca al centro desde la izquierda */
.hero-nombres .nombre:first-child{
    justify-content:flex-end;
}

/* Maricielo empieza desde el centro hacia la derecha */
.hero-nombres .nombre:last-child{
    justify-content:flex-start;
}

.hero-nombres .letra-inicial{
    width:auto;
    height:115px;
    max-width:none;
    display:block;
    flex:0 0 auto;
    object-fit:contain;
}

/* Ajuste fino de las imágenes con el texto */
.hero-nombres .nombre:first-child .letra-inicial{
    margin-right:-6px;
}

.hero-nombres .nombre:last-child .letra-inicial{
    margin-right:-4px;
}

.hero-nombres .ampersand{
    display:flex;
    justify-content:center;
    align-items:center;

    margin:0;
    padding:0;

    font-family:'Cormorant Garamond',serif;
    font-size:78px;
    font-weight:700;
    line-height:1;
    color:#c8a96a;
}

/* =====================================================
   TABLET
===================================================== */

@media(max-width:900px){

    .hero-nombres{
        max-width:720px;
        font-size:50px;
        column-gap:14px;
    }

    .hero-nombres .letra-inicial{
        height:90px;
    }

    .hero-nombres .ampersand{
        font-size:64px;
    }
}

/* =====================================================
   CELULAR
===================================================== */

@media(max-width:600px){

    .hero-nombres{
        max-width:100%;
        font-size:34px;
        column-gap:7px;
    }

    .hero-nombres .letra-inicial{
        height:64px;
    }

    .hero-nombres .ampersand{
        font-size:46px;
    }
}

/* =====================================================
   CELULARES PEQUEÑOS
===================================================== */

@media(max-width:390px){

    .hero-nombres{
        font-size:29px;
        column-gap:5px;
    }

    .hero-nombres .letra-inicial{
        height:56px;
    }

    .hero-nombres .ampersand{
        font-size:40px;
    }
}
.hero-nombres .nombre:last-child{
    justify-content:flex-start;
    transform: translateX(-15px);
}
/* =========================================
   AJUSTE DE LAS INICIALES
========================================= */

.hero-nombres-vertical .letra-inicial{
    position:relative;
    left:-8px;
}