/* AIgentiCARE · estilos. Paleta tomada del logo. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/aigenticare/static/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/aigenticare/static/fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/aigenticare/static/fonts/open-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/aigenticare/static/fonts/open-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap;
  src: url("/aigenticare/static/fonts/open-sans-latin-wght-italic.woff2") format("woff2"); }

:root {
  color-scheme: light;
  /* colores del logo */
  --turquesa: #4BA5C0;
  --turquesa-oscuro: #2A7891;   /* variante con contraste AA para texto y botones */
  --azul-marino: #2D3D54;
  --azul-mano: #A0C0D3;
  --azul-medio: #82B9D1;
  --azul-palido: #CBDEE7;
  --gris-casa: #BBC5CF;
  --rosa: #F2BFC2;
  --rosa-oscuro: #B5545C;
  /* uso */
  --bg: #FFFFFF;
  --bg-tint: #F1F7FA;
  --bg-soft: #E6F1F6;
  --text: #2D3D54;
  --text-muted: #55657A;
  --line: #D9E5EC;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(45, 61, 84, .08);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--turquesa-oscuro); text-underline-offset: .18em; }
a:hover { color: var(--azul-marino); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--azul-marino); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--turquesa); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--azul-marino); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.eyebrow { font: 600 .8rem/1.4 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--turquesa-oscuro); margin: 0 0 .6em; }
.lead { font-size: 1.2rem; color: var(--text-muted); }
.btn { display: inline-block; background: var(--turquesa-oscuro); color: #fff; font: 600 1rem var(--font-head); padding: .8em 1.6em; border-radius: 999px; text-decoration: none; transition: background .2s; }
.btn:hover { background: var(--azul-marino); color: #fff; }
mark.pending { background: #FFF1B8; color: #6B4E00; padding: 0 .3em; border-radius: 4px; font-size: .92em; }

/* ---------- cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 62px; width: auto; }
.brand .brand-word { height: 38px; }
.site-nav > ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a, .sub-toggle { display: block; white-space: nowrap; padding: 10px 14px; font: 600 .95rem var(--font-head); color: var(--azul-marino); text-decoration: none; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.site-nav a:hover, .sub-toggle:hover { color: var(--turquesa-oscuro); background: var(--bg-tint); }
.site-nav a[aria-current="page"], .has-sub.is-active > .sub-toggle { color: var(--turquesa-oscuro); box-shadow: inset 0 -3px 0 var(--turquesa); border-radius: 8px 8px 0 0; }
.sub-toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: none; }
.sub a[aria-current="page"] { box-shadow: none; background: var(--bg-tint); border-radius: 8px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 14px; padding: 3px; border: 2px solid var(--azul-palido); border-radius: 999px; font: 700 .85rem var(--font-head); }
.site-nav .lang-switch a, .lang-current { display: block; padding: 5px 11px; border-radius: 999px; line-height: 1.2; }
.site-nav .lang-switch a { color: var(--text-muted); }
.site-nav .lang-switch a:hover { color: var(--turquesa-oscuro); background: var(--bg-tint); }
.lang-current { background: var(--turquesa-oscuro); color: #fff; }
.lang-sep { color: var(--azul-palido); font-weight: 400; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--azul-marino); content: ""; transition: transform .2s; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .header-inner { min-height: 80px; }
  .brand img { height: 50px; }
  .brand .brand-word { height: 30px; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 80px); overflow: auto; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 12px 24px 20px; }
  .site-nav a, .sub-toggle { width: 100%; text-align: left; padding: 12px 8px; }
  .site-nav a[aria-current="page"], .has-sub.is-active > .sub-toggle { box-shadow: inset 3px 0 0 var(--turquesa); border-radius: 0; }
  .sub { position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .lang-switch { margin: 12px 0 0; }
  .site-nav .lang-switch a { width: auto; padding: 5px 11px; }
}

/* ---------- portada: carrusel ---------- */
.hero { position: relative; background: linear-gradient(135deg, #CFE6F0 0%, #EAF3F8 50%, #F6D6DA 100%); overflow: hidden; }
.slides { display: grid; min-height: 520px; }
.slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-inner { position: relative; z-index: 2; }
.slide-text { max-width: min(520px, 44vw); padding: 48px 0 80px; }
.slide-title { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .4em; }
.slide-lead { font-size: 1.2rem; color: var(--text-muted); }
.slide-art { position: absolute; z-index: 1; right: max(24px, calc((100vw - var(--container)) / 2)); top: 50%; transform: translateY(-50%); width: min(560px, 50vw); }
.slide-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide.has-photo .slide-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(45, 61, 84, .82) 0%, rgba(45, 61, 84, .55) 45%, rgba(45, 61, 84, 0) 80%); }
.slide.has-photo .slide-title, .slide.has-photo .slide-lead { color: #fff; }
.slide.has-photo .eyebrow { color: var(--azul-palido); }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; align-items: center; gap: 12px; z-index: 3; }
.hero-arrow { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--azul-palido); background: #fff; color: var(--azul-marino); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.hero-arrow:hover { border-color: var(--turquesa); }
.dots { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 999px; border: 0; background: var(--azul-palido); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.dot.is-active { width: 32px; background: var(--turquesa-oscuro); }
@media (max-width: 760px) {
  .slides { min-height: 0; }
  .slide { align-items: flex-start; }
  .slide-art { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 420px; margin: 24px auto 0; padding: 0 24px; }
  .slide { flex-direction: column; }
  .slide-text { max-width: none; padding: 12px 0 80px; }
  .slide.has-photo { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .slide, .dot { transition: none; } }

/* ---------- secciones ---------- */
.section { padding: 72px 0; }
.section.tinted { background: var(--bg-tint); }
.section-title { position: relative; padding-bottom: .5em; margin-bottom: 1.2em; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--turquesa), var(--rosa)); }
.page-hero { background: linear-gradient(120deg, var(--azul-marino) 0%, #35617A 60%, var(--turquesa-oscuro) 100%); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .06); }
.page-hero h1 { color: #fff; margin: 0; }
.prose-block { margin-bottom: 2.4em; }
.prose-block h2 { font-size: 1.5rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: .7em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232A7891' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* origen y propósito: línea temporal */
.timeline { list-style: none; margin: 40px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--turquesa), var(--rosa) 55%, var(--azul-marino)); }
.tl-step { position: relative; padding: 0 0 48px 80px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 4px solid var(--turquesa); color: var(--azul-marino); font: 800 1.1rem var(--font-head); box-shadow: 0 0 0 6px #fff; }
.tl-step:nth-child(3n+2) .tl-dot { border-color: var(--rosa); }
.tl-step:nth-child(3n) .tl-dot { border-color: var(--azul-marino); }
.tl-step:last-child .tl-dot { background: var(--turquesa-oscuro); border-color: var(--turquesa-oscuro); color: #fff; }
.tl-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); max-width: 860px; }
.tl-content h2 { font-size: 1.4rem; }
.tl-content > :last-child { margin-bottom: 0; }
.tl-content .cards { margin-top: 8px; }
.tl-content .card { box-shadow: none; border: 1px solid var(--line); border-left-width: 4px; }
.partner-soon { text-decoration: none; color: inherit; border-style: dashed; border-color: var(--azul-mano); background: var(--bg-tint); transition: border-color .2s; }
.partner-soon:hover { border-color: var(--turquesa); }
.partner-soon h4 { color: var(--azul-marino); }
.soon-badge { justify-self: center; font: 700 .8rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--turquesa-oscuro); background: #fff; border: 2px solid var(--azul-palido); border-radius: 999px; padding: 8px 16px; }

/* portada: intro */
.intro-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.intro-logo { width: 100%; max-width: 380px; margin: 0 auto; }
.visually-strong { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pillars { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillars li { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--turquesa); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.pillars li:nth-child(2) { border-top-color: var(--rosa); }
.pillars li:nth-child(3) { border-top-color: var(--azul-marino); }
.pillars strong { display: block; font: 700 1.05rem var(--font-head); color: var(--azul-marino); margin-bottom: 6px; }
.pillars span { color: var(--text-muted); font-size: .97rem; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.module { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.module-id { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--azul-palido); color: var(--azul-marino); font: 800 1.05rem var(--font-head); margin-bottom: 16px; }
.module:nth-child(2) .module-id { background: var(--rosa); }
.module:nth-child(3) .module-id { background: var(--turquesa); color: #fff; }
.module p { color: var(--text-muted); margin: 0; }

/* socios */
.partners { display: grid; gap: 28px; }
.partner-group h3 { margin-bottom: 10px; }
.partner, .company { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.partner h4 { font-size: 1.05rem; margin-bottom: .3em; }
.partner h4 a { color: var(--azul-marino); text-decoration: none; }
.partner h4 a:hover { color: var(--turquesa-oscuro); text-decoration: underline; }
.partner p, .company p { margin: 0; color: var(--text-muted); }
.partner-logo { max-height: 80px; width: auto; margin: 0 auto; }
.logo-row { display: flex; align-items: center; justify-content: center; gap: 18px; }
.logo-row .partner-logo { max-height: 64px; max-width: 48%; margin: 0; }
.logo-placeholder { display: grid; place-items: center; min-height: 80px; padding: 10px 14px; border: 2px dashed var(--azul-palido); border-radius: 10px; color: var(--text-muted); font: 600 .82rem/1.3 var(--font-head); text-align: center; }
.funding-box { margin-top: 36px; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: linear-gradient(120deg, #F6D6DA, #D3E8F1); border-radius: var(--radius); padding: 28px; }
.funding-box p { margin: 0; font-size: 1.1rem; }
.funder-logo { max-height: 90px; width: auto; margin: 0 auto; }

/* tarjetas genéricas */
.cards { display: grid; gap: 24px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-left: 4px solid var(--turquesa); }
.card:nth-child(2) { border-left-color: var(--rosa); }
.card:nth-child(3) { border-left-color: var(--azul-marino); }
.card p { margin: 0; color: var(--text-muted); }

/* objetivos */
.highlight { background: var(--azul-marino); color: #fff; border-radius: var(--radius); padding: 36px 40px; position: relative; overflow: hidden; }
.highlight::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--turquesa); opacity: .25; }
.highlight h2 { color: var(--azul-palido); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.highlight p { font-size: 1.2rem; margin: 0; position: relative; z-index: 1; }
.objectives { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.objective { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.objective p { color: var(--text-muted); margin: 0; }
.badge { display: inline-block; font: 800 .82rem var(--font-head); letter-spacing: .05em; color: var(--turquesa-oscuro); background: var(--bg-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }

/* paquetes de trabajo */
.gantt { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 32px 0 40px; overflow-x: auto; }
.gantt-row { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 12px; min-width: 560px; }
.gantt-row + .gantt-row { margin-top: 10px; }
.gantt-label { font: 700 .85rem var(--font-head); color: var(--azul-marino); }
.gantt-track { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.gantt-head .gantt-track span { text-align: center; font: 600 .78rem var(--font-head); color: var(--text-muted); }
.gantt-bar { border-radius: 8px; padding: 6px 10px; font: 700 .75rem var(--font-head); color: var(--azul-marino); white-space: nowrap; }
.wp1 .gantt-bar, .gantt-bar.wp1 { background: var(--azul-palido); }
.gantt-bar.wp2 { background: var(--turquesa); color: #fff; }
.gantt-bar.wp3 { background: var(--rosa); }
.gantt-bar.wp4 { background: var(--azul-medio); }
.gantt-bar.wp5 { background: var(--azul-marino); color: #fff; }
.wps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.wp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; border-top: 5px solid var(--azul-palido); }
.wp.wp2 { border-top-color: var(--turquesa); }
.wp.wp3 { border-top-color: var(--rosa); }
.wp.wp4 { border-top-color: var(--azul-medio); }
.wp.wp5 { border-top-color: var(--azul-marino); }
.wp header { display: flex; justify-content: space-between; align-items: center; }
.wp-months { font: 600 .85rem var(--font-head); color: var(--text-muted); }
.wp > p { color: var(--text-muted); }
.tasks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.tasks li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.task-id { font: 700 .82rem var(--font-head); color: var(--turquesa-oscuro); padding-top: 2px; }
.task-months { font: 600 .8rem var(--font-head); color: var(--text-muted); white-space: nowrap; padding-top: 2px; }
.milestones { list-style: none; padding: 0; margin: 0; }
.milestones li { display: grid; grid-template-columns: 64px 56px 1fr; gap: 12px; align-items: baseline; background: #fff; border-radius: 12px; padding: 14px 20px; margin-bottom: 10px; box-shadow: var(--shadow); }
.milestones .badge { margin: 0; }
.ms-month { font: 700 .9rem var(--font-head); color: var(--text-muted); }

/* equipo */
.team-group + .team-group { margin-top: 56px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.avatar { width: 132px; height: 132px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--azul-palido), var(--rosa)); display: grid; place-items: center; box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--azul-palido); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initials { font: 700 2.2rem var(--font-head); color: var(--azul-marino); }
.person h3 { font-size: 1.05rem; margin-bottom: .25em; }
.degree { font: 600 .85rem/1.4 var(--font-head); color: var(--turquesa-oscuro); margin-bottom: .2em; }
.position { font: 500 .85rem/1.4 var(--font-head); color: var(--text-muted); }
.person .bio { color: var(--text-muted); font-size: .94rem; margin: 0; }
.person .person-email { margin-top: 12px; font-size: .9rem; word-break: break-all; }

/* próximamente / noticias */
.coming-soon { text-align: center; padding: 24px 0; }
.coming-soon img { margin: 0 auto 20px; opacity: .9; }
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin-top: 32px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.news-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.news-thumb { overflow: hidden; display: block; }
.news-card:hover .news-thumb img { transform: scale(1.03); }
.news-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.news-card time, .article-hero time { font: 600 .82rem var(--font-head); color: var(--text-muted); }
.news-card h2 { font-size: 1.2rem; margin: 6px 0 8px; }
.news-card h2 a { color: var(--azul-marino); text-decoration: none; }
.news-card h2 a:hover { color: var(--turquesa-oscuro); text-decoration: underline; }
.news-card p { color: var(--text-muted); font-size: .97rem; }
.news-card .more { margin-top: auto; font: 700 .92rem var(--font-head); text-decoration: none; }
.article-hero .eyebrow, .article-hero .eyebrow a, .article-hero time { color: var(--azul-palido); }
.article-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.article-lead { margin: 0 0 28px; }
.article figure img { width: 100%; border-radius: var(--radius); }
.article figcaption { font-size: .88rem; color: var(--text-muted); margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 32px 0; align-items: start; }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; }
.article-source { font-size: .95rem; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }

/* contacto */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.contact-list dt { font: 700 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--turquesa-oscuro); margin-top: 18px; }
.contact-list dd { margin: 4px 0 0; font-size: 1.1rem; }
.contact-card { background: var(--bg-tint); border-radius: var(--radius); padding: 32px; text-align: center; }
.contact-card img { margin: 0 auto 20px; }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font: 600 .9rem var(--font-head); }

/* ---------- pie ---------- */
.site-footer { background: var(--azul-marino); color: #D6E2EA; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-funding { text-align: center; padding: 40px 24px 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-funding .eyebrow { color: var(--azul-palido); }
.footer-funding p { margin: 10px auto 0; max-width: 680px; }
.footer-funding .logo-placeholder { display: inline-grid; color: #fff; border-color: rgba(255, 255, 255, .35); min-width: 220px; }
.footer-funder-logo { max-height: 72px; width: auto; margin: 0 auto; background: #fff; padding: 10px 16px; border-radius: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.footer-logo { background: #fff; border-radius: 12px; padding: 12px; width: 200px; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer mark.pending { font-size: .85em; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 24px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-logo { max-width: 300px; }
  .modules, .objectives, .cards.three, .pillars { grid-template-columns: 1fr 1fr; }
  .wps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .brand img { height: 44px; }
  .brand .brand-word { height: 26px; }
  .section { padding: 52px 0; }
  .modules, .objectives, .cards.three, .pillars { grid-template-columns: 1fr; }
  .partner, .company, .funding-box { grid-template-columns: 1fr; gap: 16px; }
  .gallery { grid-template-columns: 1fr; }
  .tl-step { padding-left: 60px; }
  .timeline::before { left: 17px; }
  .tl-dot { width: 38px; height: 38px; font-size: .95rem; border-width: 3px; }
  .tl-content { padding: 20px; }
  .news-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .highlight { padding: 28px 24px; }
  .tasks li { grid-template-columns: 44px 1fr; }
  .task-months { grid-column: 2; }
  .milestones li { grid-template-columns: 56px 1fr; }
  .milestones li > span:last-child { grid-column: 1 / -1; }
}
