/* VARIABLES Y RESET */
:root {
    --azul-oscuro: #031F5C;
    --rojo-cruz-azul: #e1251b;
    --fondo-gris: #f4f5f7;
    --texto-principal: #333333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--fondo-gris);
    color: var(--texto-principal);
    display: block !important;
    overflow-x: hidden;
}

/* NAVEGACIÓN */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    height: 50px;
    width: auto;
}

.nav-logotipo {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--rojo-cruz-azul);
}

.btn-nav-contacto {
    background-color: #ffffff;
    color: var(--azul-oscuro) !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 800 !important;
    transition: transform 0.2s;
}

.btn-nav-contacto:hover {
    transform: scale(1.05);
    background-color: var(--rojo-cruz-azul);
    color: #ffffff !important;
}

/* NUEVO DISEÑO: HERO DARK */
.hero-dark {
    position: relative;
    padding: 160px 40px 60px 40px;
    /* Espacio para el navbar */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.hero-dark::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    /* Expand to avoid blurred edges */
    background-image: url('../img/bg2.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--azul-oscuro);
    opacity: 0.85;
    z-index: -1;
}

.hero-dark-text {
    text-align: center;
    max-width: 800px;
    margin-bottom: 60px;
}

.hero-dark-text h1 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-dark-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.hero-images {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
}

.hero-images img {
    flex: 1;
    width: 100%;
    max-width: 380px;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* NUEVO DISEÑO: ABOUT CONTENT */
.about-content {
    background-color: #ffffff;
    padding: 100px 40px;
}

.about-layout {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.about-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.about-label i {
    margin-right: 8px;
    font-size: 0.6rem;
    color: var(--azul-oscuro);
}

.about-details {
    width: 100%;
}

.about-details p.lead-text {
    font-size: 1.8rem;
    color: #333;
    line-height: 1.4;
    margin-bottom: 30px;
    font-weight: 400;
}

.about-details p.lead-text strong {
    font-weight: 700;
    color: var(--azul-oscuro);
}

.about-details p.sub-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 60px;
    max-width: 800px;
}

/* STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 400;
    color: #222;
    margin-bottom: 5px;
}

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

/* PIE DE PÁGINA */
.site-footer {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--azul-oscuro);
    color: #ffffff;
    font-size: 0.9rem;
}

.site-footer p {
    margin-bottom: 5px;
}

/* RESPONSIVIDAD MÓVIL */
@media (max-width: 900px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-logo {
        height: 30px;
    }

    .nav-logotipo {
        height: 20px;
    }

    .nav-links a:not(.btn-nav-contacto) {
        display: none;
    }

    .btn-nav-contacto {
        padding: 8px 16px;
        font-size: 0.8rem !important;
    }

    .hero-dark {
        padding: 120px 20px 40px 20px;
    }

    .hero-dark-text h1 {
        font-size: 2.2rem;
    }

    .hero-images {
        flex-direction: column;
        align-items: center;
    }

    .hero-images img {
        height: 300px;
    }

    .hero-images img:nth-child(3) {
        display: none;
    }

    .about-content {
        padding: 60px 20px;
    }

    .about-layout {
        flex-direction: column;
        gap: 30px;
    }

    .about-label {
        flex: none;
    }

    .about-details p.lead-text {
        font-size: 1.4rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}