/* --- style.css (VERSIÓN FINAL LIMPIA) --- */

:root {
    /* Paleta "Informesa" adaptada a Modo Oscuro Premium */
    --bg-color: #050505;
    --card-bg: #121212;
    --card-hover: #1a1a1a;
    
    /* Tus colores corporativos */
    --primary-blue: #3b82f6; 
    --primary-green: #22c55e; 
    --gradient-accent: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    
    --font-main: 'Manrope', sans-serif;
    
    --border-radius: 24px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Base & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: transparent; /* IMPORTANTE: Transparente para ver las estrellas */
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

h1, h2, h3 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- SEGURIDAD DE CAPAS (Z-INDEX) --- */
/* Esto obliga al contenido a estar POR ENCIMA de las estrellas */
.hero, 
.bento-section, 
.stats-section, 
.footer, 
.about-hero, 
.mission-vision-section,
.reports-grid,
.contact-container {
    position: relative;
    z-index: 5; 
}

/* --- Header "Flotante" --- */
.nav-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    padding: 12px 30px;
    z-index: 1000; /* Siempre encima de todo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-cta {
    background: var(--text-main);
    color: var(--bg-color);
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.nav-cta:hover { transform: scale(1.05); }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

/* Efecto de fondo fluido (Glow) */
.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(34,197,94,0.05) 50%, transparent 70%);
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 20px;
    max-width: 1100px;
}

.hero h1 span {
    display: block;
    background: linear-gradient(to right, #fff, #a3a3a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-btn {
    background: var(--gradient-accent);
    color: #fff;
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(34,197,94,0.4);
    transition: var(--transition);
}

.hero-btn:hover {
    box-shadow: 0 15px 40px -10px rgba(34,197,94,0.6);
    transform: translateY(-2px);
}

/* --- Bento Grid Section (Servicios) --- */
.bento-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
    text-align: center; 
}

.section-tag {
    color: var(--primary-green);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 20px;
}

/* Estilo de las tarjetas (Modo Imágenes Intensas) */
.bento-card {
    position: relative;
    overflow: hidden;
    background: #000; /* Fondo negro de base */
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    cursor: pointer;
}

.card-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    
    /* Opacidad alta para que se vea bien la foto */
    opacity: 0.85; 
    
    /* Filtro para resaltar colores neón */
    filter: contrast(1.1) brightness(1.1);
    
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -2; 
}

/* Sombra oscura inferior para leer el texto */
.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom, 
        rgba(0,0,0,0) 0%,       /* Transparente arriba */
        rgba(0,0,0,0.2) 50%,    /* Medio */
        rgba(0,0,0,0.95) 100%   /* Oscuro abajo */
    );
    z-index: -1;
    pointer-events: none;
}

.card-content, .card-icon {
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 8px rgba(0,0,0,0.8); /* Sombra texto */
}

/* Hover Effects */
.bento-card:hover .card-visual {
    opacity: 1; /* Full visibilidad */
    transform: scale(1.05);
    filter: contrast(1.2) brightness(1.2);
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}

/* Grid Spans */
.span-2 { grid-column: span 2; }
.span-1 { grid-column: span 1; }

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Estilo Global para Imágenes "Split" (Quiénes Somos) --- */
/* Añadido aquí para asegurar consistencia en todas las páginas */
.split-image { 
    flex: 1; 
    height: 400px; 
    border-radius: var(--border-radius);
    background-size: cover;
    background-position: center;
    
    /* Estilo "Neon" consistente */
    filter: contrast(1.1) brightness(1.1);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px -20px rgba(34,197,94,0.15);
    
    position: relative;
    transition: var(--transition);
}

.split-image:hover {
    filter: contrast(1.2) brightness(1.2);
    transform: scale(1.02);
    box-shadow: 0 20px 50px -10px rgba(34,197,94,0.3);
    border-color: rgba(255,255,255,0.3);
}

/* --- Stats Section --- */
.stats-section {
    padding: 80px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item { text-align: center; }

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* --- Footer --- */
.footer {
    padding: 80px 20px 40px;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--text-main);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--text-main); }

.copyright {
    color: #444;
    font-size: 0.8rem;
}

