/* --- VARIABLES DE MARCA --- */
:root {
    --amarillo: #F9D806;
    --rojo: #E21F26;
    --negro: #121212;
    --gris-oscuro: #2C2C2C;
    --gris-claro: #F4F6F8;
    --blanco: #FFFFFF;
    
    /* Colores Archivos */
    --word-blue: #2b579a;
    --excel-green: #217346;
    --ppt-orange: #d24726;
}

/* --- ESTILOS GENERALES --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: #333; line-height: 1.6; overflow-x: hidden; scroll-behavior: smooth; }
h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background: var(--gris-claro); }
.bg-dark { background: var(--negro); color: var(--blanco); }
.title-center { text-align: center; margin-bottom: 50px; font-size: 2.5rem; color: var(--negro); }
.white { color: var(--blanco); }
.text-center { text-align: center; }

/* --- NAVBAR MODERN --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 3%; background: var(--blanco); position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 50px; }
.brand { font-weight: 800; font-size: 1.4rem; color: var(--negro); letter-spacing: -0.5px; }

.nav-links { display: flex; gap: 15px; align-items: center; }
.nav-links li { position: relative; }
.nav-links a { color: var(--negro); font-weight: 600; font-size: 0.9rem; padding: 10px; display: block; }
.nav-links a:hover, .nav-links a.active { color: var(--rojo); }

/* DROPDOWN */
.dropdown-content {
    display: none; position: absolute; background-color: #ffffff; min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); z-index: 1; border-top: 4px solid var(--amarillo);
    border-radius: 0 0 5px 5px; top: 100%; left: 0;
}
.dropdown-content li { width: 100%; }
.dropdown-content li a {
    color: #333; padding: 12px 16px; text-decoration: none; display: block;
    font-size: 0.85rem; border-bottom: 1px solid #f0f0f0;
}
.dropdown-content li a:hover { background-color: var(--gris-claro); color: var(--rojo); padding-left: 20px; }
.dropdown:hover .dropdown-content { display: block; animation: fadeIn 0.3s; }
.dropbtn i { font-size: 0.7rem; margin-left: 5px; color: var(--amarillo); }

.btn-nav { background: var(--amarillo); padding: 8px 20px !important; border-radius: 50px; color: var(--negro) !important; margin-left: 10px; }
.btn-nav:hover { background: var(--negro); color: var(--amarillo) !important; }

/* --- HERO --- */
.hero {
    position: relative; /* Necesario para que el overlay se pegue a los bordes */
    height: 90vh;       /* Altura en PC */
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333;
    /* QUITAMOS cualquier padding o flex aquí para que no deforme el fondo */
    padding: 0; 
    display: block; 
}

.hero-overlay {
    /* 1. Cobertura Total (del Código 1) */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 90vh; /* Acompaña al padre */
    /* 2. Estética y Contraste (del Código 2) */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9));
    
    /* 3. Centrado de contenido (Ambos) */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--blanco);
    padding: 20px;
    
    /* 4. Toque extra de seguridad */
    z-index: 2; 
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 20px;
}
.hero-subtitle { 
    display: block; font-size: 1.1rem; 
    color: var(--amarillo); font-weight: 700; 
    margin-bottom: 10px; letter-spacing: 2px; }
.hero-content h1 { 
    font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; 
    text-transform: uppercase; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }

.btn-main { background: var(--amarillo); color: var(--negro); padding: 15px 35px; border-radius: 50px; font-weight: 700; margin-right: 15px; display: inline-block; }
.btn-outline { border: 2px solid var(--blanco); color: var(--blanco); padding: 13px 35px; border-radius: 50px; font-weight: 700; display: inline-block; }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(249, 216, 6, 0.3); }

