/* ==========================================================
   1. PAGE HERO (Cabecera de Nosotros)
========================================================== */
.page-hero {
    height: 60vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white; position: relative;
    background-color: var(--bg-dark);
}
.page-hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../imagenes/nosotros.jpg');
    background-size: cover; background-position: center; z-index: 0;
}
.page-hero-content { z-index: 1; max-width: 800px; padding: 0 20px; }
.page-hero h1 { font-family: var(--font-head); font-size: 3.5rem; font-weight: 700; margin-bottom: 20px; }
.page-hero p { font-size: 1.1rem; opacity: 0.9; font-weight: 300; }

/* ==========================================================
   2. HISTORIA Y ESTADÍSTICAS
========================================================== */
.about-section { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }

.grid-2-col {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
    margin-bottom: 80px;
}

.text-block h2 {
    font-family: var(--font-head); font-size: 2.2rem; margin-bottom: 25px; color: var(--primary);
    position: relative; display: inline-block;
}
.text-block h2::after {
    content: ''; position: absolute; left: 0; bottom: -10px;
    width: 60px; height: 3px; background: var(--accent);
}
.text-block p { color: var(--text-gray); margin-bottom: 20px; text-align: justify; }

.image-block img {
    width: 100%; border-radius: 4px; box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    filter: grayscale(100%); transition: 0.5s;
}
.image-block:hover img { filter: grayscale(0%); transform: scale(1.02); }

.stats-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    color: white; padding: 60px 5%;
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15); 
    border-bottom: 4px solid var(--accent); 
}
.stat-number { font-family: var(--font-head); font-size: 3.5rem; font-weight: 700; color: var(--accent); display: block; line-height: 1; margin-bottom: 5px; }
.stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.8); font-weight: 600; }

/* ==========================================================
   3. EQUIPO VERTICAL
========================================================== */
.team-vertical-section {
    background-image: radial-gradient(circle at top, var(--primary) 0%, var(--bg-dark) 100%);
    background-color: var(--bg-dark);
    padding: 100px 5%; color: white;
}

.center-header { text-align: center; margin-bottom: 70px; }
.center-header small { color: var(--accent); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 15px;}
.center-header h2 { font-family: var(--font-head); font-size: 2.5rem; color: white; }

.team-vertical-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; max-width: 1200px; margin: 0 auto;
}

.profile-card {
    background-color: var(--bg-dark);
    border-radius: 8px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 3px solid var(--accent); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s;
    position: relative;
}
.profile-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); 
    border-top-color: var(--gold); 
}

.profile-image-container { height: 350px; width: 100%; position: relative; overflow: hidden; }
.profile-image-container img {
    width: 100%; height: 100%; object-fit: cover; object-position: top;
    transition: transform 0.6s ease; filter: grayscale(100%);
}
.profile-card:hover img { filter: grayscale(0%); transform: scale(1.05); }

.fade-gradient {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 60%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, var(--bg-dark) 100%);
    z-index: 2;
}

.profile-info { padding: 0 30px 40px 30px; text-align: center; position: relative; z-index: 3; margin-top: -30px; }
.role-badge {
    display: inline-block; background: rgba(14, 165, 233, 0.1); color: var(--accent);
    padding: 5px 15px; border-radius: 50px; font-size: 0.7rem; text-transform: uppercase;
    font-weight: 700; letter-spacing: 1px; margin-bottom: 15px; border: 1px solid rgba(14, 165, 233, 0.3);
    transition: 0.3s;
}
.profile-card:hover .role-badge { color: var(--gold); border-color: rgba(196, 164, 132, 0.4); background: rgba(196, 164, 132, 0.1); }
.profile-info h3 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 15px; color: white; }
.experience-text { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 20px; }

/* ==========================================================
   4. BROCHURE CTA
========================================================== */
.brochure-section {
    background-color: var(--primary);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 60px 5%; text-align: center;
}
.brochure-content { max-width: 800px; margin: 0 auto; }
.brochure-text h2 { font-family: var(--font-head); font-size: 2rem; margin-bottom: 10px; color: white; }
.brochure-text p { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 30px; }

.btn-download {
    display: inline-flex; align-items: center; padding: 15px 40px; 
    background: var(--accent); color: white;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border-radius: 6px; transition: 0.3s;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}
.btn-download:hover { 
    background: white; color: var(--primary); 
    transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255,255,255,0.2); 
}

/* ==========================================================
   5. RESPONSIVE DE SECCIONES
========================================================== */
@media (max-width: 900px) {
    .grid-2-col { grid-template-columns: 1fr; gap: 40px; }
    .team-vertical-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 2.5rem; }
}