body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* NAV WRAPPER: centra la cápsula */
.nav-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 20px;
    z-index: 999;
}

/* NAV CAPSULE */
.nav-capsule {
    background: white;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: stretch;
    gap: 2rem;
    border-radius: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
    max-width: 950px;
    position: relative;   /* 👈 NUEVO: el dropdown se “engancha” acá */
}

.nav-logo img {
    height: 28px;
    width: auto;
}

/* BURGER */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.nav-items {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    align-items: stretch;
}

.nav-items li {
    display: flex;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.nav-link {
    font-size: 0.90rem;
    text-decoration: none;
    color: #222;
    padding: 0.35rem 0.7rem;
    border-radius: 20px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    white-space: nowrap;   /* 👈 evita “Informes económicos” en dos líneas */
}

.nav-link.active {
    background: rgba(0,0,0,0.12);
    color: #2563eb;
}

.nav-link:hover {
    background: rgba(0,0,0,0.10);
    color: #2563eb;
}

/* CTA: bloque azul a todo el alto */
.nav-item-cta {
    margin-left: auto;          /* lo empuja a la derecha */
    background: #08519c;        /* azul */
    display: flex;
    align-items: stretch;       /* este truco hace que el <a> tome todo el alto */
    padding: 0;                 /* nada de padding en el li */
    border-radius: 16px;         /* RECTANGULAR */
    margin-top: -6px;
    margin-bottom: -6px;
}

/* El link dentro del CTA */
.nav-item-cta .nav-link-cta {
    display: flex;
    align-items: center;        /* centra verticalmente el texto */
    justify-content: center;
    padding: 0 1.0rem;          /* solo ancho; alto lo da el nav */
    color: #fff !important;
    font-weight: 600;

}

/* Hover: solo tono, sin cambio de forma */
.nav-item-cta:hover {
    background: #08519c;
}

/* RESPONSIVE */
@media (max-width: 1000px) {

    .nav-capsule {
        width: 90%;
        padding: 0.5rem 1rem;
        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
        color: #111;
    }

    .nav-items {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;          /* 👈 coincide con el ancho de la cápsula */
        right: auto;          /* 👈 ya no usamos right:0 */

        margin-top: 0.5rem;
        background: #d9d9d9;
        border-radius: 20px;

        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;

        display: none;
        overflow: hidden;
    }

    .nav-items li {
        justify-content: center;
    }

    .nav-items .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.7rem 1rem;
    }

    /* Ajustar CTA en mobile para que quede prolijo */
    .nav-item-cta {
        margin-left: 0;
        border-radius: 0;
        margin-top: 0;
        margin-bottom: 0;
        width: 100%;
    }

    .nav-item-cta .nav-link-cta {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1rem;
    }

    .nav-items.open {
        display: flex;
    }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
body > .site-footer,
.site-footer {
    background: #ffffff;
    color: #374151;
    padding: 3rem 2rem 1.5rem;
    font-family: 'Poppins', system-ui, sans-serif;
    border-top: 1px solid #e5e7eb;
}

.ft-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 0.7fr 1fr;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
}

/* ── Columna marca ── */
.ft-brand p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: #6b7280;
    max-width: 260px;
    margin: 0;
}

.ft-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #08519c;
    background: #eff6ff;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.75rem;
}

.ft-brand-logos {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    align-items: center;
}

.ft-brand-logos span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    transition: color 0.2s ease;
}

.ft-brand-logos span:hover {
    color: #111827;
}

/* ── Columnas nav ── */
.ft-col h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #111827;
    margin: 0 0 1rem;
}

.ft-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ft-col ul li a {
    font-size: 0.83rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ft-col ul li a:hover {
    color: #08519c;
}

/* ── Columna contacto ── */
.ft-contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-bottom: 0.65rem;
}

.ft-contact-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
}

.ft-contact-val {
    font-size: 0.82rem;
    color: #374151;
}

/* ── Divisor y pie ── */
.ft-divider {
    max-width: 1100px;
    margin: 0 auto;
    border: none;
    border-top: 1px solid #e5e7eb;
}

.ft-bottom {
    max-width: 1100px;
    margin: 1.25rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ft-copy {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

.ft-copy a {
    color: #374151;
    text-decoration: none;
}

.ft-copy a:hover {
    color: #08519c;
}



.ft-copy a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}

.ft-copy a:hover {
    color: #cbd5e1;
}

/* ── Redes sociales ── */
.ft-socials {
    display: flex;
    gap: 0.5rem;
}

.ft-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
}

.ft-social-btn:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.ft-social-btn svg {
    width: 14px;
    height: 14px;
    fill: #6b7280;
}

.ft-social-btn:hover svg {
    fill: #08519c;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .ft-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .ft-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .ft-top {
        grid-template-columns: 1fr;
    }

    .ft-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}


/* ═══════════════════════════════════════════
   LAYOUT STICKY FOOTER
   El footer siempre queda al pie, incluso en
   páginas con poco contenido (coming-soon, etc.)
   ═══════════════════════════════════════════ */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* El main crece para ocupar el espacio disponible
   y empujar el footer siempre al fondo */
.site-main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}


/* ── Coming-soon: manejado directamente en coming-soon.css ── */