/* Configuración General y Portabilidad */
:root {
    /* 60% Dominante - Fondos */
    --bg-arena: #F8F9F6;
    --bg-blanco: #FFFFFF;
    --bg-header: #F1F4F0;

    /* 30% Secundario - Identidad Agrícola */
    --verde-oscuro: #122E22;      /* Topbar y Footer */
    --verde-bosque: #1B4332;      /* Títulos principales, Hero y contenedores */
    --verde-medio: #2D6A4F;       /* Hover y subtítulos */
    --verde-suave: #D8F3DC;       /* Fondos de badges e íconos */

    /* Apoyo Tecnológico - Agua y Precisión */
    --azul-agua: #0077B6;
    --azul-agua-hover: #005F92;
    --azul-claro: #E0F2FE;

    /* 10% Acento - Llamados a la Acción (CTA) */
    --ambar-cta: #B4540F;
    --ambar-cta-hover: #954409;
    --ambar-suave: #FDECE0;

    /* Textos */
    --texto-principal: #1F2421;
    --texto-secundario: #4A5550;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-arena);
    color: var(--texto-principal);
    line-height: 1.6;
}

html, body {
    max-width: 100%;
}

body {
    overflow-x: clip;
}

/* Enlace accesible para saltar al contenido */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background-color: var(--verde-bosque);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 5000;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* --- BARRA SUPERIOR INFORMATIVA --- */
.topbar {
    background-color: var(--verde-oscuro);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-izq, .topbar-der {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-der a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.topbar-der a:hover {
    color: var(--verde-suave);
}

.separador {
    opacity: 0.5;
}

@media (max-width: 600px) {
    .topbar {
        display: none;
    }
}

/* Encabezado y Navegación Global */
header {
    background-color: var(--bg-header);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-sitio {
    height: 44px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-sitio {
        height: 36px;
    }
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--verde-bosque);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--azul-agua);
}

/* --- SECCIÓN PRINCIPAL / HERO --- */
#inicio {
    background: linear-gradient(rgba(18, 46, 34, 0.88), rgba(27, 67, 50, 0.82)),
            url('../img/hero-riego.jpg') no-repeat center center/cover;
    color: #ffffff;
    text-align: left;
    padding: 6rem 4rem;
    max-width: 100%;
    overflow: hidden;
}

.etiqueta-ubicacion {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#inicio h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.texto-resaltado {
    color: #95D5B2;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.descripcion-hero {
    font-size: 1.2rem;
    max-width: 750px;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.5;
}

