/*====================================================
    BLOQUE 1 - BASE (VERSIÓN MÓVIL)
====================================================*/

:root{

    --bg:#05070d;
    --gold:#C89B4D;
    --gold2:#E3C27A;
    --white:#FFFFFF;
    --text:#E8E8E8;

    --title:'Cinzel', serif;
    --script:'Great Vibes', cursive;
    --body:'Montserrat', sans-serif;

}

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

html{

    scroll-behavior:smooth;

}

body{

    background:#11141d;

    font-family:var(--body);

    display:flex;

    justify-content:center;

    padding:20px;

}

/*====================================================
    TARJETA
====================================================*/

.poster{

    width:430px;

    max-width:100%;

    background:linear-gradient(
        180deg,
        #08101d,
        #05070d
    );

    border:1px solid rgba(200,155,77,.35);

    border-radius:22px;

    overflow:hidden;

    position:relative;

    box-shadow:

    0 25px 60px rgba(0,0,0,.55);

}

/* brillo superior */

.poster::before{

content:"";

position:absolute;

top:-180px;
left:-180px;

width:450px;
height:450px;

border-radius:50%;

background:

radial-gradient(circle,
rgba(200,155,77,.15),
transparent 70%);

pointer-events:none;

}

/* brillo inferior */

.poster::after{

content:"";

position:absolute;

right:-160px;
bottom:-160px;

width:420px;
height:420px;

border-radius:50%;

background:

radial-gradient(circle,
rgba(200,155,77,.08),
transparent 70%);

pointer-events:none;

}

.poster>*{

position:relative;

z-index:2;

}

/*====================================================
    HERO
====================================================*/

.hero{

    width:100%;

    height:420px;

    overflow:hidden;

}

.heroPhoto{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center top;

    transform:scale(1.08);

    transition:transform .5s ease;

}

/*====================================================
    NOMBRES
====================================================*/

.names{

    padding:35px 25px 20px;

    text-align:center;

}

.name1,
.name2{

    font-family:var(--title);

    color:white;

    font-size:36px;

    line-height:1.1;

    letter-spacing:1px;

}

.lastname1,
.lastname2{

    font-family:var(--script);

    color:var(--gold);

    font-size:40px;

    font-weight:400;

    margin-top:4px;

}

.and{

    font-family:var(--script);

    color:var(--gold);

    font-size:40px;

    margin:8px 0;

}

.subtitle{

    margin-top:24px;

    color:white;

    font-size:15px;

    letter-spacing:6px;

    text-transform:uppercase;

}

.date{

    margin-top:25px;

    padding:14px;

    border:1px solid var(--gold);

    border-radius:12px;

    color:white;

    font-family:var(--title);

    font-size:18px;

    letter-spacing:1px;

    background:rgba(255,255,255,.03);

}
/*====================================================
    BLOQUE 2
    CEREMONIA · GALERÍA · UBICACIÓN
====================================================*/

/*==============================
    CEREMONIA
==============================*/

.schedule{

    padding:10px 25px 0;

}

.event{

    background:rgba(255,255,255,.03);

    border:1px solid rgba(200,155,77,.25);

    border-radius:18px;

    padding:28px 20px;

    text-align:center;

    margin-bottom:20px;

    transition:.35s;

}

.event:hover{

    transform:translateY(-4px);

    border-color:var(--gold);

    box-shadow:0 15px 30px rgba(0,0,0,.35);

}

.icon{

    font-size:48px;

    margin-bottom:15px;

}

.hour{

    font-family:var(--title);

    color:var(--gold);

    font-size:28px;

    margin-bottom:14px;

    letter-spacing:1px;

}

.title{

    font-family:var(--title);

    color:white;

    font-size:20px;

    line-height:1.5;

    letter-spacing:1px;

    text-transform:uppercase;

}

.place{

    margin-top:18px;

    color:var(--gold2);

    font-size:16px;

    letter-spacing:2px;

}

.phrase{

    margin-top:18px;

    font-family:var(--script);

    color:var(--gold);

    font-size:30px;

}

.divider{

    display:none;

}

/*==============================
    GALERÍA
==============================*/

.gallery{

    padding:35px 25px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:14px;

}

.gallery img{

    width:100%;

    height:160px;

    object-fit:cover;

    border-radius:18px;

    border:1px solid rgba(200,155,77,.35);

    transition:.4s;

    display:block;

}

.gallery img:hover{

    transform:scale(1.02);

}

/*==============================
    UBICACIÓN
==============================*/

.location{

    padding:10px 25px 40px;

    text-align:center;

}

