/* ==========================================================================
   VARIABLES DE DISEÑO
   ========================================================================== */
:root {
    --bg-dark: #090a0f;
    --dorado-old: #7b6027;
    --verde-brand: #64854b;
    --verde-dark: #242921;
    --text-white: #ffffff;
    --text-gray: #d0d5e0;
}

/* ==========================================================================
   CONFIGURACIÓN GENERAL
   ========================================================================== */
html { scroll-behavior: smooth; }
body {
    margin: 0; padding: 0;
    background-color: var(--bg-dark); color: var(--text-white);
    font-family: 'Space Grotesk', sans-serif; overflow-x: hidden;
}

/* BARRA DE NAVEGACIÓN */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 80px; box-sizing: border-box; z-index: 1000;
    background: rgba(9, 10, 15, 0.9); backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--dorado-old); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}
.logo-container { display: flex; align-items: center; gap: 15px; }
.nav-logo { height: 42px; width: auto; }
.logo-texto { font-family: 'Audiowide', cursive; font-size: 24px; color: var(--text-white); }
.logo-texto .gold-text-logo { color: var(--dorado-old); }
.navbar nav { display: flex; align-items: center; gap: 60px; }
.nav-links { display: flex; gap: 45px; }
.navbar nav a {
    color: var(--text-gray); text-decoration: none; font-size: 14px;
    font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.3s ease;
}
.navbar nav a:hover { color: var(--verde-brand); }
.lang-selector { border-left: 1px solid rgba(123, 96, 39, 0.4); padding-left: 25px; }

/* Eliminado !important mediante herencia específica */
.navbar nav .lang-selector a.lang-btn {
    font-size: 13px; font-weight: 700; color: var(--text-white);
    border: 1px solid var(--dorado-old); padding: 6px 12px; border-radius: 4px; text-decoration: none;
}

