/* --- LOGO FIJO (Cambio Radical | ¡SÍ LO HACE!) --- */
.brand-fixed-footer {
    position: fixed; /* Siempre visible al bajar */
    bottom: 40px;    /* Separado del borde inferior */
    right: 40px;     /* Separado del borde derecho */
    z-index: 2000;
}

.brand-fixed-footer img {
    height: 70px; /* Tamaño profesional */
    width: auto;
    background-color: white; 
    padding: 10px 10px;
    border-radius: 5px; /* Forma rectangular limpia */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* --- BLOQUE 5: DIAGNÓSTICO REFINADO --- */
.seccion-diagnostico {
    padding: 220px 0 40px 0; /* AJUSTE: Padding superior e inferior reducido */
    background-color: #f8f9fa;
    color: #003366;
    margin: 0; /* Eliminamos márgenes para evitar que se vea el fondo negro */
    display: block;
    overflow: hidden; /* Corta cualquier residuo de margen interno */
}

.header-diagnostico {
    text-align: center;
    margin-bottom: 25px;
}

/* ... badge, titulo, grid-respuestas e item-respuesta se mantienen igual ... */

.badge-diagnostico {
    color: #F60000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    display: block;
}

.titulo-diagnostico {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    color: #003366;
}

.titulo-diagnostico span {
    color: #F60000;
}

.grid-respuestas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.item-respuesta {
    background: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,51,102,0.05);
    border: 1px solid #e1e8f0;
    color: #003366;
}

/* Transición amarrada al bloque siguiente */
.transicion-diagnostico {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.3rem;
    color: #444;
    line-height: 1.5;
    background: #e9ecef;
    padding: 30px 40px;
    border-radius: 20px 20px 0 0;
    border-left: 8px solid #F60000;
}

.transicion-diagnostico p {
    margin: 0;
}

/* CAJA PND (Impacto Máximo) */
.problema-raiz {
    max-width: 1000px;
    margin: 0 auto;
}

.caja-alerta-pnd {
    background-color: #003366;
    color: white;
    padding: 40px;
    border-radius: 0; 
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 4px solid #F60000;
    margin: 0;
}

.icono-alerta i {
    font-size: 3.5rem;
    color: #F60000;
}

.contenido-alerta p {
    font-size: 1.7rem;
    line-height: 1.3;
    margin: 0;
    font-weight: 300;
}

.contenido-alerta strong {
    font-weight: 900;
    color: #ffffff;
    border-bottom: 2px solid #F60000;
}

/* Bloque Blanco de Consecuencias */
.consecuencias-pnd {
    background-color: white;
    padding: 50px 40px 20px 40px;
    border-radius: 0; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    margin: 0;
}

.txt-significa {
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #003366;
    letter-spacing: 1px;
}

.grid-negaciones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.negacion-card {
    background: #fdfdfd;
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #003366;
    border: 1px solid #eee;
    transition: 0.3s;
}

.negacion-card:hover {
    border-color: #F60000;
    transform: translateY(-5px);
}

