/* ===== VARIABLES ===== */
:root {
    --verde-oscuro: #0a2f0a;
    --verde-selva: #1e4a1e;
    --verde-claro: #2e6b2e;
    --marron: #5d3a1a;
    --ocre: #b78c4e;
    --naranja: #ff6b35;
    --naranja-oscuro: #e54e1e;
    --texto-claro: #f5f5f5;
    --texto-oscuro: #222;
    --gris: #444;
    --gris-claro: #777;
    --shadow: 0 10px 30px rgba(0,0,0,0.3);
    --shadow-hover: 0 20px 40px rgba(255,107,53,0.2);
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--verde-oscuro);
    color: var(--texto-claro);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== AGE BANNER ===== */
.age-banner {
    background: linear-gradient(135deg, #000, #2a0a0a);
    color: white;
    padding: 0.8rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--naranja);
}

.age-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.age-icon {
    font-size: 2rem;
}

.age-btn {
    background: var(--naranja);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.age-btn:hover {
    background: transparent;
    border-color: var(--naranja);
    transform: scale(1.05);
}

/* ===== HEADER ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,30,0,0.7)), 
                url('/images/header-bg.jpg') center/cover fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(0,20,0,0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.glow {
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px var(--naranja), 0 0 40px rgba(255,107,53,0.5);
    animation: glowPulse 3s infinite alternate;
}

@keyframes glowPulse {
    from { text-shadow: 0 0 20px var(--naranja), 0 0 40px rgba(255,107,53,0.3); }
    to { text-shadow: 0 0 30px var(--naranja), 0 0 70px rgba(255,107,53,0.7); }
}

.subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: #ffd700;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.badge {
    background: rgba(255,107,53,0.3);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--naranja);
    font-size: 0.9rem;
    font-weight: bold;
}

.cta-hero {
    display: inline-block;
    background: var(--naranja);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 2px;
    transition: all 0.4s;
    border: 2px solid transparent;
    box-shadow: 0 0 30px rgba(255,107,53,0.5);
    animation: bounceCta 2s infinite;
}

@keyframes bounceCta {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cta-hero:hover {
    background: transparent;
    border-color: var(--naranja);
    box-shadow: 0 0 50px var(--naranja);
    transform: scale(1.1);
}

/* ===== NAVEGACIÓN ===== */
.main-nav {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    z-index: 10;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.main-nav a:hover {
    background: var(--naranja);
    border-color: white;
    transform: translateY(-3px);
}

/* ===== SECCIONES GENERALES ===== */
.section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--naranja);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-sub {
    text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ===== SECCIÓN ESENCIA ===== */
.esencia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.esencia-texto .destacado {
    font-size: 1.5rem;
    color: #ffd700;
    font-style: italic;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--naranja);
    padding-left: 1.5rem;
}

.resaltar {
    color: var(--naranja);
    font-weight: bold;
    background: rgba(255,107,53,0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

.cifras {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
}

.cifra {
    text-align: center;
}

.numero {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--naranja);
}

.etiqueta {
    font-size: 0.9rem;
    color: #ccc;
}

.btn-text {
    color: var(--naranja);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-text:hover {
    color: #ffd700;
    letter-spacing: 2px;
}

.esencia-imagen img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 4px solid var(--ocre);
    transition: all 0.5s;
}

.esencia-imagen img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

/* ===== GALERÍA ===== */
.galeria-section {
    background: linear-gradient(135deg, var(--verde-oscuro), #0f3a0f);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: all 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.4s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--naranja);
}

.gallery-nota {
    text-align: center;
    color: #ffd700;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.3);
    padding: 0.5rem;
    border-radius: 50px;
    display: inline-block;
    margin: 0 auto;
    width: auto;
    padding: 0.5rem 2rem;
}

/* ===== EXPERIENCIA ===== */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.beneficio-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.beneficio-card:hover {
    transform: translateY(-10px);
    background: rgba(255,107,53,0.1);
    border-color: var(--naranja);
    box-shadow: 0 0 40px rgba(255,107,53,0.2);
}

.beneficio-card.destacado {
    border: 2px solid var(--naranja);
    background: rgba(255,107,53,0.15);
    transform: scale(1.05);
    z-index: 2;
}

.hot-tag {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--naranja);
    color: white;
    padding: 0.3rem 2rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.beneficio-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.beneficio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

/* ===== CTA FINAL ===== */
.cta-final-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                url('/images/cta-bg.jpg') center/cover fixed;
}

.cta-card {
    background: rgba(30,30,30,0.9);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 3rem;
    border: 1px solid var(--naranja);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.cta-sub {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #ccc;
}

.precios {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.precio-card {
    background: rgba(0,0,0,0.3);
    padding: 2rem;
    border-radius: 20px;
    flex: 1;
    min-width: 280px;
    border: 1px solid #444;
    transition: all 0.4s;
}

.precio-card:hover {
    border-color: var(--naranja);
    transform: translateY(-10px);
}

.precio-card.destacado {
    background: rgba(255,107,53,0.2);
    border: 2px solid var(--naranja);
    position: relative;
    overflow: hidden;
}

.recomendado {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: #ffd700;
    color: black;
    padding: 0.3rem 2rem;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.8rem;
}

.plan {
    display: block;
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.precio {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--naranja);
    margin: 0.5rem 0;
}

.periodo {
    font-size: 0.9rem;
    color: #888;
}

.incluye {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.incluye li {
    margin: 0.5rem 0;
    color: #ddd;
}

.cta-gigante {
    display: block;
    background: linear-gradient(135deg, var(--naranja), #ff4500);
    color: white;
    text-decoration: none;
    padding: 1.5rem 2rem;
    border-radius: 100px;
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    transition: all 0.4s;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(255,69,0,0.5);
    margin-bottom: 2rem;
}

.cta-gigante:hover {
    transform: scale(1.05);
    background: transparent;
    border-color: var(--naranja);
    box-shadow: 0 0 50px var(--naranja);
    letter-spacing: 4px;
}

.nota-segura {
    text-align: center;
    color: #88ff88;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.testimonial {
    background: rgba(0,0,0,0.3);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid var(--naranja);
    margin-top: 2rem;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial span {
    color: var(--naranja);
    font-size: 0.9rem;
}

/* ===== FOOTER COMPLETO ===== */
.footer {
    background: #051005;
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--naranja);
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-size: 1.8rem;
    color: var(--naranja);
    margin-bottom: 1rem;
}

.footer-info p {
    color: #aaa;
    line-height: 1.8;
}

.footer-links h4,
.footer-social h4,
.footer-legal h4 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-links h4:after,
.footer-social h4:after,
.footer-legal h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--naranja);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--naranja);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    width: fit-content;
}

.social-link.of:hover {
    background: #0088cc;
    color: white;
}

.social-link.x:hover {
    background: #000;
    color: white;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-legal a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-legal a:hover {
    color: var(--naranja);
    text-decoration: underline;
}

.footer-legal .edad {
    margin-top: 1rem;
    color: var(--naranja);
    font-weight: bold;
    font-size: 1.1rem;
    border: 1px solid var(--naranja);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    width: fit-content;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    overflow: auto;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid var(--naranja);
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2001;
    background: rgba(0,0,0,0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: var(--naranja);
    transform: rotate(90deg);
    background: rgba(0,0,0,0.8);
}

#modalCaption {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    html { font-size: 14px; }
    .glow { font-size: 3.5rem; }
    .esencia-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    html { font-size: 12px; }
    .glow { font-size: 3rem; }
    .subtitle { font-size: 1.5rem; }
    
    .main-nav {
        position: relative;
        bottom: auto;
        margin-top: 2rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .main-nav a {
        display: block;
        width: 200px;
    }
    
    .cifras {
        flex-direction: column;
        gap: 1rem;
    }
    
    .precio-card {
        min-width: 100%;
    }
    
    .cta-gigante {
        font-size: 1.5rem;
        padding: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4:after,
    .footer-social h4:after,
    .footer-legal h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social a,
    .footer-legal a {
        margin: 0 auto;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 70%;
    }
    
    .close {
        top: 10px;
        right: 10px;
        font-size: 40px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .glow { font-size: 2.5rem; }
    .hero-badges { flex-direction: column; align-items: center; }
    .badge { width: 80%; }
    
    .age-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .gallery-item img {
        height: 300px;
    }
}

/* ===== UTILIDADES ===== */
.text-center { text-align: center; }
.mt-5 { margin-top: 3rem; }
.mb-5 { margin-bottom: 3rem; }
.hidden { display: none; }