/* --- SECCIONES COMUNES --- */
.iso-section { background: var(--blanco); padding: 60px 0; border-bottom: 1px solid #eee; }
.iso-card { display: flex; align-items: center; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eee; }
.iso-content { flex: 1.5; padding: 50px; }
.iso-image-container { flex: 1; background: #fff; padding: 60px; display: flex; justify-content: center; align-items: center; border-left: 1px solid #f0f0f0; }
.iso-image-container img { max-height: 350px; object-fit: contain; }
.badge-iso { background: var(--rojo); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }
.iso-content h2 { font-size: 2.2rem; margin: 15px 0; color: var(--negro); }.iso-features li { margin-bottom: 10px; font-weight: 600; color: #555; }
.iso-features i { color: var(--amarillo); margin-right: 10px; font-size: 1.2rem; }

/* --- PHVA --- */
.phva-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; }
.phva-card { background: white; padding: 30px; border-radius: 15px; text-align: center; transition: 0.4s; position: relative; overflow: hidden; border-bottom: 5px solid transparent; box-shadow: 0 5px 15px rgba(0,0,0,0.05); cursor: default;}
.phva-card:hover { transform: translateY(-10px); }
.letter { font-size: 3rem; font-weight: 900; opacity: 0.1; position: absolute; top: -10px; right: 10px; }
.phva-card h3 { margin-bottom: 15px; font-size: 1.5rem; }

.p-card { border-color: #2ecc71; } .p-card h3 { color: #2ecc71; }
.h-card { border-color: #3498db; } .h-card h3 { color: #3498db; }
.v-card { border-color: var(--amarillo); } .v-card h3 { color: #d4ac0d; }
.a-card { border-color: var(--rojo); } .a-card h3 { color: var(--rojo); }

/* --- SERVICIOS --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.service-item {
    background: white; padding: 30px; border-radius: 10px; border: 1px solid #eee;
    transition: 0.3s; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.service-item:hover { border-color: var(--amarillo); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.service-item i { font-size: 2.5rem; color: var(--rojo); margin-bottom: 20px; }

/* --- ENERGÉTICOS --- */
.energy-box { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.energy-detail {
    background: rgba(255,255,255,0.1); padding: 30px; border-radius: 15px; width: 300px;
    backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1); text-align: center;
}
.energy-detail i { color: var(--amarillo); font-size: 2rem; margin-bottom: 15px; }
.energy-detail h3 { margin-bottom: 10px; font-size: 1.2rem; }
.energy-detail p { font-size: 0.9rem; opacity: 0.8; }

/* --- COMPLEMENTARIOS Y LEGALES --- */
.complementarios-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 60px; }
.comp-card { background: white; padding: 30px; border-radius: 15px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.comp-card i { color: var(--amarillo); font-size: 2.5rem; margin-bottom: 15px; }

/* LEGAL MODERN */
.legal-modern-section { background: var(--negro); border-radius: 20px; padding: 50px; position: relative; overflow: hidden; }
.legal-modern-section::before { content: ""; position: absolute; top: 0; right: 0; width: 200px; height: 200px; background: var(--amarillo); border-radius: 50%; filter: blur(100px); opacity: 0.1; }
.legal-header { text-align: center; color: white; margin-bottom: 40px; }
.legal-header h3 { font-size: 2rem; color: var(--amarillo); }
.legal-header p { opacity: 0.8; }

.legal-cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.legal-card-modern { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 15px; text-align: center; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.legal-card-modern:hover { transform: translateY(-10px); background: rgba(255,255,255,0.1); border-color: var(--amarillo); }
.icon-legal { width: 60px; height: 60px; background: var(--amarillo); border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--negro); }
.legal-card-modern h5 { color: white; margin-bottom: 10px; font-size: 1.2rem; }
.legal-card-modern p { color: #ccc; font-size: 0.9rem; }
.legal-card-modern.highlight .icon-legal { background: var(--rojo); color: white; }

/* --- NOSOTROS - NUEVOS ESTADÍSTICOS --- */
.about-header-modern { text-align: center; max-width: 800px; margin: 0 auto 40px auto; }
.tag-red { color: var(--rojo); font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.alliances-text-center { text-align: center; margin-bottom: 50px; font-size: 0.9rem; color: #555; }

.about-stats-container {
    display: flex; justify-content: center; gap: 40px; margin-bottom: 80px; flex-wrap: wrap;
}
.stat-square {
    width: 250px; height: 250px; background: white; border-radius: 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: 0.4s; border: 2px solid transparent;
}
.stat-square:hover { transform: translateY(-15px) rotate(2deg); border-color: var(--amarillo); }
.stat-icon { font-size: 3rem; color: var(--amarillo); margin-bottom: 20px; }
.stat-info h3 { font-size: 3rem; line-height: 1; margin-bottom: 5px; color: var(--negro); }
.stat-info p { font-size: 1rem; color: #666; font-weight: 600; }
.highlight-stat .stat-icon { color: var(--rojo); }

/* --- COLMENA MEJORADO --- */
.colmena-modern-container {
    background: white; border-radius: 20px; overflow: hidden; display: flex;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); border: 1px solid #eee; margin-bottom: 80px;
}
.colmena-visual {
    flex: 1; background: var(--negro); color: white; padding: 50px;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    position: relative; overflow: hidden;
}
.colmena-visual::after { content: ""; position: absolute; bottom: -50px; right: -50px; width: 200px; height: 200px; background: var(--amarillo); border-radius: 50%; opacity: 0.1; }
.colmena-icon-big { font-size: 4rem; color: var(--amarillo); margin-bottom: 20px; }
.colmena-visual h3 { color: #888; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 2px; }
.colmena-visual h2 { font-size: 2.5rem; color: white; margin-bottom: 10px; }
.colmena-visual p { color: #ccc; margin-bottom: 30px; }
.btn-colmena-modern { background: var(--amarillo); color: var(--negro); padding: 12px 30px; border-radius: 5px; font-weight: bold; }

.colmena-benefits-grid { flex: 2; padding: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: #fff; }
.benefit-column h4 { font-size: 1.3rem; margin-bottom: 20px; color: var(--negro); display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--gris-claro); padding-bottom: 10px; }
.benefit-column h4 i { color: var(--rojo); }
.benefit-column ul li { margin-bottom: 15px; display: flex; gap: 10px; color: #555; }
.benefit-column ul li i { color: var(--amarillo); font-size: 0.9rem; margin-top: 5px; }

/* --- FORMULARIO DE CONTACTO --- */
/* =========================================
   FORMULARIO MODERN & FRIENDLY (INDEX)
   ========================================= */

/* Contenedor Principal (Tarjeta Flotante) */
.contact-form-modern {
    background: #ffffff; /* Blanco puro para resaltar */
    border-radius: 20px; /* Bordes muy redondeados (Amigable) */
    padding: 50px;
    max-width: 850px;
    margin: 0 auto;
    /* Sombra suave para efecto 3D */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); 
    border-top: 6px solid var(--amarillo); /* Toque de marca arriba */
    position: relative;
    overflow: hidden;
}

/* Encabezado del Formulario */
.form-header { 
    text-align: center; 
    margin-bottom: 40px; 
}

.form-header h2 { 
    color: var(--amarillo); 
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #646464;
    font-size: 1rem;
}

/* Pequeña línea decorativa */
.header-line {
    width: 60px;
    height: 4px;
    background-color: var(--rojo);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Estructura Flexible */
.sgc-form { 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
}

.form-group-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
    gap: 25px; 
}

/* Etiquetas (Labels) con Iconos */
.input-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--negro);
    font-family: 'Montserrat', sans-serif;
}

.input-wrapper label i {
    color: var(--amarillo); /* Icono amarillo */
    margin-right: 5px;
}

/* Inputs y Textarea (Campos de texto) */
.sgc-form input, 
.sgc-form textarea {
    padding: 15px 18px;
    border-radius: 12px; /* Bordes redondeados */
    border: 2px solid #eee; /* Borde gris muy suave */
    background-color: #f9f9f9; /* Fondo gris casi blanco */
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: #333;
}

/* Efecto al hacer clic en un campo (Focus) */
.sgc-form input:focus, 
.sgc-form textarea:focus {
    border-color: var(--amarillo); /* Borde se pone amarillo */
    background-color: #fff; /* Fondo se pone blanco puro */
    outline: none;
    box-shadow: 0 4px 15px rgba(249, 216, 6, 0.15); /* Resplandor suave */
}

/* Botón de Envío Moderno */
.btn-submit-modern {
    background: var(--negro); 
    color: #fff; 
    border: none; 
    padding: 18px;
    border-radius: 12px; 
    font-weight: 800; 
    font-size: 1.1rem; 
    cursor: pointer; 
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit-modern i {
    color: var(--amarillo);
    transition: transform 0.3s;
}

/* Efecto Hover del Botón */
.btn-submit-modern:hover { 
    background: var(--amarillo); 
    color: var(--negro); 
    transform: translateY(-3px); /* Se levanta un poco */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-submit-modern:hover i {
    color: var(--negro);
    transform: translateX(5px); /* La flecha se mueve a la derecha */
}
/* --- SECCIÓN VIDEO --- */
.video-header { max-width: 800px; margin: 0 auto 40px auto; }
.video-header h2 { font-size: 2.5rem; color: var(--negro); margin-top: 10px; }
.video-header p { font-size: 1.1rem; color: #555; }
.video-frame {
    max-width: 900px; margin: 0 auto;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 4px solid white;
    background: #000;
}
.video-frame video { width: 100%; display: block; }

/* OTROS ESTILOS COMPLEMENTARIOS */
.profesio-modern-card { display: flex; background: white; border-radius: 30px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.08); border: 1px solid #eee; }
.profesio-visual { flex: 1; background: var(--rojo); color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px; position: relative; overflow: hidden; }
.profesio-visual::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 20px 20px; opacity: 0.5; }
.profesio-visual i { font-size: 5rem; margin-bottom: 15px; position: relative; z-index: 2; }
.profesio-visual span { font-weight: 700; text-transform: uppercase; letter-spacing: 2px; position: relative; z-index: 2; }
.profesio-content { flex: 2; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.profesio-content h2 { margin-bottom: 20px; color: var(--negro); }
.profesio-content p { font-size: 1.05rem; line-height: 1.8; color: #555; margin-bottom: 30px; }
.btn-text-red { color: var(--rojo); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; }
.btn-text-red:hover { gap: 15px; color: var(--negro); }

.section-examenes-bg { background: radial-gradient(circle at center, rgba(249, 216, 6, 0.05) 0%, var(--gris-claro) 70%); }
.examen-health-card { background: white; padding: 60px 40px 40px 40px; border-radius: 40px; position: relative; max-width: 900px; margin: auto; box-shadow: 0 20px 50px rgba(249, 216, 6, 0.15); border-top: 8px solid var(--amarillo); }
.health-icon-float { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 80px; height: 80px; background: var(--amarillo); color: var(--negro); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; box-shadow: 0 10px 25px rgba(249, 216, 6, 0.4); }
.health-features { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; margin-top: 30px; }
.health-features span { font-weight: 600; color: var(--negro); background: rgba(249, 216, 6, 0.1); padding: 10px 20px; border-radius: 50px; }
.health-features i { color: var(--rojo); margin-right: 8px; }

.modern-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.modern-blog-card { background: white; border-radius: 25px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.4s ease; text-align: center; padding: 0 0 40px 0; border: 1px solid transparent; }
.modern-blog-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.mb-icon { height: 100px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin-bottom: 25px; color: var(--negro); }
.modern-blog-card.header-red .mb-icon { background: var(--rojo); color: white; }
.modern-blog-card.header-yellow .mb-icon { background: var(--amarillo); color: var(--negro); }
.modern-blog-card.header-dark .mb-icon { background: var(--negro); color: var(--amarillo); }
.modern-blog-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--negro); }
.modern-blog-card p { padding: 0 30px; font-size: 0.95rem; color: #666; line-height: 1.6; }

/* ANIMACIONES */
.fade-up { animation: fadeUp 0.8s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
@keyframes fadeUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }








/* =========================================
   ESTILOS PARA PÁGINAS INTERNAS (NOSOTROS)
   ========================================= */
/* Header Pequeño */
.page-header {
    height: 50vh;
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1350&q=80') center/cover;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.header-overlay {
    background: rgba(0,0,0,0.6);
    width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: white; text-align: center; padding: 20px;
}
.page-header h1 { font-size: 3rem; margin-bottom: 15px; color: var(--amarillo); text-transform: uppercase; }
.page-header p { font-size: 1.2rem; max-width: 600px; }

/* Layout Dividido (Texto - Imagen) */
.split-layout { display: flex; align-items: center; gap: 60px; }
.split-layout.reverse { flex-direction: row-reverse; }

.split-text { flex: 1; }
.split-image { flex: 1; }
.split-image img { 
    border-radius: 20px; 
    box-shadow: 20px 20px 0px var(--amarillo); 
    width: 100%;
}

.tag-yellow { background: var(--amarillo); color: var(--negro); padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.8rem; text-transform: uppercase; }
.lead-text { font-size: 1.1rem; margin: 20px 0; color: #555; line-height: 1.8; border-left: 4px solid var(--rojo); padding-left: 20px; }

.check-points { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 20px; }
.check-points span { font-weight: 600; font-size: 0.9rem; }
.check-points i { color: var(--rojo); margin-right: 5px; }

/* Sección Experiencia Centrada */
.text-center-box { text-align: center; max-width: 800px; margin: auto; }
.icon-top { font-size: 3rem; color: var(--amarillo); margin-bottom: 20px; }
.content-paragraph { font-size: 1.2rem; margin-bottom: 40px; }

.sectors-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.sector-item {
    background: white; padding: 20px 40px; border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: flex; flex-direction: column; align-items: center;
    transition: 0.3s;
}
.sector-item:hover { transform: translateY(-5px); color: var(--rojo); }
.sector-item i { font-size: 2rem; margin-bottom: 10px; color: var(--negro); }
.sector-item:hover i { color: var(--rojo); }

/* --- SECCIÓN TECNOLOGÍA (Modificada para contraste con Footer) --- */
.technology-section { 
    position: relative; 
    overflow: hidden; 
    background-color: #ffffff; /* Fondo Blanco */
    padding-bottom: 100px;
}

/* Efecto decorativo de fondo suave */
.technology-section::before {
    content: ""; position: absolute; top: -50px; right: -50px;
    width: 300px; height: 300px; 
    background: radial-gradient(circle, rgba(226, 31, 38, 0.05) 0%, rgba(0,0,0,0) 70%); /* Sutil toque rojo */
}

.text-dark { color: #333; font-size: 1.1rem; margin: 20px 0; }

.tech-features { display: flex; gap: 30px; margin-top: 30px; }

/* Tarjetas de características en ROJO para resaltar sobre blanco */
.tf-item { 
    display: flex; align-items: center; gap: 15px; 
    background: var(--rojo); /* Fondo Rojo */
    padding: 20px; border-radius: 15px; 
    box-shadow: 0 10px 20px rgba(226, 31, 38, 0.2);
    transition: 0.3s;
}
.tf-item:hover { transform: translateY(-5px); background: var(--negro); }
.tf-item i { color: var(--amarillo); font-size: 1.8rem; }
.tf-item h4 { color: white; margin: 0; font-size: 1rem; font-weight: 600; }







/* =========================================
   ESTILOS PÁGINA ASESORÍAS (Actualizado)
   ========================================= */
/* Header Específico */
.consulting-header {
    background: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1350&q=80') center/cover;
}

.intro-text {
    max-width: 800px; margin: 20px auto; font-size: 1.1rem; color: #666;
}
.active-link { color: var(--rojo) !important; font-weight: bold; }

/* Grilla de Tarjetas */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.consult-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-bottom: 5px solid transparent;
}

.consult-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-bottom-color: var(--amarillo);
}

/* Área de Imagen en Tarjeta */
.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra bien el espacio */
    object-position: center; /* Centra la imagen */
    transition: transform 0.5s ease;
}

.consult-card:hover .card-image img {
    transform: scale(1.1);
}

/* Icono Flotante */
.card-icon {
    position: absolute;
    bottom: -25px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--rojo);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(226, 31, 38, 0.4);
    transition: 0.3s;
}

.consult-card:hover .card-icon {
    background: var(--amarillo);
    color: var(--negro);
    transform: rotate(360deg);
}

/* Cuerpo de la Tarjeta */
.card-body {
    padding: 35px 25px 25px 25px;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--negro);
}

.card-body p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* --- NUEVA SECCIÓN CTA AMIGABLE (SOLUCIÓN FONDO) --- */
.cta-section-friendly {
    background: var(--amarillo); /* Fondo Amarillo para separar del footer */
    color: var(--negro);
    text-align: center;
    padding: 80px 20px;
    position: relative;
    z-index: 2;
    border-radius: 30px 30px 0 0; /* Bordes redondeados superiores */
    margin-top: -30px; /* Efecto de superposición moderno */
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--negro);
    text-transform: uppercase;
}

.cta-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.btn-cta-dark {
    background: var(--negro);
    color: var(--amarillo);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: 0.3s;
    display: inline-block;
}

.btn-cta-dark:hover {
    background: white;
    color: var(--negro);
    transform: translateY(-5px);
}






/* =========================================
   ESTILOS IMPLEMENTACIÓN (CORREGIDOS)
   ======================================== */
/* DIAGRAMA PHVA CIRCULAR */
.phva-visual-hub {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    margin-bottom: 40px;
}

.phva-circle-container {
    position: relative;
    width: 320px;
    height: 320px;
    border: 2px dashed #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phva-node {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.phva-node span { font-size: 1.5rem; }
.phva-node small { font-size: 0.7rem; text-transform: uppercase; }

/* Posiciones de los nodos */
.p-node { top: -40px; background: #2ecc71; }
.h-node { right: -40px; background: #3498db; }
.v-node { bottom: -40px; background: var(--amarillo); color: var(--negro); }
.a-node { left: -40px; background: var(--rojo); }

.phva-node:hover { transform: scale(1.1); }

.phva-center-logo {
    text-align: center;
}
.phva-center-logo i {
    font-size: 3rem;
    color: var(--rojo);
    margin-bottom: 10px;
}
.phva-center-logo p {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* TIMELINE STYLES */
.phva-timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

.phva-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #ddd;
    top: 0; bottom: 0; left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.left { left: 0; }
.right { left: 50%; }

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    right: -10px; top: 20px;
    background: white;
    border: 4px solid var(--rojo);
    border-radius: 50%;
    z-index: 1;
}

.right::after { left: -10px; border-color: var(--amarillo); }

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
}

.phase-badge {
    position: absolute;
    top: 0; right: 0;
    padding: 4px 15px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 0 15px 0 15px;
}
.phase-badge.yellow { background: var(--amarillo); }
.phase-badge.red { background: var(--rojo); color: white; }
.phase-badge.dark { background: var(--negro); color: var(--amarillo); }

.icon-phase { font-size: 2rem; color: var(--rojo); margin-bottom: 15px; }

.check-list-modern { list-style: none; }
.check-list-modern li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.check-list-modern li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0; color: var(--rojo);
}








/* =========================================
   ESTILOS SEGURIDAD VIAL (vial.html)
   ========================================= */
.vial-header {
    background: url('https://images.unsplash.com/photo-1506015391300-4802dc74de2e?auto=format&fit=crop&w=1350&q=80') center/cover;
}

/* ROADMAP CONTAINER */
.roadmap-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    padding: 40px 0;
}

/* Tarjetas del Roadmap */
.roadmap-step {
    position: relative;
    display: flex;
    flex-direction: column;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--amarillo);
    opacity: 0.3;
    position: absolute;
    top: -30px;
    left: 10px;
    z-index: 0;
    font-family: 'Montserrat', sans-serif;
}

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
    height: 100%;
    border-top: 6px solid var(--amarillo);
    transition: 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.step-card.highlight-red { border-top-color: var(--rojo); }
.step-card.highlight-dark { border-top-color: var(--negro); }

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gris-claro);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--negro);
    margin-bottom: 20px;
    transition: 0.3s;
}

.step-card:hover .step-icon {
    background: var(--amarillo);
    transform: scale(1.1) rotate(10deg);
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.step-card ul {
    list-style: none;
    padding: 0;
}

.step-card ul li {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.step-card ul li::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.5rem;
    position: absolute;
    left: 0;
    top: 7px;
    color: var(--rojo);
}

/* CTA VIAL */
.cta-vial {
    background: var(--blanco);
}

.img-rounded {
    border-radius: 30px;
    box-shadow: 20px 20px 0 var(--amarillo);
}







/* =========================================
   ESTILOS ESTRUCTURACIÓN DOCUMENTAL (Corregidos)
   ========================================= */
.docs-header {
    background: url('https://images.unsplash.com/photo-1568667256549-094345857637?auto=format&fit=crop&w=1350&q=80') center/cover;
}

/* Grilla de tarjetas alineadas */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Tamaño uniforme */
    gap: 30px;
    justify-content: center; /* Centra las tarjetas si quedan espacios */
}

.doc-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.doc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.doc-header {
    background: var(--rojo);
    padding: 30px;
    text-align: center;
    color: white;
}

.doc-header i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.doc-header h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Variantes de color para los encabezados de tarjeta */
.header-yellow { background: var(--amarillo); color: var(--negro); }
.header-dark { background: var(--negro); color: var(--amarillo); }
.header-red { background: var(--rojo); color: white; }

.doc-body {
    padding: 30px;
    flex-grow: 1; /* Hace que todas las cajas tengan la misma altura interna */
}

.doc-body ul {
    list-style: none;
    padding: 0;
}

.doc-body li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.doc-body li::before {
    content: "\f15c";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    position: absolute;
    left: 0;
    color: var(--rojo);
}








/* =========================================
   ESTILOS AUDITORÍAS INTERNAS (internas.html)
   ========================================= */
.audits-header {
    background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1350&q=80') center/cover;
}

/* Grilla de Ventajas Modernas */
.features-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--amarillo);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.f-icon {
    width: 80px;
    height: 80px;
    background: var(--gris-claro);
    color: var(--rojo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.feature-card:hover .f-icon {
    background: var(--amarillo);
    color: var(--negro);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--negro);
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Badges ISO en sección oscura */
.iso-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.iso-badges span {
    border: 2px solid var(--amarillo);
    color: var(--amarillo);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

.iso-badges span:hover {
    background: var(--amarillo);
    color: var(--negro);
}











/* =========================================
   ESTILOS INFORMES FRL (informes.html)
   ========================================= */
.frl-header {
    background: url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1350&q=80') center/cover;
}

/* Grilla FRL */
.frl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.frl-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 5px solid var(--amarillo);
    transition: 0.3s ease;
}

.frl-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.frl-card.highlight-frl {
    border-left-color: var(--rojo);
    background: #fffcfc;
}

.frl-card-num {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gris-claro);
    z-index: 0;
}

.frl-card-content {
    position: relative;
    z-index: 1;
}

.frl-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--negro);
}

.frl-card-content h3 i {
    color: var(--rojo);
}

.frl-card-content ul {
    list-style: none;
    padding: 0;
}

.frl-card-content li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.frl-card-content li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--amarillo);
}

