/* ============================================================
   ROOT - Variables y reseteo base
   ============================================================ */

:root {
    --ana-primary: #003875;
    --ana-primary-light: #eef3f8;
    --ana-accent: #fcaa52;
    --ana-accent-dark: #f5a623;
    --ana-text: #343a40;
    --ana-muted: #6c757d;
    --ana-border: #e5e8ec;
    --ana-bg-soft: #f8f9fa;
    --ana-white: #ffffff;
    --ana-radius: 12px;
    --ana-shadow: 0 8px 22px rgba(0, 56, 117, .08);
    --ana-transition: .22s ease;
}

/* ============================================================
   BASE - Estilos generales
   ============================================================ */

.ana-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 15px 24px;
    color: var(--ana-text);
    font-family: Arial, Helvetica, sans-serif;
}

.ana-container * { box-sizing: border-box; }
.ana-container p { font-size: 1rem; line-height: 1.7; }
.ana-container .text-justify { text-align: justify; }

/* ============================================================
   TÍTULOS Y DIVISORES
   ============================================================ */

.ana-divider {
    width: 100%;
    max-width: 170px;
    height: 3px;
    margin: 0 auto 2.4rem;
    border-radius: 999px;
}

.ana-title {
    color: var(--ana-primary);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.6px;
    margin-bottom: .75rem;
}

.ana-subtitle {
    color: var(--ana-primary);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.4px;
    margin-bottom: .4rem;
}

.titulo-linea-full {
    position: relative;
    display: inline-block;
    text-align: center;
    padding-bottom: 10px;
}

.titulo-linea-full::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 125%;
    height: 3px;
    border-radius: 2px;
    background: var(--ana-accent);
}

.ana-section-title {
    display: inline-block;
    color: var(--ana-primary);
    font-size: 1.55rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 0;
}

.ana-section-title::after {
    content: "";
    position: absolute;
    width: 78px;
    height: 3px;
    background: var(--ana-accent);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 3px;
}

.ana-section-subtitle {
    color: var(--ana-muted);
    margin-top: 8px;
    margin-bottom: 0;
}

.ana-main-title {
    color: var(--ana-primary);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.ana-main-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    background: var(--ana-accent);
    margin-top: 14px;
    border-radius: 4px;
}

/* ============================================================
   TEXTOS
   ============================================================ */

.ana-text { color: #495057; }

.ana-text-sm {
    color: var(--ana-muted);
    font-size: .95rem;
    line-height: 1.72;
}

.ana-intro-text {
    font-size: 1rem !important;
    line-height: 1.88;
    color: #5a6774;
    margin-bottom: 0;
}

.ana-intro-lead {
    color: #24384c;
    font-size: 1.16rem !important;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: -.01em;
    text-align: justify;
}

.ana-intro-text + .ana-intro-text {
    margin-top: .85rem;
    padding-top: 0;
    border-top: 0;
}

/* ============================================================
   IMÁGENES
   ============================================================ */

.ana-img-wrapper,
.ana-photo {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    padding: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ana-primary) 0%, var(--ana-accent) 100%);
    box-shadow: 0 14px 34px rgba(0, 56, 117, .16);
}

.ana-img-wrapper img,
.ana-photo img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    display: block;
    border-radius: 50%;
}

.ana-photo {
    width: 285px;
    height: 285px;
    padding: 6px;
    box-shadow: 0 10px 24px rgba(0, 56, 117, .16);
}

/* ============================================================
   HERO Y BLOQUES
   ============================================================ */

.ana-hero {
    background: var(--ana-white);
    border: 1px solid var(--ana-border);
    border-left: 6px solid var(--ana-primary);
    border-radius: 14px;
    padding: 34px 28px;
    box-shadow: var(--ana-shadow);
}

.ana-label {
    display: inline-block;
    color: var(--ana-primary);
    background: var(--ana-primary-light);
    border-left: 4px solid var(--ana-accent);
    padding: 7px 14px;
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 14px;
}

.ana-bloque-texto {
    border-left: 4px solid var(--ana-accent);
    padding-left: 22px;
}

