/* Estilos modernos para Sobre Nosotros */

.page-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
}

.sobre-nosotros-section {
    margin-bottom: 4rem;
}

/* Secciones de Misión y Visión con cards modernas */
.sobre-nosotros-section:first-of-type,
.sobre-nosotros-section:nth-of-type(2) {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(62, 89, 161, 0.1);
}

.sobre-nosotros-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
    letter-spacing: -0.02em;
    position: relative;
}

.sobre-nosotros-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.sobre-nosotros-section p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-primary);
    margin-bottom: 0;
    font-weight: 400;
}

/* Placeholder de Visión mejorado */
.vision-placeholder {
    background: linear-gradient(135deg, #f4f6f9 0%, #e8eef3 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 2px dashed var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.vision-placeholder::before {
    content: '⏳';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.2;
}

.vision-placeholder p {
    font-style: normal;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Grid moderno para competencias */
.competencias-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.competencias-list li {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-left: 2.75rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-primary);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.competencias-list li::before {
    content: "✓";
    position: absolute;
    left: 1.25rem;
    top: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
}

.competencias-list li:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

/* Título de Competencias con mejor estilo */
.sobre-nosotros-section:last-of-type h2 {
    margin-bottom: 0.5rem;
}

.sobre-nosotros-section:last-of-type {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

/* Mejoras responsive */
@media (max-width: 1024px) {
    .competencias-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .page-content {
        padding: 2rem 1rem;
    }

    

    .sobre-nosotros-section:first-of-type,
    .sobre-nosotros-section:nth-of-type(2) {
        padding: 1.75rem;
    }

    .sobre-nosotros-section h2 {
        font-size: 1.625rem;
    }

    .sobre-nosotros-section p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .competencias-list {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .competencias-list li {
        padding: 1.25rem;
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }

    .competencias-list li::before {
        left: 1rem;
        top: 1.25rem;
    }

    .vision-placeholder {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 1.5rem 0.75rem;
    }

    .sobre-nosotros-section:first-of-type,
    .sobre-nosotros-section:nth-of-type(2) {
        padding: 1.5rem;
    }

    .sobre-nosotros-section h2 {
        font-size: 1.5rem;
    }
}

/* Animación sutil al cargar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sobre-nosotros-section {
    animation: fadeInUp 0.6s ease-out;
}

.sobre-nosotros-section:nth-of-type(2) {
    animation-delay: 0.1s;
}

.sobre-nosotros-section:nth-of-type(3) {
    animation-delay: 0.2s;
}

/* Mejora de legibilidad con mejor contraste */
.competencias-list li {
    color: #334155;
}

/* Separador visual entre secciones */
.sobre-nosotros-section:not(:last-of-type)::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin-top: 3rem;
}

/* Página institucional editorial: jerarquía visual alineada al Home. */
.about-hero { position: relative; isolation: isolate; display: flex; justify-content: space-between; gap: 2rem; max-width: 1320px; margin: 1.5rem auto 0; padding: clamp(2.2rem, 5vw, 4.5rem); overflow: hidden; border-radius: 28px; background: linear-gradient(125deg, #0c315a 0%, #174d77 57%, #168a9b 140%); color: #fff; }
.about-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 23, 45, .2), transparent 64%); }
.about-hero__content { max-width: 720px; }
.about-hero__eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .8rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.1); font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.about-hero h1 { max-width: 740px; margin: 1rem 0; color: #fff; font-size: clamp(2.2rem, 4.5vw, 4.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -.045em; }
.about-hero p { max-width: 620px; margin: 0; color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; }
.about-hero__chips { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }.about-hero__chips span { padding: .45rem .7rem; border-radius: 8px; background: rgba(255,255,255,.1); font-size: .82rem; font-weight: 650; }.about-hero__chips i { color: #89e1ea; margin-right: .25rem; }
.about-hero__seal { align-self: center; display: grid; place-items: center; width: 145px; height: 145px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 12px rgba(255,255,255,.05); text-align: center; }.about-hero__seal i { color: #85e0e9; font-size: 2.3rem; }.about-hero__seal span { font-size: .8rem; font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: .07em; }
.about-hero__orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); background: rgba(120,220,230,.16); }.about-hero__orb--one { width: 280px; height: 280px; right: -95px; top: -150px; }.about-hero__orb--two { width: 160px; height: 160px; right: 22%; bottom: -105px; }
.about-priorities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1240px; margin: -1.8rem auto 0; padding: 0 1.5rem; position: relative; z-index: 2; }.about-priorities article { display: flex; gap: 1rem; min-height: 130px; padding: 1.2rem; border: 1px solid #e2ebf0; border-radius: 16px; background: #fff; box-shadow: 0 12px 28px rgba(12,49,90,.1); }.about-priorities article > i { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; background: #e8f5f8; color: #168a9b; font-size: 1.25rem; }.about-priorities span { display: block; color: #168a9b; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.about-priorities strong { display: block; margin: .1rem 0 .25rem; color: #15385e; font-size: 1rem; }.about-priorities p { margin: 0; color: #64748b; font-size: .84rem; line-height: 1.45; }
.page-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 1240px; padding-top: 3rem; }.sobre-nosotros-section { margin-bottom: 0; }.sobre-nosotros-section:last-of-type { grid-column: 1 / -1; margin-top: 1.25rem; }.sobre-nosotros-section:first-of-type, .sobre-nosotros-section:nth-of-type(2) { min-height: 100%; border-top: 4px solid #4aacc4; }.sobre-nosotros-section:first-of-type h2::before, .sobre-nosotros-section:nth-of-type(2) h2::before { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-right: .7rem; border-radius: 10px; background: #e8f5f8; color: #168a9b; font-family: "bootstrap-icons"; font-size: 1rem; vertical-align: .15rem; }.sobre-nosotros-section:first-of-type h2::before { content: "\f4db"; }.sobre-nosotros-section:nth-of-type(2) h2::before { content: "\f3e7"; }
.vision-placeholder { border-style: solid; border-width: 1px; background: #f7fafc; }.vision-placeholder::before { content: "\f4c1"; font-family: "bootstrap-icons"; color: #168a9b; }
.competencias-intro { max-width: 760px; margin: 0 0 1.35rem !important; color: #64748b !important; font-size: 1.05rem !important; }.competencias-disclosure { border: 1px solid #dce8ef; border-radius: 16px; background: #fff; overflow: hidden; }.competencias-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; color: #15385e; font-weight: 750; list-style: none; }.competencias-disclosure summary::-webkit-details-marker { display: none; }.competencias-disclosure summary i { color: #168a9b; margin-right: .4rem; }.competencias-disclosure summary small { color: #64748b; font-size: .78rem; font-weight: 600; }.competencias-disclosure[open] summary { border-bottom: 1px solid #e7eef3; background: #f8fbfc; }.competencias-disclosure[open] summary small i { transform: rotate(180deg); }.competencias-list { padding: 1.25rem; margin: 0; }.competencias-list li { box-shadow: none; }
.competencias-themes { display: grid; gap: 1.5rem; padding: 1.5rem; background: #f8fbfc; counter-reset: competencia; }.competencias-theme { overflow: hidden; border: 1px solid #e2ebf0; border-radius: 14px; background: #fff; }.competencias-theme header { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.15rem; border-bottom: 1px solid #e8eef2; background: linear-gradient(90deg, #f3fafb, #fff); }.competencias-theme header > div > span { display: block; color: #168a9b; font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }.competencias-theme h3 { margin: .12rem 0 0; color: #15385e; font-size: 1.08rem; font-weight: 750; }.competencias-theme-icon { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; flex: 0 0 auto; border-radius: 10px; background: #dff4f6; color: #168a9b; font-size: 1.15rem; }.competencias-theme .competencias-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; padding: 1rem; }.competencias-theme .competencias-list li { min-height: 100%; margin: 0; padding: .8rem .85rem .8rem 2.65rem; border: 1px solid #edf1f4; border-radius: 9px; color: #516273; font-size: .85rem; line-height: 1.55; box-shadow: none; counter-increment: competencia; }.competencias-theme .competencias-list li::before { content: counter(competencia) "."; top: .78rem; left: .7rem; width: 1.45rem; height: 1.45rem; display: grid; place-items: center; border-radius: 50%; background: #e2f4f6; color: #168a9b; font-size: .68rem; font-weight: 800; -webkit-text-fill-color: currentColor; }.competencias-theme .competencias-list li:hover { transform: none; border-color: #b9dfe5; background: #f8fcfd; box-shadow: none; }
@media (max-width: 767.98px) { .about-hero { margin: .75rem 1rem 0; padding: 2rem 1.4rem; border-radius: 20px; }.about-hero__seal { display: none; }.about-priorities { grid-template-columns: 1fr; margin: 1rem auto 0; padding: 0 1rem; }.about-priorities article { min-height: auto; }.page-content { grid-template-columns: 1fr; padding-top: 2rem; }.sobre-nosotros-section:last-of-type { grid-column: auto; }.competencias-disclosure summary small { display: none; }.competencias-themes { padding: .8rem; gap: 1rem; }.competencias-theme .competencias-list { grid-template-columns: 1fr; padding: .75rem; } }

/* Listado continuo de competencias generales. */
.sobre-nosotros-section .competencias-list { display: block; list-style: decimal; margin: 1.25rem 0 0; padding: 1.25rem 1.25rem 1.25rem 3rem; border: 1px solid #e2ebf0; border-radius: 14px; background: #fff; }
.sobre-nosotros-section .competencias-list li { display: list-item; margin: 0 0 .75rem; padding: 0 0 .75rem .2rem; border: 0; border-bottom: 1px solid #edf1f4; border-radius: 0; background: transparent; color: #425466; font-size: .96rem; line-height: 1.65; box-shadow: none; }
.sobre-nosotros-section .competencias-list li:last-child { margin-bottom: 0; border-bottom: 0; }
.sobre-nosotros-section .competencias-list li::before { display: none; }
.sobre-nosotros-section .competencias-list li:hover { transform: none; border-color: #edf1f4; background: transparent; box-shadow: none; }
@media (max-width: 767.98px) { .sobre-nosotros-section .competencias-list { padding: 1rem 1rem 1rem 2.35rem; }.sobre-nosotros-section .competencias-list li { padding-left: .1rem; font-size: .9rem; } }