.venue{

    font-family:var(--title);

    color:var(--gold);

    font-size:30px;

    letter-spacing:2px;

    margin-bottom:20px;

}

.address{

    color:var(--text);

    line-height:1.9;

    font-size:17px;

    letter-spacing:.5px;

    margin-bottom:30px;

}

.mapsButton{

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    height:56px;

    border-radius:40px;

    background:linear-gradient(
        180deg,
        var(--gold2),
        var(--gold)
    );

    color:#111;

    text-decoration:none;

    font-weight:700;

    letter-spacing:1px;

    transition:.35s;

    box-shadow:

        0 12px 25px rgba(200,155,77,.30);

}

.mapsButton:hover{

    transform:translateY(-3px);

    box-shadow:

        0 18px 35px rgba(200,155,77,.45);

}
/*====================================================
    BLOQUE 3
    DETALLES · REGALO · RSVP · ACABADOS
====================================================*/

/*==============================
    DETALLES
==============================*/

.details{

    padding:10px 25px 0;

    display:flex;

    flex-direction:column;

    gap:18px;

}

.details > div{

    display:flex;

    align-items:center;

    gap:18px;

    padding:22px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(200,155,77,.25);

    border-radius:18px;

    transition:.35s;

}

.details > div:hover{

    transform:translateY(-3px);

    border-color:var(--gold);

    box-shadow:0 12px 25px rgba(0,0,0,.30);

}

.iconBig{

    width:62px;

    height:62px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(200,155,77,.12);

    font-size:30px;

    flex-shrink:0;

}

.details h4{

    font-family:var(--title);

    color:var(--gold);

    font-size:18px;

    margin-bottom:6px;

    letter-spacing:1px;

}

.details p{

    color:var(--text);

    font-size:15px;

    line-height:1.6;

}

/*==============================
    REGALO
==============================*/

.gift{

    padding:45px 25px;

    margin-top:35px;

    text-align:center;

    border-top:1px solid rgba(200,155,77,.20);

    border-bottom:1px solid rgba(200,155,77,.20);

}

.gift h2{

    font-family:var(--script);

    color:var(--gold);

    font-size:42px;

    font-weight:400;

    margin-bottom:25px;

}

.gift p{

    color:var(--text);

    line-height:1.9;

    font-size:15px;

    margin-bottom:18px;

}

.thanks{

    margin-top:28px;

    font-family:var(--script);

    color:var(--gold);

    font-size:32px;

}

/*==============================
    CONFIRMACIÓN
==============================*/

.actions{

    padding:40px 25px 50px;

    text-align:center;

}

.confirm{

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    min-height:58px;

    border-radius:40px;

    background:linear-gradient(
        180deg,
        var(--gold2),
        var(--gold)
    );

    color:#111;

    text-decoration:none;

    font-weight:700;

    font-size:16px;

    letter-spacing:1px;

    transition:.35s;

    box-shadow:

        0 12px 28px rgba(200,155,77,.35);

}

.confirm:hover{

    transform:translateY(-3px);

    box-shadow:

        0 18px 35px rgba(200,155,77,.45);

}

.deadline{

    margin-top:22px;

    color:#d7d7d7;

    font-size:14px;

    letter-spacing:.5px;

}

/*==============================
    SEPARADORES
==============================*/

section:not(:last-child){

    position:relative;

}

/*==============================
    EFECTOS
==============================*/

.heroPhoto,
.gallery img{

    transition:
        transform .45s,
        filter .45s;

    filter:
        brightness(.96)
        contrast(1.05);

}

.heroPhoto:hover,
.gallery img:hover{

    transform:scale(1.02);

    filter:
        brightness(1)
        contrast(1.08);

}

/*==============================
    ANIMACIÓN
==============================*/

.hero,
.names,
.schedule,
.gallery,
.location,
.details,
.gift,
.actions{

    animation:fadeUp .8s ease both;

}

.hero{animation-delay:.05s;}
.names{animation-delay:.15s;}
.schedule{animation-delay:.25s;}
.gallery{animation-delay:.35s;}
.location{animation-delay:.45s;}
.details{animation-delay:.55s;}
.gift{animation-delay:.65s;}
.actions{animation-delay:.75s;}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==============================
    RESPONSIVE ESCRITORIO
==============================*/

@media(min-width:900px){

    body{

        padding:50px;

    }

    .poster{

        width:460px;

    }

}
/*====================================================
    BLOQUE 3
    DETALLES · REGALO · RSVP · ACABADOS
====================================================*/

/*==============================
    DETALLES
==============================*/

.details{

    padding:10px 25px 0;

    display:flex;

    flex-direction:column;

    gap:18px;

}

.details > div{

    display:flex;

    align-items:center;

    gap:18px;

    padding:22px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(200,155,77,.25);

    border-radius:18px;

    transition:.35s;

}

.details > div:hover{

    transform:translateY(-3px);

    border-color:var(--gold);

    box-shadow:0 12px 25px rgba(0,0,0,.30);

}

.iconBig{

    width:62px;

    height:62px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(200,155,77,.12);

    font-size:30px;

    flex-shrink:0;

}

.details h4{

    font-family:var(--title);

    color:var(--gold);

    font-size:18px;

    margin-bottom:6px;

    letter-spacing:1px;

}

.details p{

    color:var(--text);

    font-size:15px;

    line-height:1.6;

}

/*==============================
    REGALO
==============================*/

.gift{

    padding:45px 25px;

    margin-top:35px;

    text-align:center;

    border-top:1px solid rgba(200,155,77,.20);

    border-bottom:1px solid rgba(200,155,77,.20);

}

.gift h2{

    font-family:var(--script);

    color:var(--gold);

    font-size:42px;

    font-weight:400;

    margin-bottom:25px;

}

.gift p{

    color:var(--text);

    line-height:1.9;

    font-size:15px;

    margin-bottom:18px;

}

.thanks{

    margin-top:28px;

    font-family:var(--script);

    color:var(--gold);

    font-size:32px;

}

/*==============================
    CONFIRMACIÓN
==============================*/

.actions{

    padding:40px 25px 50px;

    text-align:center;

}

.confirm{

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    min-height:58px;

    border-radius:40px;

    background:linear-gradient(
        180deg,
        var(--gold2),
        var(--gold)
    );

    color:#111;

    text-decoration:none;

    font-weight:700;

    font-size:16px;

    letter-spacing:1px;

    transition:.35s;

    box-shadow:

        0 12px 28px rgba(200,155,77,.35);

}

.confirm:hover{

    transform:translateY(-3px);

    box-shadow:

        0 18px 35px rgba(200,155,77,.45);

}

.deadline{

    margin-top:22px;

    color:#d7d7d7;

    font-size:14px;

    letter-spacing:.5px;

}

/*==============================
    SEPARADORES
==============================*/

section:not(:last-child){

    position:relative;

}


/*==============================
    EFECTOS
==============================*/

.heroPhoto,
.gallery img{

    transition:
        transform .45s,
        filter .45s;

    filter:
        brightness(.96)
        contrast(1.05);

}

.heroPhoto:hover,
.gallery img:hover{

    transform:scale(1.02);

    filter:
        brightness(1)
        contrast(1.08);

}

/*==============================
    ANIMACIÓN
==============================*/

.hero,
.names,
.schedule,
.gallery,
.location,
.details,
.gift,
.actions{

    animation:fadeUp .8s ease both;

}

.hero{animation-delay:.05s;}
.names{animation-delay:.15s;}
.schedule{animation-delay:.25s;}
.gallery{animation-delay:.35s;}
.location{animation-delay:.45s;}
.details{animation-delay:.55s;}
.gift{animation-delay:.65s;}
.actions{animation-delay:.75s;}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==============================
    RESPONSIVE ESCRITORIO
==============================*/

@media(min-width:900px){

    body{

        padding:50px;

    }

    .poster{

        width:460px;

    }

}

/*=========================
COUNTDOWN
=========================*/

.countdown{

    padding:30px 25px 10px;

    text-align:center;

}

.countdown h3{

    color:var(--gold);

    font-family:var(--title);

    font-size:16px;

    letter-spacing:6px;

    margin-bottom:20px;

}

.counter{

    display:flex;

    justify-content:center;

    gap:12px;

}

.timeBox{

    width:72px;

    height:82px;

    border:1px solid rgba(200,155,77,.30);

    border-radius:14px;

    background:rgba(255,255,255,.03);

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.timeBox span{

    font-size:30px;

    font-family:var(--title);

    color:var(--gold);

}

.timeBox small{

    color:white;

    margin-top:6px;

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:1px;

}
.btn-location{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 34px;
    color:#d4af37;
    text-decoration:none;
    border:2px solid #d4af37;
    border-radius:40px;
    font-family:'Montserrat',sans-serif;
    font-size:16px;
    font-weight:600;
    transition:.35s ease;
}

.btn-location:hover{
    background:#d4af37;
    color:#08101d;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(212,175,55,.35);
}
#rsvp{
    text-align:center;
    padding:60px 25px;
}