.ana-bloque-texto .lead {
    color: var(--ana-text);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.ana-bloque-texto p {
    color: #495057;
    line-height: 1.7;
}

/* ============================================================
   INTRO
   ============================================================ */

.ana-intro-row {
    margin-bottom: 3rem !important;
    padding-left: 3rem;
}

.ana-intro-copy {
    padding-left: 0;
    padding-right: 2.1rem;
}

.ana-intro-panel {
    width: 100%;
    max-width: 620px;
    padding: .2rem 0;
    margin: 0 auto;
}

/* ============================================================
   CARDS
   ============================================================ */

.ana-card {
    background: var(--ana-white);
    border: 1px solid var(--ana-border);
    border-top: 4px solid var(--ana-primary);
    border-radius: var(--ana-radius);
    padding: 26px 24px;
    transition: all var(--ana-transition);
}

.ana-card:hover {
    transform: translateY(-4px);
    border-top-color: var(--ana-accent);
    box-shadow: 0 10px 22px rgba(0, 56, 117, .09);
}

.ana-card-icon {
    width: 48px;
    height: 48px;
    background: var(--ana-primary-light);
    color: var(--ana-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.ana-card-icon i { font-size: 1.35rem; }
.ana-card h5 { color: var(--ana-primary); font-weight: 800; margin-bottom: 12px; }
.ana-card p { color: #495057; line-height: 1.65; margin-bottom: 0; }

.ana-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.ana-card-header h5 {
    margin: 0;
    color: var(--ana-primary);
    font-weight: 800;
    font-size: 1.18rem;
}

.ana-card-body { color: #495057; }

.ana-card--minimal {
    border-top-width: 0;
    border-left: 4px solid var(--ana-accent);
    box-shadow: 0 4px 14px rgba(0, 56, 117, .06);
    padding: 22px 22px 20px;
}

.ana-card--minimal:hover {
    transform: none;
    border-left-color: var(--ana-primary);
    border-top-color: transparent;
    box-shadow: 0 6px 18px rgba(0, 56, 117, .08);
}

.ana-card--compact .ana-card-body p { margin-bottom: 0; }

/* ============================================================
   ICONOS
   ============================================================ */

.ana-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(252, 170, 82, .16);
    color: var(--ana-primary);
    box-shadow: inset 0 0 0 1px rgba(252, 170, 82, .18);
}

/* ============================================================
   KPI / MISIÓN-VISIÓN-VALORES
   ============================================================ */

.ana-kpi {
    --ana-kpi-accent: #1c4f80;
    --ana-kpi-soft: rgba(28, 79, 128, .12);
    --ana-kpi-soft-strong: rgba(28, 79, 128, .21);
    --ana-kpi-surface: #f3f8fd;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(13, 58, 92, .10);
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, var(--ana-kpi-surface) 100%);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ana-kpi::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 18%, var(--ana-kpi-soft-strong) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(135deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .76) 46%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.ana-kpi::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--ana-kpi-accent) 0%, var(--ana-kpi-soft-strong) 100%);
    opacity: .92;
    z-index: 1;
}

.ana-kpi:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 58, 92, .16);
    box-shadow: 0 1rem 2rem rgba(13, 58, 92, .10);
}

/* Tones */
.ana-kpi[data-tone="primary"] {
    --ana-kpi-accent: #1c4f80;
    --ana-kpi-soft: rgba(28, 79, 128, .12);
    --ana-kpi-soft-strong: rgba(28, 79, 128, .21);
    --ana-kpi-surface: #f3f8fd;
}

.ana-kpi[data-tone="success"] {
    --ana-kpi-accent: #1f6a4c;
    --ana-kpi-soft: rgba(31, 106, 76, .13);
    --ana-kpi-soft-strong: rgba(31, 106, 76, .21);
    --ana-kpi-surface: #f4faf6;
}

.ana-kpi[data-tone="warning"] {
    --ana-kpi-accent: #8a5a14;
    --ana-kpi-soft: rgba(138, 90, 20, .13);
    --ana-kpi-soft-strong: rgba(138, 90, 20, .22);
    --ana-kpi-surface: #fcf8f1;
}