/* --- Animaciones Scroll --- */
.hidden-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hidden-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Retraso escalonado */
.bento-grid .bento-card:nth-child(2) { transition-delay: 0.1s; }
.bento-grid .bento-card:nth-child(3) { transition-delay: 0.2s; }
.bento-grid .bento-card:nth-child(4) { transition-delay: 0.3s; }

/* --- RESPONSIVE / MÓVIL --- */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    
    .bento-grid {
        display: flex;
        flex-direction: column;
        grid-template-rows: auto;
    }
    
    .bento-card { height: auto; min-height: 250px; }

    .nav-container { padding: 10px 20px; width: 95%; }
    
    .menu-toggle {
        display: block; 
        order: 3; 
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #121212;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
        border-radius: 20px;
        border: 1px solid rgba(255,255,255,0.1);
        margin-top: 10px;
        
        /* Oculto por defecto */
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
        position: absolute; /* Asegurar que flote */
    }
    
    .nav-cta { display: none; }
}

/* --- FONDO DE ESTRELLAS: VERSIÓN FINAL (Densa, X3, Capas OK) --- */

#star-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Detrás de todo */
    background-color: var(--bg-color); /* El negro de fondo está aquí */
    overflow: hidden;
    pointer-events: none;
}

/* CAPA 1: Pequeñas (3px) */
#stars {
    width: 3px; height: 3px;
    background: transparent; border-radius: 50%;
    box-shadow: 
        125px 568px #FFF, 1235px 89px #FFF, 36px 1568px #FFF, 896px 256px #FFF, 1856px 458px #FFF, 458px 1256px #FFF, 12px 698px #FFF, 658px 123px #FFF, 1598px 1895px #FFF, 756px 985px #FFF,
        1568px 56px #FFF, 258px 1856px #FFF, 985px 458px #FFF, 1236px 1598px #FFF, 56px 365px #FFF, 1895px 1256px #FFF, 458px 896px #FFF, 1256px 256px #FFF, 698px 1856px #FFF, 156px 458px #FFF,
        985px 123px #FFF, 1598px 568px #FFF, 365px 1895px #FFF, 896px 985px #FFF, 1856px 256px #FFF, 458px 1568px #FFF, 123px 458px #FFF, 658px 896px #FFF, 1256px 1236px #FFF, 756px 12px #FFF,
        256px 1598px #FFF, 1568px 365px #FFF, 89px 1856px #FFF, 985px 698px #FFF, 1895px 56px #FFF, 1236px 1256px #FFF, 568px 458px #FFF, 125px 896px #FFF, 698px 1568px #FFF, 1598px 123px #FFF,
        365px 985px #FFF, 896px 1895px #FFF, 1856px 658px #FFF, 458px 36px #FFF, 12px 1236px #FFF, 658px 568px #FFF, 156px 1598px #FFF, 756px 458px #FFF, 1256px 896px #FFF, 258px 256px #FFF,
        1568px 1856px #FFF, 985px 1256px #FFF, 56px 698px #FFF, 1895px 365px #FFF, 1236px 89px #FFF, 568px 1568px #FFF, 125px 123px #FFF, 698px 985px #FFF, 1598px 256px #FFF, 365px 1256px #FFF,
        896px 56px #FFF, 1856px 1895px #FFF, 458px 658px #FFF, 123px 1568px #FFF, 658px 365px #FFF, 1256px 123px #FFF, 756px 896px #FFF, 256px 1856px #FFF, 1568px 458px #FFF, 89px 1236px #FFF,
        985px 56px #FFF, 1895px 1598px #FFF, 1236px 698px #FFF, 568px 123px #FFF, 125px 1856px #FFF, 698px 458px #FFF, 1598px 1568px #FFF, 365px 896px #FFF, 896px 256px #FFF, 1856px 1236px #FFF,
        458px 56px #FFF, 12px 1895px #FFF, 658px 698px #FFF, 156px 365px #FFF, 756px 1256px #FFF, 1256px 568px #FFF, 258px 896px #FFF, 1568px 123px #FFF, 985px 1856px #FFF, 56px 458px #FFF,
        1895px 1568px #FFF, 1236px 365px #FFF, 568px 1895px #FFF, 125px 698px #FFF, 698px 123px #FFF, 1598px 896px #FFF, 365px 56px #FFF, 896px 1256px #FFF, 1856px 365px #FFF, 458px 1856px #FFF,
        142px 789px #FFF, 1682px 420px #FFF, 892px 1650px #FFF, 340px 920px #FFF, 1150px 1450px #FFF, 560px 240px #FFF, 1920px 850px #FFF, 240px 1750px #FFF, 780px 1100px #FFF, 1340px 620px #FFF,
        1650px 50px #FFF, 420px 1320px #FFF, 950px 560px #FFF, 1480px 1900px #FFF, 620px 380px #FFF, 1780px 1520px #FFF, 80px 1150px #FFF, 1050px 780px #FFF, 520px 1680px #FFF, 1280px 220px #FFF;
    animation: animStar 60s linear infinite;
    opacity: 0.5;
}
#stars:after {
    content: " "; position: absolute; top: 2000px; width: 3px; height: 3px; background: transparent; border-radius: 50%;
    box-shadow: 
        125px 568px #FFF, 1235px 89px #FFF, 36px 1568px #FFF, 896px 256px #FFF, 1856px 458px #FFF, 458px 1256px #FFF, 12px 698px #FFF, 658px 123px #FFF, 1598px 1895px #FFF, 756px 985px #FFF,
        1568px 56px #FFF, 258px 1856px #FFF, 985px 458px #FFF, 1236px 1598px #FFF, 56px 365px #FFF, 1895px 1256px #FFF, 458px 896px #FFF, 1256px 256px #FFF, 698px 1856px #FFF, 156px 458px #FFF,
        985px 123px #FFF, 1598px 568px #FFF, 365px 1895px #FFF, 896px 985px #FFF, 1856px 256px #FFF, 458px 1568px #FFF, 123px 458px #FFF, 658px 896px #FFF, 1256px 1236px #FFF, 756px 12px #FFF,
        256px 1598px #FFF, 1568px 365px #FFF, 89px 1856px #FFF, 985px 698px #FFF, 1895px 56px #FFF, 1236px 1256px #FFF, 568px 458px #FFF, 125px 896px #FFF, 698px 1568px #FFF, 1598px 123px #FFF,
        365px 985px #FFF, 896px 1895px #FFF, 1856px 658px #FFF, 458px 36px #FFF, 12px 1236px #FFF, 658px 568px #FFF, 156px 1598px #FFF, 756px 458px #FFF, 1256px 896px #FFF, 258px 256px #FFF,
        1568px 1856px #FFF, 985px 1256px #FFF, 56px 698px #FFF, 1895px 365px #FFF, 1236px 89px #FFF, 568px 1568px #FFF, 125px 123px #FFF, 698px 985px #FFF, 1598px 256px #FFF, 365px 1256px #FFF,
        896px 56px #FFF, 1856px 1895px #FFF, 458px 658px #FFF, 123px 1568px #FFF, 658px 365px #FFF, 1256px 123px #FFF, 756px 896px #FFF, 256px 1856px #FFF, 1568px 458px #FFF, 89px 1236px #FFF,
        985px 56px #FFF, 1895px 1598px #FFF, 1236px 698px #FFF, 568px 123px #FFF, 125px 1856px #FFF, 698px 458px #FFF, 1598px 1568px #FFF, 365px 896px #FFF, 896px 256px #FFF, 1856px 1236px #FFF,
        458px 56px #FFF, 12px 1895px #FFF, 658px 698px #FFF, 156px 365px #FFF, 756px 1256px #FFF, 1256px 568px #FFF, 258px 896px #FFF, 1568px 123px #FFF, 985px 1856px #FFF, 56px 458px #FFF,
        1895px 1568px #FFF, 1236px 365px #FFF, 568px 1895px #FFF, 125px 698px #FFF, 698px 123px #FFF, 1598px 896px #FFF, 365px 56px #FFF, 896px 1256px #FFF, 1856px 365px #FFF, 458px 1856px #FFF,
        142px 789px #FFF, 1682px 420px #FFF, 892px 1650px #FFF, 340px 920px #FFF, 1150px 1450px #FFF, 560px 240px #FFF, 1920px 850px #FFF, 240px 1750px #FFF, 780px 1100px #FFF, 1340px 620px #FFF,
        1650px 50px #FFF, 420px 1320px #FFF, 950px 560px #FFF, 1480px 1900px #FFF, 620px 380px #FFF, 1780px 1520px #FFF, 80px 1150px #FFF, 1050px 780px #FFF, 520px 1680px #FFF, 1280px 220px #FFF;
}

