/* --- VARIABLES --- */
:root {
    --red: #e31e24;
    --blue: #0a1a35;
    --white: #ffffff;
    --gray-light: #f4f4f4;
    --text-dark: #333333;
    --text-gray: #666666;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET Y BASES --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--text-dark); 
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- HEADER PROFESIONAL --- */
header {
    background: var(--blue);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-bottom: 3px solid var(--red);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    height: 90px;
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

/* NAVEGACIÓN */
.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-links li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 10px 15px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border-radius: 4px;
}

.nav-links li a:hover, 
.nav-links li a.active {
    color: var(--red);
    background: rgba(255,255,255,0.05);
}

/* BOTÓN CONTACTO EN NAV */
.btn-contacto-nav {
    background: var(--red);
    color: white !important;
    margin-left: 10px;
}

.btn-contacto-nav:hover {
    background: var(--white) !important;
    color: var(--red) !important;
}

/* BLOQUE TELÉFONO */
.nav-extra {
    display: flex;
    align-items: center;
}

.btn-nav-phone {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    background: rgba(255,255,255,0.08);
    padding: 8px 18px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-nav-phone:hover {
    background: var(--red);
}

.icon-circle {
    background: var(--red);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.btn-nav-phone:hover .icon-circle {
    background: var(--white);
    color: var(--red);
}

.phone-info {
    display: flex;
    flex-direction: column;
}

.phone-label {
    font-size: 0.55rem;
    color: #bbb;
    text-transform: uppercase;
    font-weight: 600;
}

.phone-number {
    font-size: 0.85rem;
    color: white;
    font-weight: 800;
}

/* --- DROPWDOWN --- */
.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--blue);
    min-width: 240px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
    top: 100%;
    left: 0;
    border-top: 3px solid var(--red);
    padding: 10px 0;
}

.dropdown-content li a {
    padding: 12px 20px;
    display: block;
    text-transform: none;
    font-size: 0.8rem;
    border-radius: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInMenu 0.3s ease;
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- SECCIONES DE CONTENIDO --- */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.section-padding { 
    padding: 100px 0; 
}

.grid-2 { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
}

/* HERO */
.nosotros-hero { 
    height: 65vh; 
    background: linear-gradient(rgba(10,26,53,0.75), rgba(10,26,53,0.75)), url('imagenes/foto2.webp') center/cover no-repeat;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    text-align: center; 
    margin-top: 90px; /* Compensa el header fijo */
}

.nosotros-hero h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    text-transform: uppercase; 
    font-weight: 900;
    letter-spacing: -1px;
}

/* ELEMENTOS DE TEXTO */
.eyebrow { 
    color: var(--red); 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    font-size: 0.85rem; 
    display: block;
    margin-bottom: 10px;
}

.text-red { color: var(--red); }

.divider { 
    width: 60px; 
    height: 4px; 
    background: var(--red); 
    margin: 20px 0; 
}

.text-block p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* IMÁGENES */
.img-responsive { 
    width: 100%; 
    border-radius: 8px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: block;
}

/* CAPACIDAD SECCIÓN */
.section-capacidad { 
    padding: 100px 0; 
    background: #fff; 
}

.list-check { 
    list-style: none; 
    margin-top: 30px; 
}

.list-check li { 
    margin-bottom: 15px; 
    font-weight: 600; 
    display: flex;
    align-items: center;
}

.list-check i { 
    color: var(--red); 
    margin-right: 15px; 
    font-size: 1.2rem;
}

/* SSOMAC */
.section-ssomac { 
    padding: 120px 0; 
    background: linear-gradient(rgba(10,26,53,0.9), rgba(10,26,53,0.9)), url('imagenes/foto3.webp') center/cover fixed;
    color: white; 
    text-align: center;
}

.container-narrow { 
    max-width: 800px; 
    margin: 0 auto; 
}

.title-white { 
    font-size: 2.5rem; 
    font-weight: 800;
    letter-spacing: 2px; 
    margin-bottom: 30px; 
    text-transform: uppercase;
}

/* PILARES (MISIÓN, VISIÓN, VALORES) */
.bg-gray { background: var(--gray-light); }

.title-center { 
    text-align: center; 
    margin-bottom: 60px; 
    text-transform: uppercase; 
    font-weight: 800;
    font-size: 2rem;
}

.map-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
}

.map-card { 
    background: var(--white); 
    padding: 50px 30px; 
    text-align: center; 
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.red-line { 
    width: 40px; 
    height: 4px; 
    background: var(--red); 
    margin: 0 auto 25px; 
}

.map-card h3 { 
    font-size: 1.1rem; 
    margin-bottom: 20px; 
    color: var(--blue); 
    font-weight: 800;
    letter-spacing: 1px;
}

.map-card p { 
    font-size: 0.95rem; 
    color: var(--text-gray); 
}

.map-card:hover, .map-card.active { 
    transform: translateY(-10px);
    border-bottom-color: var(--red);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* BOTÓN GENERAL */
.btn-roan { 
    display: inline-block; 
    padding: 15px 35px; 
    border: 2px solid var(--red); 
    color: var(--red); 
    text-decoration: none; 
    font-weight: 800; 
    margin-top: 20px; 
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-roan:hover { 
    background: var(--red); 
    color: var(--white); 
}

/* --- MOBILE --- */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

@media (max-width: 1100px) {
    .nav-extra { display: none; }
    .navbar { height: 80px; }
    .nosotros-hero { margin-top: 80px; }
}

@media (max-width: 768px) {
    .grid-2, .map-grid { 
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    
    .menu-toggle { display: flex; }
    
    .nav-links {
        display: none; /* Se activa con JS */
    }

    .nosotros-hero h1 { font-size: 2.2rem; }
    
    .section-padding { padding: 60px 0; }
}