
            /* =========================================
   PÁGINA NOSOTROS: ESTILOS DARK EDITORIAL
   ========================================= */

/* =========================================
   HEADER TIPO BANNER (REFERENCIA COLEGIO ALEMÁN)
   ========================================= */

.page-banner {
    position: relative;
    width: 100%;
    height: 50vh; /* Altura media (Panorámica), no pantalla completa */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
    /* IMAGEN DE FONDO PANORÁMICA */
    /* Asegúrate de usar una foto ancha del colegio aquí */
    background: url('../Image/Headers/header-nosotros-VER.jpeg') no-repeat center center;
    background-size: cover;
    
    /* Ajuste para que empiece detrás del menú fijo */
    margin-top: 0; 
}

/* Capa oscura encima de la foto para que el texto blanco resalte */
.banner-overlay {
    position: absolute;
    inset: 0;
    /* Degradado Dark Neon: De azul oscuro transparente a azul sólido abajo */
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), var(--navy-dark));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 60px; /* Compensación visualn por el navbar */
}

.banner-content h1 {
    font-family: 'Teko', sans-serif;
    font-size: 5rem; /* Título Gigante */
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Línea decorativa debajo del título (Estilo Neon) */
.banner-line {
    width: 120px;
    height: 6px;
    background: var(--accent-cyan); /* Cyan Neón */
    margin: 0 auto;
    border-radius: 3px;
    box-shadow: 0 0 15px var(--accent-cyan);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .page-banner {
        height: 40vh;
        min-height: 300px;
    }
    .banner-content h1 {
        font-size: 3.5rem;
    }
 }

 /* =========================================
   SECCIÓN COMUNIDAD (GRADIENT FADE STYLE)
   ========================================= */

/* =========================================================
   REEMPLAZA DESDE .fade-banner HASTA .right-text .fade-content
   ========================================================= */

.fade-banner {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

/* AQUÍ ESTÁ LA SOLUCIÓN: Controlamos la alineación del flexbox */
.fade-banner.left-text {
    justify-content: flex-start; /* Alinea el contenido a la izquierda */
}

.fade-banner.right-text {
    justify-content: flex-end; /* TU IDEA: Empuja el contenido a la derecha */
}

/* LA IMAGEN DE FONDO */
.fade-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto parallax */
    z-index: 1;
}

/* 1. Cuando el texto está a la izquierda (Cortina hacia la derecha) */
.fade-banner.left-text::before {
    content: ''; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(
        90deg, 
        rgba(15, 23, 42, 0.95) 0%,     /* Sólido al inicio */
        rgba(15, 23, 42, 0.85) 45%,    /* Se mantiene hasta casi la mitad */
        rgba(15, 23, 42, 0.4) 60%,     /* Empieza el desvanecimiento */
        rgba(15, 23, 42, 0) 100%       /* Totalmente transparente al final */
    );
}

/* 2. Cuando el texto está a la derecha (Cortina hacia la izquierda) */
.fade-banner.right-text::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        -90deg,
        rgba(15, 23, 42, 0.95) 0%,    /* borde derecho oscuro */
        rgba(15, 23, 42, 0.95) 35%,   /* mantenemos opacidad hasta 35% */
        rgba(15, 23, 42, 0.4) 55%,    /* empieza a desvanecer */
        rgba(15, 23, 42, 0) 100%
    );
}

/* EL CONTENIDO (TEXTOS) */
.fade-content {
    position: relative;
    z-index: 3;
    width: 50%;
    max-width: 50%;
}

/* Alinear según la clase y empujar hacia los bordes */
.left-text .fade-content { 
    /* Quitamos el margin-right: auto porque justify-content ya hace el trabajo */
    text-align: left; 
    /* Arriba 120px | Derecha 20px | Abajo 60px | Izquierda 80px */
    padding: 120px 20px 60px 80px; 
}

.right-text .fade-content {
    margin-left: auto !important; /* Esto lo empuja violentamente a la derecha en Flexbox */
    margin-right: 0 !important;   /* Asegura que no haya margen derecho que lo frene */
    text-align: right !important; /* Alinea el texto a la derecha */
    padding-right: 5% !important; /* Le da un respiro para que no pegue con el borde de la pantalla */
    width: 50% !important;        /* Fuerza a que ocupe la mitad donde está la cortina */
}

/* El resto de tu CSS para h2, p y botones queda exactamente igual */


.fade-content h2 {
    font-family: 'Teko', sans-serif;
    font-size: 4rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}

.fade-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    color: #e2e8f0;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* BOTONES */
.btn-fade {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    font-family: 'Teko', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
}

.btn-fade.cyan {
    background: transparent; color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
}
.btn-fade.cyan:hover { background: var(--accent-cyan); color: var(--bg-dark); }

.btn-fade.gold {
    background: transparent; color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}
.btn-fade.gold:hover { background: var(--accent-gold); color: var(--bg-dark); }