/* CAPA 2: Medianas (6px) */
#stars2 {
    width: 6px; height: 6px;
    background: transparent; border-radius: 50%;
    box-shadow: 
        1850px 560px #FFF, 230px 1450px #FFF, 980px 320px #FFF, 560px 1890px #FFF, 1450px 780px #FFF, 
        120px 420px #FFF, 1650px 1230px #FFF, 780px 1560px #FFF, 340px 890px #FFF, 1120px 670px #FFF,
        1560px 140px #FFF, 420px 1780px #FFF, 890px 1120px #FFF, 1950px 230px #FFF, 670px 1340px #FFF,
        280px 560px #FFF, 1340px 1650px #FFF, 560px 980px #FFF, 1780px 340px #FFF, 1230px 1950px #FFF,
        890px 120px #FFF, 1450px 1560px #FFF, 450px 670px #FFF, 1650px 180px #FFF, 780px 1230px #FFF,
        1120px 1890px #FFF, 230px 890px #FFF, 1560px 450px #FFF, 340px 1450px #FFF, 980px 780px #FFF,
        1890px 1650px #FFF, 670px 230px #FFF, 1340px 1120px #FFF, 120px 1560px #FFF, 1230px 560px #FFF;
    animation: animStar 100s linear infinite;
    opacity: 0.8;
}
#stars2:after {
    content: " "; position: absolute; top: 2000px; width: 6px; height: 6px; background: transparent; border-radius: 50%;
    box-shadow: 
        1850px 560px #FFF, 230px 1450px #FFF, 980px 320px #FFF, 560px 1890px #FFF, 1450px 780px #FFF, 
        120px 420px #FFF, 1650px 1230px #FFF, 780px 1560px #FFF, 340px 890px #FFF, 1120px 670px #FFF,
        1560px 140px #FFF, 420px 1780px #FFF, 890px 1120px #FFF, 1950px 230px #FFF, 670px 1340px #FFF,
        280px 560px #FFF, 1340px 1650px #FFF, 560px 980px #FFF, 1780px 340px #FFF, 1230px 1950px #FFF,
        890px 120px #FFF, 1450px 1560px #FFF, 450px 670px #FFF, 1650px 180px #FFF, 780px 1230px #FFF,
        1120px 1890px #FFF, 230px 890px #FFF, 1560px 450px #FFF, 340px 1450px #FFF, 980px 780px #FFF,
        1890px 1650px #FFF, 670px 230px #FFF, 1340px 1120px #FFF, 120px 1560px #FFF, 1230px 560px #FFF;
}

