@charset "UTF-8";

:root {
    color-scheme: light;
    --blue: #004983;
    --green: #a8c855;
    --navy: #171a45;
    --ink: #20263b;
    --muted: #535b6a;
    --line: #dfe5eb;
    --wash: #f4f5f8;
    --white: #fff;
    --content: 73rem;
    --gutter: clamp(1.25rem, 4.9vw, 4.5rem);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-block-end: var(--cookie-banner-space, 0); color: var(--ink); background: var(--white); line-height: 1.57; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[id] { scroll-margin-top: 1.5rem; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 5.15vw, 5.05rem); overflow-wrap: anywhere; }
h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); color: var(--navy); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); color: var(--navy); }
.container { width: min(calc(100% - 2 * var(--gutter)), var(--content)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 0;
    border: 0;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus { position: absolute; z-index: 10; top: .75rem; left: .75rem; padding: .7rem 1rem; background: var(--white); }
#contenido:focus { outline: 0; }

.site-header { background: var(--navy); }
.site-header::after { content: ""; display: block; height: 4px; background: linear-gradient(90deg, #368fe3 0%, #80b8ac 66%, var(--green) 100%); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 5.4rem; gap: 2rem; }
.brand { display: block; width: min(14.5rem, 41vw); flex-shrink: 0; margin-inline-start: -1.3rem; }
.brand img { width: 100%; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.65vw, 2.45rem); }
.site-nav a { position: relative; display: flex; align-items: center; min-height: 2.85rem; color: var(--white); text-decoration: none; }
.site-nav a:not(.nav-contact):is(:hover, [aria-current])::after {
    content: "";
    position: absolute;
    inset: auto 0 .2rem;
    height: 2px;
    background: var(--green);
}
.site-nav .nav-contact { background: #ffffff18; border-radius: 99px; padding-inline: 1.3rem; }
.site-nav .nav-contact:is(:hover, [aria-current]) { background: #ffffff2a; }
.menu-toggle { color: var(--white); font: inherit; font-weight: 600; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 1.05rem; height: 2px; background: currentColor; }
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { position: absolute; content: ""; }
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

.eyebrow { font-size: .88rem; text-transform: uppercase; letter-spacing: .105em; color: var(--blue); font-weight: 700; margin-bottom: 1rem; }
.image-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); }
.hero-image { position: absolute; z-index: 0; inset: 0 0 0 auto; height: 100%; width: 84%; object-fit: cover; object-position: center 42%; }
.image-hero::before {
    position: absolute;
    z-index: 1;
    content: "";
    inset: 0;
    background: linear-gradient(90deg, #171a45 3%, #171a45 16%, #171a45e8 26%, #171a45aa 46%, #171a4530 71%, #171a4516 100%);
}
.hero-shell { position: relative; z-index: 2; min-height: clamp(34rem, 50vw, 44rem); display: flex; align-items: center; }
.hero-copy { padding-block: 4.4rem 3.4rem; max-width: 61%; color: var(--white); }
.hero-copy .eyebrow { color: #d6ec9b; }
.hero-copy h1 { font-size: clamp(2.8rem, 5.05vw, 4.6rem); line-height: 1.09; letter-spacing: -.042em; }
.hero-lead { max-width: 34rem; margin-top: 1.45rem; font-size: clamp(1.06rem, 1.5vw, 1.25rem); color: #f2f4fa; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    padding: .65rem 1.42rem;
    border: 1px solid transparent;
    border-radius: 99px;
    text-align: center;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.button-light { color: var(--navy); background: var(--white); }
.button-light:hover { background: #eceff6; }
.button-outline { color: var(--white); border-color: #ffffff8c; background: #171a4542; }
.button-outline:hover { background: #ffffff20; }
.button-primary { color: var(--white); background: var(--navy); margin-top: 1.25rem; }
.button-primary:hover { background: var(--blue); }
.image-hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--green); }

.section { padding-block: clamp(3.15rem, 6.2vw, 6.2rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2.5rem; margin-bottom: clamp(1.6rem, 3vw, 2.5rem); }
.section-heading > :first-child { max-width: 39rem; }
.section-heading > p { max-width: 27rem; color: var(--muted); }
.section-heading-link > a { flex-shrink: 0; }
.accent-heading::after { content: ""; display: block; width: 3rem; height: .22rem; margin-top: .8rem; background: var(--green); }
.text-link { display: inline-block; font-weight: 700; text-decoration-thickness: 1px; }
.service-grid, .details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.3vw, 1.7rem); }
.service-tile, .sector-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: .7rem; }
.service-tile img { width: 100%; aspect-ratio: 2.12; object-fit: cover; object-position: center 45%; }
.service-tile > div, .sector-card > div { padding: clamp(1.15rem, 2.6vw, 2rem); }
.service-tile p, .sector-card p, .principles p, .details-grid p { margin-top: .75rem; color: var(--muted); }
.service-tile .text-link { margin-top: 1rem; }
.impact { background: var(--wash); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.8rem, 5vw, 5rem); padding-block: clamp(2.6rem, 5vw, 4.8rem); }
.split-image { width: 100%; aspect-ratio: 1.56; object-fit: cover; border-radius: .7rem; }
.split-copy > p:not(.eyebrow) { margin-top: 1.25rem; color: var(--muted); }
.split-copy .text-link { margin-top: 1.2rem; }
.values-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.35rem; margin: 0; }
.values-list > div { border-top: 1px solid var(--line); padding-top: 1rem; }
.values-list dt { font-weight: 700; color: var(--navy); font-size: 1.13rem; }
.values-list dd { color: var(--muted); margin: .45rem 0 0; }

.inner-hero .hero-shell { min-height: clamp(24rem, 35vw, 33rem); }
.inner-hero h1 { max-width: 15ch; }
.inner-hero p:not(.eyebrow) { margin-top: 1.3rem; max-width: 34rem; font-size: 1.13rem; color: #f2f4fa; }
.details-grid, .principles { margin-top: 2rem; }
.details-grid article { border-top: .22rem solid var(--green); padding: 1.5rem; background: var(--wash); }
.details-grid article:target { outline: 2px solid var(--blue); outline-offset: 3px; }
.soft-section { background: var(--wash); }
.sector-grid, .principles, .news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.3vw, 1.65rem); }
.sector-card img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.principles > div { border-top: 1px solid var(--line); padding-top: 1.1rem; }

.guide-layout { display: grid; grid-template-columns: minmax(11rem, .64fr) minmax(0, 2fr); gap: clamp(1.4rem, 5.7vw, 5.5rem); align-items: start; }
.contents-nav { display: flex; flex-direction: column; gap: .48rem; padding: 1.15rem; background: var(--wash); border-left: .22rem solid var(--green); }
.contents-nav p { font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.contents-nav a { padding-block: .25rem; }
.guide-content section + section { margin-top: 2.85rem; padding-top: 2.3rem; border-top: 1px solid var(--line); }
.reference-list a { font-weight: 700; }

.archive-hero, .article-header { background: linear-gradient(114deg, var(--navy) 12%, #252850 100%); color: var(--white); }
.archive-hero { padding-block: clamp(3rem, 6.3vw, 5.5rem); }
.archive-hero .eyebrow { color: #d6ec9b; }
.archive-hero p:not(.eyebrow) { margin-top: 1.1rem; color: #edf3f8; font-size: 1.13rem; max-width: 42rem; }
.news-card { border: 1px solid var(--line); overflow: hidden; background: var(--white); border-radius: .7rem; }
.news-card a { display: flex; height: 100%; flex-direction: column; text-decoration: none; }
.news-card a:focus-visible { outline-offset: -4px; }
.news-card a:hover h3 { text-decoration: underline; text-underline-offset: .19em; }
.news-card img { width: 100%; aspect-ratio: 1.75; object-fit: cover; }
.news-card-body { padding: clamp(1rem, 2vw, 1.48rem); }
.news-card h3 { font-size: clamp(1.18rem, 1.7vw, 1.48rem); line-height: 1.18; }
.news-card p { color: var(--muted); margin-top: .7rem; }
.news-card time, .article-header time { display: block; margin-bottom: .65rem; color: var(--blue); font-size: .875rem; font-weight: 700; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 2.75rem; }
.pagination a, .pagination span { display: grid; min-width: 2.55rem; min-height: 2.6rem; place-items: center; padding: .4rem .68rem; border: 1px solid var(--line); border-radius: .2rem; text-decoration: none; }
.pagination a:hover { background: var(--wash); }
.pagination span { background: var(--blue); color: var(--white); font-weight: 700; }

.article-width { max-width: 51.5rem; }
.article-header { padding-block: clamp(2.2rem, 6vw, 4.75rem); }
.article-header h1 { font-size: clamp(2.25rem, 4.9vw, 4rem); }
.article-header .text-link, .article-header time { color: #e5efc9; }
.article-header :focus-visible { outline-color: var(--green); }
.article-header time { margin-top: 1.65rem; }
.article-content { padding-block: clamp(1.9rem, 5vw, 4rem); }
.article-image { margin-bottom: 2rem; border-radius: .25rem; }
.article-preview-bar { background: #edf3dc; color: var(--navy); padding-block: .85rem; }
.article-preview-bar > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1rem; }
.prose { color: var(--ink); overflow-wrap: anywhere; }
.prose p, .prose ul, .prose ol { margin: 1rem 0; }
.prose ul, .prose ol { padding-inline-start: 1.45rem; }
.prose li + li { margin-top: .5rem; }
.prose h3, .prose h4, .prose h5 { margin-block-start: 1.7rem; }
.prose figure { margin: 1.75rem 0; }
.prose figcaption { margin-top: .45rem; color: var(--muted); font-size: .92rem; }

.site-footer { background: var(--navy); color: var(--white); padding-block: 2.4rem; border-top: 3px solid var(--green); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem 3rem; }
.site-footer a { color: var(--white); }
.footer-brand { display: block; width: min(13rem, 57vw); margin-inline-start: -1.15rem; }
.site-footer p { color: #dce3ed; }
.site-footer nav { display: flex; gap: .75rem 1.6rem; flex-wrap: wrap; }
.footer-cookie-button { border: 0; padding: 0; color: var(--white); background: transparent; text-align: left; font: inherit; text-decoration: underline; text-underline-offset: .23em; cursor: pointer; }
.footer-cookie-button:hover { text-decoration-thickness: 2px; }

.cookie-banner {
    position: fixed;
    z-index: 20;
    inset: auto 0 0;
    max-height: 80vh;
    max-height: 80dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 32px #171a451a;
}
.cookie-banner-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 15rem); align-items: center; gap: 1rem clamp(1.5rem, 4vw, 3.25rem); padding-block: 1.35rem; padding-bottom: max(1.35rem, env(safe-area-inset-bottom)); }
.cookie-copy h2 { font-size: 1.22rem; letter-spacing: -.015em; }
.cookie-copy h2:focus { outline: 0; }
.cookie-copy p { margin-block: .55rem .7rem; }
.cookie-details { margin-block: .2rem .45rem; }
.cookie-details summary { width: fit-content; font-weight: 600; color: var(--blue); cursor: pointer; }
.cookie-details dl { margin: .6rem 0; padding: .75rem 1rem; background: var(--wash); border-radius: .35rem; }
.cookie-details dt { font-weight: 600; }
.cookie-details dd { margin: 0; color: var(--muted); }
.cookie-details dd + dt { margin-top: .5rem; }
.cookie-actions { display: grid; gap: .55rem; }
.cookie-action { border-color: var(--navy); border-radius: .3rem; color: var(--white); background: var(--navy); }
.cookie-action:hover { background: var(--blue); }
.cookie-policy { max-width: 59rem; }
.cookie-policy section + section { margin-top: clamp(2.3rem, 4vw, 3.2rem); }
.cookie-policy .button { margin-top: .2rem; }
.cookie-table { width: 100%; border-collapse: collapse; text-align: left; line-height: 1.45; }
.cookie-table caption { margin-bottom: .6rem; text-align: left; color: var(--muted); }
.cookie-table th, .cookie-table td { padding: .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table thead { background: var(--wash); color: var(--navy); }
.cookie-table code { font-size: .9em; color: var(--navy); overflow-wrap: anywhere; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.6rem); align-items: start; }
.contact-layout h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
.form-intro { margin-top: 1.1rem; color: var(--muted); }
.contact-form { display: grid; gap: 1.12rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.35rem; }
.form-wide { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 600; margin-bottom: .38rem; }
.form-field input, .form-field textarea { width: 100%; padding: .65rem .8rem; min-height: 3rem; border: 1px solid #8d95a7; border-radius: .35rem; font: inherit; color: var(--ink); background: var(--white); }
.form-field textarea { display: block; resize: vertical; }
.form-field [aria-invalid="true"] { border-color: #ad2831; }
.field-error { color: #9d202a; margin-top: .3rem; font-size: .925rem; }
.form-feedback { padding: .8rem 1rem; margin-top: 1.25rem; border-radius: .35rem; }
.form-success { background: #e8f0d6; color: #314018; }
.form-error { background: #fbe9ea; color: #861b25; }
.form-actions p { font-size: .94rem; color: var(--muted); }
.contact-details { background: var(--wash); border-top: 4px solid var(--green); border-radius: .7rem; padding: clamp(1.4rem, 3vw, 2.2rem); }
.contact-details h2 { font-size: clamp(1.55rem, 2.7vw, 2.2rem); }
.contact-details dl { margin: 1.35rem 0 0; }
.contact-details dt { font-weight: 600; color: var(--navy); }
.contact-details dd { margin: .15rem 0 0; overflow-wrap: anywhere; }
.contact-details dd + dt { margin-top: 1.2rem; }
.contact-details address { font-style: normal; }
.contact-details .text-link { margin-top: .65rem; }

@media (max-width: 1050px) {
    .sector-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .image-hero::before { background: linear-gradient(0deg, #171a45 0%, #171a45eb 32%, #171a458a 64%, #171a4520 100%); }
    .hero-image { width: 100%; object-position: center 41%; }
    .hero-shell { min-height: 32rem; align-items: end; }
    .hero-copy { max-width: 100%; padding-block: 10.25rem 2.8rem; }
    .hero-copy h1 { font-size: clamp(2.55rem, 7.3vw, 4.2rem); }
    .hero-lead { margin-top: 1.2rem; }
    .actions { margin-top: 1.4rem; }
    .section-heading, .footer-inner { align-items: start; flex-direction: column; }
    .split-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .inner-hero .hero-shell { min-height: 26rem; }
    .inner-hero .hero-copy { padding-block-start: 9rem; }
    .inner-hero h1 { max-width: unset; }
    .guide-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
    .values-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cookie-banner-inner { grid-template-columns: minmax(0, 1fr); }
    .cookie-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .header-inner { min-height: 4.7rem; flex-wrap: wrap; gap: 0 1rem; }
    .brand { width: min(13.5rem, 57vw); margin-inline-start: -1rem; }
    .menu-toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; border-radius: 99px; border: 1px solid #ffffff5c; padding: .35rem .8rem; background: #ffffff12; }
    .site-nav { width: 100%; gap: .2rem 1rem; flex-wrap: wrap; padding: .1rem 0 .85rem; }
    .site-nav a { min-height: 2.75rem; }
    .site-nav .nav-contact { padding-inline: .85rem; }
    .service-grid, .details-grid, .sector-grid, .news-grid, .principles { grid-template-columns: minmax(0, 1fr); }
    .sector-card img { aspect-ratio: 2.1; }
    .values-list { gap: 1.2rem .9rem; }
}
@media (max-width: 475px) {
    .contact-form { grid-template-columns: minmax(0, 1fr); }
    .cookie-banner-inner { gap: .9rem; }
    .cookie-action { padding-inline: .45rem; font-size: .9rem; }
    .cookie-table th, .cookie-table td { padding: .5rem .35rem; }
    .cookie-table { font-size: .9rem; overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
    .hero-copy h1 { font-size: 2.32rem; }
    .actions { align-items: flex-start; flex-direction: column; }
}
