/* ==========================================
   NOSOTROS PAGE
   ========================================== */

/* === HERO === */

.hero-nosotros {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-nosotros .hero-background {
    position: absolute;
    inset: 0;
}

.hero-nosotros .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 20, 60, 0.75) 0%, rgba(30, 58, 138, 0.55) 100%);
    z-index: 1;
}

.hero-nosotros .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-nosotros .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding-top: 65px;
}

.hero-nosotros .hero-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.hero-nosotros .hero-main-title {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-display);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-nosotros .hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Hero badges — zero backdrop-filter */
.hero-nosotros .hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.hero-nosotros .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-nosotros .hero-badge i {
    color: var(--accent-color);
}

/* Hero nav pills */
.hero-nosotros .hero-nav-pills {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.hero-nosotros .hero-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.825rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.hero-nosotros .hero-nav-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

/* Scroll indicator */
.hero-nosotros .hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.hero-nosotros .scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
}

.hero-nosotros .scroll-indicator i {
    animation: nosotrosBounce 1.6s ease infinite;
}

@keyframes nosotrosBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* === SECTION BACKGROUNDS === */

.nosotros-section {
    padding: 5rem 0;
}

.nosotros-section.bg-azul {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
}

.nosotros-section.bg-light {
    background: linear-gradient(135deg, #F8FAFF 0%, #EEF4FF 100%);
}

/* === SECTION HEADER === */

.nos-section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

.nos-section-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nos-section-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.nos-section-icon--light {
    background: rgba(30, 58, 138, 0.07);
    border: 2px solid rgba(30, 58, 138, 0.15);
}

.nos-section-icon--light i {
    color: var(--primary-color);
}

.nos-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-display);
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.nos-section-title--dark {
    color: var(--primary-color);
}

.nos-section-subtitle {
    font-size: 0.975rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.nos-section-subtitle--dark {
    color: #6B7280;
}

/* === HISTORIA TIMELINE === */

.historia-timeline {
    max-width: 840px;
    margin: 0 auto;
    position: relative;
}

.historia-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), rgba(255, 255, 255, 0.15));
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 96px 1fr;
    align-items: center;
    margin-bottom: 2.5rem;
}

.timeline-item:nth-child(odd) .timeline-year {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 3;
    grid-row: 1;
    margin-left: 1.5rem;
}

.timeline-item:nth-child(even) .timeline-year {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    grid-row: 1;
    margin-right: 1.5rem;
}

.timeline-year {
    width: 86px;
    height: 86px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #F59E0B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a2740;
    box-shadow: 0 8px 24px rgba(227, 178, 60, 0.35);
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 1.5rem 1.75rem;
    border-radius: 14px;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.timeline-content p {
    font-size: 0.875rem;
    color: #4B5563;
    line-height: 1.65;
    margin: 0;
}

/* === VALORES === */

.mision-vision-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mv-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(30, 58, 138, 0.14);
}

.mv-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563EB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.mv-card-icon i {
    font-size: 1.3rem;
    color: white;
}

.mv-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

.mv-card p {
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.7;
    margin: 0;
}

/* Valor chips */
.valores-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    justify-content: center;
}

.valor-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.4rem;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: border-color 0.2s, background 0.2s;
}

.valor-chip:hover {
    border-color: var(--accent-color);
    background: rgba(227, 178, 60, 0.05);
}

.valor-chip i {
    color: var(--accent-color);
    font-size: 0.95rem;
}

/* === EQUIPO === */

.equipo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.equipo-card {
    background: white;
    border-radius: 18px;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.18);
    overflow: hidden;
}

.equipo-avatar-header {
    background: linear-gradient(135deg, #1a2e6e 0%, #1E3A8A 100%);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.equipo-avatar-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.equipo-avatar-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #F59E0B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipo-avatar-iniciales {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a2740;
    font-family: var(--font-display);
}

.equipo-avatar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    background: rgba(227, 178, 60, 0.18);
    border: 1px solid rgba(227, 178, 60, 0.4);
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.equipo-avatar-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.equipo-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

.equipo-contact-link:hover {
    color: white;
}

.equipo-contact-link i {
    width: 16px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.equipo-contact-wa i {
    color: #25D366;
}

.equipo-info {
    padding: 1.75rem;
}

.equipo-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.equipo-position {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
    margin-bottom: 0.875rem;
}

.equipo-description {
    font-size: 0.875rem;
    color: #4B5563;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.equipo-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.credential {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: rgba(30, 58, 138, 0.06);
    border-radius: 50px;
    font-size: 0.775rem;
    color: var(--primary-color);
    font-weight: 500;
}

.credential i {
    color: var(--accent-color);
    font-size: 0.7rem;
}

/* Equipo stats panel */
.equipo-stats-panel {
    background: white;
    border-radius: 18px;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.18);
    padding: 2rem;
}

.equipo-stats-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.equipo-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.equipo-stat-item {
    text-align: center;
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, #F8FAFF 0%, #EEF4FF 100%);
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.equipo-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563EB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.equipo-stat-icon i {
    font-size: 1.1rem;
    color: white;
}

.equipo-stat-number-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.1rem;
    margin-bottom: 0.35rem;
}

.equipo-stat-number-wrap .stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-display);
    line-height: 1;
}

.equipo-stat-plus,
.equipo-stat-pct {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
}

.equipo-stat-label {
    font-size: 0.78rem;
    color: #6B7280;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
}

/* === GENERIC CARDS (credenciales + certificaciones) === */

.nos-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.nos-cards-grid--wide {
    grid-template-columns: repeat(4, 1fr);
}

.nos-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nos-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.15);
}

/* On bg-azul sections the card gets a subtle glow shadow */
.bg-azul .nos-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.bg-azul .nos-card:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.nos-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(30, 58, 138, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.nos-card-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.nos-card h3 {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.nos-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.nos-card-meta span {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(30, 58, 138, 0.06);
    border-radius: 50px;
    font-size: 0.7rem;
    color: #374151;
    font-weight: 500;
}

.nos-card p {
    font-size: 0.84rem;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* === LOGROS === */

.logros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.logro-card {
    background: white;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logro-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(30, 58, 138, 0.15);
}

.logro-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563EB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.logro-icon i {
    font-size: 1.4rem;
    color: white;
}

.logro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logro-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
}

.logro-number {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-display);
    line-height: 1;
}

.logro-suffix {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
}

.logro-label {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
    margin: 0.5rem 0 0;
}

/* === CTA === */

.nosotros-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0d1f4e 0%, #1E3A8A 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nosotros-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 50%, rgba(227, 178, 60, 0.07) 0%, transparent 55%),
        radial-gradient(circle at 75% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

.nosotros-cta-content {
    position: relative;
    z-index: 1;
}

.nosotros-cta-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.nosotros-cta-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.nosotros-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nos-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #FFF8E1 0%, #FFE082 100%);
    color: #1a2740;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(227, 178, 60, 0.3);
}

.nos-cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(227, 178, 60, 0.45);
}

.nos-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nos-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.65);
}