/* Caja de Proceso */
.frl-process-box {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--negro);
    color: white;
    padding: 60px;
    border-radius: 30px;
    margin-top: 40px;
}

.process-text {
    flex: 1;
}

.process-text h2 {
    color: var(--amarillo);
    margin-bottom: 20px;
}

.process-image {
    flex: 1;
    display: flex;
    justify-content: center;
}










/* =========================================
   ESTILOS NORMAS ISO (normas-iso.html)
   ========================================= */
.iso-header {
    background: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1350&q=80') center/cover;
}

/* Grilla de Procesos ISO */
.iso-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.iso-step-card {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 4px solid var(--amarillo);
}

.iso-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.iso-step-card.highlight-step {
    border-bottom-color: var(--rojo);
    background: #fffdfd;
}

.iso-icon-box {
    width: 70px;
    height: 70px;
    background: var(--gris-claro);
    color: var(--negro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.iso-step-card:hover .iso-icon-box {
    background: var(--amarillo);
    transform: rotateY(360deg);
}

.iso-step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--negro);
}

.iso-step-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}










/* =========================================
   ESTILOS SERVICIOS ENERGÉTICOS (energia.html)
   ========================================= */
.energy-header {
    /* Nueva imagen verificada + Degradado de seguridad */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1350&q=80') center/cover;
    background-color: var(--negro); /* Color de respaldo si la imagen falla */
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grilla de Energía Moderna */
.energy-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.energy-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.energy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.energy-card-header {
    background: var(--amarillo);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--negro);
}