.ana-kpi-body {
    position: relative;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.05rem 1.05rem;
    z-index: 2;
    flex: 1 1 auto;
}

.ana-kpi-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
}

.ana-kpi-fill {
    width: 100%;
    height: 100%;
}

.ana-kpi-fill .ana-kpi-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    flex: 1 1 auto;
}

.ana-kpi-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ana-kpi-header {
    position: relative;
    padding-bottom: .65rem;
    margin-bottom: .8rem;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.ana-kpi-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 1rem;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(13, 58, 92, .18) 0%, rgba(13, 58, 92, .08) 60%, rgba(13, 58, 92, 0) 100%);
}

.ana-kpi-label {
    color: #51606f;
    font-size: .81rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.ana-kpi-text {
    color: #17324d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: justify;
}

.ana-kpi-subline {
    color: #667789;
    font-size: .82rem;
    line-height: 1.6;
    margin-top: .65rem;
    padding-top: .65rem;
    border-top: 1px solid rgba(13, 58, 92, .08);
    margin-bottom: 0;
}

.ana-kpi-bg {
    position: absolute;
    right: -.35rem;
    bottom: -.75rem;
    color: var(--ana-kpi-accent);
    opacity: .11;
    font-size: 4.6rem;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
    transform: rotate(-10deg);
    transition: opacity .18s ease, transform .18s ease;
}

.ana-kpi:hover .ana-kpi-bg {
    opacity: .14;
    transform: rotate(-8deg) scale(1.04);
}

/* KPI Row & Stack */
.ana-kpi-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch !important;
    gap: 0;
}

.ana-kpi-column,
.ana-kpi-column-main {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.ana-kpi-stack {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: .7rem;
}

.ana-kpi-stack-card {
    flex: 1 1 auto;
}

.ana-kpi-stack-card + .ana-kpi-stack-card { margin-top: 0; }
.ana-kpi-stack .ana-kpi-fill { height: 100%; }

/* KPI Valores */
.ana-kpi-values {
    display: flex;
    flex-direction: column;
    gap: .18rem;
    margin-top: 0;
}

.ana-kpi-value-item {
    display: block;
    min-width: 0;
    padding: .08rem 0;
}

.ana-kpi-value-letter {
    display: inline;
    color: var(--ana-kpi-accent);
    background: transparent;
    font-size: .94rem;
    font-weight: 800;
    line-height: inherit;
}

.ana-kpi-value-text {
    display: block;
    color: #455564;
    font-size: .95rem;
    line-height: 1.25;
    font-weight: 600;
    white-space: nowrap;
}

.ana-kpi-value-text strong {
    color: #17324d;
    font-weight: 800;
}

.ana-kpi-column-main .ana-kpi-body,
.ana-kpi-stack .ana-kpi-body { padding-top: 1rem !important; }

/* ============================================================
   VALORES (sección independiente)
   ============================================================ */

.ana-valores {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ana-valor {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #495057;
    font-weight: 600;
}

.ana-valor-inicial {
    color: var(--ana-accent);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}

.ana-valor-text {
    flex: 1;
    line-height: 1.65;
}

.ana-valor-text strong {
    color: var(--ana-primary);
    font-weight: 800;
}

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

.ana-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6px 0 10px;
}

.ana-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(0, 56, 117, .14) 0%, var(--ana-primary) 25%, var(--ana-accent) 100%);
}

.ana-timeline-item {
    --ana-timeline-side-color: var(--ana-primary);
    --ana-timeline-node-bg: var(--ana-primary);
    position: relative;
    width: 50%;
    padding: 0 44px 28px 0;
}

.ana-timeline-item:hover {
    --ana-timeline-side-color: var(--ana-accent);
    --ana-timeline-node-bg: var(--ana-accent);
}

.ana-timeline-item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 28px 44px;
}

.ana-timeline-icon {
    position: absolute;
    top: 22px;
    right: -26px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ana-timeline-node-bg);
    color: var(--ana-white);
    font-size: 1.25rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, .92);
    box-shadow: 0 0 0 6px rgba(0, 56, 117, .12), 0 10px 20px rgba(0, 56, 117, .16);
    transition: background-color var(--ana-transition), box-shadow var(--ana-transition), transform var(--ana-transition);
    z-index: 2;
}

.ana-timeline-item:hover .ana-timeline-icon {
    transform: translateY(-2px);
    box-shadow: 0 0 0 6px rgba(252, 170, 82, .18), 0 12px 24px rgba(0, 56, 117, .18);
}

.ana-timeline-item:nth-child(even) .ana-timeline-icon {
    left: -26px;
    right: auto;
}

.ana-timeline-icon i { font-size: 1rem; }

.ana-timeline-content {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid var(--ana-border);
    border-left: 4px solid var(--ana-timeline-side-color);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 10px 24px rgba(0, 56, 117, .08);
    transition: transform var(--ana-transition), box-shadow var(--ana-transition), border-color var(--ana-transition);
}

.ana-timeline-item:nth-child(even) .ana-timeline-content {
    border-left: 1px solid var(--ana-border);
    border-right: 4px solid var(--ana-timeline-side-color);
}

.ana-timeline-item:hover .ana-timeline-content {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 56, 117, .14);
}

.ana-timeline-year {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(0, 56, 117, .10);
}

.ana-timeline-year-number {
    color: var(--ana-primary);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.3px;
}

.ana-timeline-year-label {
    color: var(--ana-accent-dark);
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
}

.ana-timeline-content p {
    margin: 0;
    color: #495057;
    line-height: 1.7;
}

/* ============================================================
   ACCORDION
   ============================================================ */

.ana-accordion .card {
    margin-bottom: 12px;
    border: 1px solid var(--ana-border);
    border-radius: var(--ana-radius) !important;
    overflow: hidden;
    background: var(--ana-white);
    box-shadow: var(--ana-shadow);
    transition: transform var(--ana-transition), box-shadow var(--ana-transition);
}

.ana-accordion .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 56, 117, .12);
}

.ana-accordion .card-header {
    padding: 0;
    background: transparent;
    border: none;
}

.ana-accordion .btn-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 62px;
    color: var(--ana-primary);
    font-weight: 700;
    text-align: left;
    padding: 16px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #f3f6fa 100%);
    text-decoration: none !important;
    box-shadow: none !important;
    border: none;
    outline: none !important;
    transition: all var(--ana-transition);
    font-size: 1rem;
    line-height: 1.45;
}

.ana-accordion .btn-link.collapsed { color: var(--ana-primary); }

.ana-accordion .btn-link:hover,
.ana-accordion .btn-link:focus {
    background: var(--ana-accent);
    color: var(--ana-white);
}

.ana-accordion .btn-link:not(.collapsed) {
    background: var(--ana-accent);
    color: var(--ana-white);
    border-radius: var(--ana-radius) var(--ana-radius) 0 0;
    font-weight: 700;
}

.ana-accordion .btn-link span:first-child {
    display: flex;
    align-items: center;
    min-width: 0;
}

.ana-accordion .btn-link i.fa-sitemap {
    font-size: 1rem;
    opacity: .95;
}

.accordion-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform var(--ana-transition);
    margin-left: 15px;
    flex-shrink: 0;
    background: rgba(0, 56, 117, .08);
}

.ana-accordion .btn-link:hover .accordion-arrow,
.ana-accordion .btn-link:focus .accordion-arrow,
.ana-accordion .btn-link:not(.collapsed) .accordion-arrow {
    background: rgba(255, 255, 255, .2);
}

.ana-accordion .btn-link:not(.collapsed) .accordion-arrow {
    transform: rotate(90deg);
}

.ana-accordion .card-body {
    border-top: 1px solid var(--ana-border);
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.ana-accordion .card-body::before {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    margin: 0 auto 18px;
}

/* ============================================================
   ORGANIGRAMA
   ============================================================ */

.ana-organigrama {
    width: 100%;
    max-width: 1100px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    border: 1px solid rgba(0, 56, 117, .08);
    box-shadow: 0 8px 24px rgba(0, 56, 117, .10);
}

/* ============================================================
   RESPONSIVE - UNIFICADO
   ============================================================ */

/* Tablet (≤991.98px) */
@media (max-width: 991.98px) {
    .ana-title { font-size: 2rem; }
    .ana-subtitle { font-size: 1.62rem; }
    .ana-img-wrapper { width: 260px; height: 260px; }
    .ana-intro-panel { max-width: none; padding: .15rem 0; }

    /* Timeline */
    .ana-timeline::before { left: 24px; transform: none; }
    .ana-timeline-item,
    .ana-timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 24px 62px;
    }
    .ana-timeline-icon,
    .ana-timeline-item:nth-child(even) .ana-timeline-icon {
        left: 0;
        right: auto;
    }

    /* KPI - móvil */
    .ana-kpi-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .ana-kpi-column,
    .ana-kpi-column-main {
        width: 100%;
        height: auto;
        min-height: auto;
    }
    .ana-kpi-column-main .ana-kpi {
        height: auto;
        min-height: 200px;
    }
    .ana-kpi-stack {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: .7rem;
    }
    .ana-kpi-stack-card { height: auto; }
    .ana-kpi-stack .ana-kpi-fill { height: auto; }
}

