
:root {
    --sage-green: #89A48C;
    --sage-dark: #5c725f;
    --sand: #f4f1ea;
    --dark-green: #1a261c;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--dark-green);
    background-color: var(--sand);
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-font { font-family: var(--font-heading); }
.text-center { text-align: center; }
.text-white { color: #fff !important; }

#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--sand); z-index: 9999; display: flex; justify-content: center; align-items: center;
}
.preloader-content h1 { font-size: 3rem; color: var(--sage-green); margin-bottom: 20px; letter-spacing: 2px; }
.loading-bar { width: 200px; height: 3px; background: rgba(137, 164, 140, 0.3); border-radius: 5px; overflow: hidden; }
.progress { width: 0%; height: 100%; background: var(--sage-green); }

.glass-container, .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

.glass-btn-primary {
    background: rgba(137, 164, 140, 0.85); backdrop-filter: blur(5px); color: white;
    padding: 16px 40px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50px;
    font-size: 1.1rem; font-family: var(--font-body); font-weight: 500; cursor: pointer;
    text-decoration: none; transition: all 0.4s ease; display: inline-block; letter-spacing: 1px;
}
.glass-btn-primary:hover {
    background: var(--sage-dark); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(137, 164, 140, 0.5);
}

.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), linear-gradient(135deg, #f9f7f2 0%, #e6e2d6 100%);
    padding: 20px;
}
.hero-glass { padding: 60px 40px; text-align: center; max-width: 600px; width: 100%; }
.logos img { margin: 0 10px 20px; }
.mimi-icon { width: 60px; }
.mimi-text { width: 160px; }
.title { font-size: 4.5rem; color: var(--sage-dark); line-height: 1; margin: 15px 0 25px; }
.subtitle { font-size: 1.5rem; font-style: italic; color: var(--sage-green); }
.date-location { font-size: 1.1rem; margin-bottom: 30px; line-height: 1.6; }
.highlight { font-weight: 600; color: var(--dark-green); font-size: 1.3rem; }

.section { padding: 100px 20px; }
.section-title { font-size: 3rem; color: var(--sage-dark); margin-bottom: 10px; }
.section-subtitle { font-size: 1.2rem; color: var(--sage-green); margin-bottom: 30px; }

/* Swiper Slider Styles */
.swiper {
    width: 100%;
    max-width: 1200px;
    padding-bottom: 50px !important; /* Espacio para los puntitos */
}
.swiper-slide {
    display: flex;
    justify-content: center;
    height: auto;
}
.swiper-pagination-bullet {
    background: var(--sage-green) !important;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Cards (Ahora dentro del carrusel) */
.activity-card, .brand-card {
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    height: 100%; /* Para que todas las tarjetas midan lo mismo */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.activity-card:hover, .brand-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--sage-green);
}

/* Evitar el recuadro blanco de error del Lottie. Mostrará transparente si falla. */
.lottie-wrapper {
    height: 120px; display: flex; justify-content: center; margin-bottom: 20px;
}
lottie-player {
    width: 100%;
    height: 100%;
}

.activity-card h3 { font-size: 1.8rem; }
.emoji-icon { font-size: 3rem; display: block; margin-bottom: 15px; }
.brand-card h4 { font-size: 1.6rem; margin-bottom: 5px; }
.click-hint { display: inline-block; margin-top: 15px; font-size: 0.9rem; color: var(--sage-green); font-weight: 600; }

.video-section {
    position: relative; padding: 120px 20px; display: flex; justify-content: center; align-items: center; overflow: hidden;
    background-color: #2C3E2E; /* Respaldo oscuro si falla el video */
}
.bg-video {
    position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
    transform: translate(-50%, -50%); z-index: -2; object-fit: cover;
}
.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 38, 28, 0.5); z-index: -1;
}
.botox-glass { padding: 50px; max-width: 500px; width: 100%; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); text-align: center; }
.subtitle-botox { margin-bottom: 20px; font-size: 1.1rem; }
.price { font-size: 3.5rem; margin-bottom: 30px; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }

.modern-form { display: flex; flex-direction: column; gap: 20px; }
.glass-input, .modern-form input {
    width: 100%; padding: 16px 20px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px; font-family: var(--font-body); font-size: 1rem; color: var(--dark-green); outline: none; transition: all 0.3s;
}
.glass-input:focus, .modern-form input:focus { background: rgba(255, 255, 255, 0.9); border-color: var(--sage-green); box-shadow: 0 0 15px rgba(137, 164, 140, 0.2); }
.terms-modern { display: flex; align-items: center; gap: 10px; text-align: left; font-size: 0.9rem; }
.terms-modern input[type="checkbox"] { width: auto; transform: scale(1.2); }

.rsvp-section { background: linear-gradient(to top, #e6e2d6, #f9f7f2); display: flex; justify-content: center; }
.rsvp-glass { padding: 60px; max-width: 800px; width: 100%; }
.rsvp-form-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
#r-asistencia, .submit-btn { grid-column: span 2; }
.submit-btn { width: 100%; margin-top: 10px; }

.floating-btn {
    position: fixed; bottom: 30px; right: 30px; z-index: 1000; padding: 12px 25px; border-radius: 30px;
    background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.5); color: var(--sage-dark);
    font-weight: 600; cursor: pointer; backdrop-filter: blur(10px); transition: all 0.3s;
}
.floating-btn:hover { background: var(--sage-green); color: white; }

@media(max-width: 768px) {
    .title { font-size: 3rem; }
    .rsvp-form-grid { grid-template-columns: 1fr; }
    #r-asistencia, .submit-btn { grid-column: span 1; }
    .botox-glass, .rsvp-glass, .hero-glass { padding: 40px 20px; border-radius: 15px; }
}

.premium-popup {
    border-radius: 24px !important; background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px) !important; border: 1px solid rgba(255,255,255,0.8) !important;
    font-family: var(--font-body) !important;
}
.premium-popup h2 { font-family: var(--font-heading) !important; color: var(--sage-dark) !important; font-size: 2.5rem !important; }