#rsvp h2{
    color:#d4af37;
    margin-bottom:20px;
}

#rsvp p{
    color:#f5f5f5;
    font-size:1.05rem;
    max-width:500px;
    margin:0 auto;
    line-height:1.6;
}
/* ---------- RSVP ---------- */

.rsvp-card{
    max-width:600px;
    margin:40px auto 0;
    padding:35px;
    border:1px solid rgba(212,175,55,.25);
    border-radius:20px;
    background:rgba(255,255,255,.03);
    backdrop-filter:blur(10px);
}

.rsvp-card h3{
    color:#ffffff;
    margin:25px 0 10px;
    font-size:28px;
}

.rsvp-card p{
    margin-bottom:25px;
}

#guestList{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin:30px 0;
}

.guest-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 20px;
    border:1px solid rgba(212,175,55,.20);
    border-radius:14px;
    background:rgba(255,255,255,.03);
    cursor:pointer;
    transition:.3s;
}

.guest-item:hover{
    border-color:#d4af37;
    transform:translateY(-2px);
}

.guest-item input{
    margin-right:15px;
    transform:scale(1.3);
}

.guest-item span:first-of-type{
    flex:1;
    text-align:left;
    color:white;
    font-size:18px;
}

.menu-tag{
    background:#d4af37;
    color:#08101d;
    padding:4px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
}

#guestCounter{
    color:#d4af37;
    font-weight:bold;
    margin:20px 0;
}

#confirmButton{

    width:100%;
    padding:18px;

    border:none;
    border-radius:40px;

    background:#d4af37;
    color:#08101d;

    font-size:18px;
    font-weight:700;

    cursor:pointer;
    transition:.3s;
}

#confirmButton:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(212,175,55,.35);

}
/* ===========================
   CONFIRMACIÓN
=========================== */

.confirmation-intro{

    max-width:700px;

    margin:55px auto 35px;

    padding:0 28px;

    text-align:center;

}

.confirmation-intro h2{

    font-family:var(--title);

    font-size:2rem;

    color:var(--gold);

    margin-bottom:24px;

}

.confirmation-intro p{

    color:var(--text);

    font-size:1.08rem;

    line-height:1.9;

    margin-bottom:22px;

}

.confirmation-intro strong{

    color:#ffffff;

    font-weight:600;

}

.confirmation-deadline{

    display:inline-block;

    margin-top:10px;

    padding:14px 26px;

    border:1px solid rgba(212,175,55,.35);

    border-radius:40px;

    color:var(--gold);

    font-weight:600;

    background:rgba(212,175,55,.05);

}
/* ===========================
   CARTA RSVP
=========================== */

.section-divider{

    margin:28px auto;

    font-size:2rem;

    color:var(--gold);

    text-align:center;

    opacity:.85;

    letter-spacing:8px;

}

.confirmation-highlight{

    color:#ffffff;

    font-size:1.15rem;

    font-weight:600;

    font-style:italic;

    margin:35px auto;

    max-width:650px;

}

.confirmation-signature{

    margin-top:25px;

    margin-bottom:8px;

    font-style:italic;

    color:var(--gold);

    opacity:.9;

}

.confirmation-names{

    margin-bottom:20px;

    font-family:var(--title);

    font-size:2.2rem;

    color:var(--gold);

    letter-spacing:2px;

    margin-top:0;

    margin-bottom:20px;

}
.rsvp-card {
    text-align: center;
    padding: 30px;
}

.rsvp-card h2 {
    color: #c8a74e;
    margin-bottom: 25px;
}

.rsvp-card h3 {
    color: #c8a74e;
    font-size: 1.3rem;
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 600;
}

.rsvp-card p {
    color: #f5f5f5;
    line-height: 1.8;
    margin-bottom: 18px;
}

.rsvp-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 30px 0;
}

.rsvp-card li {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: .5px;
}

.rsvp-card strong {
    color: #ffffff;
}

.confirm-note{
    margin-top:35px;
    padding:18px;
    border:1px solid rgba(200,167,78,.4);
    border-radius:12px;
    font-size:.95rem;
    color:#d9d9d9;
    line-height:1.7;
}

.confirm-note strong{
    color:#c8a74e;
}
.guestNames{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin:20px 0 30px;
}

.guestNames div{
    color:#ffffff !important;
    font-size:1.1rem;
    font-weight:500;
}
#rsvpInstruction{

    color: #d9d9d9;

    font-size: 15px;

    line-height: 1.5;

    text-align: center;

    margin: 18px 0 24px;

}