/* CAPA 3: Grandes (9px) */
#stars3 {
    width: 9px; height: 9px;
    background: transparent; border-radius: 50%;
    box-shadow: 
        377px 1610px #FFF, 1441px 867px #FFF, 921px 1533px #FFF, 626px 522px #FFF,
        150px 250px #FFF, 1800px 1400px #FFF, 1000px 400px #FFF, 500px 1100px #FFF,
        1200px 100px #FFF, 200px 1800px #FFF, 1600px 950px #FFF, 800px 1350px #FFF;
    animation: animStar 150s linear infinite;
}
#stars3:after {
    content: " "; position: absolute; top: 2000px; width: 9px; height: 9px; background: transparent; border-radius: 50%;
    box-shadow: 
        377px 1610px #FFF, 1441px 867px #FFF, 921px 1533px #FFF, 626px 522px #FFF,
        150px 250px #FFF, 1800px 1400px #FFF, 1000px 400px #FFF, 500px 1100px #FFF,
        1200px 100px #FFF, 200px 1800px #FFF, 1600px 950px #FFF, 800px 1350px #FFF;
}

@keyframes animStar {
    from { transform: translateY(0px); }
    to { transform: translateY(-2000px); }
}
/* --- SECCIÓN VENTAJA COMPETITIVA --- */
.advantages-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.adv-card {
    background: rgba(255, 255, 255, 0.03); /* Fondo muy sutil */
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.adv-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-green); /* Borde verde al pasar ratón */
    transform: translateY(-5px);
}

.adv-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    /* Efecto de brillo en el icono */
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.4));
}

.adv-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.adv-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- SECCIÓN PROCESO (4 PASOS) --- */
.process-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 5;
}