.energy-card-header.header-red { background: var(--rojo); color: white; }
.energy-card-header.header-dark { background: var(--negro); color: var(--amarillo); }

.energy-card-body {
    padding: 30px;
    text-align: center;
}

.energy-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--negro);
    text-transform: uppercase;
}

.energy-card-body p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}








/* =========================================
   ESTILOS BATERÍA PSICOSOCIAL (psicosocial.html)
   ========================================= */
.psicosocial-header {
    background: url('https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?auto=format&fit=crop&w=1350&q=80') center/cover;
}

/* Pasos del proceso mini */
.process-steps-mini {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.p-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
}

.p-step span {
    width: 30px;
    height: 30px;
    background: var(--rojo);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Grilla de Ventajas */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.adv-item {
    text-align: center;
    padding: 20px;
}

.adv-item i {
    font-size: 2.5rem;
    color: var(--amarillo);
    margin-bottom: 15px;
}

.adv-item h4 { color: white; margin-bottom: 10px; }
.adv-item p { color: #aaa; font-size: 0.9rem; }

/* Banner de Conciencia */
.awareness-banner {
    background: var(--amarillo);
    margin-top: 60px;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--negro);
}

.awareness-banner i { font-size: 4rem; opacity: 0.2; }
.aw-content h3 { font-size: 1.8rem; margin-bottom: 10px; text-transform: uppercase; }
.aw-content p { font-weight: 600; line-height: 1.5; }

/* Grilla de Aspectos Clave */
.keys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.key-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 5px solid transparent;
}

.key-card:hover {
    transform: translateY(-10px);
    border-color: var(--rojo);
}

.key-header {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gris-claro);
    line-height: 1;
    margin-bottom: 15px;
}

.key-card h4 {
    color: var(--negro);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.key-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}
/* =========================================
   NUEVO FOOTER MODERN (SGC BRAND)
   ========================================= */
.footer-modern {
    background-color: #1a1a1a; /* Gris muy oscuro premium */
    color: #b0b0b0; /* Texto gris suave para lectura */
    font-family: 'Open Sans', sans-serif;
    position: relative;
    padding-top: 0;
}

/* Línea superior con los colores del logo */
.footer-gradient-line {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, var(--amarillo) 0%, var(--rojo) 100%);
    box-shadow: 0 2px 10px rgba(226, 31, 38, 0.4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* Columna 1 más ancha */
    gap: 40px;
    padding: 70px 0 50px 0;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* Pequeña línea amarilla debajo de los títulos */
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--amarillo);
    border-radius: 2px;
}

/* --- COLUMNA 1: LOGO Y REDES --- */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.footer-logo img { width: 50px; height: auto; }
.footer-logo .brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 800;
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Iconos Sociales con Efecto */
.social-links { display: flex; gap: 10px; }
.social-icon {
    width: 40px; height: 40px;
    background-color: #2c2c2c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.social-icon:hover {
    background-color: var(--rojo); /* Color al pasar el mouse */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(226, 31, 38, 0.3);
}

