body.es-es {
    --es-blue: #2d7eed;
    --es-navy: #073f77;
    --es-ink: #1a1a1a;
    --es-muted: #474747;
    --es-country: #53677a;
    --es-list: #17324c;
    --es-panel: #f1f6fa;
    --es-line: #d6d6d6;
    --es-bar: #8bbae3;
    background: #fff;
    color: var(--es-ink);
    font-family: "Hanken Grotesk", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

body.es-es header,
body.es-es header nav,
body.es-es header .navbar,
body.es-es header .navbar-brand,
body.es-es header .nav-link,
body.es-es header .showLang,
body.es-es header button {
    font-family: "Inter";
    line-height: 1.5;
}

body.es-es .es-sheet {
    margin: 0;
    padding: 0;
}

body.es-es .es-band {
    padding: 56px 0;
}

body.es-es .es-band-first {
    padding-top: 136px;
}

body.es-es .es-band-inner {
    padding-left: 3rem;
    padding-right: 3rem;
}

body.es-es .es-band-pattern {
    background-color: var(--primary);
    background-image: url('../assets/patterns/main page 2.png');
    background-repeat: no-repeat;
    background-size: cover;
}

body.es-es .es-band-white {
    background: #fff;
}

body.es-es .es-band .es-cta {
    margin-bottom: 0;
}

body.es-es .es-headline,
body.es-es .es-headline p {
    color: var(--es-navy);
    font-size: 52px !important;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.12;
    margin: 8px 0 32px;
}

body.es-es .es-institutions {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 18px;
}

body.es-es .es-institution {
    border: 2px solid var(--es-line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 170px;
    padding: 28px 14px 16px;
    text-align: center;
}

body.es-es .es-institution img {
    height: 44px;
    margin-bottom: 18px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

body.es-es .es-institution strong {
    color: var(--es-navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

body.es-es .es-institution span {
    color: var(--es-country);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    margin-top: 4px;
}

body.es-es .es-lead {
    background: #f7f8fa;
    border-radius: 6px;
    margin: 8px 0 22px;
    padding: 14px 16px;
}

body.es-es .es-lead-title {
    color: var(--es-navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px;
}

body.es-es .es-lead-names {
    color: var(--es-blue);
    display: flex;
    font-size: 15px;
    font-weight: 700;
    gap: 24px;
    justify-content: space-between;
    line-height: 1.35;
}

body.es-es .es-stats {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 8px 0 28px;
}

body.es-es .es-stats p {
    color: var(--es-blue);
    flex: 1;
    font-size: 32px !important;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

body.es-es .es-findings {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.05fr 0.95fr;
    margin-bottom: 22px;
}

body.es-es .es-findings h2,
body.es-es .es-cta h2,
body.es-es .es-vision h2 {
    color: var(--es-navy);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 24px;
}

body.es-es .es-chart {
    background: #f5f6f8;
    border-radius: 16px;
    display: flex;
    align-items: stretch;
    gap: 8px;
    height: 180px;
    margin-top: 8px;
    padding: 14px 16px 8px;
}

body.es-es .es-axis {
    color: #555;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    justify-content: space-between;
    padding-bottom: 28px;
    width: 36px;
}

body.es-es .es-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.es-es .es-bars {
    align-items: flex-end;
    display: flex;
    flex: 1;
    gap: 10px;
    justify-content: center;
}

body.es-es .es-bar {
    border-radius: 2px 2px 0 0;
    position: relative;
    width: 56px;
}

body.es-es .es-bar span {
    color: #333;
    font-size: 11px;
    font-weight: 700;
    left: 50%;
    position: absolute;
    top: -18px;
    transform: translateX(-50%);
    white-space: nowrap;
}

body.es-es .es-bar.is-dark { background: #0a2b60; }
body.es-es .es-bar.is-light { background: var(--es-bar); }

body.es-es .es-group p {
    color: #333;
    font-size: 11px !important;
    font-weight: 500;
    margin: 8px 0 0;
    text-align: center;
}

body.es-es .es-legend {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

body.es-es .es-legend li {
    color: var(--es-muted);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

body.es-es .es-legend li::before {
    border-radius: 2px;
    content: "";
    display: inline-block;
    height: 12px;
    margin-right: 10px;
    width: 12px;
}

body.es-es .es-legend li:first-child::before { background: #0a2b60; }
body.es-es .es-legend li:last-child::before { background: var(--es-bar); }

body.es-es .es-vision-copy,
body.es-es .es-vision-copy p {
    color: #000;
    font-size: 20px !important;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 24px;
}

body.es-es .es-partner-copy,
body.es-es .es-partner-copy p,
body.es-es .es-register p {
    color: var(--es-ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    margin: 0 0 12px;
}

body.es-es .es-vision-copy strong,
body.es-es .es-vision-copy b {
    font-weight: 800;
}

body.es-es .es-cta {
    background: var(--es-panel);
    border-radius: 12px;
    margin-bottom: 28px;
    padding: 28px 26px 22px;
}

body.es-es .es-cta > h2 {
    font-size: 26px;
    margin-bottom: 18px;
}

body.es-es .es-partners {
    display: grid;
    gap: 18px;
    grid-template-columns: 180px 1fr;
    margin-bottom: 18px;
}

body.es-es .es-partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

body.es-es .es-partner-logos img {
    height: 48px;
    object-fit: contain;
    width: auto;
    max-width: 100%;
}

body.es-es .es-need p {
    color: var(--es-navy);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin: 8px 0 14px;
}

body.es-es .es-steps {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

body.es-es .es-steps li {
    align-items: center;
    color: var(--es-list);
    display: flex;
    font-size: 16px;
    font-weight: 600;
    gap: 12px;
    line-height: 1.35;
    margin-bottom: 10px;
}

body.es-es .es-steps li span {
    align-items: center;
    background: var(--es-blue);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 28px;
    font-size: 14px;
    font-weight: 800;
    height: 28px;
    justify-content: center;
    width: 28px;
}

body.es-es .es-register {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 120px;
}

body.es-es .es-register h2 {
    margin-bottom: 6px;
}

body.es-es .es-qr {
    height: 108px;
    width: 108px;
}

body.es-es .es-band-pattern .es-headline,
body.es-es .es-band-pattern .es-headline p {
    color: #fff;
}

body.es-es .es-band-pattern .es-institution,
body.es-es .es-band-pattern .es-lead,
body.es-es .es-band-pattern .es-cta {
    background: #fff;
    border-color: transparent;
}

body.es-es .es-band-pattern .es-lead {
    border-radius: 12px;
    margin-bottom: 0;
    padding: 16px 20px;
}

body.es-es footer {
    height: auto !important;
}

body.es-es footer,
body.es-es footer a,
body.es-es footer p,
body.es-es footer h4 {
    font-family: "Inter";
}

body.es-es footer .text-white,
body.es-es footer a.text-white {
    color: #fff !important;
}

body.es-es footer .text-tertiary,
body.es-es footer h4 {
    color: var(--tertiary) !important;
}

body.es-es footer .copyright {
    color: #808080 !important;
}

body.es-es:not(.is-home) section,
body.es-es:not(.is-home) .pattern-section,
body.es-es:not(.is-home) .bg-fluid-container,
body.es-es:not(.is-home) .bg-problem-container,
body.es-es:not(.is-home) section.dark,
body.es-es:not(.is-home) section.light {
    background: #fff !important;
    background-image: none !important;
    color: var(--es-ink);
}

body.es-es:not(.is-home) .pt-150,
body.es-es:not(.is-home) .pt-100px,
body.es-es:not(.is-home) .faq-section {
    padding-top: 108px !important;
}

body.es-es:not(.is-home) h1,
body.es-es:not(.is-home) h2,
body.es-es:not(.is-home) h3,
body.es-es:not(.is-home) h5,
body.es-es:not(.is-home) .text-white,
body.es-es:not(.is-home) .text-tertiary {
    color: var(--es-navy) !important;
}

body.es-es header .navbar .text-white,
body.es-es header .navbar .nav-link,
body.es-es header .navbar .showLang {
    color: #fff !important;
}

body.es-es header .navbar .navbar-brand {
    color: var(--tertiary) !important;
}

@media (max-width: 1200px) {
    body.es-es .es-headline,
    body.es-es .es-headline p {
        font-size: 44px !important;
    }

    body.es-es .es-institution strong {
        font-size: 16px;
    }

    body.es-es .es-institution span {
        font-size: 14px;
    }

    body.es-es .es-institution img {
        height: 36px;
    }
}

@media (max-width: 992px) {

    body.es-es .es-band {
        padding: 36px 0;
    }

    body.es-es .es-band-first {
        padding-top: 108px;
    }

    body.es-es .es-band-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.es-es .es-headline,
    body.es-es .es-headline p {
        font-size: 38px !important;
    }

    body.es-es .es-institutions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.es-es .es-institutions .es-institution:last-child {
        grid-column: 1 / -1;
    }

    body.es-es .es-lead-names,
    body.es-es .es-stats,
    body.es-es .es-findings,
    body.es-es .es-partners,
    body.es-es .es-register {
        display: block;
    }

    body.es-es .es-stats p {
        font-size: 26px !important;
        margin-bottom: 10px;
    }

    body.es-es .es-findings {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.es-es .es-qr {
        margin-top: 12px;
    }
}

@media (max-width: 640px) {
    body.es-es .navbar .navbar-brand {
        font-size: 22px;
    }

    body.es-es .es-headline,
    body.es-es .es-headline p {
        font-size: 30px !important;
    }

    body.es-es .es-cta > h2 {
        font-size: 24px;
    }

    body.es-es .es-institutions {
        grid-template-columns: 1fr;
    }

    body.es-es .es-institutions .es-institution:last-child {
        grid-column: auto;
    }

    body.es-es .es-chart {
        height: 180px;
    }

    body.es-es .es-bar {
        width: 28px;
    }
}