.process-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 60px;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); /* Brillo azul */
    position: relative;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 200px; /* Limitar ancho del texto */
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px; /* Alinear con los círculos */
    color: rgba(255, 255, 255, 0.1);
    font-size: 1.5rem;
    flex: 0.2;
}

/* --- RESPONSIVE PARA NUEVAS SECCIONES --- */
@media (max-width: 768px) {
    .process-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step-arrow {
        transform: rotate(90deg); /* Girar flecha hacia abajo en móvil */
        height: auto;
        margin: -20px 0; /* Ajustar espacio */
    }
    
    .process-step p {
        max-width: 100%;
    }
}
/* =========================================
   RESPONSIVE DESIGN (MÓVILES Y TABLETS)
   ========================================= */

@media (max-width: 768px) {

    /* 1. Ajustes Generales de Texto y Espaciado */
    .hero h1 {
        font-size: 2.5rem; /* Texto más pequeño para que quepa */
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .bento-section, .stats-section, .process-section, .advantages-section {
        padding: 60px 20px; /* Menos relleno vertical */
    }

    /* 2. Menú Móvil (Hamburguesa) */
    .nav-container {
        width: 90%;
        padding: 15px 20px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block; /* Hacemos visible el botón de menú */
        font-size: 1.8rem;
        order: 1; /* Ponemos el botón a la derecha */
    }

    .nav-logo {
        font-size: 1.3rem; /* Logo un pelín más pequeño */
        order: 0;
    }

    .nav-cta {
        display: none; /* Ocultamos el botón "Hablemos" en el header para ahorrar espacio */
    }

    /* El menú desplegable */
    .nav-links {
        position: absolute;
        top: 80px; /* Justo debajo de la barra */
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: 100%;
        background: rgba(18, 18, 18, 0.95); /* Fondo oscuro casi opaco */
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 30px;
        gap: 25px;
        border-radius: 24px;
        border: 1px solid rgba(255,255,255,0.1);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: all;
    }

    .nav-link {
        font-size: 1.2rem; /* Enlaces más grandes para pulsar con el dedo */
    }

    /* 3. Bento Grid (Servicios) a 1 Columna */
    .bento-grid {
        display: grid;
        grid-template-columns: 1fr; /* Una sola columna */
        grid-template-rows: auto;   /* Altura automática */
        gap: 20px;
    }

    .bento-card {
        grid-column: auto !important; /* Anulamos los span-2 */
        min-height: 300px; /* Altura mínima para que se vea la foto */
    }

    /* 4. Sección "Ventaja Competitiva" (Iconos verdes) */
    .advantages-grid {
        grid-template-columns: 1fr; /* Uno debajo de otro */
    }

    /* 5. Sección "Proceso" (Círculos y Flechas) */
    .process-container {
        flex-direction: column; /* Vertical en vez de horizontal */
        gap: 0;
    }

    .step-arrow {
        transform: rotate(90deg); /* Giramos la flecha hacia abajo */
        margin: 10px 0;
        height: 50px;
    }

    .process-step {
        width: 100%;
        margin-bottom: 20px;
    }

    .process-step p {
        max-width: 100%; /* Texto ocupa todo el ancho */
    }

    /* 6. Sección "Quiénes Somos" (Split Layout) */
    .split-layout, .split-layout.reverse {
        flex-direction: column; /* Texto arriba, imagen abajo */
        gap: 30px;
    }

    .split-image {
        width: 100%;
        height: 300px; /* Ajustamos altura de imagen */
    }

    /* 7. Formulario de Contacto */
    .contact-container {
        grid-template-columns: 1fr; /* Una columna */
        margin-top: 100px;
        gap: 40px;
    }

    .contact-info h1 {
        font-size: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: 25px; /* Menos padding en el formulario */
    }
    
    /* 8. Ajuste de Informes */
    .reports-grid {
        grid-template-columns: 1fr;
    }
}
/* --- CORRECCIÓN DE IMÁGENES SOLO PARA MÓVIL --- */
@media (max-width: 768px) {
    .split-image {
        /* Forzamos altura solo en pantallas pequeñas */
        min-height: 300px !important; 
        height: 300px !important;
        width: 100% !important;
        
        /* Evitamos que flexbox la aplaste */
        flex: none !important; 
        
        /* Arreglo para iPhone/Safari */
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
        
        margin-bottom: 20px;
    }
}