/* RESPONSIVE PARA MÓVILES */
@media (max-width: 992px) {
    .fade-content {
        width: 100%; /* En celular ocupa todo el ancho */
        padding: 50px 20px;
        text-align: center !important;
    }
    .left-text .line-decor, .right-text .line-decor { margin: 0 auto 20px auto !important; }
    
    /* En celular, la cortina debe ir de ABAJO hacia ARRIBA (0deg) */
    .fade-banner.left-text::before, 
    .fade-banner.right-text::before {
        background: linear-gradient(
            0deg, /* 0 grados es hacia arriba */
            rgba(15, 23, 42, 0.95) 0%,   /* Base sólida para leer el texto */
            rgba(15, 23, 42, 0.85) 50%,  /* Mantenemos un poco más de sólido para texto largo */
            rgba(15, 23, 42, 0.4) 75%,   /* Desvanecimiento cerca de la foto */
            rgba(15, 23, 42, 0) 100%     /* Foto limpia arriba */
        );
    }
}

/* =========================================
   SECCIÓN PILARES (MANUAL + CONTROLES)
   ========================================= */
.pillars-section {
    background: var(--bg-dark);
    padding: 60px 0;
    overflow: hidden;
}

.pillar-container {
    padding: 0 20px;
}

.pillars-control-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 500px;
    position: relative;
}

.pillars-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 15px;
}

.pillar-card {
    position: relative;
    height: 100%;
    border-radius: 20px;
    background-size: cover;
    min-width: 60px;
    background-position: center;
    cursor: pointer;
    flex: 1; /* Todos cerrados al inicio */
    transition: flex 0.6s cubic-bezier(0.25, 0.4, 0.45, 1.4); /* Animación suave */
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Oscurecimiento base */
.pillar-overlay {
    position: absolute; inset: 0;
    background: rgba(15, 23, 42, 0.8); /* Oscuro por defecto */
    transition: 0.4s;
}

/* ESTADO ACTIVO (Controlado por Click/JS) */
.pillar-card.active {
    flex: 10; /* El activo es 6 veces más grande */
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
}

.pillar-card.active .pillar-overlay {
    background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);
}
/* TEXTO MÁS COMPACTO EN MÓVIL */
@media (max-width: 900px) {
    .pillars-wrapper {
        flex-direction: column;
        height: 700px; /* Un poco más alto para que quepan 6 */
    }
    .pillar-card { min-height: 60px; }
    .pillar-card.active { flex: 6; } /* En vertical no exageramos tanto */
}

/* CONTENIDO */
.pillar-content {
    position: absolute; bottom: 30px; left: 30px;
    color: #fff;
    opacity: 0; transform: translateY(20px);
    transition: 0.4s; transition-delay: 0.2s;
    white-space: nowrap;
}

.pillar-card.active .pillar-content {
    opacity: 1; transform: translateY(0);
}

.pillar-icon { font-size: 2.5rem; color: var(--accent-gold); margin-bottom: 10px; }
.pillar-content h3 { font-family: 'Teko', sans-serif; font-size: 3.5rem; line-height: 1; margin: 0; }
.pillar-content p { font-family: 'Poppins', sans-serif; color: var(--accent-cyan); letter-spacing: 1px; }

/* BOTONES DE FLECHA (CONTROLES) */
.nav-arrow {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
}

.nav-arrow:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--accent-cyan);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .pillars-control-wrapper { flex-direction: column; height: auto; }
    .pillars-wrapper { flex-direction: column; height: 600px; }
    .nav-arrow { display: none; /* En móvil es mejor tocar la tarjeta directa */ }
    .pillar-card.active { flex: 4; }
}
/* =========================================
   2. SHOWCASE IDENTIDAD (ESCUDO Y CHOMPA)
   ========================================= */
.showcase-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, #1e293b 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* Texto gigante de fondo */
.showcase-bg-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 15vw; font-weight: 800; color: rgba(255,255,255,0.02);
    font-family: 'Teko', sans-serif; white-space: nowrap; pointer-events: none;
}

.showcase-container {
    display: flex; justify-content: center; gap: 80px; align-items: center;
    position: relative; z-index: 2;
}

.showcase-item {
    position: relative; text-align: center; width: 350px;
}

/* Círculo de luz detrás */
.glow-circle {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 250px; height: 250px;
    background: var(--accent-cyan);
    filter: blur(80px); opacity: 0.2;
    border-radius: 50%; z-index: -1;
    transition: 0.5s;
}
.glow-circle.gold { background: var(--accent-gold); }

.showcase-item:hover .glow-circle { opacity: 0.4; width: 300px; height: 300px; }

/* Imágenes Épicas */
.epic-shield {
    height: 250px; width: auto; margin: 0 auto 30px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    animation: floatShield 4s ease-in-out infinite;
    transition: 0.3s;
}

.epic-jacket {
    height: 350px; width: auto; margin: 0 auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6));

    transition: 0.5s;
}
.showcase-item:hover .epic-jacket { transform: rotate(0deg) scale(1.1); }

