/* =========================================
   1. VARIABLES & IDENTIDAD CORPORATIVA
   ========================================= */
:root {
            --green: #006837; --green-dark: #004d29; --green-bg: #f0fdf4; --green-light: #e6f4ea;
            --orange: #EB6109; --orange-light: #fff5f0; --gold: #b88317; --gold-light: #fef9f0;
            --text: #1e293b; --text-sub: #64748b; --text-light: #94a3b8;
            --white: #ffffff; --bg: #f8fafc; --border: #e2e8f0;
            --shadow: 0 4px 20px rgba(0,0,0,0.04); --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
            --shadow-xl: 0 20px 60px rgba(0,104,55,0.10);
            --radius: 12px; --radius-lg: 20px; --radius-xl: 24px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
        html, body {
             max-width: 100%;
             overflow-x: hidden;
      }

        /* ========== Navegación Rápida Vertical ========== */
        .quick-nav-right {
            position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
            display: flex; flex-direction: column; gap: 14px; z-index: 999;
        }
        .quick-nav-right .nav-dot {
            width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1;
            transition: var(--transition); position: relative; cursor: pointer;
        }
        .quick-nav-right .nav-dot:hover, .quick-nav-right .nav-dot.active {
            background: var(--green); width: 14px; height: 14px;
        }
        .quick-nav-right .nav-dot .nav-tooltip {
            position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
            background: var(--green); color: white; padding: 6px 14px; border-radius: 20px;
            font-size: 0.72rem; font-weight: 600; white-space: nowrap;
            opacity: 0; pointer-events: none; transition: var(--transition);
        }
        .quick-nav-right .nav-dot:hover .nav-tooltip { opacity: 1; }
        
        /* ========== HERO (Carrusel) ========== */
        .hero-section {
            position: relative; height: 60vh; min-height: 400px; max-height: 650px;
            overflow: hidden;
        }
        .hero-slide {
            position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease;
            background-size: cover; background-position: center;
        }
        .hero-slide.active { opacity: 1; }
        .hero-slide::after {
            content: ''; position: absolute; inset: 0;
            background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
        }
        .hero-content {
            position: absolute; bottom: 15%; left: 8%; z-index: 2;
            max-width: 550px; color: white;
        }
        .hero-badge {
            display: inline-block; background: var(--orange); color: white;
            padding: 5px 16px; border-radius: 30px; font-size: 0.7rem;
            font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
            margin-bottom: 16px;
        }
        .hero-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900;
            line-height: 1.1; margin-bottom: 12px;
        }
        .hero-title span { color: var(--orange); }
        .hero-text {
            font-size: clamp(0.88rem, 1.5vw, 1rem); opacity: 0.9;
            margin-bottom: 20px; line-height: 1.5;
        }
        .hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
        .btn-hero {
            padding: 12px 28px; border-radius: 50px; font-weight: 700;
            font-size: 0.85rem; text-decoration: none; transition: var(--transition);
            display: inline-flex; align-items: center; gap: 8px;
        }
        .btn-hero-green {
            background: var(--green); color: white;
        }
        .btn-hero-green:hover { background: var(--green-dark); transform: translateY(-2px); color: white; }
        .btn-hero-outline {
            border: 2px solid rgba(255,255,255,0.5); color: white;
        }
        .btn-hero-outline:hover { background: white; color: var(--green); border-color: white; }
        
        .hero-dots {
            position: absolute; bottom: 25px; left: 8%; display: flex; gap: 10px; z-index: 2;
        }
        .hero-dot {
            width: 10px; height: 10px; border-radius: 50%;
            background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition);
        }
        .hero-dot.active { background: var(--orange); width: 28px; border-radius: 5px; }
        
        /* ========== ESTILOS GENERALES DE SECCIONES ========== */
        .section-padding { padding: 80px 0; }
        
        .section-label {
            font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px;
            font-weight: 700; color: var(--orange); margin-bottom: 10px;
        }
        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
            color: var(--green); line-height: 1.15; margin-bottom: 20px;
        }
        .section-title span { color: var(--orange); font-style: italic; }
        
        .btn-orange {
            background: var(--orange); color: white; padding: 10px 24px; border-radius: 50px;
            font-weight: 700; font-size: 0.85rem; text-decoration: none; transition: var(--transition);
            display: inline-flex; align-items: center; gap: 8px; border: none;
        }
        .btn-orange:hover { background: #d45500; transform: translateY(-2px); color: white; }

        .btn-outline-green {
            background: transparent; color: var(--green); border: 2px solid var(--green);
            padding: 10px 24px; border-radius: 50px; font-weight: 700; font-size: 0.85rem;
            text-decoration: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
        }
        .btn-outline-green:hover { background: var(--green); color: white; }
        
        /* ========== SECCIÓN NOSOTROS ========== */
        .about-section { padding: 80px 0; background: var(--white); }
        .video-wrapper {
            position: relative; border-radius: var(--radius-xl); overflow: hidden;
            box-shadow: var(--shadow-xl); cursor: pointer;
        }
        .video-wrapper img { width: 100%; height: 380px; object-fit: cover; }
        .play-btn {
            position: absolute; inset: 0; display: flex; align-items: center;
            justify-content: center; background: rgba(0,0,0,0.2);
        }
        .play-btn i {
            font-size: 3rem; color: white; background: var(--orange);
            width: 70px; height: 70px; border-radius: 50%; display: flex;
            align-items: center; justify-content: center; transition: var(--transition);
        }
        .play-btn:hover i { transform: scale(1.1); background: var(--green); }
        .video-label {
            position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
            color: white; font-weight: 700; font-size: 0.9rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }
        .stats-row {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px;
            margin-top: 25px; padding-top: 20px; border-top: 1px solid #e2e8f0;
        }
        .stat-box { text-align: center; }
        .stat-num { font-size: 1.8rem; font-weight: 800; color: var(--green); display: block; line-height: 1; }
        .stat-lbl { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-sub); font-weight: 600; margin-top: 4px; }

        /* ========== SECCIÓN PRODUCTOS ========== */
        .products-section { padding: 80px 0; background: var(--bg); }
        .products-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
        .product-card {
            background: white; border-radius: var(--radius-lg); overflow: hidden;
            border: 1px solid var(--border); transition: var(--transition); 
            box-shadow: var(--shadow); text-decoration: none; color: var(--text);
            display: block;
        }
        .product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--orange); }
        .product-image-wrapper {
            height: 220px; background: var(--green-light); display: flex;
            align-items: center; justify-content: center; padding: 20px;
            position: relative; overflow: hidden;
        }
        .product-image-wrapper img {
            max-height: 100%; max-width: 100%; object-fit: contain;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        .product-card:hover .product-image-wrapper img { transform: scale(1.12) rotate(-2deg); }
        .product-info { padding: 24px; text-align: center; }
        .product-info h5 { font-size: 1rem; font-weight: 700; color: var(--green); margin-bottom: 8px; }
        .product-info p { font-size: 0.8rem; color: var(--text-sub); line-height: 1.5; margin-bottom: 12px; }
        .product-link { font-size: 0.75rem; font-weight: 700; color: var(--orange); display: flex; align-items: center; justify-content: center; gap: 5px; }

        /* ========== SECCIÓN 1: SOSTENIBILIDAD ========== */
        .sostenibilidad-section { padding: 80px 0; background: var(--white); }
        .sostenibilidad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .sostenibilidad-card {
            background: var(--bg); border-radius: var(--radius-lg); padding: 40px 30px;
            text-align: center; border: 1px solid var(--border); transition: var(--transition);
            box-shadow: var(--shadow);
        }
        .sostenibilidad-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
        .sostenibilidad-card i { font-size: 2.5rem; color: var(--green); margin-bottom: 15px; }
        .sostenibilidad-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
        .sostenibilidad-card p { font-size: 0.85rem; color: var(--text-sub); margin-bottom: 0; line-height: 1.5; }

        /* ========== SECCIÓN 2: CALIDAD ========== */
        .calidad-section { padding: 150px 0; background: var(--bg); }
        .calidad-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
        .calidad-image {
            border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl);
            height: 450px; background: url('/public/assets/images/Futra_en_mano.png') center/cover;
        }
        .calidad-text h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 800; color: var(--green); margin-bottom: 15px; }
        .calidad-text p { color: var(--text-sub); line-height: 1.7; margin-bottom: 15px; }
        .calidad-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
        .calidad-feature { display: flex; align-items: center; gap: 10px; }
        .calidad-feature i { color: var(--orange); font-size: 1.2rem; }

        /* ========== SECCIÓN 3: ECONOMÍA CIRCULAR ========== */
        .economia-section { padding: 80px 0; background: var(--white); }
        .economia-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .economia-card {
            background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
            transition: var(--transition); box-shadow: var(--shadow);
        }
        .economia-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
        .economia-img { height: 180px; background: var(--green-light); display: flex; align-items: center; justify-content: center; }
        .economia-img i { font-size: 4rem; color: var(--green); }
        .economia-content { padding: 25px; }
        .economia-content h4 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
        .economia-content p { font-size: 0.85rem; color: var(--text-sub); line-height: 1.5; margin: 0; }

        /* ========== SECCIÓN 4: COMUNIDAD ========== */
        .comunidad-section { padding: 80px 0; background: var(--bg); }
        .comunidad-header { text-align: center; max-width: 700px; margin: 0 auto 40px; }
        .comunidad-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
        .comunidad-card {
            background: white; border-radius: var(--radius-lg); padding: 30px;
            border-left: 4px solid var(--orange); transition: var(--transition); box-shadow: var(--shadow);
        }
        .comunidad-card:hover { transform: translateX(8px); box-shadow: var(--shadow-lg); }
        .comunidad-card h5 { font-weight: 700; color: var(--green); margin-bottom: 5px; }
        .comunidad-card p { font-size: 0.85rem; color: var(--text-sub); margin: 0; }

        /* ========== RESPONSIVE CORREGIDO ========== */
        @media (max-width: 1199px) {
            .products-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 991px) {
            .products-grid { grid-template-columns: repeat(2, 1fr); }
            .sostenibilidad-grid, .economia-grid { grid-template-columns: repeat(2, 1fr); }
            .calidad-row { grid-template-columns: 1fr; }
            .calidad-image { height: 250px; }
        }
        @media (max-width: 767px) {
            .hero-section { height: 50vh; min-height: 350px; }
            .hero-content { left: 5%; right: 5%; bottom: 10%; }
            .hero-buttons { flex-direction: column; }
            .products-grid { grid-template-columns: 1fr; }
            .sostenibilidad-grid, .economia-grid { grid-template-columns: 1fr; }
            .calidad-features { grid-template-columns: 1fr; }
            .comunidad-grid { grid-template-columns: 1fr; }
            .about-section .row { flex-direction: column-reverse; }
            .quick-nav-right { display: none; } /* Se oculta la navegación vertical en móviles */
        }