.negacion-card span {
    color: #F60000;
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Conclusión como base del bloque blanco */
.conclusion-diagnostico {
    margin: 0 auto;
    text-align: center;
    max-width: 1000px;
}

.frase-impacto {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    background: #003366; 
    padding: 40px;
    border-radius: 0 0 20px 20px; 
    display: block; 
    border-top: 5px solid #F60000;
    margin: 0;
}

/* --- BLOQUE 6: INTRODUCCIÓN A LO ANCHO (CORRECCIÓN DE HUECO NEGRO) --- */
.seccion-soluciones-intro {
    width: 100%;
    background-color: #f1f1f1; /* Pintamos el fondo de la sección completa */
    margin: 0;
    padding: 30px 0 0 0; /* Este padding crea el "espacio pequeño" sin mostrar el fondo negro */
}

.franja-gris-full {
    width: 100%;
    background-color: #f1f1f1; 
    padding: 40px 0 70px 0;
    border-top: 1px solid #ddd;
    margin: 0;
}

/* ... El resto (contenido-centrado-soluciones, grid-escucha, etc) se mantiene igual ... */

.contenido-centrado-soluciones {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
}

.badge-propuesta {
    background-color: #F60000;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 20px;
}

.titulo-soluciones {
    font-size: 3.5rem;
    font-weight: 900;
    color: #003366;
    margin-bottom: 30px;
    line-height: 1;
}

.titulo-soluciones span {
    font-weight: 300;
    display: block;
    font-size: 2rem;
    margin-top: 10px;
}

.texto-introductorio {
    max-width: 850px;
    margin: 0 auto 60px auto;
}

.texto-introductorio p {
    font-size: 1.4rem;
    color: #444;
    line-height: 1.6;
}

.grid-escucha {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.item-escucha {
    background: rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: 20px;
    border-bottom: 3px solid #003366;
    transition: 0.3s;
}

.item-escucha:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.item-escucha i {
    font-size: 2rem;
    color: #F60000;
    margin-bottom: 20px;
}

.item-escucha p {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.cierre-intro-soluciones {
    padding-top: 40px;
    border-top: 1px solid #ccc;
    max-width: 700px;
    margin: 0 auto;
}

.cierre-intro-soluciones p {
    font-size: 1.3rem;
    color: #003366;
}

.flecha-continuar {
    margin-top: 25px;
    color: #F60000;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- EJE 1: PLAN NACIONAL DE DESARROLLO --- */
.eje-solucion {
    padding: 100px 0;
    background-color: #ffffff;
    width: 100%;
}

.contenedor-eje-full {
    max-width: 1300px; /* Más ancho que los bloques anteriores para ocupar espacio */
    margin: 0 auto;
    padding: 0 4%;
}

/* Cabecera de Impacto */
.eje-header-impacto {
    text-align: left;
    margin-bottom: 60px;
    border-left: 15px solid #F60000;
    padding-left: 30px;
}

.eje-numero {
    font-size: 1.2rem;
    font-weight: 900;
    color: #F60000;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.eje-titulo-principal {
    font-size: 3.5rem;
    color: #003366;
    font-weight: 900;
    line-height: 1;
}

.eje-titulo-principal span {
    display: block;
    color: #003366;
    font-weight: 300;
}

/* Cuerpo en Grid 50/50 */
.eje-cuerpo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Columna derecha un poco más ancha */
    gap: 40px;
    align-items: stretch;
}

/* Columna Propuesta */
.eje-propuesta-master {
    background: #003366;
    color: white;
    padding: 60px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.caja-enfoque i {
    font-size: 3rem;
    color: #F60000;
    margin-bottom: 25px;
}

.caja-enfoque h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.caja-enfoque p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 30px;
}

.accion-concreta {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    border-right: 5px solid #F60000;
}

.accion-concreta p {
    font-size: 1.4rem;
    margin: 0;
    line-height: 1.4;
}

/* Columna Beneficios */
.eje-beneficios-habilitados {
    background: #f8f9fa;
    padding: 60px;
    border-radius: 30px;
    border: 1px solid #eee;
}

.eje-beneficios-habilitados h4 {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 900;
    text-align: center;
}

.grid-beneficios-check {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas de checks */
    gap: 20px;
}

.check-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    font-weight: 700;
    color: #444;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
}

.check-item:hover {
    transform: scale(1.03);
    color: #003366;
    border-left: 4px solid #F60000;
}

.check-item i {
    color: #F60000;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* --- MEJORA VISUAL EJE 2: PROBLEMAS Y SOLUCIONES --- */
.eje-modernizacion-consular {
    background-color: #003366; 
    color: white;
    padding: 120px 0;
}

/* Encabezado con barra roja */
.header-blanco {
    border-left: 15px solid #F60000;
    padding-left: 30px;
    margin-bottom: 60px;
}

.header-blanco .eje-titulo-principal {
    color: white !important;
    font-size: 3.5rem;
    font-weight: 900;
}

.header-blanco .eje-titulo-principal span {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 300;
}

/* SECCIÓN DE PROBLEMAS: Rediseño total */
.diagnostico-consular-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.texto-previo {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.4;
}

.cards-problemas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* CORRECCIÓN DE COLOR: Tarjetas blancas con acento rojo */
.card-p {
    background: white; /* Cambiamos a blanco sólido para máximo contraste */
    color: #003366; /* Texto azul para legibilidad */
    padding: 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    box-shadow: 10px 10px 0px rgba(246, 0, 0, 0.3); /* Sombra roja sólida decorativa */
    transition: 0.3s ease;
    border: none;
}

.card-p:hover {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0px rgba(246, 0, 0, 0.5);
}

.card-p span i {
    color: #F60000; /* El icono X en rojo brillante */
    margin-right: 12px;
    font-size: 1.2rem;
}

/* SOLUCIONES: Paneles más limpios */
.grid-soluciones-modernas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.panel-solucion {
    background: rgba(255, 255, 255, 0.08); /* Blanco translúcido muy sutil */
    border-left: 5px solid #F60000; /* Acento lateral rojo */
    padding: 40px;
    border-radius: 0 20px 20px 0;
    transition: all 0.4s ease;
}

.panel-solucion:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px); /* Desplazamiento lateral en lugar de subir */
}

.icon-sol i {
    font-size: 2.5rem;
    color: white; /* Iconos en blanco para que no compitan con el rojo lateral */
    margin-bottom: 20px;
    display: block;
}

.info-sol h3 {
    font-size: 1.7rem;
    font-weight: 900;
    color: #ffffff; /* Títulos de solución en rojo para resaltar */
    margin-bottom: 15px;
}

.info-sol p {
    font-size: 1.15rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

/* --- EJE 3: LEY LUCY (COMPLETO) --- */
.eje-ley-lucy {
    background-color: #ffffff;
    padding: 120px 0;
    color: #003366;
}

/* 3.1 HISTORIA: Diseño a lo largo */
.seccion-historia-lucy {
    width: 100%;
    margin-bottom: 80px;
}

.titulo-historia {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    color: #F60000;
}

.titulo-historia h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
}

.narrativa-lucy {
    border-left: 5px solid #e9ecef;
    padding-left: 30px;
}

.narrativa-lucy p {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #333;
    margin-bottom: 25px;
}

.hitos-historia {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.hitos-historia span {
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    color: #003366;
    border: 1px solid #eee;
}

.hitos-historia i {
    color: #F60000;
    margin-right: 10px;
}

.final-historia {
    font-style: italic;
    color: #555 !important;
}

/* 3.2 DEFINICIÓN Y GRID */
.definicion-lucy-full {
    background: #f1f4f8;
    padding: 60px;
    border-radius: 30px;
    margin-bottom: 60px;
}

.caja-que-es h3 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.caja-que-es p {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 40px;
}

.grid-atencion-lucy {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.item-atencion {
    background: white;
    padding: 20px;
    border-radius: 15px;
    font-weight: 800;
    text-align: center;
    border-bottom: 4px solid #F60000;
    color: #003366;
}

/* 3.3 FOOTER MEJORADO */
.lucy-footer-nuevo {
    position: relative;
    background: #003366;
    border-radius: 30px;
    padding: 50px;
    color: white;
    overflow: hidden;
}

.lucy-footer-decoracion {
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 100%;
    background: #F60000;
}

.lucy-footer-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.lucy-footer-icon i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.2);
}

.lucy-footer-texto h4 {
    color: #F60000;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.lucy-footer-texto p {
    font-size: 1.6rem;
    margin: 0;
    font-weight: 300;
    line-height: 1.3;
}

/* --- BLOQUE MULTIMEDIA INDEPENDIENTE --- */
.media-box-master {
    max-width: 850px;
    margin: 40px auto; /* Margen normal arriba y abajo */
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.media-box-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* CAJA FIJA */
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-slide {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.media-slide.active {
    display: flex;
}

/* NO RECORTAR: Muestra el contenido completo siempre */
.media-box-asset {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
}

/* BOTONES REDONDOS */
.media-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #003366;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%; 
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-arrow:hover {
    background: #F60000;
    color: white;
}

.media-arrow.prev { left: 15px; }
.media-arrow.next { right: 15px; }

/* PIE DE PÁGINA (Letra igual al original) */
.media-box-footer {
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
}

.media-footer-text {
    margin: 0;
    font-weight: 600;
    color: #1a1a1a; /* Letra oscura legible */
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.media-footer-text i {
    color: #003366;
}

.media-counter {
    font-size: 0.85rem;
    font-weight: 800;
    color: #666;
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 10px;
}

/* --- EJE 4: CONVENIOS (FONDO AZUL CON HOVER) --- */
.eje-convenios-internacionales {
    background-color: #003366;
    color: white;
    padding: 100px 0;
}

/* Intro */
.intro-convenios p {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Grid con Números Flotantes */
.grid-convenios-numerados {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 60px;
}

.card-numero-bg {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Curva suave */
    cursor: default;
}

/* RECUPERACIÓN DEL HOVER */
.card-numero-bg:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #F60000;
    transform: translateY(-10px); /* Elevación */
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.card-numero-bg:hover .num-float {
    color: rgba(246, 0, 0, 0.1); /* El número resalta un poco más en rojo al pasar el mouse */
}

.card-full-width {
    grid-column: span 2;
    padding: 80px 40px;
}

.num-float {
    position: absolute;
    top: 0;
    right: 15px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}

.icon-conv i {
    font-size: 2.5rem;
    color: #F60000;
    margin-bottom: 20px;
}

.card-numero-bg h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    max-width: 85%;
    line-height: 1.2;
    z-index: 1;
}

/* CIERRE SOBERANÍA */
.cierre-soberania-limpio {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    color: #003366;
    text-align: center;
    border-top: 8px solid #F60000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.texto-original-cierre p {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.texto-original-cierre h3 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
}

/* --- EJE 5: DISEÑO DE ALTA GAMA (VERSION COMPACTA) --- */
.eje-empleo-fronteras {
    background-color: #ffffff;
    padding: 60px 0; /* Reducido de 100px */
    color: #003366;
}

/* Manifiesto */
.manifiesto-visual {
    margin-bottom: 40px; /* Reducido de 80px */
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 30px; /* Reducido de 40px */
}

.big-text {
    font-size: 5rem;
    font-weight: 900;
    color: #F60000;
    line-height: 0.85; /* Ajustado para mayor cercanía */
    letter-spacing: -3px;
    margin: 0 0 15px 0;
}

.sub-text {
    font-size: 2.2rem;
    font-weight: 300;
    color: #003366;
    line-height: 1.05;
    max-width: 850px;
    margin: 0;
}

/* Estrategia Tags */
.estrategia-full-width {
    margin-bottom: 50px; /* Reducido de 100px */
}

.intro-bold {
    font-size: 1.2rem;
    margin-bottom: 20px; /* Reducido de 30px */
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.grid-tags-estilo {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Reducido de 15px */
}

.tag-moderno {
    border: 2px solid #003366;
    padding: 10px 20px; /* Más compacto */
    border-radius: 0px; 
    font-weight: 800;
    font-size: 1rem;
    transition: 0.3s;
    cursor: pointer;
}

.tag-moderno:hover {
    background: #003366;
    color: white;
}

/* Metodología Timeline */
.como-lograrlo-moderno {
    display: grid;
    grid-template-columns: 280px 1fr; 
    gap: 40px; /* Reducido de 50px */
    align-items: start;
}

.titulo-seccion {
    font-size: 1.8rem;
    font-weight: 900;
    color: #003366;
    text-align: left;
    border-top: 8px solid #F60000;
    padding-top: 15px;
    margin: 0;
}

.flex-column-pasos {
    display: flex;
    flex-direction: column;
}

.paso-moderno {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0; /* Reducido de 25px para compactar la lista */
    border-bottom: 1px solid #eee;
    transition: 0.4s;
}

.linea-roja {
    width: 0px;
    height: 3px;
    background: #F60000;
    transition: 0.4s;
}

.paso-moderno p {
    font-size: 1.4rem; /* Un poco más pequeño para fluidez */
    font-weight: 600;
    margin: 0;
    color: #003366;
    opacity: 0.7;
    line-height: 1.2;
}

.paso-moderno:hover {
    padding-left: 15px;
}

.paso-moderno:hover .linea-roja {
    width: 40px;
}

.paso-moderno:hover p {
    opacity: 1;
    color: #F60000;
}

/* --- EJE 6: ESTILO PREMIUM DARK TECH --- */
.eje-empresarial-premium {
    background-color: #001a33;
    background-image: radial-gradient(circle at 50% 50%, #002b55 0%, #001a33 100%);
    padding: 80px 0;
    color: white;
}

.hero-empresarial {
    text-align: center;
    margin-bottom: 60px;
}

.txt-intro-completo {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.9;
}

.palabras-clave {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.word {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
}

.dot-red {
    width: 10px;
    height: 10px;
    background-color: #F60000;
    border-radius: 50%;
    box-shadow: 0 0 15px #F60000;
}

.resumen-eje-completo {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
    color: #a0b1c5;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

/* Grid y Cards */
.grid-ecosistema-moderno {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.card-empresarial {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: 0.4s;
}

.card-empresarial:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: #F60000;
    transform: translateY(-5px);
}

/* Badge con Número */
.badge-icon {
    width: 60px;
    height: 60px;
    background: #F60000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(246, 0, 0, 0.2);
}

.step-number {
    position: absolute;
    top: 5px;
    left: 8px;
    font-size: 0.75rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.5);
}

.badge-icon i {
    font-size: 1.6rem;
    color: white;
    margin-top: 4px;
}

.textos h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.textos p {
    font-size: rem;
    line-height: 1.4;
    color: #a0b1c5;
}

/* --- RESPONSIVE HEADER LOGIC --- */

/* Escondemos el botón en computadoras */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2001; /* Por encima de la cortina */
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #FFFFFF; /* Color blanco para que resalte sobre el rojo */
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* MEDIA QUERY PARA TABLETS Y MÓVILES */
@media (max-width: 1024px) {
    .main-header {
        height: 80px;
        padding: 0 5%;
    }

    /* Mostramos el botón */
    .menu-toggle {
        display: flex;
    }

    /* Animación de Hamburguesa a X */
    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Convertimos el NAV en un menú lateral */
    .nav-principal {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido a la derecha */
        width: 80%; /* O 100% si prefieres pantalla completa */
        height: 100vh;
        background-color: #F60000; /* Fondo rojo sólido oficial */
        z-index: 2000;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }

    /* Clase que activa el JS */
    .nav-principal.active {
        right: 0;
    }

    .nav-principal ul {
        flex-direction: column;
        gap: 25px;
        align-items: center;
        width: 100%;
    }

    .nav-principal a {
        font-size: 1.4rem !important;
        padding: 10px 0;
        display: block;
    }

    /* Ajuste de logo en móvil */
    .logo-container img {
        height: 55px;
    }
}

/* Ajuste para teléfonos muy pequeños */
@media (max-width: 480px) {
    .nav-principal {
        width: 100%;
    }
}

/* --- RESPONSIVO PARA MÓVILES (PROPUESTA) --- */
@media (max-width: 768px) {
    /* Ajustes Generales de Tipografía */
    .titulo-diagnostico, 
    .eje-titulo-principal, 
    .titulo-soluciones {
        font-size: 2.2rem !important;
    }

    .big-text {
        font-size: 3.2rem !important;
        letter-spacing: -1px;
    }

    .sub-text {
        font-size: 1.5rem !important;
    }

    /* Sección Diagnóstico */
    .seccion-diagnostico {
        padding: 100px 0 40px 0; /* Reducido para que no quede tanto aire arriba */
    }

    .grid-respuestas {
        flex-direction: column;
        padding: 0 15px;
    }

    .item-respuesta {
        font-size: 1rem;
        text-align: center;
    }

    .grid-negaciones {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
    }

    .caja-alerta-pnd {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    /* Sección Soluciones */
    .grid-escucha {
        grid-template-columns: 1fr;
    }

    /* Estructura de Ejes (Grids 50/50) */
    .eje-cuerpo-grid, 
    .diagnostico-consular-grid, 
    .grid-soluciones-modernas,
    .grid-convenios-numerados,
    .como-lograrlo-moderno {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .eje-propuesta-master, 
    .eje-beneficios-habilitados {
        padding: 30px 20px;
    }

    .grid-beneficios-check {
        grid-template-columns: 1fr;
    }

    /* Modernización Consular */
    .cards-problemas {
        grid-template-columns: 1fr;
    }

    .card-p {
        box-shadow: 6px 6px 0px rgba(246, 0, 0, 0.3);
    }

    /* Eje Ley Lucy */
    .hitos-historia {
        flex-direction: column;
        gap: 10px;
    }

    .grid-atencion-lucy {
        grid-template-columns: 1fr;
    }

    .lucy-footer-flex {
        flex-direction: column;
        text-align: center;
    }

    /* Eje Convenios */
    .card-full-width {
        grid-column: span 1;
    }

    .num-float {
        font-size: 5rem;
    }

    /* Eje Empleo (Estrategia Tags) */
    .grid-tags-estilo {
        justify-content: center;
    }

    .tag-moderno {
        width: 100%;
        text-align: center;
    }

    /* Eje Empresarial Premium */
    .grid-ecosistema-moderno {
        grid-template-columns: 1fr;
    }

    .word {
        font-size: 1.5rem;
    }

    .palabras-clave {
        gap: 10px;
    }

    /* Video Lucy */
    .video-container-lucy {
        margin: 30px auto;
    }
}

/* --- CORRECCIÓN ESPECÍFICA: SECCIÓN HABILITADORES (EJE 1) --- */

@media (max-width: 992px) {
    .eje-cuerpo-grid {
        grid-template-columns: 1fr !important; /* Apila la propuesta y los beneficios */
        gap: 20px;
    }

    .eje-propuesta-master, 
    .eje-beneficios-habilitados {
        padding: 40px 25px !important; /* Reduce el padding interno */
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .grid-beneficios-check {
        grid-template-columns: 1fr !important; /* Los checks pasan a una sola columna */
        gap: 12px;
    }

    .check-item {
        font-size: 0.95rem;
        padding: 15px;
    }

    .eje-beneficios-habilitados h4 {
        font-size: 1.4rem !important;
        margin-bottom: 25px;
    }

    .eje-titulo-principal {
        font-size: 2.2rem !important;
    }
}

/* Ajuste extra para evitar que el texto largo de los checks se corte */
.check-item {
    height: auto;
    min-height: 60px;
    align-items: center;
    line-height: 1.2;
}

