/* === HERO ABOUT === */
.hero-section-about {
    padding: 170px 0 140px; /* Espacio para el navbar fixed */
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Título Fluido: Tamaño mínimo 28px, máximo 55px según el ancho de pantalla */
.hero-title-fluid {
    font-size: clamp(1.75rem, 5vw, 3.43rem); 
    line-height: 1.2;
}

/* Ajuste de la imagen en móvil */
.hero-img-about {
    max-width: 85%;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.3));
    border-radius: 15px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
.animate-left { animation: fadeLeft 0.9s ease-out; }
@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-35px); }
    to { opacity: 1; transform: translateX(0); }
}
.animate-right { animation: fadeRight 0.9s ease-out; }
@keyframes fadeRight {
    from { opacity: 0; transform: translateX(35px); }
    to { opacity: 1; transform: translateX(0); }
}


/* === TARJETAS AZULES (misión/visión) === */
.blue-card {
    background: var(--gradient-card);
    color: white;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}
.blue-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.blue-card .icon {
    font-size: 3rem;
    color: var(--cyan-accent);
    margin-bottom: 1.2rem;
}
.blue-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.blue-card p {
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* === ACORDEÓN HORIZONTAL (core values) === */
.accordion-horizontal {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.accordion-trigger {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 60px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    color: var(--blue-deep);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.accordion-trigger:hover, .accordion-trigger.active {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
}

.accordion-content {
    background: var(--gray-light-bg);
    border-radius: 48px;
    padding: 2.5rem;
    margin-top: 1.5rem;
    display: none;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}
.accordion-content.active {
    display: block;
}
.accordion-content p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* === TARJETAS VERTICALES CON FOTO (about) === */
.vertical-pill-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.vertical-pill-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.vertical-pill-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.vertical-pill-card .card-body {
    padding: 1.5rem;
    text-align: center;
}
.vertical-pill-card .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--blue-deep);
}
.vertical-pill-card .card-text {
    color: var(--gray-medium);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* === RESPONSIVE AJUSTES === */
@media(max-width: 1400px){
    .hero-title-fluid{ font-size: 3.1rem !important; }
    #heroParraf {font-size: 1.4rem !important;}
}

@media (max-width: 991.98px) {
    .hero-section-about {
        padding: 160px 0 70px; /* Reducimos padding en móvil */
    }
    
    .hero-img-about {
        max-width: 70%; /* Evita que la imagen sea demasiado grande en tablets */
        margin-top: 1rem;
    }

    .hero-title-fluid {
        font-size: 2.8rem !important; 
    }

    #heroParraf { font-size: 1.3rem !important;}

    .blue-card p {
        font-size: 1rem;
    }

    .vertical-pill-card .card-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section-about {
        padding: 140px 0 70px; 
    }

    .hero-title-fluid {
        font-size: 2.2rem !important; 
    }

    #heroParraf { font-size: 1.2rem !important;}

    .blue-card p {
        font-size: 0.95rem;
    }

    .vertical-pill-card .card-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-img-about {
        max-width: 90%; /* En celulares pequeños que use más espacio */
    }
}