/* Móvil grande (≤767.98px) */
@media (max-width: 767.98px) {
    .ana-container { padding-left: 12px; padding-right: 12px; }
    .ana-title { font-size: 1.72rem; }
    .ana-subtitle { font-size: 1.4rem; }
    .ana-img-wrapper { width: 225px; height: 225px; }
    .ana-intro-panel {
        width: 100%;
        max-width: 620px;
        margin-left: -5px;
        margin-right: auto;
    }
    .ana-intro-text { font-size: .97rem !important; }
    .ana-card { padding: 22px 18px; }
    .ana-kpi-body {
        min-height: 104px;
        padding: .95rem 1rem;
    }
    .ana-kpi-content { padding-right: 2.9rem; }
    .ana-kpi-header {
        padding-bottom: .55rem;
        margin-bottom: .65rem;
    }
    .ana-kpi-text { font-size: .96rem; }
    .ana-kpi-bg { font-size: 4rem; }
    .ana-kpi-value-text { font-size: .9rem; }
    .ana-kpi-values { gap: .6rem; }
    .ana-card-header { align-items: flex-start; }
    .ana-icon { width: 34px; height: 34px; font-size: .95rem; }

    /* Timeline */
    .ana-timeline-item,
    .ana-timeline-item:nth-child(even) { padding-left: 52px; }
    .ana-timeline-icon,
    .ana-timeline-item:nth-child(even) .ana-timeline-icon {
        width: 42px;
        height: 42px;
        top: 20px;
        font-size: 1.05rem;
    }
    .ana-timeline-content { padding: 18px 16px; border-radius: 14px; }
    .ana-timeline-year {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .ana-timeline-year-number { font-size: 1.35rem; }
    .ana-timeline-year-label {
        text-align: left;
        font-size: .9rem;
    }

    /* Accordion */
    .ana-accordion .btn-link {
        font-size: .9rem;
        padding: 14px 16px;
    }
    .accordion-arrow {
        width: 28px;
        height: 28px;
        margin-left: 12px;
    }
}

/* Móvil pequeño (≤480px) */
@media (max-width: 480px) {
    .ana-title { font-size: 1.5rem; }
    .ana-subtitle { font-size: 1.22rem; }
    .ana-img-wrapper { width: 190px; height: 190px; }
    .ana-intro-text { font-size: .92rem !important; }

    .ana-timeline::before { left: 19px; }
    .ana-timeline-item,
    .ana-timeline-item:nth-child(even) { padding-left: 44px; }
    .ana-timeline-icon,
    .ana-timeline-item:nth-child(even) .ana-timeline-icon {
        width: 34px;
        height: 34px;
        font-size: .92rem;
    }

    .ana-timeline-content p,
    .ana-text,
    .ana-text-sm,
    .ana-valor-text,
    .ana-kpi-text,
    .ana-kpi-subline,
    .ana-kpi-value-text { font-size: .92rem; }

    .ana-kpi-content { padding-right: 2.35rem; }
    .ana-kpi-bg {
        font-size: 3.5rem;
        right: -.2rem;
        bottom: -.45rem;
    }
}

/* Desktop (≥992px) - KPI Grid */
@media (min-width: 992px) {
    .ana-kpi-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch !important;
    }

    .ana-kpi-column-main,
    .ana-kpi-column {
        flex: none !important;
        width: auto !important;
        max-width: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-self: stretch !important;
        min-width: 0;
    }

    .ana-kpi-column-main > .ana-kpi {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column;
        height: 100% !important;
        min-height: 0 !important;
    }

    .ana-kpi-column-main > .ana-kpi > .ana-kpi-body {
        flex: 1 1 auto !important;
        padding-right: calc(1.05rem + 4px) !important;
    }

    .ana-kpi-column-main > .ana-kpi .ana-kpi-content {
        flex: 1 1 auto;
    }

    .ana-kpi-column-main > .ana-kpi .ana-kpi-main {
        flex: 1 1 auto !important;
        justify-content: center !important;
    }

    .ana-kpi-column.ana-kpi-stack {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        gap: .9rem;
    }

    .ana-kpi-column.ana-kpi-stack > .ana-kpi-stack-card {
        display: flex !important;
        flex-direction: column;
        height: auto !important;
        margin-top: 0 !important;
    }

    .ana-kpi-column.ana-kpi-stack > .ana-kpi-stack-card:first-child {
        flex: 0 0 auto !important;
    }

    .ana-kpi-column.ana-kpi-stack > .ana-kpi-stack-card:last-child {
        flex: 1 1 auto !important;
        min-height: 0 !important;
    }

    .ana-kpi-column.ana-kpi-stack > .ana-kpi-stack-card > .ana-kpi-body {
        flex: 1 1 auto !important;
    }

    .ana-kpi-stack .ana-kpi-content { padding-right: 2.8rem; }
    .ana-kpi-stack .ana-kpi-header {
        padding-bottom: .5rem;
        margin-bottom: .55rem;
    }
    .ana-kpi-stack .ana-kpi-text {
        font-size: .95rem;
        line-height: 1.5;
    }
    .ana-kpi-stack .ana-kpi-bg {
        font-size: 4rem;
        right: -.25rem;
        bottom: -.55rem;
    }
    .ana-kpi-stack .ana-kpi-values { gap: .08rem; }
    .ana-kpi-stack .ana-kpi-value-item { padding: .05rem 0; }
    .ana-kpi-stack .ana-kpi-value-letter { font-size: .9rem; }
    .ana-kpi-stack .ana-kpi-value-text {
        font-size: .95rem;
        line-height: 1.2;
    }
}





































/* ============================
   AJUSTE VALORES
   ============================ */

.ana-kpi-values {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: .35rem;
}

.ana-kpi-value-item {
    width: 100%;
    min-width: 0;
}

.ana-kpi-value-text {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
    color: #34495e;
    font-size: .92rem;
    line-height: 1.38;
    padding-right: .45rem;
}

.ana-kpi-value-letter {
    color: var(--ana-kpi-accent);
    font-size: 1rem;
    font-weight: 900;
}

.ana-kpi-value-text strong {
    color: var(--ana-primary);
    font-weight: 800;
}


/* ============================
   TEXTO INTRODUCTORIO
   ============================ */

.ana-intro-lead {
    color: #263b50;
    font-size: 1.06rem !important;
    font-weight: 500;
    line-height: 1.85;
    text-align: justify;
    margin-bottom: 0;
}

.ana-intro-lead strong {
    color: var(--ana-primary);
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .ana-intro-lead {
        font-size: .96rem !important;
        line-height: 1.72;
        text-align: left;
    }
}