/* --- VARIABLES Y RESET --- */
:root {
    --verde-oscuro: #052e22;
    --verde-bosque: #064e3b;
    --verde-esmeralda: #10b981;
    --verde-suave: #ecfdf5;
    --fondo-gris-verde: #f3f6f4;
    --texto-principal: #111827;
    --texto-secundario: #4b5563;
    --borde-claro: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--fondo-gris-verde);
    color: var(--texto-principal);
    line-height: 1.6;
}

h1, h2, h3, .logo-texto, .metrica-num {
    font-family: 'Space Grotesk', sans-serif;
}

/* --- AVISO INFORMATIVO --- */
.aviso-informativo {
    margin-top: 22px;
    padding: 16px 20px;
    background: rgba(16, 185, 129, 0.12);
    border-left: 4px solid var(--verde-esmeralda);
    border-radius: 6px;
    text-align: left;
}

.aviso-informativo p {
    font-size: 0.92rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

.aviso-informativo a {
    color: var(--verde-esmeralda);
    font-weight: 600;
    text-decoration: underline;
}

.aviso-informativo a:hover {
    color: #34d399;
}

/* --- HEADER Y NAVEGACIÓN --- */
.header-principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.logo-marca {
    display: flex;
    align-items: center;
}

.logo-marca a {
    display: inline-block;
    line-height: 0;
}

.logo-marca img {
    height: 120px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-footer {
    max-height: 100px;
    max-width: 100%;
    width: auto;
    margin-bottom: 14px;
    display: block;
    object-fit: contain;
}

.menu-navegacion ul {
    display: flex;
    align-items: center;
    list-style: none;
    font-family: 'Montserrat', sans-serif;
}

.menu-navegacion ul li {
    margin-left: 32px;
}

.menu-navegacion ul li a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.menu-navegacion ul li a:hover {
    color: var(--verde-bosque);
}

.menu-navegacion ul li a.btn-nav {
    background: #0f172a;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.menu-navegacion ul li a.btn-nav:hover {
    background: var(--verde-bosque);
    color: #fff;
}

/* --- HERO DIVIDIDO EN 2 COLUMNAS --- */
.hero-split {
    background-color: var(--verde-bosque);
    background-image: radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.22), transparent 45%);
    color: #ffffff;
    padding: 80px 6%;
    border-bottom: 4px solid var(--verde-esmeralda);
}

.hero-contenedor {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge-verde {
    display: inline-block;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid var(--verde-esmeralda);
    color: #6ee7b7;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}

.hero-izquierda h1 {
    font-size: 3.1rem;
    line-height: 1.15;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-izquierda p {
    font-size: 1.1rem;
    color: #d1fae5;
    margin-bottom: 35px;
    max-width: 600px;
}

.acciones-hero {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primario {
    background-color: var(--verde-esmeralda);
    color: var(--verde-oscuro);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s, background 0.2s;
}

.btn-primario:hover {
    background-color: #34d399;
    transform: translateY(-2px);
}

.btn-borde {
    border: 1px solid #6ee7b7;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.btn-borde:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.panel-metricas {
    background: rgba(5, 46, 34, 0.75);
    border: 1px solid rgba(110, 231, 183, 0.25);
    border-radius: 16px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.metrica-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metrica-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.metrica-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--verde-esmeralda);
    min-width: 85px;
}

.metrica-desc {
    font-size: 0.92rem;
    color: #e2e8f0;
}

/* --- SECCIÓN CATÁLOGO --- */
.seccion-catalogo {
    padding: 90px 6%;
    max-width: 1350px;
    margin: 0 auto;
}

.encabezado-seccion {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    border-bottom: 2px solid #dce5df;
    padding-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.subtitulo-verde {
    color: var(--verde-bosque);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 6px;
}

.encabezado-seccion h2 {
    font-size: 2.3rem;
    color: var(--verde-oscuro);
}

.encabezado-seccion p {
    color: var(--texto-secundario);
    font-size: 1rem;
}

.grid-referencias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.ficha-producto {
    background: #ffffff;
    border: 1px solid #dce5df;
    border-top: 4px solid var(--verde-bosque);
    border-radius: 12px;
    padding: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.ficha-producto:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(5, 46, 34, 0.08);
    border-top-color: var(--verde-esmeralda);
}

.marco-foto {
    width: 100%;
    height: 250px;
    background-color: #f8faf9;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid #edf2ef;
}

.marco-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.aviso-foto {
    position: absolute;
    z-index: 1;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    background: #e2e8f0;
    padding: 8px 14px;
    border-radius: 6px;
}

.cuerpo-ficha {
    padding: 6px 6px 10px 6px;
}

.fila-estado {
    margin-bottom: 10px;
}

.linea-producto {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--verde-bosque);
    background: var(--verde-suave);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}

.cuerpo-ficha h3 {
    font-size: 1.35rem;
    color: var(--texto-principal);
    margin-bottom: 8px;
}

.cuerpo-ficha p {
    font-size: 0.92rem;
    color: var(--texto-secundario);
}

/* --- SECCIÓN LA EMPRESA --- */
.seccion-operativa {
    padding: 40px 6% 90px 6%;
    max-width: 1350px;
    margin: 0 auto;
}

.operativa-caja {
    background: var(--verde-oscuro);
    color: #ffffff;
    border-radius: 16px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.subtitulo-blanco {
    color: var(--verde-esmeralda);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.operativa-texto h2 {
    font-size: 2.1rem;
    margin-bottom: 16px;
}

.operativa-texto p {
    color: #cbd5e1;
    font-size: 1rem;
}

.operativa-pilares {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pilar {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--verde-esmeralda);
    padding: 20px 24px;
    border-radius: 6px;
}

.pilar h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.pilar p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* --- FOOTER 3 COLUMNAS --- */
.footer-corporativo {
    background: #031c14;
    color: #94a3b8;
    padding: 70px 6% 30px 6%;
}

.footer-grid {
    max-width: 1250px;
    margin: 0 auto 50px auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 50px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--verde-esmeralda);
}

.dato-destacado {
    color: #ffffff;
    font-weight: 600;
    margin-top: 8px;
    word-break: break-word;
}

.footer-inferior {
    max-width: 1250px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.82rem;
}

/* --- ADAPTACIÓN MÓVIL (RESPONSIVE DESIGN) --- */
@media (max-width: 900px) {
    .header-principal {
        flex-direction: column;
        gap: 15px;
        padding: 1.2rem 5%;
    }

    .logo-marca img {
        height: 80px;
    }

    .menu-navegacion ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .menu-navegacion ul li {
        margin-left: 0;
    }

    .hero-contenedor,
    .operativa-caja,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-split {
        padding: 50px 5%;
    }

    .hero-izquierda h1 {
        font-size: 2.1rem;
    }

    .operativa-caja {
        padding: 35px 22px;
    }

    .acciones-hero {
        flex-direction: column;
    }

    .btn-primario, .btn-borde {
        text-align: center;
        width: 100%;
    }
}