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

:root {
     --bg: #000000;
     --text: #ffffff;
     --accent: #e5dcc5; 
        }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
     line-height: 1.5;
     padding: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
     padding: 10px 40px;
    font-size: 12px;
    text-transform: lowercase;
    letter-spacing: 1px;
        }

nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
 }

nav a { color: white; text-decoration: none; opacity: 0.7; }



.slideshow-container{
    width: 100%;
    max-width: 350px; 
    aspect-ratio: 1 / 1; 
    position: relative;
    margin: 0 auto 10px auto; 
    overflow: hidden; 
    border-radius: 8px;
    background-color: #1a1a1a;
}



.mySlider{
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}
.slide-active {
    opacity: 1;
    z-index: 2;} 
.mySlider img{
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    object-fit: cover; 
    filter: grayscale(100%);
    border-radius: 10px;
}

.hero-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 20px;
     margin-top: 40px;
     padding: 0 5%;
    }

.hero-gallery img {
    width: 100%;
    filter: grayscale(100%);
    border: 0.5px solid #222;
}

.hero-text {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
 }

.hero-text span {
    display: block;
    font-size: 2.5rem;
    color: var(--accent);
    font-style: italic;
    color: #d4af37;
     }

.caption {
    font-size: 10px;
    margin-top: 10px;
    opacity: 0.8;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
 }

.divider {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    text-align: center;
    padding: 15px 10px;
    font-size: 11px;
    letter-spacing: 3px;
    margin: 50px 0;
    text-transform: lowercase;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    padding: 0 8%;
}

.left-col h2 {
    font-family: 'Playfair Display', serif;
     font-size: 3.5rem;
     letter-spacing: 8px;
    margin-bottom: 15px;
}

.left-col p {
    font-size: 13px;
     margin-bottom: 40px;
    max-width: 380px;
    text-align: justify;
}

.img-bottom {
    width: 100%;
    max-width: 350px;
    filter: grayscale(100%);
}

.white-card {
     background: #ffffff;
    color: #000;
    padding: 40px;
     border-radius: 4px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-meta {
    font-size: 13px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
 }

.card-meta span { color: #888; margin-right: 10px; }

.card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 0.8;
}

.card-content .sub-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #c9b067;
    font-size: 1.5rem;
    margin-left: 20px;
 }

.card-body-text {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
 }
 .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.surprises-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 80px 0;
}

.envelope-wrapper { text-align: center; }

.label { font-size: 10px; margin-top: 10px; opacity: 0.5; letter-spacing: 2px; }

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 10%;
    margin-bottom: 100px;
}

.stats-card {
    background: #0a0a0a;
    border: 0.5px solid #222;
    padding: 30px;
    border-radius: 4px;
    text-align: center;
}

.stats-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: #c9b067;
}

#timer {
    font-family: 'Courier New', Courier, monospace; /* Fuente de ancho fijo */
    font-size: 1.5rem;
    font-weight: bold;
    color: #c9b067;
    letter-spacing: 1px;
}
.mini-timeline { text-align: left; display: inline-block; }

.step {
    border-left: 1px solid #333;
    padding-left: 15px;
    padding-bottom: 15px;
    position: relative;
}

.step span { font-size: 10px; text-transform: uppercase; color: #666; }
.step p { font-size: 11px; margin: 0; }
.step.active-step span { color: #c9b067; }


footer {
    margin-top: 80px;
    text-align: center;
    padding: 20px 8%;
    font-size: 10px;
    opacity: 0.4;
}

/*.final-experience {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}*/
.contenedor-final {
    width: 100%;
    max-width: 1200px;
    margin: 80px auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.fila-sobres {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    margin-bottom: 100px; 
    padding: 20px 0;
}

.fila-cartas {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 40px;
    width: 100%;
}

/* Ajuste para que las cartas se vean iguales */
.fila-cartas .stats-card {
    width: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- SOBRES GRANDES --- */
.surprises-full-width {
    display: flex;
    justify-content: space-around; /* Los separa equitativamente */
    align-items: center;
    width: 100%;
    margin-bottom: 80px;
    padding: 40px 0;
    border-bottom: 0.5px solid #222; /* Separación sutil */
}

.envelope {
    position: relative;
    width: 150px; /* Tamaño mucho más grande */
    height: 90px;
    background: #1a1a1a;
    border-radius: 0 0 5px 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.envelope::before {
    content: '';
    position: absolute;
    top: -50px; left: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 50px solid #2a2a2a; /* Tapa del sobre */
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.note {
    position: absolute;
    top: 10px; left: 10px;
    width: 130px; height: 70px;
    background: #fff;
    color: #000;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: -1;
    transition: transform 0.4s ease;
    padding: 10px;
}

.envelope:hover::before { transform: rotateX(180deg); }
.envelope:hover .note { transform: translateY(-70px); z-index: 1; }

.bottom-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
    gap: 40px;
    width: 100%;
    justify-content: center;
    align-items: start;
}

.stats-card {
    background: #0a0a0a;
    padding: 40px;
    border: 0.5px solid #222;
    border-radius: 8px;
    min-height: 300px; /* Para que tengan el mismo alto */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.love-button {
    background: transparent;
    color: #c9b067;
    border: 1px solid #c9b067;
    padding: 15px 40px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border-radius: 50px; /* Forma de píldora elegante */
}

.love-button:hover {
    background: #c9b067;
    color: #000;
    box-shadow: 0 0 20px rgba(201, 176, 103, 0.4);
    transform: scale(1.05);
}

.love-button:active {
    transform: scale(0.95);
}


@media (max-width: 768px) {
    body{
        padding: 10px;
    }

    .hero-gallery {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10%;
    }

    .hero-text span {
        font-size: 2rem;
    }

    .left-col h2 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .main-layout {
        grid-template-columns: 1fr;
        padding: 0 5%;
        gap: 30px;
    }

    .slideshow-container {
        max-width: 280px; 
    }

    nav {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    nav ul {
        justify-content: center;
        padding: 0;
    }

    .white-card {
        padding: 20px;
    }
    .surprises-container {
        gap: 20px;
        flex-wrap: wrap; 
        margin: 40px 0;
    }

    .envelope {
        width: 70px; 
        height: 45px;
    }

    .envelope::before {
        border-left: 35px solid transparent;
        border-right: 35px solid transparent;
        border-bottom: 25px solid #333;
    }

    .stats-grid {
        grid-template-columns: 1fr; 
        padding: 0 5%;
        gap: 15px;
    }

 .contenedor-final {
        margin: 40px auto;
        padding: 10px;
    }

    .fila-sobres {
        flex-direction: column; 
        gap: 70px;
        margin-bottom: 60px;
    }

    .envelope {
        width: 120px; /* Reducimos de 150px a 120px */
        height: 70px;
        margin: 0 auto; 
    }

    .envelope::before {
        top: -40px;
        border-left: 60px solid transparent;
        border-right: 60px solid transparent;
        border-bottom: 40px solid #2a2a2a;
    }

    .note {
        width: 100px;
        height: 55px;
        font-size: 10px;
    }

    .envelope:hover .note {
        transform: translateY(-60px);
    }
    .envelope.open .note { 
        transform: translateY(-55px); /* Un poco menos en móvil */
    }

    .fila-cartas {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 20px;
        padding: 0 10px;
    }

    .stats-card {
        min-height: auto; /* Que el alto dependa del contenido */
        padding: 30px 20px;
    }

    #timer {
        font-size: 1.2rem; 
    }

    .mini-timeline {
        margin: 0 auto;
        max-width: 280px;
    }
}
