:root {
    --sage: #99A799;
    --olive: #556B2F;
    --cream: #FDFCF9;
    --gold: #C5A059;
    --text: #4a4a4a;
}

body {
    margin: 0; padding: 0;
    background: linear-gradient(135deg, #fdfcf9 0%, #e8ede8 100%);
    font-family: 'Proza Libre', sans-serif;
    color: var(--text);
    text-align: center;
    overflow-x: hidden;
}

.hidden { display: none !important; }

/* --- DECORACIÓN DE FONDO --- */
.bg-flower {
    position: fixed;
    width: 200px;
    height: auto;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite ease-in-out;
}
.flower-1 { top: -50px; left: -50px; }
.flower-2 { bottom: -50px; right: -50px; transform: scaleX(-1); }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* --- SOBRE --- */
#envelope-wrapper {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s;
}
.envelope { position: relative; width: 280px; height: 180px; background: #e0e0e0; cursor: pointer; margin: 20px auto; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.flap { position: absolute; top: 0; border-left: 140px solid transparent; border-right: 140px solid transparent; border-top: 100px solid #d0d0d0; z-index: 3; transition: 0.8s; transform-origin: top; }
.open .flap { transform: rotateX(180deg); }
.pocket { position: absolute; bottom: 0; width: 100%; height: 100px; background: #e0e0e0; z-index: 2; }
.seal { position: absolute; top: 80px; left: 125px; z-index: 4; font-size: 30px; }

/* --- SECCIONES Y TARJETAS --- */
.section { margin-bottom: 80px; padding: 0 20px; }
.title-main { font-family: 'Cormorant Garamond', serif; letter-spacing: 3px; font-weight: 400; color: var(--olive); }

.card { 
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 20px; padding: 40px 20px; 
    max-width: 500px; margin: 0 auto; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.separator { border: 0; border-top: 1px solid rgba(197, 160, 89, 0.3); margin: 30px 0; }

/* --- TEMPORIZADOR --- */
.wreath-wrapper { position: relative; display: inline-block; width: 100%; }
.wreath-img-main { width: 100%; max-width: 350px; height: auto; }
.countdown-inside { position: absolute; top: 55%; left: 50%; transform: translate(-50%, -50%); width: 80%; }
.grid-inside { display: flex; justify-content: center; gap: 15px; }
.grid-inside span { font-size: 1.8rem; font-family: 'Cormorant Garamond', serif; color: var(--olive); font-weight: bold; }
.grid-inside small { display: block; font-size: 0.6rem; color: #666; }

/* --- IMÁGENES CIRCULARES --- */
.circle-frame { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin: 0 auto 15px; border: 4px solid white; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.circle-frame img { width: 100%; height: 100%; object-fit: cover; }

/* --- SLIDER --- */
.photo-slider { position: relative; width: 280px; height: 380px; margin: 0 auto 20px; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s; }
.slide.active { opacity: 1; }

/* --- BOTONES --- */
.btn-gold { background: var(--gold); color: white; padding: 12px 30px; border-radius: 30px; text-decoration: none; display: inline-block; transition: 0.3s; margin-top: 10px; }
.btn-whatsapp { background: var(--olive); color: white; padding: 15px 40px; border-radius: 30px; text-decoration: none; display: inline-block; font-weight: 600; }

.logo-top img, .itinerary-logo img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; background: #fff; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }