/* ============================================
   SOBRE-NOSOTROS.CSS (CORREGIDO v2)
   ============================================ */

/* HERO */
.hero-sobre-nosotros {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
    padding: 35px 20px;  /* ← REDUCIDO más */
    text-align: center;
    border-bottom: 3px solid var(--green-light);
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 5px;  /* ← MÁS REDUCIDO */
    font-weight: 700;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
    padding-bottom: 10px;
}

/* ============================================
   TRAYECTORIA 
   ============================================ */
.section-trayectoria {
    padding: 40px 20px 60px;
    background: var(--white);
}


.trayectoria-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.trayectoria-image-wrapper {
    position: relative;
    width: 100%;
    height: 446px;
    border-radius: 30px;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.trayectoria-image {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 30px;
    object-fit: cover;
}

/* BADGE VERDE  */
.trayectoria-badge {
    position: absolute;
    top: 75px;
    left: -38px;
    width: 143px;
    height: 145px;
    background: var(--green-dark);
    color: var(--white);
    padding: 14px 10px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 16px rgba(35, 92, 61, 0.25);
}

.badge-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.badge-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.badge-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2px;
    width: 100%;
}

.badge-number {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.badge-plus {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.badge-label {
    font-size: 0.7rem;
    opacity: 0.9;
    text-align: center;
    flex-basis: 100%;
}

/* CONTENIDO TEXTO */
.trayectoria-content h2 {
    font-size: 1.9rem;
    color: var(--green-dark);
    margin-bottom: 25px;
    margin-top: 0;
    font-weight: 700;
}

.trayectoria-content p {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.4;
    font-size: 0.85rem;
}

.trayectoria-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.trayectoria-highlights {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 26px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--green-dark);
    font-weight: 600;
    font-size: 0.85rem;
}

.highlight-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================
   CARDS (SIN CAMBIOS)
   ============================================ */
.section-cards {
    padding: 60px 20px;
    background: var(--white);
}

/* ============================================
   FAQ (VERIFICADO - DEBE FUNCIONAR)
   ============================================ */
.section-faq {
    padding: 60px 20px;
    background: var(--bg-light);
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 700;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--green-light);
    box-shadow: 0 4px 12px rgba(108, 169, 118, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green-dark);
    transition: all 0.3s ease;
    text-align: left;
}

.faq-question:hover {
    background: rgba(108, 169, 118, 0.05);
}

.faq-question span {
    flex: 1;
}

.faq-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--green-light);
}

.faq-question.active .faq-arrow {
    transform: rotate(90deg);
    color: var(--green-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(108, 169, 118, 0.05);
    border-top: 1px solid #eee;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.faq-question.active + .faq-answer {
    max-height: 300px;
    padding: 20px;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-sobre-nosotros {
        padding: 30px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .trayectoria-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .trayectoria-image-wrapper {
        height: 380px;
    }

    .trayectoria-badge {
        top: 40px;
        left: -10px;
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .trayectoria-content h2 {
        font-size: 1.3rem;
    }

    .faq-title {
        font-size: 1.8rem;
    }

    .faq-question {
        padding: 15px;
        font-size: 0.85rem;
    }

    .highlight-item {
        font-size: 0.85rem;
    }
}
