/* ==========================================================================
   VARIABLES Y BASE
   ========================================================================== */
:root { 
    --color-primary: #d49c4b; 
    --color-primary-hover: #b5823b; 
    --color-bg-dark: #0a0a0a; 
    --color-bg-light: #141414; 
    --color-bg-card: #1c1c1c; 
    --color-text-main: #f5f5f5; 
    --color-text-muted: #aaaaaa; 
    --font-heading: 'Playfair Display', serif; 
    --font-body: 'Montserrat', sans-serif; 
}

/* EVITA DESBORDAMIENTO HORIZONTAL */
html, body { 
    background-color: var(--color-bg-dark); 
    color: var(--color-text-main); 
    font-family: var(--font-body); 
    line-height: 1.6; 
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

body.no-scroll { overflow: hidden !important; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 120px 0; }
.section-tag { color: var(--color-primary); font-size: 0.85rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 15px; }
.section-title { font-family: var(--font-heading); font-size: 3rem; line-height: 1.2; margin-bottom: 25px; color: #ffffff; }
.section-text { color: var(--color-text-muted); font-size: 1.05rem; margin-bottom: 25px; }
.text-center-box { text-align: center; max-width: 700px; margin: 0 auto 60px; }

/* --- BOTONES --- */
.btn { display: inline-block; padding: 16px 36px; font-weight: 600; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; border-radius: 0px; text-align: center; transition: all 0.3s ease; }
.btn-primary { background-color: var(--color-primary); color: #000000; border: 1px solid var(--color-primary); }
.btn-primary:hover { background-color: var(--color-primary-hover); border-color: var(--color-primary-hover); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.3); margin-left: 15px; }
.btn-secondary:hover { border-color: #ffffff; background-color: rgba(255,255,255,0.05); }
.btn-outline-nav { background-color: transparent; color: var(--color-primary); border: 1px solid var(--color-primary); padding: 10px 24px; font-size: 0.8rem; }
.btn-outline-nav:hover { background-color: var(--color-primary); color: #000000; }
.btn-block { display: block; width: 100%; }

/* --- LOGO --- */
.logo { display: flex; align-items: center; text-decoration: none; z-index: 1001; position: relative;}
.logo-img { height: 45px; width: 45px; object-fit: cover; border-radius: 50%; border: 1.5px solid var(--color-primary); display: block; }
.logo-text-fallback { color: #ffffff; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; letter-spacing: 3px; }

/* ==========================================================================
   NAVEGACIÓN ESCRITORIO
   ========================================================================== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 25px 0; transition: all 0.4s ease; border-bottom: 1px solid rgba(255,255,255,0.03); }
.header.scrolled { background-color: rgba(10, 10, 10, 0.98); padding: 15px 0; backdrop-filter: blur(12px); border-bottom: 1px solid rgba(212, 156, 75, 0.2); }
.nav-container { width: 90%; max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }

.navbar { display: block; }
.nav-menu { display: flex; gap: 35px; margin: 0; padding: 0; list-style: none; }
.nav-link { color: var(--color-text-muted); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; transition: 0.3s ease; text-decoration: none;}
.nav-link:hover { color: var(--color-primary); }

.nav-item-mobile-only { display: none; } 

/* --- HAMBURGUESA --- */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 6px; z-index: 9999; position: relative; }
.hamburger span { width: 30px; height: 3px; background-color: var(--color-primary); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- HERO --- */
.hero { height: 100vh; min-height: 750px; position: relative; display: flex; align-items: center; background: url('../assets/hero.jpeg') center/cover no-repeat; background-color: #050505; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.4) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-text-box { max-width: 650px; }
.pre-title { color: var(--color-primary); font-size: 0.9rem; font-weight: 700; letter-spacing: 4px; margin-bottom: 25px; display: block; }
.hero-title { font-family: var(--font-heading); font-size: 4.8rem; line-height: 1.05; color: #ffffff; margin-bottom: 25px; }
.hero-subtitle { font-size: 1.15rem; color: #e0e0e0; margin-bottom: 45px; font-weight: 300; }
.hero-buttons { display: flex; align-items: center; }

/* --- FEATURES --- */
.features-bar { background-color: var(--color-bg-light); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 40px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.feature-item { display: flex; align-items: center; gap: 20px; }
.feature-item h4 { font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 4px; color: #ffffff; }
.feature-item p { font-size: 0.8rem; color: var(--color-text-muted); }
.feature-icon { font-size: 1.8rem; color: var(--color-primary); }

/* --- PRODUCTOS (IMÁGENES CORREGIDAS) --- */
.productos { background-color: var(--color-bg-dark); }
.productos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.producto-card { background-color: var(--color-bg-card); border: 1px solid rgba(255,255,255,0.03); overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; }
.producto-card:hover { transform: translateY(-5px); border-color: rgba(212, 156, 75, 0.3); box-shadow: 0 15px 35px rgba(0,0,0,0.5); }
.producto-img { width: 100%; height: 300px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.producto-info { padding: 35px 25px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.producto-info h3 { font-family: var(--font-heading); color: #ffffff; font-size: 1.4rem; margin-bottom: 10px; }
.precio { color: var(--color-primary); font-size: 1.4rem; font-weight: 700; margin-bottom: 25px; letter-spacing: 1px; }

/* --- SUSCRIPCIÓN (IMAGEN CORREGIDA) --- */
.suscripcion { background-color: var(--color-bg-light); border-top: 1px solid rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.02); }
.suscripcion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } 
.highlight-gold { color: var(--color-primary); }
.suscripcion-benefits { margin-bottom: 35px; }
.suscripcion-benefits li { color: #e0e0e0; margin-bottom: 15px; font-size: 1.05rem; }
.suscripcion-img-box { display: flex; width: 100%; justify-content: center; align-items: stretch;}
.suscripcion-img { width: 100%; min-height: 500px; background-size: cover; background-position: center; background-repeat: no-repeat; border-radius: 4px; border: 1px solid rgba(212, 156, 75, 0.15); }

/* --- NOSOTROS (IMAGEN CORREGIDA) --- */
.nosotros { background-color: var(--color-bg-dark); }
.nosotros-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.image-wrapper { position: relative; width: 100%; }
.image-placeholder { width: 100%; height: 550px; background-size: cover; background-position: center; background-repeat: no-repeat; border-radius: 4px; border: 1px solid rgba(212, 156, 75, 0.15); }
.experience-badge { position: absolute; bottom: -20px; right: -20px; background-color: var(--color-primary); color: #000000; padding: 25px; text-align: center; box-shadow: 0 15px 30px rgba(0,0,0,0.3); border-radius: 4px; z-index: 5;}
.experience-badge span { font-size: 2rem; font-weight: 700; display: block; line-height: 1; }
.experience-badge p { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.quote-box { margin-top: 40px; padding-left: 30px; border-left: 3px solid var(--color-primary); }
.quote { font-family: var(--font-heading); font-style: italic; font-size: 1.3rem; color: #ffffff; line-height: 1.5; }

/* --- VALORES --- */
.valores { background-color: var(--color-bg-light); }
.section-subtitle-center { color: var(--color-text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.valores-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 20px; }
.valor-card { background-color: var(--color-bg-card); padding: 50px 40px; border: 1px solid rgba(255,255,255,0.02); transition: all 0.3s ease; }
.valor-card:hover { border-color: rgba(212, 156, 75, 0.3); transform: translateY(-5px); }
.valor-icon { font-size: 2.5rem; margin-bottom: 25px; color: var(--color-primary); }
.valor-card h3 { font-family: var(--font-heading); font-size: 1.6rem; margin-bottom: 15px; color: #ffffff; }
.valor-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* --- CONTACTO --- */
.contacto { background-color: var(--color-bg-light); }
.contacto-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: center; }
.info-channels { margin-top: 40px; }
.channel-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.channel-icon { width: 50px; height: 50px; background-color: rgba(212, 156, 75, 0.1); border: 1px solid rgba(212, 156, 75, 0.2); display: flex; justify-content: center; align-items: center; font-size: 1.3rem; color: var(--color-primary); }
.channel-item h5 { font-size: 1rem; color: #ffffff; margin-bottom: 2px; }
.channel-item p { font-size: 0.95rem; color: var(--color-text-muted); }
.contacto-form-box { background-color: var(--color-bg-card); padding: 45px; border: 1px solid rgba(255,255,255,0.03); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.contacto-form-box h3 { font-family: var(--font-heading); font-size: 1.6rem; margin-bottom: 10px; color: #ffffff; }
.mock-form .form-group { margin-bottom: 20px; }
.mock-form label { display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; color: #ffffff; }
.mock-form input, .mock-form select { width: 100%; padding: 14px; background-color: #0a0a0a; border: 1px solid #2a2a2a; color: #ffffff; font-size: 0.95rem; }
.mock-form input:focus, .mock-form select:focus { border-color: var(--color-primary); outline: none; }

/* --- FOOTER --- */
.footer { background-color: #050505; padding: 80px 0 0; border-top: 1px solid rgba(212, 156, 75, 0.15); }
.footer-top-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; }
.brand-col { padding-right: 40px; }
.footer-logo { font-family: var(--font-heading); color: var(--color-primary); font-size: 2rem; letter-spacing: 3px; margin-bottom: 20px; }
.footer-desc { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 25px; line-height: 1.7; }
.social-icons { display: flex; gap: 15px; }
.social-link { color: var(--color-primary); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; }
.social-link:hover { color: #ffffff; }
.footer-col h4 { color: #ffffff; font-size: 1rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 25px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 30px; height: 1px; background-color: var(--color-primary); }
.footer-links-list li { margin-bottom: 12px; }
.footer-links-list a { color: var(--color-text-muted); font-size: 0.9rem; }
.footer-links-list a:hover { color: var(--color-primary); padding-left: 4px; }
.contact-list li { color: var(--color-text-muted); font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid #111111; padding: 30px 0; color: #555555; font-size: 0.8rem; }
.footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; }

/* --- ANIMACIONES --- */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease, transform 0.9s ease; }
.slide-in-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.9s ease, transform 0.9s ease; }
.slide-in-right { opacity: 0; transform: translateX(60px); transition: opacity 0.9s ease, transform 0.9s ease; }
.appear { opacity: 1; transform: translate(0); }

/* ==========================================================================
   RESPONSIVE Y MENÚ MÓVIL (CORRECCIÓN DEFINITIVA)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title { font-size: 3.2rem; } 
    .nosotros-grid, .edicion-grid, .contacto-grid, .productos-grid, .suscripcion-grid { grid-template-columns: 1fr; gap: 50px; } 
    .nosotros-img-box { order: 2; } 
    .nosotros-text-box { order: 1; } 
    .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

    .nav-action { display: none !important; }
    
    .hamburger { 
        display: flex !important; 
        z-index: 9999 !important; 
        position: relative; 
    }
    
    .nav-item-mobile-only { 
        display: block !important; 
        margin-top: 20px !important; 
    }

    #navbar {
        position: fixed !important;
        top: 0 !important;
        left: -100vw !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: rgba(10, 10, 10, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        transition: left 0.4s ease-in-out !important;
        z-index: 9998 !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: visible !important;
    }

    #navbar.active {
        left: 0 !important;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        align-items: center !important;
        justify-content: center !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        min-height: 50vh !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-item {
        margin: 0 !important;
        text-align: center !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-link {
        font-size: 1.5rem !important;
        color: #ffffff !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        letter-spacing: 2px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 768px) { 
    .hero-title { font-size: 2.5rem; } 
    .hero-buttons { flex-direction: column; gap: 15px; align-items: stretch; } 
    .btn-secondary { margin-left: 0; } 
    .features-grid { grid-template-columns: 1fr; gap: 20px; } 
    .contacto-form-box { padding: 30px 20px; } 
    .footer-top-grid { grid-template-columns: 1fr; gap: 35px; } 
    .footer-bottom-flex { flex-direction: column; text-align: center; gap: 10px; } 
}