/* ============================
   PÁGINA: QUIÉNES SOMOS
   ============================ */

.section-quienes {
    background-color: #ffffff;
    padding-top: 3rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 0;
}

.hero-quienes {
    background: linear-gradient(
        135deg,
        rgba(15, 138, 59, 0.16),
        rgba(227, 49, 45, 0.14)
    );
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    text-align: center;
}

.section-title {
    font-size: clamp(1.8rem, 2.3vw + 0.6rem, 2.4rem);
    font-weight: 800;
    color: var(--fundesi-green-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.98rem;
    color: #4b5563;
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
}

/* ============================
   HISTORIA
   ============================ */

.section-historia {
    background-color: #f9fafb;
}

.historia-text-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 0.95rem;
    color: #374151;
}

.historia-text-card p + p {
    margin-top: 0.8rem;
}

.historia-figure {
    margin: 2rem 0 0;
    text-align: center;
}

.historia-img {
    max-width: 960px;
    width: 100%;
    max-height: 380px;
    border-radius: 1.25rem;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
    object-fit: cover;
}

/* ============================
   SEPARADOR TRICOLOR
   ============================ */

.separator-tricolor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 3.5rem 0;
}

.separator-tricolor::before,
.separator-tricolor::after {
    content: "";
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--fundesi-green),
        var(--fundesi-yellow),
        var(--fundesi-red)
    );
}

.separator-tricolor span {
    position: relative;
    width: 40px;
    height: 40px;
}

.separator-tricolor span::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffffff;
    border: 3px solid var(--fundesi-green-dark);
    border-radius: 10px;
    transform: rotate(45deg);
}

.separator-tricolor span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 6px;
    background: linear-gradient(
        135deg,
        var(--fundesi-green),
        var(--fundesi-yellow),
        var(--fundesi-red)
    );
}

/* ============================
   MISIÓN Y VISIÓN
   ============================ */

.section-mision-vision {
    background-color: #ffffff;
}

.info-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.5rem 1.7rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0.35rem;
    left: 14%;
    right: 14%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--fundesi-green),
        var(--fundesi-yellow),
        var(--fundesi-red)
    );
}

.info-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top right,
        rgba(227, 49, 45, 0.10),
        transparent 60%
    );
    opacity: 0.85;
    pointer-events: none;
}

.info-card-title {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fundesi-green-dark);
    margin-bottom: 0.5rem;
}

.info-card p {
    position: relative;
    z-index: 1;
    font-size: 0.94rem;
    color: #4b5563;
}

/* ============================================================
   IGUALAR ALTURA DE TARJETAS MISIÓN / VISIÓN  ✅
   ============================================================ */

.section-mision-vision .row {
    align-items: stretch;
}

.section-mision-vision .row > [class*="col"] {
    display: flex;
}

.section-mision-vision .info-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ============================
   VALORES
   ============================ */

.section-valores {
    background-color: #f9fafb;
}

.value-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.4rem 1.5rem;
    height: 100%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0.35rem;
    left: 18%;
    right: 18%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--fundesi-green),
        var(--fundesi-yellow),
        var(--fundesi-red)
    );
}

.value-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top left,
        rgba(15, 138, 59, 0.10),
        transparent 60%
    );
}

.value-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--fundesi-green-dark);
}

.value-card p {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    color: #4b5563;
}

/* ============================
   ORGANIZACIÓN INSTITUCIONAL
   ============================ */

.section-organigrama {
    background-color: #ffffff;
}

.organigrama-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

/* ============================
   ALIADOS
   ============================ */

.section-aliados {
    background-color: #ffffff;
}

.aliados-img {
    max-width: 960px;
    width: 100%;
    max-height: 380px;
    border-radius: 1.25rem;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(15,23,42,0.22);
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 767.98px) {
    .info-card {
        padding: 1.3rem 1.25rem;
    }
}