/* --- COLUMNA 2: MENÚ DE NAVEGACIÓN --- */
.footer-menu li { margin-bottom: 12px; }
.footer-menu a {
    color: #b0b0b0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.footer-menu a i { font-size: 0.7rem; color: var(--amarillo); opacity: 0.7; }

/* Efecto Slide al pasar el mouse por un link */
.footer-menu a:hover {
    color: #fff;
    transform: translateX(8px); /* Se mueve a la derecha */
}
.footer-menu a:hover i { opacity: 1; }

/* --- COLUMNA 3: CONTACTO --- */
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.icon-brand {
    color: var(--amarillo);
    font-size: 1.1rem;
    margin-top: 4px;
}

/* --- COLUMNA 4: BOTÓN CTA --- */
.talent-col p { margin-bottom: 20px; font-size: 0.95rem; }
.btn-footer-cta {
    display: inline-block;
    padding: 12px 25px;
    background-color: transparent;
    color: var(--amarillo);
    border: 2px solid var(--amarillo);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.btn-footer-cta:hover {
    background-color: var(--amarillo);
    color: var(--negro);
    box-shadow: 0 0 15px rgba(249, 216, 6, 0.4);
    transform: scale(1.05);
}

/* --- COPYRIGHT BAR --- */
.copyright-area {
    background-color: #121212; /* Aún más oscuro para el fondo */
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #777;
}
.copyright-area strong { color: #ddd; }










/* =========================================
   ESTILOS PLANES DE EMERGENCIA (emergencia.html)
   ========================================= */
.emergency-header {
    background: url('https://images.unsplash.com/photo-1544027993-37dbfe43562a?auto=format&fit=crop&w=1350&q=80') center/cover;
}

.alert-box-yellow {
    background: rgba(249, 216, 6, 0.1);
    border-left: 5px solid var(--amarillo);
    padding: 20px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.alert-box-yellow i { font-size: 1.5rem; color: var(--negro); }
.alert-box-yellow p { margin: 0; font-weight: 600; font-size: 0.95rem; }

/* Pilares Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pillar-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.pillar-card i { font-size: 3rem; color: var(--rojo); margin-bottom: 20px; }
.pillar-card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.pillar-card p { font-size: 0.95rem; color: #666; }

.highlight-pillar {
    background: var(--negro);
    color: white;
}
.highlight-pillar i { color: var(--amarillo); }
.highlight-pillar p { color: #ccc; }

/* PGRD Timeline */
.pgrd-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pgrd-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.pgrd-item:hover {
    border-color: var(--rojo);
    box-shadow: 0 5px 15px rgba(226, 31, 38, 0.1);
}

.pgrd-icon {
    width: 60px;
    height: 60px;
    background: var(--rojo);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pgrd-text h4 { margin-bottom: 8px; color: var(--negro); }
.pgrd-text p { font-size: 0.9rem; color: #555; line-height: 1.4; margin: 0; }










/* =========================================
   ESTILOS PROFESIOGRAMAS (profesio.html)
   ========================================= */
.profesio-header {
    background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1350&q=80') center/cover;
}

/* Badges de Datos */
.data-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.data-badge {
    background: #f4f4f4;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--negro);
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid var(--rojo);
}

/* Importance Grid */
.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.imp-card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.imp-card:hover { transform: translateY(-5px); }
.imp-icon { font-size: 2rem; color: var(--rojo); margin-bottom: 15px; }
.imp-card p { font-size: 0.9rem; font-weight: 600; color: #555; }

/* Pillars Profesiogramas */
.pillars-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-box {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-left: 8px solid white;
}

.p-red { border-left-color: var(--rojo); }
.p-yellow { border-left-color: var(--amarillo); }

.p-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,0.1);
}

.p-content h3 { color: white; margin-bottom: 10px; }
.p-content p { color: #ccc; margin: 0; line-height: 1.6; }









/* =========================================
   ESTILOS ANÁLISIS PUESTO DE TRABAJO (apt.html)
   ========================================= */
.apt-header {
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1350&q=80') center/cover;
}

/* Tira de Beneficios inicial */
.apt-intro-bg {
    background: var(--amarillo);
    padding: 40px 0;
}

.apt-benefits-strip {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.apt-benefit-item {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--negro);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.apt-benefit-item i {
    font-size: 1.2rem;
    color: var(--rojo);
}

/* Grilla Técnica Dark */
.apt-grid-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.apt-detail-card {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    border-top: 4px solid var(--rojo);
    transition: 0.3s;
}

.apt-detail-card:hover {
    background: rgba(255,255,255,0.1);
}

.card-icon-red {
    font-size: 2.5rem;
    color: var(--rojo);
    margin-bottom: 20px;
}

.apt-detail-card h3 { color: white; margin-bottom: 15px; }
.apt-detail-card p { color: #ccc; font-size: 0.95rem; line-height: 1.6; }

/* Banner de Salud */
.health-focus-banner {
    background: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    gap: 50px;
}

.health-text { flex: 2; }
.health-visual {
    flex: 1;
    font-size: 8rem;
    color: var(--gris-claro);
    display: flex;
    justify-content: center;
}

.custom-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.custom-list li {
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-list i { color: var(--rojo); }






/* =========================================
   ESTILOS EXÁMENES OCUPACIONALES (examenes.html)
   ========================================= */
.exams-header {
    background: url('https://images.unsplash.com/photo-1505751172876-fa1923c5c528?auto=format&fit=crop&w=1350&q=80') center/cover;
}

/* Cuadrícula de puntos de revisión */
.exam-checks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.check-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--negro);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    text-align: center;
}

.check-item i {
    font-size: 1.5rem;
    color: var(--rojo);
}

.check-item:hover {
    border-color: var(--amarillo);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Ally Section */
.ally-section {
    padding: 80px 0;
}

.ally-card {
    background: rgba(255,255,255,0.05);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

.ally-info {
    flex: 2;
}

.ally-info h3 {
    color: white;
    font-size: 2.2rem;
    margin: 15px 0;
}

.ally-info p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.ally-contact {
    list-style: none;
    padding: 0;
}

.ally-contact li {
    color: var(--amarillo);
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ally-logo-placeholder {
    flex: 1;
    font-size: 8rem;
    color: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
}










/* =========================================
   ESTILOS SERVICIOS AUDIOVISUALES (audiovisuales.html)
   ========================================= */
.av-header {
    /* Nueva imagen de fondo verificada (Set de filmación/producción) */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=1350&q=80') center/cover;
    background-color: #1a1a1a; /* Color de respaldo oscuro */
}

/* Grilla de Soluciones (Sección Oscura) */
.av-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.av-sol-card {
    background: rgba(255,255,255,0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.av-sol-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.icon-wrapper {
    font-size: 2.5rem;
    color: var(--rojo);
    margin-bottom: 20px;
}

.av-sol-card h4 { color: white; margin-bottom: 15px; font-size: 1.2rem; }
.av-sol-card p { color: #ccc; font-size: 0.95rem; line-height: 1.6; }

/* Tarjeta Amarilla Destacada */
.av-sol-card.card-yellow {
    background: var(--amarillo);
    border-color: var(--amarillo);
}
.av-sol-card.card-yellow .icon-wrapper { color: var(--negro); }
.av-sol-card.card-yellow h4 { color: var(--negro); }
.av-sol-card.card-yellow p { color: #333; }

/* Sección de Alianza (Fondo claro para contraste con Footer) */
.alliance-highlight {
    background: #fff; /* Fondo blanco puro */
    padding-bottom: 80px; /* Espacio extra antes del footer */
}

.lead-text {
    font-size: 1.1rem;
    color: var(--negro);
    margin-bottom: 20px;
}









/* =========================================
   ESTILOS BLOG Y CENTRO DE CONOCIMIENTO
   ========================================= */
.knowledge-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1521587760476-6c12a4b040da?auto=format&fit=crop&w=1350&q=80') center/cover;
    background-color: #222; padding: 100px 0; text-align: center; color: white;
}
.knowledge-header h1 { font-size: 3rem; margin-bottom: 10px; }

/* SISTEMA DE PESTAÑAS */
.controls-section {
    background: var(--blanco);
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.tab-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--negro);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px;
    transition: 0.3s;
    color: var(--negro);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover { background: #f0f0f0; transform: translateY(-2px); }

.tab-btn.active {
    background: var(--amarillo);
    border-color: var(--amarillo);
    color: var(--negro);
    box-shadow: 0 5px 15px rgba(249, 216, 6, 0.4);
}

.tab-content { display: none; animation: fadeIn 0.5s; }
.active-content { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* GRILLA DE VIDEOS (CORREGIDA A 3 COLUMNAS FIJAS) */
.video-grid-fixed {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fuerza 3 columnas */
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee; display: block; text-decoration: none; color: inherit;
}

.video-card:hover { transform: translateY(-10px); }

.video-thumb {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-thumb iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; border: none;
}

.video-card h4 {
    padding: 15px;
    font-size: 0.95rem;
    color: var(--negro);
    text-align: center;
    font-weight: 700;
}

/* SEPARADOR DE AÑOS PARA PUBLICACIONES (ESTILO NUEVO) */
.year-separator {
    width: 100%;
    margin: 50px 0 30px 0;
    font-size: 1.8rem;
    color: var(--negro);
    border-bottom: 3px solid var(--amarillo);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.year-separator i { color: var(--rojo); font-size: 1.5rem; }

/* GRILLA DE PDFs */
.search-container {
    max-width: 700px; margin: 40px auto; position: relative;
}
.search-container input {
    width: 100%; padding: 20px 20px 20px 50px; border-radius: 50px;
    border: 2px solid #ddd; font-size: 1rem; outline: none; transition: 0.3s;
}
.search-container input:focus { border-color: var(--rojo); }
.search-container i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #888; }

.pdf-library-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fuerza 3 columnas */
    gap: 20px;
}

.pdf-item {
    background: white; padding: 20px; border-radius: 15px;
    display: flex; align-items: center; gap: 15px;
    text-decoration: none; color: var(--negro);
    border: 1px solid #eee; transition: 0.2s;
}

.pdf-item:hover { border-color: var(--amarillo); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.05);}

.doc-icon {
    width: 50px; height: 50px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; color: white;
}
.pdf-info { display: flex; flex-direction: column; }
.pdf-year { font-size: 0.75rem; font-weight: 700; color: #888; margin-bottom: 2px; }
.pdf-title { font-weight: 600; font-size: 0.9rem; line-height: 1.2; }

/* Colores Documentos */
.doc-pdf .doc-icon { background: #fff0f0; color: var(--rojo); }
.doc-word .doc-icon { background: #e6f0ff; color: var(--word-blue); }
.doc-excel .doc-icon { background: #e6ffec; color: var(--excel-green); }
.doc-ppt .doc-icon { background: #fff0e6; color: var(--ppt-orange); }

.cta-clean-box { background: white; padding: 60px; border-radius: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }









/* =========================================
   ESTILOS SECCIÓN LEGAL (legal.html)
   ========================================= */
.legal-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1350&q=80') center/cover;
    background-color: #1a1a1a;
}

/* Iconos de sección Legal */
.legal-icon-box {
    width: 70px;
    height: 70px;
    background: var(--amarillo);
    color: var(--negro);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(249, 216, 6, 0.2);
}

.box-red {
    background: var(--rojo);
    color: white;
    box-shadow: 0 10px 20px rgba(226, 31, 38, 0.2);
}

.box-yellow {
    background: var(--amarillo);
    color: var(--negro);
}

/* Efectos de imagen para legal */
.img-rounded {
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--amarillo);
    transition: 0.4s;
}

.img-rounded-red {
    border-radius: 20px;
    box-shadow: -20px 20px 0 var(--rojo);
    transition: 0.4s;
}

.img-rounded:hover, .img-rounded-red:hover {
    transform: scale(1.02);
}

/* Contraste final para el footer */
.alliance-highlight {
    background: #ffffff;
    padding-bottom: 100px;
}








/* =========================================
   ESTILOS NORMATIVA (normativa.html)
   ========================================= */
.normativa-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?auto=format&fit=crop&w=1350&q=80') center/cover;
    background-color: #2c2c2c;
}

.intro-box-legal {
    max-width: 800px;
    margin: 0 auto;
}

/* --- LÍNEA DE TIEMPO (RESOLUCIONES) --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px 0;
}

/* Línea central */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--amarillo);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

/* Alternancia Izquierda / Derecha */
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

/* Círculos */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--rojo);
    border: 4px solid white;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 2px var(--amarillo);
}

.timeline-item:nth-child(even)::after { left: -10px; }

.tl-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--negro);
    margin-bottom: 5px;
}

.tl-content {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: inline-block;
}

/* --- TARJETAS DESTACADAS (HIGHLIGHT LAW) --- */
.highlight-law-card {
    background: white;
    border-left: 10px solid var(--rojo);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-law-card.highlight-yellow {
    border-left-color: var(--amarillo);
}

.law-icon {
    font-size: 3rem;
    color: var(--rojo);
    background: #fff0f0;
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.highlight-yellow .law-icon {
    color: var(--negro);
    background: rgba(249, 216, 6, 0.2);
}

.law-text h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--negro);
}

.mt-50 { margin-top: 50px; }

/* --- GRILLA DE LEYES --- */
.laws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.law-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.law-item:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--amarillo);
}

.law-item i {
    font-size: 2rem;
    color: var(--negro);
    margin-bottom: 15px;
}








/* =========================================
   ESTILOS DERECHO EMPRESARIAL (derecho-empresarial.html)
   ========================================= */
.derecho-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1350&q=80') center/cover;
}

.service-block {
    margin-bottom: 40px;
}

.service-block i {
    font-size: 2.5rem;
    color: var(--rojo);
    margin-bottom: 15px;
}

.service-block h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--negro);
}

/* Grilla de Tarjetas Modernas (Sección Dark) */
.cards-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card-modern {
    background: rgba(255,255,255,0.05);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.card-modern:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-10px);
}

.card-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    font-size: 2rem;
}

.card-icon-circle.yellow {
    background: var(--amarillo);
    color: var(--negro);
}

.card-modern h3 { color: white; margin-bottom: 15px; }
.card-modern p { color: #ccc; line-height: 1.6; }

/* Sección Final Clara */
.audit-highlight {
    background: #ffffff;
    padding-bottom: 100px;
}

.check-list-modern {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.check-list-modern li {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--negro);
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list-modern i {
    color: var(--rojo);
}












/* =========================================
   ESTILOS MANUAL SARLAFT (sarlaft.html)
   ========================================= */
.sarlaft-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&w=1350&q=80') center/cover;
    background-color: #1a1a1a;
}

.sarlaft-item {
    margin-bottom: 40px;
}

.sarlaft-item i {
    font-size: 2.5rem;
    color: var(--rojo);
    margin-bottom: 15px;
}

.sarlaft-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* Grilla Moderna Sarlaft (Sección Dark) */
.sarlaft-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sar-card {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    border-bottom: 5px solid var(--amarillo);
    transition: 0.4s;
    text-align: center;
}

.sar-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-10px);
}

.card-icon-yellow {
    font-size: 3rem;
    color: var(--amarillo);
    margin-bottom: 20px;
}

.sar-card h3 { color: white; margin-bottom: 15px; }
.sar-card p { color: #ccc; line-height: 1.6; font-size: 0.95rem; }

/* Sección Final Clara */
.alliance-highlight {
    background: #ffffff;
    padding-bottom: 100px;
}











/* =========================================
   ESTILOS HABEAS DATA (habeas.html)
   ========================================= */
.habeas-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('habeasD.png') center/cover;
    background-color: #1a1a1a;
}

.highlight-quote {
    border-left: 5px solid var(--rojo);
    padding: 20px;
    background: #fdfdfd;
    margin-top: 30px;
    font-style: italic;
    font-weight: 600;
    color: #444;
}

/* Grilla de Tarjetas Habeas */
.habeas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.habeas-card {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.habeas-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-10px);
}

.habeas-card i {
    font-size: 3rem;
    color: var(--rojo);
    margin-bottom: 20px;
}

.habeas-card.card-yellow {
    background: var(--amarillo);
}
.habeas-card.card-yellow i, .habeas-card.card-yellow h3, .habeas-card.card-yellow p {
    color: var(--negro);
}

.habeas-card h3 { color: white; margin-bottom: 15px; }
.habeas-card p { color: #ccc; font-size: 0.95rem; line-height: 1.6; }

/* Flex de Derechos ARCO */
.arco-flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.arco-item {
    background: white;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 4px solid var(--amarillo);
}

.arco-item span {
    color: var(--rojo);
    font-size: 2rem;
}

/* Sección Final Blanca */
.contrast-end {
    background: #ffffff;
    padding-bottom: 100px;
}







/* =========================================
   ESTILOS ALIADOS (aliados.html)
   ========================================= */
.aliados-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=1350&q=80') center/cover;
}

/* --- SECCIÓN COLMENA ARL --- */
.colmena-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.colmena-icon {
    font-size: 4rem;
    color: var(--amarillo);
    margin-bottom: 20px;
    display: block;
}

.colmena-logo-area h2 {
    font-size: 2.5rem;
    color: var(--negro);
    margin-bottom: 10px;
    display: inline-block;
    margin-right: 15px;
}

/* Grid de Beneficios (Empresarios vs Trabajadores) */
.benefits-dual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.benefit-column {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.col-header {
    padding: 25px;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
.col-header.bg-black { background: var(--negro); }
.col-header.bg-red { background: var(--rojo); }

.benefit-list {
    list-style: none;
    padding: 30px;
}

.benefit-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.benefit-list li:last-child { border-bottom: none; }

/* Grid de Ventajas Competitivas */
.competitive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.comp-item {
    text-align: center;
    padding: 20px;
    background: #fdfdfd;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: 0.3s;
}
.comp-item:hover { transform: translateY(-5px); border-color: var(--amarillo); }
.comp-item i { font-size: 2rem; color: var(--amarillo); margin-bottom: 10px; }
.comp-item h4 { margin-bottom: 5px; color: var(--negro); }

/* --- GRILLA DE ALIADOS (LOGOS TIPOGRÁFICOS) --- */
.partners-section {
    padding-bottom: 100px; /* Espacio extra antes del footer negro */
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: var(--rojo);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Diseño del Logo Simulado */
.partner-logo-box {
    text-align: center;
    color: #555;
}

.partner-logo-box i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
    opacity: 0.7;
}

.partner-logo-box span {
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
    display: block;
}

/* Variaciones de color para los logos */
.color-red i { color: var(--rojo); opacity: 1; }
.color-dark i { color: var(--negro); opacity: 1; }
.color-yellow i { color: #d4b604; opacity: 1; } /* Amarillo oscurecido para legibilidad */
/* Azul para iconos de socios maritimos */
.color-blue i { color: #0d6efd; opacity: 1; }











/* =========================================
   ESTILOS CONTACTO REDISEÑADO
   ========================================= */
.contact-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1350&q=80') center/cover;
}

.bg-light-gray { background: #f8f9fa; }

.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info-box { flex: 1; }

/* Items de información laterales */
.info-card-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-left: 5px solid var(--amarillo);
    transition: 0.3s;
}

.info-card-item:hover { transform: translateX(10px); }

.icon-circle {
    font-size: 1.5rem;
    color: var(--rojo);
    background: #fff0f0;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* --- FORMULARIO PREMIUM REDISEÑADO --- */
/* Contenedor Principal de la Tarjeta */
.premium-form-card {
    flex: 1.3;
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    top: -50px; /* Efecto flotante */
    margin-bottom: -50px;
    border: 1px solid #f0f0f0; /* Borde sutil */
}

/* Encabezado Negro */
.form-header {
    background: var(--negro);
    padding: 30px;
    color: white;
    text-align: center;
}
.form-header h3 { 
    margin-bottom: 5px; 
    font-size: 1.5rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
}
.form-header p { font-size: 0.9rem; color: #aaa; margin: 0; }

/* --- AQUÍ ESTÁ LA CORRECCIÓN DEL ESPACIADO --- */
/* Esta clase da el espacio interno para que no se pegue a los bordes */
.padding-box {
    padding: 40px; 
}

/* Estilos de los campos */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.sgc-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #444;
    font-family: 'Montserrat', sans-serif;
}

.input-modern {
    width: 100%;
    padding: 15px;
    background: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: 0.3s;
    font-family: 'Open Sans', sans-serif;
}

/* Efecto Focus (cuando escribes) */
.input-modern:focus {
    background: white;
    border-color: var(--amarillo);
    outline: none;
    box-shadow: 0 5px 15px rgba(249, 216, 6, 0.1);
}

/* Botón de Enviar */
.btn-submit-premium {
    width: 100%;
    background: var(--rojo);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 10px;
}

.btn-submit-premium:hover {
    background: var(--negro);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Resto de estilos (Skills, etc) - Igual que antes */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }
.val-card { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.val-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.val-card i { font-size: 2.5rem; color: var(--amarillo); margin-bottom: 20px; }
.val-card h4 { color: white; margin-bottom: 10px; }
.val-card p { color: #ccc; font-size: 0.9rem; }

/* Skills */
.skill-box { margin-bottom: 25px; }
.skill-title { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 700; color: var(--negro); }
.skill-bar { height: 10px; background: #e0e0e0; border-radius: 5px; overflow: hidden; }
.skill-per { height: 10px; border-radius: 5px; position: relative; animation: fillBars 2s ease-out forwards; }
.skill-per.yellow { background: var(--amarillo); }
.skill-per.red { background: var(--rojo); }
.skill-per.black { background: var(--negro); }

@keyframes fillBars { from { width: 0; } }

/* Collab */
.collab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.collab-card { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s; border-bottom: 5px solid transparent; }
.collab-card:hover { transform: translateY(-5px); border-bottom-color: var(--rojo); }
.collab-card.highlight { border-bottom-color: var(--amarillo); }
.collab-icon { font-size: 3rem; color: var(--negro); margin-bottom: 20px; }

.separator-bar { height: 10px; background: repeating-linear-gradient(45deg, var(--amarillo), var(--amarillo) 10px, var(--negro) 10px, var(--negro) 20px); }









/* =========================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Verde oficial de WhatsApp */
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000; /* Asegura que esté siempre encima de todo */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    
    /* Animación de entrada */
    animation: fadeInUp 0.5s ease 1; 
}

/* Efecto Hover (Al pasar el mouse) */
.whatsapp-btn:hover {
    background-color: #20ba5a; /* Un verde un poco más oscuro */
    transform: scale(1.1); /* Crece ligeramente */
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
    color: #fff; /* Asegura que el icono siga blanco */
}

/* Animación de Pulso (Opcional: hace que "respire" para llamar la atención) */
.whatsapp-btn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    z-index: -1;
    opacity: 0.7;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Animación de entrada suave al cargar la página */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/* =========================================
   RESPONSIVE: MENÚ MÓVIL Y ARREGLOS VISUALES
   ========================================= */
/* Por defecto el botón de menú está oculto en PC */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--negro);
    cursor: pointer;
}

/* --- 1. ESTILOS PARA PC (PANTALLA GRANDE) --- */

/* Esto asegura que el TEXTO y la FLECHA estén en la misma línea */
.nav-links li {
    position: relative;
    display: flex;           /* ¡CLAVE! Pone los elementos lado a lado */
    align-items: center;     /* Los centra verticalmente */
    flex-wrap: nowrap;       /* Prohíbe que la flecha baje de línea en PC */
}

/* Ajuste del enlace para que conviva con la flecha */
.nav-links a {
    color: var(--negro);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px;
    display: block;
    white-space: nowrap; /* Evita que el texto se parta raro */
}

/* La flecha en PC: Pequeña y al lado */
.dropdown-arrow {
    display: inline-block;
    margin-left: 5px;  /* Un pequeño espacio entre texto y flecha */
    cursor: pointer;
    color: var(--amarillo);
    font-size: 0.8rem;
    transition: 0.3s;
}

/* Efecto Hover en PC: Gira la flecha al pasar el mouse por todo el botón */
.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}


/* --- 2. ESTILOS PARA CELULAR (MÓVIL) --- */
/* =========================================================
   RESPONSIVE DEFINITIVO (MÓVILES Y TABLETS < 992px)
   ========================================================= */
@media (max-width: 992px) {
    .video-grid-fixed { grid-template-columns: repeat(2, 1fr); }
    .pdf-library-grid { grid-template-columns: repeat(2, 1fr); }
}
/* =========================================================
   RESPONSIVE DEFINITIVO (MÓVILES Y TABLETS < 900px)
   ========================================================= */
@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columnas en tablets */
        gap: 30px;
    }

    /* --- 1. MENÚ DE NAVEGACIÓN AVANZADO (SCROLL + ANIMACIÓN) --- */
    .menu-toggle { 
        display: block; 
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; 
        left: 0; 
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 4px solid var(--amarillo);
        z-index: 1001;
        
        /* SOLUCIÓN CLAVE: SCROLL SI EL MENÚ ES MUY LARGO */
        max-height: 70vh; 
        overflow-y: auto; 
    }

    .nav-links.active { display: flex; animation: slideDown 0.3s ease; }

    /* Estructura de cada ítem del menú */
    .nav-links li {
        display: flex;
        flex-wrap: wrap; 
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eee;
        width: 100%;
        margin: 0;
    }

    /* Enlaces de texto */
    .nav-links li > a {
        flex: 1; 
        border-bottom: none !important;
        padding: 15px 20px;
        font-size: 1rem;
        color: var(--negro);
    }

    /* Flecha del Dropdown (Área Táctil Grande) */
    .dropdown-arrow {
        width: 60px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f8f8;
        border-left: 1px solid #eee;
        font-size: 1.2rem;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .dropdown-arrow.active {
        background: var(--amarillo);
        color: var(--negro);
        transform: rotate(180deg);
    }

    /* Contenido del Dropdown (Animación Slide) */
    .dropdown-content {
        display: block; /* Renderizado pero oculto por altura */
        width: 100%;
        background: #fafafa;
        padding: 0;
        
        /* Animación de altura */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out, opacity 0.3s ease;
        opacity: 0;
        
        position: static;
        box-shadow: none;
        border: none;
    }

    /* Clase JS para mostrar dropdown */
    .dropdown-content.show-menu {
        max-height: 1000px;
        opacity: 1;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    .dropdown-content li a {
        padding-left: 30px; /* Indentación */
        font-size: 0.9rem;
        color: #555;
    }

    /* Botón CTA del menú */
    .btn-nav { 
        margin: 15px auto; 
        text-align: center; 
        display: block; 
        width: 80%; 
    }


    /* --- 2. HERO Y ENCABEZADOS --- */
    .hero { 
        height: auto; 
        min-height: 100vh; 
        padding-top: 80px; 
    }

    .hero-content h1 { 
        font-size: 1.8rem; 
        line-height: 1.2; 
        margin-bottom: 15px; 
    }

    .hero-content p { 
        font-size: 0.95rem; 
        margin-bottom: 30px; 
        padding: 0 10px; 
    }

    .hero-buttons { 
        display: flex; 
        flex-direction: column; 
        gap: 15px; 
        width: 100%; 
        align-items: center; 
    }

    .btn-main, .btn-outline { 
        width: 100%; 
        max-width: 280px; 
        margin: 0; 
        display: flex; 
        justify-content: center; 
    }

    .page-header { height: 40vh; }
    .page-header h1 { font-size: 2rem; }
    .knowledge-header { padding: 60px 0; }
    .knowledge-header h1 { font-size: 2rem; padding: 0 15px; line-height: 1.2; }


    /* --- 3. ESTRUCTURA GENERAL (FLEX A COLUMNAS) --- */
    /* Todos los elementos que deben apilarse verticalmente */
    .contact-wrapper,
    .iso-card,
    .colmena-modern-container,
    .frl-process-box,
    .split-layout,
    .split-layout.reverse,
    .tech-features,
    .tab-controls,
    .footer-layout,
    .awareness-banner,
    .health-focus-banner,
    .ally-card {
        flex-direction: column;
        text-align: center;
    }


    /* --- 4. GRILLAS (1 COLUMNA) --- */
    /* Forzar todos los grids a una sola columna */
    .form-group-row,
    .form-row,
    .colmena-benefits-grid,
    .complementarios-top, 
    .legal-cards-container,
    .video-grid-fixed, 
    .pdf-library-grid,
    .features-modern-grid,
    .iso-process-grid,
    .energy-grid-modern,
    .process-steps-mini,
    .pgrd-timeline,
    .docs-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
        padding: 0 10px;
        gap: 20px;
    }


    /* --- 5. AJUSTES ESPECÍFICOS DE COMPONENTES --- */
    
    /* Contacto y Formularios */
    .premium-form-card { top: 0; margin-bottom: 0; }
    .form-row { gap: 0; }
    
    /* Blog y Buscador */
    .search-container { width: 100%; padding: 0 10px; }
    .search-container input { font-size: 0.9rem; padding: 15px 15px 15px 45px; }
    .tab-btn { width: 100%; justify-content: center; }
    .cta-clean-box { padding: 30px 20px; }

    /* Tarjetas y Layouts */
    .iso-image-container { border-left: none; border-top: 1px solid #eee; padding: 40px 20px; }
    .split-image img { box-shadow: 10px 10px 0px var(--amarillo); margin-top: 20px; }
    .lead-text { border-left: none; border-top: 4px solid var(--rojo); padding-top: 20px; padding-left: 0; }
    .title-center { font-size: 1.8rem; padding: 0 15px; width: 100%; word-wrap: break-word; }
    .comp-card, .legal-card-modern { width: 100%; box-sizing: border-box; }
    .about-stats-container { gap: 20px; }


    /* --- 6. FOOTER --- */
    .work-col { 
        border-left: none; 
        padding-left: 0; 
        border-top: 1px solid #333; 
        padding-top: 20px; 
        margin-top: 20px; 
        width: 100%;
    }
}

/* =========================================================
   RESPONSIVE ESPECÍFICO PARA CELULARES (< 768px)
   ========================================================= */
@media (max-width: 768px) {
    /* --- 1. AJUSTES GENERALES Y DE NAVEGACIÓN --- */
    .nav-links { display: none; } /* Asegura que el menú colapse */
    .btn-text-red { justify-content: center; } /* Botones de texto centrados */

    /* Grillas a 1 sola columna (Universal) */
    .video-grid-fixed,
    .pdf-library-grid,
    .form-group-row,
    .roadmap-container,
    .docs-grid,
    .features-modern-grid,
    .iso-process-grid,
    .energy-grid-modern,
    .process-steps-mini,
    .pgrd-timeline {
        grid-template-columns: 1fr !important;
    }


    /* --- 2. TARJETAS Y CONTENEDORES (FLEX A COLUMNA) --- */
    /* Profesiogramas y Salud */
    .profesio-modern-card { flex-direction: column; }
    .profesio-visual { padding: 30px; }
    .profesio-content { padding: 30px; text-align: center; }
    
    .examen-health-card { padding: 50px 20px 30px 20px; }
    
    .pillar-box { flex-direction: column; text-align: center; }

    /* Aliados, Leyes y Otros */
    .highlight-law-card { flex-direction: column; text-align: center; }
    
    .ally-card { flex-direction: column; text-align: center; padding: 40px 20px; }
    .ally-contact li { justify-content: center; }

    .arco-flex { flex-direction: column; align-items: center; }
    .arco-item { width: 100%; max-width: 300px; }


    /* --- 3. TIMELINES (LÍNEAS DE TIEMPO) --- */
    /* Ajuste para PHVA y Timelines Generales */
    .phva-timeline::after,
    .timeline-container::after { 
        left: 31px; 
    }

    .timeline-item { 
        width: 100%; 
        padding-left: 70px; 
        padding-right: 25px; 
    }

    .timeline-item::after { left: 21px; }

    /* Resetear alineación alternada (Zig-Zag) a lineal */
    .right { left: 0; }
    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) { 
        left: 0; 
        text-align: left; 
    }
    .timeline-item:nth-child(even)::after { left: 21px; }

    /* Ajuste específico Diagrama Circular PHVA */
    .phva-circle-container { width: 200px; height: 200px; }
    .phva-node { width: 60px; height: 60px; }


    /* --- 4. BANNERS Y ENCABEZADOS --- */
    /* Batería Psicosocial y APT */
    .awareness-banner { flex-direction: column; text-align: center; }
    
    .health-focus-banner { flex-direction: column; text-align: center; padding: 30px; }
    .apt-benefits-strip { flex-direction: column; align-items: flex-start; }

    /* Energía y Colmena */
    .energy-header { height: 40vh; }
    
    .colmena-logo-area h2 { display: block; margin-right: 0; margin-bottom: 15px; }


    /* --- 5. SEGURIDAD VIAL --- */
    .step-number { font-size: 3rem; top: -20px; }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }    
    .padding-box {
        padding: 25px; /* Menos espacio en celular para aprovechar pantalla */
    }
    .form-row {
        grid-template-columns: 1fr; /* Una columna en celular */
        gap: 0;
    }

}
/* =========================================================
   RESPONSIVE DEFINITIVO (MÓVILES Y TABLETS < 600px)
   ========================================================= */
@media (max-width: 600px) {
    .video-grid-fixed { grid-template-columns: 1fr; }
    .pdf-library-grid { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr; /* 1 columna en celular */
        text-align: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%); /* Centrar la línea decorativa */
    }
    .footer-logo, .social-links, .contact-list li {
        justify-content: center; /* Centrar todo el contenido */
    }
    .footer-menu a {
        justify-content: center; /* Centrar enlaces */
    }
    .footer-menu a:hover {
        transform: translateX(0) scale(1.05); /* En móvil mejor escala que mueve */
    }
}   

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