@keyframes floatShield {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Etiquetas de Texto */
.item-info { margin-top: 20px; }
.item-info h4 { font-size: 2rem; color: #fff; margin-bottom: 5px; }
.info-tag {
    background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan);
    padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 600;
    border: 1px solid var(--accent-cyan);
}
.info-tag.gold {
    background: rgba(251, 191, 36, 0.1); color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .legacy-grid { flex-direction: column; }
    .legacy-item { width: 100%; height: 250px; }
    .legacy-connector { transform: rotate(90deg); margin: 20px 0; }
    
    .showcase-container { flex-direction: column; gap: 60px; }
    .epic-jacket { height: 250px; }
}

/* 5. EQUIPO (Tarjetas LinkedIn Dark) */
.team-section { padding: 100px 0; background: var(--white-off); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

.team-card {
    background: var(--navy-dark); border-radius: 10px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0); transition: 0.3s;
}
.team-card:hover { transform: translateY(-10px); }

.team-img { height: 250px; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; ; transition: 0.5s; }
.team-card:hover .team-img img { filter: grayscale(0%); transform: scale(1.1); }

.team-info { padding: 20px; text-align: center; }
.team-info h4 { color: #fff; font-size: 1.3rem; margin-bottom: 5px; }
.team-info .role {
    color: var(--accent-gold); font-size: 0.9rem; font-weight: 700; letter-spacing: 1px;
    opacity: 0.7; transition: 0.3s;
}
.team-card:hover .team-info .role { opacity: 1; letter-spacing: 2px; }

/* =========================================
   6. HIMNOS (DISEÑO VERTICAL EDITORIAL)
   ========================================= */
.anthems-showcase {
    padding: 100px 0;
    position: relative;
    background: url('../Image/Headers/header-nosotros.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}
.anthems-showcase::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, rgba(15,23,42,0.9) 50%, var(--bg-dark) 100%);
    z-index: 1;
}
.anthems-showcase .container { position: relative; z-index: 2; }

/* EL CONTENEDOR VERTICAL */
.anthems-vertical-layout {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra las tarjetas en la pantalla */
    gap: 60px; /* Espacio generoso entre un himno y otro */
}

/* LA TARJETA RESTRINGIDA Y DIVIDIDA */
.anthem-glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 50px;
    
    /* REGLA DE ORO DE LEAD DESIGNER: Limitar el ancho */
    width: 100%;
    max-width: 950px; /* Nunca ocupará toda la pantalla */
    
    /* Dividimos la tarjeta en 2 columnas internas */
    display: grid;
    grid-template-columns: 280px 1fr; /* Izquierda 280px, Derecha el resto */
    gap: 50px;
    
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transition: 0.4s ease;
}

/* Efectos Hover */
.anthem-glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 0 30px rgba(6,182,212,0.05);
}
.anthem-glass-card.gold-theme:hover {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 0 30px rgba(251,191,36,0.05);
}

/* LADO IZQUIERDO (INFO) */
.anthem-icon {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.8rem; color: #111; margin-bottom: 25px;
}
.anthem-icon.cyan { background: var(--accent-cyan); box-shadow: 0 5px 20px rgba(6, 182, 212, 0.5); }
.anthem-icon.gold { background: var(--accent-gold); box-shadow: 0 5px 20px rgba(251, 191, 36, 0.5); }

.anthem-name { font-family: 'Teko', sans-serif; font-size: 3.5rem; color: #fff; line-height: 0.9; margin: 0 0 15px 0; }
.anthem-divider { height: 4px; width: 60px; margin-bottom: 30px; border-radius: 2px; }
.anthem-divider.cyan { background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.anthem-divider.gold { background: var(--accent-gold); box-shadow: 0 0 10px var(--accent-gold); }

.anthem-authors p { font-size: 0.95rem; color: #aaa; margin-bottom: 15px; }
.anthem-authors strong { color: #fff; font-size: 1.1rem; }

/* LADO DERECHO (LETRA) */
.stanza {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 2px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}
.anthem-glass-card:hover .stanza { border-left-color: rgba(6,182,212,0.3); }
.anthem-glass-card.gold-theme:hover .stanza { border-left-color: rgba(251,191,36,0.3); }

.stanza-title { display: block; font-size: 0.9rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 10px; }
.stanza-title.cyan { color: var(--accent-cyan); }
.stanza-title.gold { color: var(--accent-gold); }

.stanza p {
    font-family: 'Playfair Display', serif; 
    font-size: 1.25rem;
    line-height: 1.8;
    color: #ddd;
    margin: 0;
    font-style: italic;
}

/* RESPONSIVE (Móviles y Tablets) */
@media (max-width: 900px) {
    .anthem-glass-card {
        grid-template-columns: 1fr; /* En móvil, el título se pone arriba de la letra */
        padding: 40px 25px;
        gap: 30px;
    }
    .anthem-name { font-size: 3rem; }
}