/* =========================
Tokens y base
========================= */

:root { --bg: #ffffff; --surface: #ffffff; --surface-soft: #fcfdfe; --surface-alt: #f1f5f9; --text: #1e293b; --muted: #64748b; --brand: #143f92; --brand-dark: #143f92; --brand-light: #f0f7ff; --cyan: #00add6; --yellow: #f9b614; --lime: #bfbd00; --orange: #ee820f; --magenta: #d946ef; --pink: #ec4899; --purple: #9333ea; --violet: #8b5cf6; --accent-glow: rgba(255, 255, 255, 0.15); --glass: rgba(255, 255, 255, 0.8); --shadow-premium: 0 20px 40px -10px rgba(0, 0, 0, 0.1); --border: rgba(0, 0, 0, 0.08); --border-strong: rgba(0, 0, 0, 0.15); --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --radius-sm: 4px; --container: 1280px; --transition: 180ms ease; --section-title-size: 2.1rem; --section-title-color: #143f92; --font-body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif; --font-heading: "Montserrat", "Segoe UI", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--anchor-offset, 4.75rem); }
body { margin: 0; font-family: var(--font-body); font-size: 1.1rem; line-height: 1.6; color: var(--text); background-color: #f0f4f8; /* Nuevo fondo Bento UI */ }
html { scrollbar-width: thin; scrollbar-color: #143f92 #e8f0ff; }
html::-webkit-scrollbar { width: 14px; height: 14px; }
html::-webkit-scrollbar-track { background: linear-gradient(180deg, #eef5ff 0%, #e2ecff 100%); border-radius: 0; }
html::-webkit-scrollbar-thumb { border: 3px solid #e2ecff; border-radius: 0; background: linear-gradient(180deg, #143f92 0%, #42c4ee 100%); }
html::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #143f92 0%, #1aa9d8 100%); }
html::-webkit-scrollbar-corner { background: #e2ecff; border-radius: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(0, 173, 214, 0.8); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.02em; color: var(--brand); font-style: normal; text-transform: uppercase; font-weight: 800; text-wrap: balance; }
em, i { font-style: italic; }
.is-italic { display: inline-block; font-style: normal; transform: skewX(-10deg); transform-origin: left center; }
h1 { margin-bottom: 1rem; font-size: 3rem; line-height: 0.98; }
h2 { margin-bottom: 0; font-size: 1.75rem; line-height: 1.08; }
h3 { margin-bottom: 0.5rem; font-size: 1.125rem; line-height: 1.2; }
/* =========================
Layout general
========================= */

.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }
.section { --section-accent: var(--lime); padding: 5rem 0; }
main > .hero { --section-accent: var(--lime); }
main > .pillars { --section-accent: var(--yellow); }
main > .story { --section-accent: var(--brand); }
main > .news { --section-accent: var(--magenta); }
main > .social-links { --section-accent: var(--violet); }
main > .contact-section { --section-accent: var(--cyan); }
.section__header { display: grid; gap: 1rem; margin-bottom: 3rem; position: relative; }
.section__header h2 { font-size: var(--section-title-size); line-height: 1.1; color: var(--brand-dark); font-weight: 800; letter-spacing: -0.02em; }
.section__header p { max-width: 700px; margin-bottom: 0; color: var(--muted); font-style: italic; }
/* =========================
Botones
========================= */

.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3rem; padding: 0.85rem 1.75rem; border: 1px solid transparent; border-radius: 6px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 800; font-style: normal; line-height: 1.15; letter-spacing: 0.05em; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
.button i { font-size: 1rem; line-height: 1; }
.button--primary { background: var(--brand-dark); color: #ffffff; }
.button--primary:hover, .button--primary:focus-visible { background: var(--brand); color: #ffffff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(36, 90, 141, 0.25); }
.button--outline { border-color: var(--border); background: transparent; color: var(--text); }
.button--outline:hover, .button--outline:focus-visible { border-color: var(--brand-dark); color: var(--brand-dark); }
/* =========================
Header y navegación
========================= */

.site-header { position: relative; z-index: 20; background: #ffffff; border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); }
.site-header--hero { box-shadow: 0 10px 30px rgba(101, 80, 222, 0.12); }
.site-header--fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 40; opacity: 0; pointer-events: none; transform: translateY(-110%); box-shadow: 0 12px 32px rgba(101, 80, 222, 0.16); transition: transform 220ms ease, opacity 220ms ease; }
body.admin-bar .site-header--fixed { top: 32px; }
@media (max-width: 782px) {body.admin-bar .site-header--fixed { top: 46px; }
}
.site-header--fixed.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; }
.site-header__inner--compact { padding: 0.55rem 0; }
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand__logo { width: auto; height: 5.1rem; }
.brand__logo--compact { height: 4rem; }
.site-nav { margin-left: auto; }
.site-nav__list { display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-flex; align-items: center; justify-content: flex-end; min-height: 2.65rem; padding: 0.46rem 0.72rem; border: 0; border-radius: var(--radius-sm); color: #103251; font-family: "Montserrat", var(--font-body); font-size: 0.9rem; text-transform: uppercase; font-weight: 700; line-height: 1.2; transition: background-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition); letter-spacing: 0.04em; }
.site-nav a:hover, .site-nav a:focus-visible { background: color-mix(in srgb, var(--section-accent) 8%, var(--surface) 92%); border-radius: 0; }
.site-nav a.is-current, .site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a, .site-nav .current_page_parent > a { background: color-mix(in srgb, var(--section-accent) 11%, var(--surface) 89%); color: var(--brand-dark); border-radius: 0; box-shadow: none; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 0.45rem; min-height: 3rem; padding: 0.7rem 1rem; border: 1px solid rgba(20, 63, 146, 0.14); border-radius: 6px; background: #143f92; color: #ffffff; font-family: "Montserrat", var(--font-body); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 22px rgba(20, 63, 146, 0.18); transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition), border-color var(--transition); }
.menu-toggle i { font-size: 1.2rem; line-height: 1; }
.menu-toggle:hover, .menu-toggle:focus-visible { background: #12367f; border-color: rgba(20, 63, 146, 0.28); box-shadow: 0 14px 28px rgba(20, 63, 146, 0.24); transform: translateY(-1px); }
html.js .site-nav { display: none; }
html.js .site-nav.is-open { display: block; width: 100%; }
@media (min-width: 1024px) {html.js .site-nav { display: block; width: auto; }
.site-nav__list { display: flex; align-items: center; justify-content: flex-end; gap: 0.2rem; }
}
@media (max-width: 1023px) {.site-header__inner { flex-wrap: wrap; gap: 0.65rem; }
.brand { max-width: calc(100% - 5.2rem); }
.brand__logo { height: 3.7rem; }
.brand__logo--compact { height: 3.15rem; }
html.js .menu-toggle { display: inline-flex; }
.site-nav a { width: 100%; min-height: 2.85rem; justify-content: center; }
.site-nav__list { justify-items: center; }
}
/* =========================
Hero (Premium Corporate)
========================= */

.front-carousel { padding: 0; background: #f0f4f8; }
.front-carousel__viewport { position: relative; overflow: hidden; width: 100%; border-radius: 0; border: 0; background: #0f172a; box-shadow: var(--shadow-premium); aspect-ratio: 1920 / 560; min-height: 15rem; }
.front-carousel__track { position: absolute; inset: 0; }
.front-carousel__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.01); transition: opacity 450ms ease, transform 650ms ease; }
.front-carousel__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.front-carousel__slide-link { display: block; width: 100%; height: 100%; }
.front-carousel__slide-link picture { display: block; width: 100%; height: 100%; }
.front-carousel__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.front-carousel__controls { position: absolute; inset: 0; z-index: 3; display: block; pointer-events: none; }
.front-carousel__button { display: inline-flex; align-items: center; justify-content: center; width: 4.8rem; height: 4.8rem; padding: 0; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 12px; background: #ffffff; color: var(--brand-dark); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition); }
.front-carousel__button--prev, .front-carousel__button--next { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: auto; }
.front-carousel__button--prev { left: 1rem; }
.front-carousel__button--next { right: 1rem; }
.front-carousel__button:hover, .front-carousel__button:focus-visible { background: #ffffff; color: var(--brand); border-color: #ffffff; box-shadow: var(--shadow); }
.front-carousel__button--prev:hover, .front-carousel__button--prev:focus-visible, .front-carousel__button--next:hover, .front-carousel__button--next:focus-visible { transform: translateY(calc(-50% - 1px)); }
.front-carousel__button i { font-size: 2.5rem; line-height: 1; }
.front-carousel__dots { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap; pointer-events: auto; }
.front-carousel__dot { width: 0.8rem; height: 0.8rem; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.55); box-shadow: none; cursor: pointer; transition: transform var(--transition), background-color var(--transition), width var(--transition); }
.front-carousel__dot.is-active { width: 2rem; background: #ffffff; }
.front-carousel__dot:hover, .front-carousel__dot:focus-visible { transform: scale(1.08); background: #ffffff; }
@media (max-width: 719px) {
  .front-carousel { padding-top: 0; }
  .front-carousel__viewport { min-height: 0; aspect-ratio: 1 / 1; }
  .front-carousel__button { width: 4rem; height: 4rem; border-radius: 10px; }
  .front-carousel__button--prev { left: 0.5rem; }
  .front-carousel__button--next { right: 0.5rem; }
  .front-carousel__button i { font-size: 1.7rem; }
  .front-carousel__dots { bottom: 0.75rem; }
  .front-carousel__dot { width: 0.7rem; height: 0.7rem; }
  .front-carousel__dot.is-active { width: 1.6rem; }
  .front-carousel__slide img { object-fit: cover; object-position: center center; }
  .pillars { padding-top: 0; }
}
@media (min-width: 1280px) {
  .front-carousel__viewport { min-height: 18rem; }
}
@media (prefers-reduced-motion: reduce) {
  .front-carousel__slide { transition: none; }
  .front-carousel__button, .front-carousel__dot { transition: none; }
}

.hero { background: radial-gradient(circle at 74% 28%, rgba(0, 173, 214, 0.18) 0%, rgba(0, 173, 214, 0) 24%), radial-gradient(circle at 82% 58%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 26%), radial-gradient(circle at 66% 54%, rgba(20, 63, 146, 0.34) 0%, rgba(20, 63, 146, 0) 44%), linear-gradient(135deg, #143f92 0%, #143f92 100%); padding: 1.5rem 0 0 0; color: #ffffff; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: none; }
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 2rem; position: relative; z-index: 2; }
@media (min-width: 900px) {.hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
}
.hero__visual { position: relative; display: flex; align-items: flex-end; justify-content: center; overflow: visible; padding-top: 0; }
.hero__content, .hero__visual { z-index: 1; }
.hero__visual::before { content: ""; position: absolute; inset: 2% -16% -16% 2%; z-index: 1; pointer-events: none; border-radius: 68% 32% 54% 46% / 40% 62% 38% 60%; background: radial-gradient(circle at 36% 40%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 30%), radial-gradient(circle at 70% 54%, rgba(0, 173, 214, 0.38) 0%, rgba(0, 173, 214, 0) 44%), radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 28%); filter: blur(1px); transform: rotate(-10deg); }
.hero__visual img { position: relative; z-index: 2; width: 96%; max-width: 520px; height: auto; display: block; }
.hero__content { display: flex; flex-direction: column; justify-content: center; padding-bottom: 1.5rem; padding-top: 0.5rem; }
.hero__kicker, .hero__content h1, .hero__subtitle, .hero__actions, .hero__secondary-actions { opacity: 0; transform: translateY(1rem); }
html.is-loaded .hero__kicker, html.is-loaded .hero__content h1, html.is-loaded .hero__subtitle, html.is-loaded .hero__actions, html.is-loaded .hero__secondary-actions { animation: hero-reveal 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
html.is-loaded .hero__kicker { animation-delay: 40ms; }
html.is-loaded .hero__content h1 { animation-delay: 120ms; }
html.is-loaded .hero__subtitle { animation-delay: 240ms; }
html.is-loaded .hero__actions { animation-delay: 360ms; }
html.is-loaded .hero__secondary-actions { animation-delay: 460ms; }
.hero__content h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 0.98; color: #ffffff; font-weight: 900; margin-bottom: 1.1rem; letter-spacing: -0.05em; transform: skewX(-8deg) !important; transform-origin: left center; }
.hero__kicker { display: inline-block; margin-bottom: 0.6rem; color: var(--cyan); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hero__subtitle { color: rgba(255, 255, 255, 0.9); font-size: 1.2rem; line-height: 1.6; margin-bottom: 2rem; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.hero__secondary-actions { display: flex; margin-top: 1rem; }
.hero__button--primary { background: #ffffff !important; color: var(--brand-dark) !important; }
.hero__button--primary:hover { background: #e8eef5 !important; color: var(--brand-dark) !important; }
.hero__button--video { border-color: rgba(255, 255, 255, 0.12); background: rgba(0, 173, 214, 0.98); color: #ffffff; box-shadow: 0 6px 16px rgba(0, 173, 214, 0.22); }
.hero__button--video:hover, .hero__button--video:focus-visible { background: #009fc4; color: #ffffff; box-shadow: 0 8px 20px rgba(0, 173, 214, 0.28); }
.hero__button--presentation-video { border-color: rgba(255, 255, 255, 0.56); background: transparent; color: #ffffff; box-shadow: none; }
.hero__button--presentation-video:hover, .hero__button--presentation-video:focus-visible { border-color: #ffffff; background: rgba(255, 255, 255, 0.12); color: #ffffff; box-shadow: 0 8px 20px rgba(10, 25, 58, 0.2); }
@media (max-width: 719px) {.hero { padding-top: 2.5rem; }
.hero__inner { gap: 1.25rem; }
.hero__content { align-items: center; padding-top: 0; padding-bottom: 0; text-align: center; }
.hero__content h1 { max-width: none; margin-inline: auto; transform-origin: center; }
.hero__actions { justify-content: center; }
.hero__secondary-actions { justify-content: center; }
.hero__visual { padding-top: 0.25rem; }
.hero__visual img { width: 72%; max-width: 330px; }
}
@keyframes hero-reveal {from { opacity: 0; transform: translateY(1rem); }
to { opacity: 1; transform: translateY(0); }
}
/* =========================
Pilares (Bento UI)
========================= */

.pillars { display: flex; flex-direction: column; gap: 3rem; background-color: #e2e8f0; padding: 0 0 8rem; }
.pillars__cta-band { width: 100%; background: #82cde0; padding: 1.5rem 0; border-radius: 0; }
.pillars__cta-shell { width: min(100% - 3rem, var(--container)); margin-inline: auto; padding: 0.75rem 0; border-radius: 0; }
.pillars__cta-wrapper { border-radius: 0; }
.pillars__header { display: flex; align-items: center; justify-content: center; gap: 1.35rem; padding: 0; flex-wrap: nowrap; }
.pillars__subtitle { flex: 0 1 auto; max-width: none; font-size: var(--section-title-size); font-weight: 900; line-height: 0.95; letter-spacing: -0.02em; color: #143f92; text-transform: uppercase; margin: 0; position: relative; display: block; text-align: center; transform: skewX(-8deg) !important; transform-origin: center center; }
.pillars__subtitle::before, .pillars__subtitle::after { content: none; }
.pillars-group__title { display: inline-flex; align-items: center; gap: 0.75rem; margin: 0 0 1rem; color: #475569; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.pillars-group__title i { font-size: 1.5rem; color: #475569; }
.pillars-grid { display: grid; gap: 1.5rem; align-items: stretch; }
.pillars-grid--all { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.pillars-legend { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 1.5rem; margin-top: 3rem; margin-bottom: 1.25rem; padding-top: 2.5rem; border-top: 1px solid rgba(30, 75, 118, 0.14); }
.pillars-group__title--pilares { grid-column: 1 / span 3; }
.pillars-group__title--ejes { grid-column: 4 / span 4; }
.pillars-group__title--desktop-ejes { display: inline-flex !important; }
.pillars-group__title--mobile-ejes { display: none !important; }
.pillars__footer-cta { display: flex; justify-content: flex-start; margin-bottom: 0; padding-top: 0; flex: 0 0 auto; }
.pillars__footer-cta .button { min-height: 3.4rem; padding-inline: 1.65rem; background: #ffffff; color: #143f92; border-color: rgba(20, 63, 146, 0.12); box-shadow: 0 12px 24px rgba(20, 63, 146, 0.14); }
.pillars__footer-cta .button:hover, .pillars__footer-cta .button:focus-visible { background: #f4f9ff; color: #143f92; border-color: rgba(20, 63, 146, 0.18); box-shadow: 0 14px 28px rgba(20, 63, 146, 0.18); }
.pillar-card { background: var(--card-color); border-radius: 0; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; border: 1px solid rgba(0, 0, 0, 0.06); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); transition: all 0.3s ease; position: relative; height: 100%; }
@media (min-width: 1024px) {.pillar-card { min-height: 16rem; height: 16rem; }
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06); border-color: var(--card-color); }
.pillar-card--olive { --card-color: #bfbd00; }
.pillar-card--yellow { --card-color: #f9b614; }
.pillar-card--orange { --card-color: #ee820f; }
.pillar-card--magenta { --card-color: #b5004b; }
.pillar-card--lavender { --card-color: #bfabd0; }
.pillar-card--cyan { --card-color: #00add6; }
.pillar-card--blue-strong { --card-color: #143f92; }
.pillar-card__icon { width: 96px; height: 96px; aspect-ratio: 1 / 1; border-radius: 50%; background: #ffffff; color: var(--card-color); display: flex; align-items: center; justify-content: center; font-size: 3rem; flex-shrink: 0; margin-bottom: 0.5rem; }
.pillar-card__title { font-family: var(--font-heading); font-size: 0.95rem; line-height: 1.3; font-weight: 800; color: #ffffff; text-transform: uppercase; letter-spacing: -0.02em; margin: 0; }
.action-principles { margin-top: 1.25rem; margin-bottom: 0; }
.action-principles__title { justify-content: center; width: 100%; margin-bottom: 2rem; font-size: 1.35rem; }
.action-principles__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.action-principle { display: grid; justify-items: center; align-content: start; gap: 1rem; min-width: 0; text-align: center; }
.action-principle__icon { display: inline-flex; align-items: center; justify-content: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; background: #ffffff; color: var(--principle-color, var(--brand-dark)); font-size: 2.45rem; box-shadow: 0 14px 30px rgba(30, 75, 118, 0.12); }
.action-principle:nth-child(1) { --principle-color: #143f92; }
.action-principle:nth-child(2) { --principle-color: #bfbd00; }
.action-principle:nth-child(3) { --principle-color: #ee820f; }
.action-principle:nth-child(4) { --principle-color: #00add6; }
.action-principle:nth-child(5) { --principle-color: #b5004b; }
.action-principle:nth-child(6) { --principle-color: #5b5fc7; }
.action-principle__title { margin: 0; color: var(--brand-dark); font-family: var(--font-heading); font-size: 0.95rem; font-weight: 800; line-height: 1.3; letter-spacing: 0; text-transform: uppercase; }
@media (max-width: 1023px) {.pillars-legend { grid-template-columns: 1fr; justify-items: center; column-gap: 1rem; row-gap: 0.75rem; }
 .pillars__cta-shell { width: min(100% - 3rem, var(--container)); padding: 0.65rem 0; border-radius: 0; }
.pillars__header { flex-direction: column; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 0.65rem; text-align: center; }
.pillars__subtitle { text-align: center; }
.pillars__footer-cta { justify-content: center; }
.pillars-group__title { margin-bottom: 0.5rem; font-size: 1rem; justify-content: center; }
.pillars-group__title--pilares, .pillars-group__title--ejes { grid-column: auto; }
.pillars-group__title--desktop-ejes { display: none !important; }
.pillars-group__title--mobile-ejes { display: inline-flex !important; grid-column: 1 / -1; margin: 0.5rem 0 0; }
.pillars-grid--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pillar-card { min-height: 14rem; height: 14rem; }
.pillar-card__icon { width: 72px; height: 72px; font-size: 2.2rem; }
.pillar-card__title { font-size: 0.8rem; }
.action-principles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 719px) {.pillars-legend { grid-template-columns: 1fr; justify-items: center; }
.pillars__cta-shell { width: min(100% - 1.5rem, var(--container)); padding: 0.5rem 0; }
.pillars__header { align-items: center; justify-content: center; text-align: center; }
.pillars__subtitle { text-align: center; }
.pillars__footer-cta { justify-content: center; }
.pillars-grid--all { grid-template-columns: 1fr; }
.pillar-card { min-height: 13rem; height: 13rem; }
.pillar-card__icon { width: 64px; height: 64px; font-size: 1.8rem; }
.pillar-card__title { font-size: 0.78rem; }
.action-principles { margin-top: 1.25rem; padding-top: 0; }
.action-principles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 0.85rem; }
.pillars-legend { margin-top: 2.25rem; padding-top: 2rem; }
.action-principle__icon { width: 4.4rem; height: 4.4rem; font-size: 1.95rem; }
.action-principle__title { font-size: 0.82rem; }
.pillars__footer-cta { margin-top: 1.75rem; }
}
/* =========================
Noticias
========================= */

.news { position: relative; overflow: hidden; padding: 8rem 0; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, color-mix(in srgb, var(--yellow) 5%, #ffffff 95%) 0%, #ffffff 16%, #ffffff 84%, color-mix(in srgb, var(--magenta) 5%, #ffffff 95%) 100%); }
.news__header { max-width: 780px; }
.news .section__header h2 { color: var(--section-title-color); }
.news-grid { display: grid; gap: 1.25rem; align-items: stretch; }
.news-card { display: flex; flex-direction: column; background: #ffffff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-premium); border-color: var(--brand-dark); }
.news-card > * { position: relative; z-index: 1; }
.news-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-alt); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(0.82) contrast(1.05) brightness(0.98); }
.news-card__date { margin-top: 1.5rem; margin-bottom: 0.5rem; color: var(--brand); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; padding-inline: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.news-card__date::before { content: ""; width: 1rem; height: 2px; background: currentColor; opacity: 0.3; }
.news-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; line-height: 1.3; font-weight: 800; color: var(--text); padding-inline: 1.25rem; }
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card__desc { flex: 1; margin-bottom: 0; color: var(--muted); font-size: 0.91rem; line-height: 1.58; padding-inline: 1.25rem; padding-bottom: 1.25rem; }
.news-card__button { align-self: flex-start; width: max-content; max-width: calc(100% - 2rem); white-space: nowrap; margin: auto 1.25rem 1.25rem; background: var(--brand-light); color: var(--brand-dark); box-shadow: none; font-size: 0.8rem; padding: 0.5rem 1.2rem; min-height: 2.4rem; border-radius: 6px; font-weight: 800; }
.news-card__button:hover { background: var(--brand); color: #ffffff; box-shadow: 0 4px 12px rgba(36, 90, 141, 0.2); transform: translateY(-2px); }
@media (min-width: 720px) {.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {.news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.news__footer-cta { display: flex; justify-content: center; margin-top: 4rem; }
/* =========================
Redes sociales
========================= */

.social-links { background: var(--cyan); color: #ffffff; padding: 4rem 0; }
.social-links__inner { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.social-links__content { display: flex; align-items: center; }
.social-links__content h2 { margin-bottom: 0; font-size: var(--section-title-size); line-height: 1.1; color: #ffffff; font-weight: 800; transform: skewX(-8deg) !important; transform-origin: center center; }
.social-links__buttons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35rem; justify-content: center; width: fit-content; }
.social-button { display: grid; align-items: center; justify-items: center; gap: 0; min-height: auto; padding: 0.45rem; border-radius: 0; background: transparent; border: 0; box-shadow: none; color: #ffffff; font-weight: 800; text-align: center; position: relative; overflow: hidden; transition: transform var(--transition); }
.social-button:hover, .social-button:focus-visible { transform: translateY(-2px); }
.social-button__icon { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--brand-dark); border: 0; color: #ffffff; font-size: 1.5rem; transition: background-color 0.2s ease; }
.social-button:hover .social-button__icon { background: var(--brand); }
@media (min-width: 720px) {.social-links__buttons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.social-links__inner { grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 1.25rem; }
}
/* =========================
Contacto
========================= */

.contact-section { position: relative; overflow: hidden; background: #ffffff; color: var(--text); padding: 6rem 0; }
.contact-section > .container { position: relative; z-index: 1; }
.contact__icon { width: 80px; height: 80px; background: var(--orange); color: #ffffff; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; margin-bottom: 1.5rem; box-shadow: 0 10px 20px rgba(238, 130, 15, 0.2); }
.contact-section .section__header h2 { color: var(--brand-dark); font-weight: 800; }
.contact__intro p { color: var(--muted); font-style: normal; }
.contact { display: grid; gap: 1.5rem; }
.contact-form { display: grid; gap: 1.5rem; padding: 0; border: 0; background: transparent; box-shadow: none; }
.field { display: grid; gap: 0.45rem; }
.field label { color: var(--brand-dark); font-size: 0.92rem; font-weight: 900; letter-spacing: 0.02em; }
.field__input-wrapper { position: relative; display: flex; align-items: center; }
.field__input-wrapper i { position: absolute; left: 1.25rem; color: var(--brand); font-size: 1.2rem; pointer-events: none; }
.field input, .field textarea { width: 100%; border-radius: 12px; border: 1px solid var(--border); padding: 1rem 1rem 1rem 3.2rem; background: var(--brand-light); color: var(--text); font-size: 1rem; transition: all 0.3s ease; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--brand); background: #ffffff; box-shadow: 0 0 0 4px rgba(36, 90, 141, 0.1); outline: none; }
.field textarea { padding-top: 1.1rem; min-height: 120px; }
.contact-form .button { margin-top: 1rem; }
@media (min-width: 720px) {.contact { grid-template-columns: 1fr 1fr; align-items: start; gap: 4rem; }
}
@media (max-width: 719px) {.contact-form { padding: 1rem; }
}
/* =========================
Footer
========================= */

.site-footer { --footer-text: #f7fbff; --footer-muted: rgba(247, 251, 255, 0.72); --footer-line: rgba(247, 251, 255, 0.1); --footer-accent: var(--cyan); padding: 4rem 0 3rem; background: #0c2041; color: var(--footer-text); border-top: 1px solid rgba(255, 255, 255, 0.05); }
.site-footer__inner { display: grid; gap: 1.4rem; }
.site-footer__top { display: grid; gap: 1.25rem; align-items: start; }
.site-footer__brand, .site-footer__nav { display: grid; gap: 0.55rem; }
.site-footer__bottom p { margin-bottom: 0; }
.site-footer__brand { width: fit-content; }
.site-footer__logo { display: block; width: min(11rem, 100%); height: auto; }
.site-footer__nav { gap: 0.45rem; }
.site-footer__nav-list { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.site-footer__nav-list a { color: var(--footer-text); font-size: 0.88rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.35; text-transform: uppercase; }
.site-footer__nav-list a:hover, .site-footer__nav-list a:focus-visible { color: var(--footer-accent); }
.site-footer__nav-list a.is-current, .site-footer__nav-list .current-menu-item > a, .site-footer__nav-list .current_page_item > a, .site-footer__nav-list .current-menu-ancestor > a, .site-footer__nav-list .current_page_parent > a { color: var(--footer-accent); }
.site-footer__bottom { display: flex; justify-content: flex-start; padding-top: 1rem; border-top: 1px solid var(--footer-line); }
.site-footer__bottom p { color: var(--footer-muted); font-size: 0.84rem; font-weight: 700; line-height: 1.4; }
@media (min-width: 720px) {.site-footer__top { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.site-footer__nav-list { grid-auto-flow: column; grid-auto-columns: max-content; justify-content: end; gap: 1rem 1.25rem; }
}
/* =========================
Utilidades globales
========================= */

.scroll-top { position: fixed; right: clamp(1rem, 2vw, 1.5rem); bottom: clamp(1rem, 2vw, 1.5rem); z-index: 90; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border: 1px solid rgba(20, 63, 146, 0.16); border-radius: 999px; background: #143f92; color: #ffffff; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(0.45rem); box-shadow: 0 10px 22px rgba(20, 63, 146, 0.22); backdrop-filter: blur(10px); transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover, .scroll-top:focus-visible { background: #12367f; color: #ffffff; border-color: rgba(20, 63, 146, 0.28); box-shadow: 0 14px 28px rgba(20, 63, 146, 0.26); transform: translateY(-1px); }
.scroll-top i { position: relative; z-index: 1; font-size: 1.25rem; }
.scroll-top__track { position: absolute; inset: 0.3rem; border: 2px solid rgba(255, 255, 255, 0.22); border-radius: inherit; }
/* =========================
Accesibilidad
========================= */

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 80; padding: 0.75rem 1rem; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }
/* =========================
Responsive base
========================= */

@media (min-width: 1040px) {h1 { font-size: 3.5rem; }
h2 { font-size: 2rem; }
}
@media (max-width: 719px) {h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
.section__header { justify-items: center; text-align: center; }
.section__header p { max-width: 100%; }
.pillars-group__title { font-size: 1.05rem; }
.pillars-group__title i { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {html { scroll-behavior: auto; }
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
.hero__content h1, .hero__kicker, .hero__subtitle, .hero__actions, .hero__actions .button { opacity: 1; transform: none; animation: none; }
}