/* HERO SECTION */
.hero {
    position: relative; width: 100%; height: 100vh;
    display: flex; justify-content: center; align-items: center; text-align: center; overflow: hidden;
}
.video-wrapper {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
    display: flex; justify-content: center; align-items: center; background-color: var(--bg-dark);
}
#bg-video {
    min-width: 100vh; min-height: 100vw; object-fit: cover;
    transform: rotate(90deg) scale(1.05); filter: brightness(45%) contrast(110%);
}
.overlay-fade {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
    background: radial-gradient(circle at center, rgba(36, 41, 33, 0.1) 0%, rgba(9, 10, 15, 0.3) 100%),
                linear-gradient(to bottom, transparent 60%, rgba(9, 10, 15, 0.8) 85%, var(--bg-dark) 100%);
}
.patch-line {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 10vh; z-index: -1;
    background: var(--bg-dark); box-shadow: 0px -30px 30px 10px var(--bg-dark); backdrop-filter: blur(4px);
}
.brand-title {
    font-family: 'Audiowide', cursive; font-size: 95px; margin: 0 0 15px; letter-spacing: 2px;
}
.brand-title .gold-text { color: var(--dorado-old); text-shadow: 0 0 25px rgba(123, 96, 39, 0.5); }
.hero-content .subtitle { font-size: 22px; color: var(--text-gray); max-width: 650px; margin: 0 auto 50px; }
.btn-steampunk {
    display: inline-block; padding: 15px 38px; color: var(--text-white); text-decoration: none;
    text-transform: uppercase; font-size: 14px; font-weight: 600; letter-spacing: 2px;
    border: 2px solid var(--dorado-old); border-radius: 4px; background: rgba(36, 41, 33, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-steampunk:hover { border-color: var(--verde-brand); background: var(--verde-brand); box-shadow: 0 0 20px rgba(100, 133, 75, 0.6); transform: translateY(-2px); }

/* ==========================================================================
   SECCIÓN: EL DESAFÍO (PROPORCIONES CALIBRADAS EN % DEL VIEWPORT - VH)
   ========================================================================== */
.desafio-section {
    position: relative; 
    width: 100%; 
    background-color: var(--bg-dark);
    /* Despegamos la sección un 10% del alto de la pantalla del Hero */
    padding-top: 10vh; 
}

/* Espacio de scroll dinámico */
.desafio-scroll-track {
    position: relative; 
    height: 250vh; /* Espacio de scroll para la interactividad */
    width: 100%;
}

/* Contenedor inteligente */
.desafio-container {
    position: -webkit-sticky; 
    position: sticky;
    /* Mantenemos el top en % para un margen constante */
    top: 10vh; 
    max-width: 1400px;
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 40px; 
    align-items: center; /* Centramos verticalmente todo el contenido */
    padding: 0 60px; 
    box-sizing: border-box; 
    width: 100%;
    
    /* SOLUCIÓN AL HITO CORRIDO:
       El contenedor principal usará el 80% del alto disponible de la pantalla.
       Esto asegura que si la pantalla es baja, el texto se escala y el hito no se escapa. */
    height: 80vh;
    
    /* Protección: Si la pantalla es muy pequeña, no permitimos que baje de 650px totales */
    min-height: 650px; 
}

/* --- COLUMNA DE TEXTO (AJUSTADA A PROPORCIONES %) --- */
.desafio-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Ocupa el 100% de la altura de su contenedor (80vh) */
    height: 100%;
    box-sizing: border-box;
}

.desafio-text h2.single-line-title {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; 
    font-size: clamp(26px, 2.8vw, 40px); 
    line-height: 1.1; margin: 0 0 15px; text-transform: uppercase; letter-spacing: 1.5px;
}

.desafio-paragraph { 
    /* Reducimos un poco el tamaño base para mayor compatibilidad en laptop */
    font-size: clamp(14px, 1vw, 16px); 
    line-height: 1.5; 
    color: var(--text-gray); 
    margin: 0 0 8px; 
}

.centered-alert-container { display: flex; justify-content: center; width: 100%; margin: 8px 0; }

.badge-glow-alert-block {
    display: inline-block; text-align: center; background: rgba(36, 41, 33, 0.7);
    color: #ffffff; font-weight: 700; font-size: clamp(13px, 0.9vw, 15px); padding: 8px 16px;
    border: 1px solid var(--dorado-old); border-radius: 4px; box-shadow: 0 0 20px rgba(100, 133, 75, 0.25);
}

.text-alert { border-left: 3px solid #c0392b; padding-left: 15px; font-style: italic; margin-bottom: 12px; font-size: clamp(13px, 0.9vw, 15px); }

/* --- HITOS Y LÍNEA DE TIEMPO --- */
.law-timeline { position: relative; width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }

.timeline-milestone {
    position: relative; display: flex; align-items: center; gap: 20px; padding: 12px 20px;
    border-radius: 6px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.01); box-sizing: border-box;
    opacity: 0.15; 
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-milestone.active-milestone { 
    opacity: 1; 
    transform: translateY(0); 
}

.timeline-milestone.milestone-green.start-flicker { 
    animation: industrialFlickerGreen 0.7s ease-out forwards; 
}
.timeline-milestone.milestone-gold.start-flicker { 
    animation: industrialFlickerGold 0.7s ease-out forwards; 
}

.milestone-year { font-family: 'Audiowide', cursive; font-size: clamp(22px, 1.8vw, 28px); color: #ffffff !important; width: 90px; flex-shrink: 0; }
.milestone-content { display: flex; flex-direction: column; gap: 2px; }
.milestone-metric { font-family: 'Space Grotesk', sans-serif; font-size: clamp(15px, 1.1vw, 17px); font-weight: 700; color: var(--text-white); }
.milestone-desc { font-size: clamp(12px, 0.8vw, 13px); color: var(--text-gray); line-height: 1.3; }

/* --- COLUMNA VISUAL Y ANIMACIÓN (AJUSTADA A PROPORCIONES %) --- */
.desafio-visual-sticky {
    position: -webkit-sticky; position: sticky; 
    top: 10vh; /* Mantenemos el top en % para un margen constante */
    /* La zona visual ocupa el 100% del alto del contenedor padre (80vh) */
    height: 100%; 
    width: 100%; 
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.animation-window { 
    width: 100%; 
    /* La ventana visual usará el 90% del alto disponible de su columna (un 90% de 80vh) */
    height: 100%; 
    background: transparent; 
    overflow: hidden; 
    position: relative; 
    
    /* SOLUCIÓN AL CORTE DEL POTO DE LA BOTELLA:
       Mantenemos una altura mínima absoluta basada en tus cálculos de JS (540px netos). 
       Esto asegura que si el monitor es muy bajo, la botella se renderiza completa y la sección simplemente empuja el flujo hacia abajo. */
    min-height: 560px; 
    max-height: 600px;
}

#industrial-simulator { 
    width: 100%; 
    height: 100%; 
    display: block; 
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVO MÓVIL TOTALMENTE OPERATIVO)
   ========================================================================== */
@media (max-width: 1024px) {
    .desafio-scroll-track { height: auto !important; }
    .desafio-container {
        position: relative !important; top: 0 !important; height: auto !important; min-height: auto !important;
        grid-template-columns: 1fr; gap: 40px; padding: 40px 30px;
    }
    .desafio-text h2.single-line-title { white-space: normal; }
    
    .timeline-milestone {
        opacity: 1 !important; transform: none !important;
        background: rgba(36, 41, 33, 0.4) !important;
        border: 1px solid var(--verde-brand) !important;
        box-shadow: 0 0 15px rgba(100, 133, 75, 0.15);
    }
    .timeline-milestone.milestone-gold {
        background: rgba(123, 96, 39, 0.25) !important;
        border: 1px solid var(--dorado-old) !important;
        box-shadow: 0 0 15px rgba(123, 96, 39, 0.15);
    }
    .desafio-visual-sticky { position: relative !important; top: 0 !important; height: 500px; }
    .animation-window { min-height: auto !important; max-height: 500px; }
}

@media (max-width: 480px) {
    .desafio-container { padding: 20px 15px; }
    .timeline-milestone { flex-direction: column; align-items: start; gap: 10px; }
    .milestone-year { width: auto; }
}

/* ==========================================================================
   KEYFRAMES DE ANIMACIÓN (LOS BRILLOS ESTÁN AQUÍ)
   ========================================================================== */
@keyframes industrialFlickerGreen {
    0% { opacity: 0.1; border-color: rgba(100, 133, 75, 0.1); background: transparent; }
    15% { opacity: 0.8; }
    20% { opacity: 0.2; }
    35% { opacity: 1; }
    40% { opacity: 0.4; }
    55% { opacity: 1; border-color: var(--verde-brand); background: rgba(100, 133, 75, 0.1); box-shadow: 0 0 20px rgba(100, 133, 75, 0.3); }
    100% { opacity: 1; border-color: var(--verde-brand); background: rgba(100, 133, 75, 0.06); box-shadow: 0 0 15px rgba(100, 133, 75, 0.2); }
}

@keyframes industrialFlickerGold {
    0% { opacity: 0.1; border-color: rgba(123, 96, 39, 0.1); background: transparent; }
    10% { opacity: 0.9; }
    15% { opacity: 0.3; }
    25% { opacity: 1; }
    30% { opacity: 0.5; }
    45% { opacity: 1; border-color: var(--dorado-old); background: rgba(123, 96, 39, 0.15); box-shadow: 0 0 20px rgba(123, 96, 39, 0.4); }
    100% { opacity: 1; border-color: var(--dorado-old); background: rgba(123, 96, 39, 0.08); box-shadow: 0 0 15px rgba(123, 96, 39, 0.25); }
}

/* ==========================================================================
   SECCIÓN 02: LA ALQUIMIA DE REFILUP (PROPORCIONAL Y RESPONSIVE)
   ========================================================================== */
.alquimia-section { 
    position: relative; 
    width: 100%; 
    background-color: var(--bg-dark, #0b0d12); 
    /* Cambiado a padding con unidades relativas (vw) para pantallas gigantes, con límites seguros */
    padding: clamp(60px, 6vw, 120px) 0; 
    box-sizing: border-box; 
}

.alquimia-container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 clamp(24px, 5vw, 80px); /* El padding lateral encoge orgánicamente */
    display: flex; 
    flex-direction: column; 
    gap: clamp(40px, 5vw, 70px); /* Separación proporcional entre el top y las cards */
    width: 100%; 
    box-sizing: border-box; 
}

.alquimia-top-row { 
    display: grid; 
    grid-template-columns: 1fr 1.1fr; 
    gap: clamp(40px, 6vw, 80px); /* Espaciado entre columnas dinámico */
    align-items: center; 
}

.alquimia-visual-col { 
    width: 100%; 
    /* El alto ahora se adapta usando el viewport: ideal en laptops y móviles */
    height: clamp(320px, 40vh, 450px); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: relative; 
}

#alquimia-canvas { 
    width: 100%; 
    height: 100%; 
    background: transparent; 
    display: block; 
}

.alquimia-content-col { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.alquimia-content-col .section-title { 
    font-family: 'Space Grotesk', sans-serif; 
    /* Tipografía fluida: escala sola según el ancho del monitor */
    font-size: clamp(28px, 3vw, 42px); 
    font-weight: 700; 
    color: #ffffff; 
    line-height: 1.2; 
    margin: 10px 0 20px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

.alquimia-content-col .section-description { 
    font-size: clamp(15px, 1.1vw, 17px); 
    line-height: 1.7; 
    color: var(--text-gray, #95a5a6); 
    margin: 0; 
}

/* ==========================================================================
   TARJETAS INFERIORES (GRID ADAPTABLE)
   ========================================================================== */
.alquimia-bottom-cards { 
    display: grid; 
    /* minmax asegura que si las columnas miden menos de 280px, rompan fila solas */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: clamp(20px, 2.5vw, 30px); 
    width: 100%; 
}

.alquimia-card {
    position: relative; 
    background: rgba(20, 24, 33, 0.4); 
    border: 1px solid rgba(187, 168, 128, 0.15); 
    border-radius: 6px; 
    padding: clamp(20px, 2vw, 30px); /* Ajuste interno responsivo */
    display: flex; 
    gap: 20px; 
    align-items: flex-start; 
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.alquimia-card:hover { 
    transform: translateY(-5px); 
    border-color: rgba(187, 168, 128, 0.6); 
    box-shadow: 0 10px 30px rgba(123, 96, 39, 0.15); 
}

.card-icon-container { 
    width: 48px; 
    height: 48px; 
    flex-shrink: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: rgba(187, 168, 128, 0.05); 
    border: 1px solid rgba(187, 168, 128, 0.2); 
    border-radius: 4px; 
    transition: background 0.3s ease, border-color 0.3s ease; 
}

.alquimia-card:hover .card-icon-container { 
    background: rgba(100, 133, 75, 0.1); 
    border-color: var(--verde-brand, #64854b); 
}

.alquimia-svg-icon { 
    width: 24px; 
    height: 24px; 
    fill: none; 
    stroke: #cbb26a; 
    stroke-width: 1.75; 
    stroke-linecap: round; 
    stroke-linejoin: round; 
    transition: stroke 0.3s ease, filter 0.3s ease; 
}

.alquimia-card:hover .alquimia-svg-icon { 
    stroke: var(--verde-brand, #64854b); 
    filter: drop-shadow(0 0 6px rgba(100, 133, 75, 0.8)); 
}

.card-text-container { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

.alquimia-card h3 { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 18px; 
    font-weight: 600; 
    color: #ffffff; 
    margin: 0; 
}

.alquimia-card p { 
    font-size: 14px; 
    line-height: 1.5; 
    color: #8a99ad; 
    margin: 0; 
}

/* Decoradores de texto */
.section-description .highlight-molecular { color: #7da362; font-weight: 600; position: relative; display: inline-block; text-shadow: 0 0 12px rgba(125, 163, 98, 0.25); }
.line-mixed .highlight-law { color: #cbb26a; font-weight: 600; position: relative; display: inline-block; text-shadow: 0 0 12px rgba(203, 178, 106, 0.25); }

/* ==========================================================================
   MEDIA QUERIES (OPTIMIZADAS PARA DISPOSITIVOS MÓVILES Y TABLETS)
   ========================================================================== */
@media (max-width: 1024px) {
    /* En tablets cambiamos el orden para que el canvas quede arriba del texto o viceversa */
    .alquimia-top-row { 
        grid-template-columns: 1fr; 
        gap: 35px; 
    }
    
    /* Forzamos que el elemento visual de animación se dibuje primero verticalmente */
    .alquimia-visual-col {
        order: -1; 
        height: 360px; /* Un poco más chato en tablets */
    }
}

@media (max-width: 580px) {
    .alquimia-visual-col {
        height: 280px; /* Evitamos que el canvas se trague toda la pantalla del teléfono */
    }
    
    .alquimia-card {
        flex-direction: column; /* Icono arriba, texto abajo para dar máxima lectura en pantallas angostas */
        gap: 15px;
        align-items: flex-start;
    }
}

/* ==========================================================================
   SECCIÓN 03: PROCESO QUÍMICO (SÓLIDO, NATURAL Y PROPORCIONAL)
   ========================================================================== */
.proceso-section { 
    position: relative; 
    padding: 100px 0; 
    background-color: var(--bg-dark); 
}

.proceso-header { 
    max-width: 1400px; 
    margin: 0 auto 60px; 
    padding: 0 80px; 
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.proceso-header .section-title {
    text-transform: uppercase; 
    font-size: 42px; 
    line-height: 1.2;
    margin-top: 10px;
}

.proceso-container-triple { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 80px; 
    display: grid; 
    grid-template-columns: 1fr 1.4fr 1fr; 
    gap: 60px; 
    position: relative;
    min-height: 2250px; 
}

.proceso-col-text-left { 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    height: 100%;
    box-sizing: border-box;
    padding: 600px 0 40px; 
}

.proceso-col-text-right { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    height: 100%;
    box-sizing: border-box;
    padding: 600px 0 40px; 
}

.proceso-step-card {
    background: rgba(255, 255, 255, 0.01); 
    border: 1px solid rgba(245, 247, 250, 0.03); 
    border-radius: 12px; 
    padding: 40px; 
    display: flex; 
    gap: 25px; 
    opacity: 1; 
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
    position: relative; 
}

.proceso-step-card.active { 
    background: rgba(255, 255, 255, 0.02); 
    border-color: rgba(125, 163, 98, 0.15); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); 
}

.proceso-step-card .step-number { 
    font-family: 'Audiowide', sans-serif; 
    font-size: 36px; 
    color: #cbb26a; 
    text-shadow: 0 0 15px rgba(203, 178, 106, 0.3); 
}

.proceso-step-card h3 { font-size: 22px; margin: 0 0 12px; color: #ffffff; }
.proceso-step-card p { font-size: 15px; line-height: 1.6; color: #8a99ad; margin: 0; }
.proceso-step-card strong { color: #cbb26a; }

.proceso-col-canvas-center { 
    position: relative; 
    height: 100%; 
}

.proceso-canvas-sticky-wrapper { 
    position: relative; 
    width: 100%;
    height: 2200px; 
    background: var(--bg-dark); 
    border: none; 
    overflow: hidden; 
}

#proceso-canvas { 
    width: 100%; 
    height: 100%; 
    display: block; 
}

.proceso-productos-grid-container { 
    display: block;
    width: 100%;
    max-width: 1400px; 
    margin: 80px auto 0; 
    padding: 60px 80px 0; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    box-sizing: border-box;
}

.productos-title { 
    font-size: 24px; 
    color: #ffffff; 
    margin-bottom: 40px; 
    font-family: 'Space Grotesk', sans-serif; 
    letter-spacing: 0.5px; 
}

.productos-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

/* ==========================================================================
   SECCIÓN: PRODUCTOS (MODIFICADA CON INTERCALADO NEÓN Y SUBTÍTULO REAJUSTADO)
   ========================================================================== */
.productos-section {
    position: relative;
    width: 100%;
    background-color: #080a0e; 
    padding: clamp(60px, 8vw, 120px) 0;
    box-sizing: border-box;
    border-top: 1px solid rgba(187, 168, 128, 0.08);
    display: block;
}

.proceso-coproductos-master {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    gap: clamp(60px, 8vw, 100px);
    width: 100%;
    box-sizing: border-box;
}

.hero-producto-pellet {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(40px, 6vw, 60px);
    align-items: center;
}

.pellet-visual-column {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.monticulo-pellets-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    min-height: 320px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

#pellets-canvas {
    width: 100%;
    height: 100%;
    min-height: 320px; 
    display: block;
    border-radius: 8px;
}

.badge-tech-pellet {
    position: absolute;
    bottom: -10px;
    right: 10px;
    background: rgba(11, 13, 18, 0.9);
    border: 1px solid rgba(187, 168, 128, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.badge-tech-pellet .badge-txt {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #cbb26a;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pellet-text-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pellet-main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
}

.gold-text-highlight {
    color: #cbb26a;
}

.pellet-info-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 35px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
}

.pellet-hero-description {
    font-size: 15px;
    line-height: 1.7;
    color: #95a5a6;
    margin: 0;
}

.pellet-specs-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.specs-aside-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #8a99ad;
    letter-spacing: 1.5px;
    margin: 0 0 6px 0;
}

.specs-aside-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.specs-aside-list li {
    font-size: 14.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bullet-tech {
    color: #64854b;
    font-size: 12px;
}

/* --- REAJUSTE DE SUBTÍTULO DEL SLIDER --- */
.slider-aplicaciones-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: clamp(40px, 5vw, 60px);
}

.slider-section-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(20px, 2vw, 24px); /* 📐 Escalado aumentado ideal */
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.slider-track-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.slider-infinite-track {
    display: flex;
    width: max-content;
    gap: 24px;
    animation: scrollInfinito 32s linear infinite; 
}

.slider-track-container:hover .slider-infinite-track {
    animation-play-state: paused;
}

.app-slide-card {
    width: 340px; 
    background: rgba(20, 24, 33, 0.35);
    border: 1px solid rgba(187, 168, 128, 0.1);
    border-radius: 6px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.app-slide-card:hover {
    border-color: rgba(187, 168, 128, 0.3);
    background: rgba(20, 24, 33, 0.55);
    transform: translateY(-2px);
}

.slide-title-large {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* ⚡ EFECTO NEÓN INTERCALADO PARA LOS TÍTULOS DEL SLIDER */
/* Impares: Neón Dorado Viejo (#7b6027) */
.slider-infinite-track .app-slide-card:nth-child(odd) .slide-title-large {
    color: #e5c17d; /* Tono suavizado legible */
    text-shadow: 0 0 10px rgba(123, 96, 39, 0.85), 0 0 20px rgba(123, 96, 39, 0.4);
}

/* Pares: Neón Verde Brand (#64854b) */
.slider-infinite-track .app-slide-card:nth-child(even) .slide-title-large {
    color: #a4c98a; /* Tono suavizado legible */
    text-shadow: 0 0 10px rgba(100, 133, 75, 0.85), 0 0 20px rgba(100, 133, 75, 0.4);
}

.app-slide-card p {
    font-size: 13.5px;
    line-height: 1.5;
    color: #8a99ad;
    margin: 0;
}

@keyframes scrollInfinito {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); }
}
/* ==========================================================================
   SECCIÓN 04: PROPÓSITO (MISIÓN Y VISIÓN AMORTIGUADA)
   ========================================================================== */
.proposito-section {
    background-color: #080a0e;
    /* 1. SEPARACIÓN EXTRA DESDE PRODUCTOS */
    padding: clamp(160px, 18vw, 240px) 0 clamp(80px, 10vw, 140px);
    width: 100%;
}

.proposito-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    box-sizing: border-box;
}

.proposito-card {
    position: relative;
    background: rgba(20, 24, 33, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 50px 40px;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Mantiene la tarjeta orientada a la izq */
}

.proposito-accent-line {
    position: absolute;
    top: 0;
    left: 40px;
    width: 60px;
    height: 3px;
}
.proposito-accent-line.green { background-color: #64854b; }
.proposito-accent-line.gold { background-color: #cbb26a; }

.proposito-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8a99ad;
    margin-bottom: 25px;
    text-align: left; /* "El impulso" y "El horizonte" a la izquierda */
}

/* Contenedor interno para centrar el core del texto */
.proposito-content-centered {
    width: 100%;
    text-align: center; /* Centra títulos y descripciones */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.proposito-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.proposito-text {
    font-size: 15.5px;
    line-height: 1.7;
    color: #95a5a6;
    margin: 0;
    max-width: 520px;
}

/* ==========================================================================
   SECCIÓN 05: EQUIPO DIRECTIVO
   ========================================================================== */
.equipo-section {
    background-color: var(--bg-dark);
    padding: clamp(80px, 10vw, 120px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.equipo-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
}

.equipo-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #cbb26a;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title-main {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: #ffffff;
    margin: 10px 0 0 0;
    text-transform: uppercase;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.equipo-card {
    background: rgba(15, 18, 25, 0.5);
    border: 1px solid rgba(187, 168, 128, 0.05);
    border-radius: 6px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

.equipo-img-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.equipo-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(20,24,33,1) 0%, rgba(10,12,18,1) 100%);
}

.equipo-placeholder-img span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    color: #4a5768;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FOOTER DIRECTO DE LA TARJETA COMPUESTA */
.equipo-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
    width: 100%;
}

.equipo-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.equipo-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px; 
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.equipo-role {
    font-size: 13px;
    font-weight: 600;
    color: #64854b; /* Color verde corporativo */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* CAJA DE LINKEDIN PRECISADA */
.linkedin-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(203, 178, 106, 0.05);
    border: 1px solid rgba(203, 178, 106, 0.3);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.linkedin-box:hover {
    background: #cbb26a;
    border-color: #ffffff;
    box-shadow: 0 0 12px rgba(203, 178, 106, 0.45);
    transform: translateY(-2px);
}

.linkedin-icon {
    width: 16px;
    height: 16px;
    fill: #cbb26a;
    transition: fill 0.3s ease;
}

.linkedin-box:hover .linkedin-icon {
    fill: #080a0e;
}

/* ==========================================================================
   SECCIÓN 06: TIMELINE (NUESTRO CAMINO)
   ========================================================================== */
.camino-section {
    background-color: #080a0e;
    padding: clamp(80px, 10vw, 140px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.camino-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
}

.camino-header {
    text-align: center;
    margin-bottom: 80px;
}

/* ==========================================================================
   OPTIMIZACIÓN DEL TIMELINE (CONTENEDORES EXPANDIDOS Y FOTOS CONFIGURADAS)
   ========================================================================== */
.timeline-wrapper {
    position: relative;
    max-width: 1200px; /* 🚀 Expandimos el ancho máximo para ocupar más pantalla */
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-axis {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(100, 133, 75, 0.1), rgba(203, 178, 106, 0.6), rgba(100, 133, 75, 0.1));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 80px; /* Más aire entre hitos */
    box-sizing: border-box;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #080a0e;
    z-index: 5;
}

.timeline-item.left .timeline-dot {
    right: -7px;
    border: 2px solid #64854b;
    box-shadow: 0 0 10px rgba(100, 133, 75, 0.6);
}

.timeline-item.right .timeline-dot {
    left: -7px;
    border: 2px solid #cbb26a;
    box-shadow: 0 0 10px rgba(203, 178, 106, 0.6);
}

.timeline-item.left { left: 0; padding-right: 60px; text-align: right; }
.timeline-item.right { left: 50%; padding-left: 60px; text-align: left; }

.timeline-content {
    background: rgba(20, 24, 33, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 35px; /* Más empaque interno */
    border-radius: 8px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.timeline-year {
    font-family: 'Audiowide', cursive;
    font-size: 26px;
    line-height: 1;
    display: block;
    margin-bottom: 12px;
}

.timeline-item.left .timeline-year { color: #a4c98a; }
.timeline-item.right .timeline-year { color: #e5c17d; }

.timeline-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    color: #ffffff;
    margin: 0 0 25px 0;
    line-height: 1.4;
}

CSS
/* 🏢 EL CONTENEDOR DE LA IMAGEN (FONDO OSCURO INDUSTRIAL POR DEFECTO) */
.timeline-photo-space {
    width: 100%;
    height: 260px; /* Altura expandida de gran impacto */
    background: #0d1117; /* Fondo oscuro original para todos */
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* 📸 CONTROL DE EXPANSIÓN TOTAL DE LAS FOTOS (APLICA A TODOS POR DEFECTO, INCLUYENDO EL 6) */
.timeline-foto {
    width: 100%;
    height: 100%;
    object-fit: cover; /* La foto se expande y llena por completo el recuadro por alto y ancho */
    object-position: center; 
    display: block;
}

/* 🌟 CONFIGURACIÓN INMUNITARIA EXCLUSIVA SÓLO PARA EL HITO 4 (TOP 100) */
.timeline-photo-space.bg-white-exclusive {
    background: #ffffff !important; /* Fondo blanco quirúrgico sólo para el logo transparente */
    padding: 15px; 
}

/* Evita que el logo del Hito 4 se corte o pixelee al estar sobre fondo blanco */
.timeline-photo-space.bg-white-exclusive .timeline-foto {
    object-fit: contain; 
}

/* RESPONSIVE CONTROL */
@media (max-width: 768px) {
    .timeline-axis { left: 24px; }
    .timeline-item { width: 100%; padding-left: 45px !important; padding-right: 0 !important; text-align: left !important; }
    .timeline-item.right { left: 0; }
    .timeline-dot { left: 17px !important; right: auto !important; }
    .timeline-photo-space { height: 180px; } /* Un pelo más pequeña en móviles */
}
/* ==========================================================================
   RESPONSIVE CONTROL
   ========================================================================== */
@media (max-width: 1024px) {
    .proposito-container { grid-template-columns: 1fr; gap: 30px; }
    .equipo-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .timeline-axis { left: 24px; }
    .timeline-item { width: 100%; padding-left: 55px !important; padding-right: 0 !important; text-align: left !important; }
    .timeline-item.right { left: 0; }
    .timeline-dot { left: 17px !important; right: auto !important; }
}

/* ==========================================================================
   MONTAÑA DE BOTELLAS CANVA (INTEGRACIÓN PLANA)
   ========================================================================== */
.botellas-decorativas-container {
    background-color: #080a0e; /* Une el fondo oscuro del timeline con el footer */
    width: 100%;
    height: 180px; /* Altura de la acumulación */
    position: relative;
    overflow: hidden;
    margin-top: -2px;
}

#montanha-botellas-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ==========================================================================
   ESTILOS DEL FOOTER INSTITUCIONAL
   ========================================================================== */
.site-footer {
    background-color: #000000; /* Fondo negro como solicitaste */
    padding: 60px 0 20px 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 60px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

/* Identidad Visual (Izquierda) */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo-box {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

.footer-logo-placeholder {
    width: 100%;
    height: 100%;
    background: #141821;
    border: 1px dashed rgba(203, 178, 106, 0.4);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-placeholder span {
    font-size: 10px;
    color: #cbb26a;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-company-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.footer-logo-svg {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Evita que el logo se deforme o estire */
    display: block;
}

.footer-mail {
    font-size: 14px;
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-mail:hover {
    color: #64854b; /* Cambio al verde de RefilUp al posarse */
}

/* Redes Sociales (Derecha) */
.footer-socials-links {
    display: flex;
    gap: 20px;
}

.footer-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    transition: fill 0.3s ease;
}

/* Efecto hover personalizado con el verde de RefilUp */
.footer-icon-btn:hover {
    background: rgba(100, 133, 75, 0.1);
    border-color: #64854b;
    transform: translateY(-3px);
}

.footer-icon-btn:hover svg {
    fill: #64854b;
}

/* Disclaimer Inferior */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 20px clamp(24px, 5vw, 60px) 0 clamp(24px, 5vw, 60px);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.footer-bottom p {
    font-size: 11px;
    color: #4a5768;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Responsive Footer */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
    }
    .footer-brand {
        align-items: center;
    }
}