.caracteristicas-hero {
    display: flex;
    gap: 15px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.item-caracteristica {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.botones-hero {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.boton-verde,
.boton-esquema,
.boton-asesor-parcela,
.boton-tramitar-credito {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.boton-verde {
    background-color: var(--ambar-cta);
    color: #ffffff;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.boton-verde:hover {
    background-color: var(--ambar-cta-hover);
    transform: translateY(-2px);
}

.boton-esquema {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.boton-esquema:hover {
    background-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #inicio {
        padding: 4rem 1.5rem;
        text-align: center;
    }
    #inicio h1 { font-size: 2.2rem; }
    .caracteristicas-hero { justify-content: center; }
    .botones-hero { flex-direction: column; width: 100%; }
    .boton-verde, .boton-esquema { width: 100%; text-align: center; }
}

/* ==========================================================================
   SECCIÓN SERVICIOS (DIFERENCIA COMPETITIVA)
   ========================================================================== */
#servicios {
    padding: 5rem 2rem;
    background-color: var(--bg-arena);
    text-align: center;
}

.contenedor-servicios-encabezado {
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
}

.subtitulo-competitiva {
    display: inline-block;
    color: var(--verde-medio);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    background-color: var(--verde-suave);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

#servicios h2 {
    color: var(--verde-bosque);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.descripcion-servicios {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.cuadricula-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.tarjeta-servicio {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-servicio:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(123, 44, 191, 0.08);
}

.icono-servicio {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    background-color: rgba(123, 44, 191, 0.06);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
}

.tarjeta-servicio h3 {
    color: var(--verde-bosque);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.tarjeta-servicio p {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    #servicios { padding: 4rem 1.5rem; }
    #servicios h2 { font-size: 1.8rem; }
    .tarjeta-servicio { text-align: center; padding: 2rem 1.5rem; }
}

/* ==========================================================================
   SUBSECCIÓN: PROCESOS TÉCNICOS DAEGRO
   ========================================================================== */
.contenedor-procesos-tecnicos {
    background-color: var(--verde-bosque);
    padding: 4rem 2rem;
    margin-top: 4rem;
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.tarjeta-proceso {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.tarjeta-proceso.destacada {
    border: 2px solid var(--ambar-cta);
}

.badge-destacado {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--ambar-cta);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    letter-spacing: 1px;
}

.icono-proceso {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tarjeta-proceso h3 {
    color: var(--verde-bosque);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.desc-proceso-principal {
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.lista-proceso-vinetas {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.lista-proceso-vinetas li {
    position: relative;
    padding-left: 20px;
    font-size: 0.85rem;
    color: #444444;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.lista-proceso-vinetas li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--verde-medio);
    font-size: 1.3rem;
    top: -2px;
}

.enlace-proceso-accion {
    color: var(--azul-agua);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: auto;
    transition: color 0.2s;
}

.enlace-proceso-accion:hover {
    color: var(--azul-agua-hover);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contenedor-procesos-tecnicos {
        padding: 2rem 1rem;
        border-radius: 8px;
    }
    .tarjeta-proceso {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   SECCIÓN: SISTEMAS DE RIEGO TECNIFICADO
   ========================================================================== */
#riego {
    padding: 5rem 2rem;
    background-color: var(--bg-blanco);
    text-align: center;
}

.contenedor-riego-encabezado {
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
}

.subtitulo-eficiencia {
    display: inline-block;
    color: var(--verde-medio);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    background-color: var(--verde-suave);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

#riego h2 {
    color: var(--verde-bosque);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.descripcion-riego {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.cuadricula-riego {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tarjeta-riego-tecnico {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: left;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-riego-tecnico:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(36, 0, 70, 0.06);
}

.header-tarjeta-riego {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.icono-riego-item {
    font-size: 1.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    background-color: #f1f3f5;
}

.azul-claro { background-color: rgba(33, 150, 243, 0.08); }
.morado-claro { background-color: rgba(123, 44, 191, 0.08); }
.azul-mar { background-color: rgba(0, 180, 216, 0.08); }
.verde-claro { background-color: rgba(0, 122, 77, 0.08); }
.azul-oscuro { background-color: rgba(36, 0, 70, 0.08); }
.naranja-claro { background-color: rgba(255, 183, 3, 0.08); }

.badge-tecnico {
    background-color: #f8f9fa;
    color: #495057;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.tarjeta-riego-tecnico h3 {
    color: var(--verde-bosque);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.tarjeta-riego-tecnico p {
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.enlace-riego-tecnico {
    color: var(--azul-agua);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: auto;
    transition: color 0.2s;
}

.enlace-riego-tecnico:hover {
    color: var(--azul-agua-hover);
    text-decoration: underline;
}

@media (max-width: 768px) {
    #riego { padding: 4rem 1.5rem; }
    #riego h2 { font-size: 1.8rem; }
    .tarjeta-riego-tecnico { padding: 2rem 1.5rem; }
}

/* ==========================================================================
   SECCIÓN: SISTEMAS DE BOMBEO Y FILTRACIÓN
   ========================================================================== */
#bombeo {
    padding: 5rem 2rem;
    background-color: var(--bg-arena);
    text-align: center;
}

.contenedor-bombeo-encabezado {
    max-width: 900px;
    margin: 0 auto 3.5rem auto;
    text-align: left;
}

.subtitulo-corazon {
    display: inline-block;
    color: var(--verde-medio);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

#bombeo h2 {
    color: var(--verde-bosque);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.descripcion-bombeo {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.cuadricula-bombeo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tarjeta-bombeo-tecnico {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.icono-bombeo-cabecera {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background-color: rgba(157, 78, 221, 0.08);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    width: fit-content;
}

.tarjeta-bombeo-tecnico h3 {
    color: var(--verde-bosque);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.lista-bombeo-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-bombeo-check li {
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    color: #444444;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.lista-bombeo-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--azul-agua);
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    #bombeo { padding: 4rem 1.5rem; }
    .contenedor-bombeo-encabezado { text-align: center; }
    #bombeo h2 { font-size: 1.8rem; }
    .tarjeta-bombeo-tecnico { padding: 2rem 1.5rem; }
}

/* ==========================================================================
   SECCIÓN: AUTOMATIZACIÓN Y AGRICULTURA DIGITAL
   ========================================================================== */
#automatizacion {
    padding: 5rem 2rem;
    background-color: var(--bg-blanco);
}

.contenedor-dos-columnas {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    flex-wrap: wrap;
}

.columna-info-automatizacion, .columna-panel-simulador {
    flex: 1;
    min-width: min(300px, 100%);
}

.subtitulo-digital {
    display: inline-block;
    color: var(--verde-medio);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    background-color: var(--verde-suave);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.columna-info-automatizacion h2 {
    color: var(--verde-bosque);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.desc-automatizacion {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.lista-caracteristicas-digitales {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.item-digital {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.icono-digital-circulo {
    font-size: 1.3rem;
    background-color: var(--azul-agua);
    color: #ffffff;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.item-digital h3 {
    color: var(--verde-bosque);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.item-digital p {
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* --- INTERFAZ GRÁFICA DEL MONITOR DIGITAL --- */
.interfaz-monitor {
    background: linear-gradient(135deg, #005F92, #1B4332);
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(36, 0, 70, 0.2);
}

.monitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 1rem;
}

.monitor-tag {
    font-size: 0.8rem;
    opacity: 0.88;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.monitor-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

.punto-en-linea {
    width: 12px;
    height: 12px;
    background-color: #00b4d8;
    border-radius: 50%;
    box-shadow: 0 0 10px #00b4d8;
}

.monitor-tarjetas-datos {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.subtarjeta-dato {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1.2rem;
    border-radius: 10px;
    flex: 1;
}

.subtarjeta-dato p {
    font-size: 0.82rem;
    opacity: 0.9;
}

.valor-dato {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0.3rem 0;
}

.rango-optimo {
    color: #69f0ae !important;
    font-weight: 600;
    opacity: 1 !important;
}

.estado-bomba {
    font-size: 0.8rem !important;
    opacity: 0.85;
}

.monitor-progreso-seccion {
    margin-bottom: 2rem;
}

.progreso-texto {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.barra-fondo-progreso {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    overflow: hidden;
}

.barra-llena-progreso {
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, #0077B6, #52B788);
    border-radius: 4px;
}

.monitor-nota-pie {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.9;
    line-height: 1.4;
    border-left: 2px solid #52B788;
    padding-left: 10px;
    margin-bottom: 1.5rem;
}

.enlace-panel-vivo {
    display: inline-block;
    color: #90E0EF;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: 1px solid rgba(144, 224, 239, 0.45);
    padding: 0.55rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.enlace-panel-vivo:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

@media (max-width: 900px) {
    .contenedor-dos-columnas { flex-direction: column; gap: 35px; }
    .columna-info-automatizacion h2 { font-size: 1.8rem; }
    .interfaz-monitor { padding: 1.5rem; }
    .monitor-tarjetas-datos { flex-direction: column; }
}

/* ==========================================================================
   SECCIÓN: PROTECCIÓN Y NUTRICIÓN DE CULTIVOS
   ========================================================================== */
#proteccion {
    padding: 5rem 2rem;
    background-color: var(--bg-arena);
    text-align: center;
}

.contenedor-proteccion-encabezado {
    max-width: 850px;
    margin: 0 auto 3.5rem auto;
}

.subtitulo-sanidad {
    display: inline-block;
    color: var(--verde-medio);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    background-color: var(--verde-suave);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

#proteccion h2 {
    color: var(--verde-bosque);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.descripcion-proteccion {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.bloque-marcas-socias {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.titulo-marcas {
    color: #596168;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
}

.cuadricula-marcas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    gap: 20px;
}

.tarjeta-marca {
    background-color: #f8f9fa;
    padding: 1.5rem 1rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s, border-color 0.2s;
}

.tarjeta-marca:hover {
    transform: translateY(-2px);
    background-color: #ffffff;
    border-color: var(--verde-medio);
}

.icono-marca-v {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 0.5rem;
}

.tarjeta-marca h3 {
    color: var(--verde-bosque);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.tarjeta-marca p {
    color: #596168;
    font-size: 0.8rem;
}

.cuadricula-insumos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.tarjeta-insumo {
    background-color: #ffffff;
    padding: 2rem 1.8rem;
    border-radius: 12px;
    text-align: left;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tarjeta-insumo:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(36, 0, 70, 0.04);
}

.tarjeta-insumo h3 {
    color: var(--verde-bosque);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.tarjeta-insumo p {
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    #proteccion { padding: 4rem 1.5rem; }
    #proteccion h2 { font-size: 1.8rem; }
    .bloque-marcas-socias { padding: 1.5rem 1rem; }
    .tarjeta-insumo { padding: 1.5rem; }
}

/* ==========================================================================
   SECCIÓN: ASESORÍA AGRONÓMICA
   ========================================================================== */
#asesoria {
    padding: 5rem 2rem;
    background-color: #ffffff;
}

.bloque-tarjeta-asesoria {
    background: linear-gradient(135deg, #1B4332, #2D6A4F);
    color: #ffffff;
    padding: 4rem;
    border-radius: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 10px 30px rgba(90, 24, 154, 0.15);
}

.badge-acompanamiento {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.bloque-tarjeta-asesoria h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.desc-asesoria {
    font-size: 1.1rem;
    max-width: 800px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

.cuadricula-checks-asesoria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 15px 30px;
    max-width: 800px;
    margin-bottom: 3rem;
}

.check-asesoria-item {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-asesoria-item::first-letter {
    color: #95D5B2;
    font-weight: bold;
}

.boton-asesor-parcela {
    background-color: #ffffff;
    color: var(--verde-bosque);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, background-color 0.2s;
}

.boton-asesor-parcela:hover {
    background-color: #f1f3f5;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #asesoria { padding: 4rem 1.5rem; }
    .bloque-tarjeta-asesoria { padding: 2.5rem 1.5rem; }
    .bloque-tarjeta-asesoria h2 { font-size: 1.8rem; }
    .desc-asesoria { font-size: 1rem; }
    .cuadricula-checks-asesoria { grid-template-columns: 1fr; gap: 15px; }
    .boton-asesor-parcela { width: 100%; text-align: center; }
}

/* ==========================================================================
   SECCIÓN: CRÉDITO Y SIMULADOR FINANCIERO
   ========================================================================== */
#credito {
    padding: 5rem 2rem;
    background-color: var(--bg-blanco);
}

.contenedor-credito-encabezado {
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
    text-align: center;
}

.subtitulo-alianza {
    display: inline-block;
    color: var(--verde-medio);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    background-color: var(--verde-suave);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

#credito h2 {
    color: var(--verde-bosque);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.descripcion-credito {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contenedor-dos-columnas-credito {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    flex-wrap: wrap;
}

.columna-tarjetas-beneficios, .columna-simulador-calculadora {
    flex: 1;
    min-width: min(300px, 100%);
}

.tarjeta-beneficio-credito {
    display: flex;
    gap: 20px;
    background-color: #ffffff;
    padding: 1.5rem 1.8rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.icono-credito-b {
    font-size: 1.3rem;
    background-color: var(--azul-claro);
    color: var(--azul-agua);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    flex-shrink: 0;
    font-weight: bold;
}

.tarjeta-beneficio-credito h3 {
    color: var(--verde-bosque);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.tarjeta-beneficio-credito p {
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.caja-simulador {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(36, 0, 70, 0.04);
}

.header-simulador {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-simulador h3 {
    color: var(--verde-bosque);
    font-size: 1.25rem;
    font-weight: 700;
}

.icono-calculadora-p {
    font-size: 1.2rem;
    color: var(--azul-agua);
}

.control-slider {
    margin-bottom: 2rem;
}

.labels-slider {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #444444;
    margin-bottom: 0.6rem;
}

.valor-resaltado-simulador {
    color: var(--azul-agua);
    font-size: 1.1rem;
    font-weight: bold;
}

.control-slider input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #e9ecef;
    border-radius: 4px;
    outline: none;
}

.control-slider input[type="range"]:focus-visible {
    outline: 3px solid var(--azul-agua);
    outline-offset: 4px;
}

.control-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--azul-agua);
    cursor: pointer;
    transition: transform 0.1s;
}

.control-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.rango-limites {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #596168;
    margin-top: 0.4rem;
}

.bloque-resultados-simulador {
    display: flex;
    gap: 15px;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.resultado-item {
    flex: 1;
    text-align: center;
}

.etiqueta-resultado {
    font-size: 0.82rem;
    color: #596168;
    margin-bottom: 0.3rem;
}

.resumen-credito {
    font-size: 0.88rem;
    color: #495057;
    text-align: center;
    margin-bottom: 0.8rem;
}

.monto-resultado {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--verde-bosque);
}

.monto-resultado.color-morado {
    color: var(--azul-agua);
}

.nota-legal-simulador {
    font-size: 0.9rem;
    color: #4a5258;
    line-height: 1.5;
    margin-bottom: 2rem;
    text-align: center;
}

.boton-tramitar-credito {
    width: 100%;
    background-color: var(--ambar-cta);
    color: #ffffff;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.boton-tramitar-credito:hover {
    background-color: var(--ambar-cta-hover);
}

@media (max-width: 768px) {
    #credito { padding: 4rem 1.5rem; }
    .contenedor-dos-columnas-credito { flex-direction: column; }
    .caja-simulador { padding: 1.5rem; }
    .bloque-resultados-simulador { flex-direction: column; gap: 15px; }
}

/* ==========================================================================
   SECCIÓN: RECURSOS TÉCNICOS Y ARTÍCULOS
   ========================================================================== */
#recursos {
    padding: 5rem 2rem;
    background-color: var(--bg-arena);
    text-align: left;
}

.contenedor-recursos-encabezado {
    max-width: 1200px;
    margin: 0 auto 2.5rem auto;
}

.subtitulo-transferencia {
    display: inline-block;
    color: var(--verde-medio);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    background-color: var(--verde-suave);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.fila-titulo-recursos {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

#recursos h2 {
    color: var(--verde-bosque);
    font-size: 2.2rem;
    font-weight: 700;
    flex: 1;
    min-width: min(280px, 100%);
}

.descripcion-recursos {
    color: #596168;
    font-size: 1.05rem;
    max-width: 500px;
    line-height: 1.5;
    flex: 1;
    min-width: min(280px, 100%);
}

.contenedor-busqueda-recursos {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
}

#inputBuscarRecursos {
    width: 100%;
    max-width: 400px;
    padding: 0.8rem 1.2rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #ffffff;
}

#inputBuscarRecursos:focus {
    border-color: var(--verde-medio);
    box-shadow: 0 0 5px rgba(123, 44, 191, 0.2);
}

#estadoBusqueda {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--verde-medio);
    font-weight: 600;
}

.cuadricula-recursos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tarjeta-articulo {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tarjeta-articulo[hidden] {
    display: none;
}

.tarjeta-articulo:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(36, 0, 70, 0.04);
}

.categoria-articulo {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
    width: fit-content;
}

.color-riego { color: var(--azul-agua); }
.color-forrajes { color: var(--verde-medio); }
.color-digital { color: var(--ambar-cta); }

.tarjeta-articulo h3 {
    color: var(--verde-bosque);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.tarjeta-articulo p {
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.pie-articulo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    font-size: 0.82rem;
    color: #596168;
    border-top: 1px solid #f1f3f5;
    padding-top: 1rem;
}

.enlace-leer-guia {
    color: var(--azul-agua);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.enlace-leer-guia:hover {
    color: var(--azul-agua-hover);
    text-decoration: underline;
}

@media (max-width: 768px) {
    #recursos { padding: 4rem 1.5rem; text-align: center; }
    .fila-titulo-recursos { text-align: center; gap: 15px; }
    .descripcion-recursos { margin: 0 auto; }
    #inputBuscarRecursos { max-width: 100%; text-align: center; }
    .tarjeta-articulo { text-align: left; padding: 2rem 1.5rem; }
}

/* ==========================================================================
   SECCIÓN: CONTACTO Y COMUNICACIÓN DIRECTA
   ========================================================================== */
#contacto {
    padding: 5rem 2rem;
    background-color: var(--bg-blanco);
}

.contenedor-dos-columnas-contacto {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    flex-wrap: wrap;
}

.columna-datos-contacto, .columna-formulario-contacto {
    flex: 1;
    min-width: min(300px, 100%);
}

.subtitulo-comunicacion {
    display: inline-block;
    color: var(--verde-medio);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    background-color: var(--verde-suave);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.columna-datos-contacto h2 {
    color: var(--verde-bosque);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.desc-contacto-p {
    color: #555555;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.lista-bloques-datos {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 2rem;
}

.bloque-dato-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    text-align: left;
}

.icono-dato-circulo {
    font-size: 1.2rem;
    background-color: #f1f3f5;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.bloque-dato-item h3 {
    color: var(--verde-bosque);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.bloque-dato-item p {
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.acordeon-facturacion {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 1rem;
    border-radius: 8px;
    max-width: 400px;
}

.acordeon-facturacion summary {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--verde-medio);
}

.acordeon-facturacion summary:focus-visible {
    outline: 3px solid var(--verde-medio);
    outline-offset: 3px;
}

.acordeon-facturacion p {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #495057;
}

.caja-formulario-web {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(36, 0, 70, 0.03);
    text-align: left;
}

.caja-formulario-web h3 {
    color: var(--verde-bosque);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.nota-formulario {
    color: #596168;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 2rem;
}

#formContactoWhatsApp {
    display: flex;
    flex-direction: column;
}

.fila-inputs-dobles {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.fila-inputs-dobles .control-input {
    flex: 1;
    min-width: min(180px, 100%);
}

.control-input {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.control-input label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444444;
    margin-bottom: 0.4rem;
}

.control-input input, .control-input select, .control-input textarea {
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
    background-color: #ffffff;
    transition: border-color 0.2s;
}

.control-input input:focus, .control-input select:focus, .control-input textarea:focus {
    border-color: #7b2cbf;
}

.control-checkbox-legal {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1.2rem;
    font-size: 0.83rem;
    color: var(--texto-secundario);
    line-height: 1.4;
}

.control-checkbox-legal input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--verde-bosque);
    cursor: pointer;
    flex-shrink: 0;
}

.control-checkbox-legal a {
    color: var(--verde-medio);
    font-weight: 600;
    text-decoration: underline;
}

.control-checkbox-legal a:hover {
    color: var(--verde-bosque);
}

.boton-enviar-whatsapp {
    background-color: var(--ambar-cta);
    color: #ffffff;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s;
    margin-top: 0.5rem;
}

.boton-enviar-whatsapp:hover {
    background-color: var(--ambar-cta-hover);
}

.estado-formulario {
    margin-top: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background-color: var(--verde-suave);
    color: var(--verde-bosque);
    font-size: 0.9rem;
}

.estado-formulario a {
    color: var(--verde-medio);
    font-weight: bold;
}

/* --- BOTÓN FLOTANTE CIRCULAR DE WHATSAPP --- */
.btn-flotante-wa {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #128c7e;
    color: #ffffff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 4000;
    transition: transform 0.2s;
}

.btn-flotante-wa:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #contacto { padding: 4rem 1.5rem; text-align: center; }
    .bloque-dato-item { text-align: center; flex-direction: column; align-items: center; }
    .acordeon-facturacion { margin: 0 auto; }
    .caja-formulario-web { padding: 1.5rem; }
    .fila-inputs-dobles { flex-direction: column; gap: 0; }
    .btn-flotante-wa { width: 50px; height: 50px; bottom: 20px; right: 20px; }
}

/* ==========================================================================
   PIE DE PÁGINA CORPORATIVO (FOOTER)
   ========================================================================== */
footer {
    background-color: var(--verde-oscuro);
    color: #ffffff;
    padding: 4rem 2rem 0 2rem;
    font-size: 0.9rem;
    text-align: left;
}

.contenedor-columnas-footer {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding-bottom: 3rem;
}

.columna-footer {
    flex: 1;
    min-width: min(220px, 100%);
}

.info-empresa-f .logo-footer-f {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2rem;
}

.tagline-empresa {
    color: #D8E2DC;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.ciudad-f {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
}

.columna-footer h3 {
    color: var(--verde-suave);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.columna-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.columna-footer ul li {
    margin-bottom: 0.8rem;
}

.columna-footer ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
    opacity: 0.9;
}

.columna-footer ul li a:hover {
    color: var(--verde-suave);
    opacity: 1;
}

.barra-derechos-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.contenido-derechos {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.78rem;
    color: #D8E2DC;
    flex-wrap: wrap;
    gap: 15px;
}

.direccion-f-pie {
    opacity: 0.9;
}

footer .logo-sitio {
    filter: brightness(0) invert(1);
}


@media (max-width: 768px) {
    footer { padding: 3rem 1.5rem 0 1.5rem; text-align: center; }
    .contenedor-columnas-footer { flex-direction: column; gap: 30px; text-align: center; }
    .info-empresa-f .logo-footer-f { justify-content: center; }
    .contenido-derechos { flex-direction: column; text-align: center; gap: 10px; }
}

/* ==========================================================================
   NAVEGACIÓN RESPONSIVA (ESCRITORIO Y MÓVIL)
   ========================================================================== */
@media (min-width: 601px) {
    .menu-hamburguesa {
        display: none !important;
    }
    #menuNavegacion {
        display: block !important;
    }
}

@media (max-width: 600px) {
    .control-menu {
        position: relative;
    }

    .menu-hamburguesa {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 3000;
        position: relative;
    }

    .menu-hamburguesa::after {
        content: "";
        position: absolute;
        inset: -12px;
    }

    .menu-hamburguesa:focus-visible {
        outline: 3px solid var(--verde-medio);
        outline-offset: 6px;
        border-radius: 4px;
    }

    .menu-hamburguesa span {
        width: 100%;
        height: 3px;
        background-color: var(--verde-bosque);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    #menuNavegacion {
        display: none;
        position: absolute;
        top: 45px;
        right: 0;
        width: 220px;
        background-color: var(--verde-oscuro);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        border-radius: 8px;
        z-index: 2999;
    }

    #menuNavegacion ul {
        display: flex !important;
        flex-direction: column !important;
        padding: 1rem 0 !important;
        gap: 15px !important;
        list-style: none !important;
    }

    #menuNavegacion ul li {
        margin: 0 !important;
        width: 100%;
        text-align: center;
    }

    #menuNavegacion ul li a {
        color: #ffffff !important;
        text-decoration: none !important;
        font-weight: bold !important;
        font-size: 1.1rem !important;
        display: block;
        padding: 10px 0;
    }

    #menuNavegacion.menu-abierto {
        display: block !important;
    }

    .menu-hamburguesa.activo span:nth-child(1) { transform: translateY(9px) rotate(45deg) !important; }
    .menu-hamburguesa.activo span:nth-child(2) { opacity: 0 !important; }
    .menu-hamburguesa.activo span:nth-child(3) { transform: translateY(-9px) rotate(-45deg) !important; }

    #inicio h1 { font-size: 1.8rem; }
    #inicio .botones-hero a { display: block; width: 100%; margin: 10px 0 !important; text-align: center; }
}

/* ==========================================================================
   ENLACES LEGALES EN EL FOOTER
   ========================================================================== */
.enlaces-legales-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.enlaces-legales-footer a {
    color: var(--verde-suave);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.enlaces-legales-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.separador-legal {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .enlaces-legales-footer {
        justify-content: center;
    }
}

/* ==========================================================================
   BANNER DE GESTIÓN DE COOKIES
   ========================================================================== */
.banner-cookies {
    position: fixed;
    bottom: 25px;
    left: 25px;
    max-width: 440px;
    background-color: var(--verde-oscuro);
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(149, 213, 178, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 4500;
    font-size: 0.85rem;
    line-height: 1.5;
}

.banner-cookies[hidden] {
    display: none !important;
}

.banner-cookies p {
    margin-bottom: 1.2rem;
    color: #f3f1f5;
}

.banner-cookies a {
    color: var(--verde-suave);
    font-weight: bold;
    text-decoration: underline;
}

.banner-cookies a:hover {
    color: #ffffff;
}

.botones-cookies {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-cookie-primario,
.btn-cookie-secundario {
    padding: 0.6rem 1.1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-cookie-primario {
    background-color: var(--ambar-cta);
    color: #ffffff;
    border: none;
}

.btn-cookie-primario:hover {
    background-color: var(--ambar-cta-hover);
}

.btn-cookie-secundario {
    background-color: transparent;
    color: var(--verde-suave);
    border: 1px solid rgba(216, 243, 220, 0.45);
}

.btn-cookie-secundario:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

@media (max-width: 600px) {
    .banner-cookies {
        left: 15px;
        right: 15px;
        bottom: 85px;
        max-width: none;
        padding: 1.2rem;
    }
    .botones-cookies {
        flex-direction: column-reverse;
    }
    .btn-cookie-primario,
    .btn-cookie-secundario {
        width: 100%;
        text-align: center;
    }
}

/* El atributo hidden siempre debe ocultar, aunque una clase defina display */
[hidden] {
    display: none !important;
}

/* Respeta la preferencia del sistema de reducir movimiento */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
