/* ==========================================================================
   LA PLATAFORMA · V26 (creada en V23 como «El proyecto»; V26: iconos y logos del cliente, círculo mayor, Socios y sinergias)
   Coreografía (html.choreo-pro: escritorio ≥ 1024 × 600, sin movimiento reducido): portada, objetivos
   e inversión son escenarios fijos; js/proyecto.js posiciona y revela según el scroll.
   Sin coreografía: flujo vertical con apariciones suaves (.is-in).
   Paleta y tipografía: tokens de assets/css/base.css (manual de marca). Fondo arena = --crema.
   WordPress: html.choreo-pro ya no se pone nunca (sin escenarios fijos fuera de los mapas); sus reglas quedan sin
   efecto. «Socios y sinergias» depende de html.choreo-geo (la pone el tema en escritorio ≥ 1024 × 560 sin
   movimiento reducido) y conserva su recorrido por el mapa.
   ========================================================================== */

.page-proyecto main { background: var(--crema); }
.page-proyecto .pro-ink { color: var(--azul-profundo); }

/* ---------- 1-2 · Portada + ¿De dónde partimos? ---------- */
.pro-intro { position: relative; background: var(--crema); }
.pro-intro-stage { position: relative; overflow: hidden; padding: calc(var(--header-h) + 72px) 0 72px; }
/* Imagen de cabecera a baja opacidad sobre el fondo arena (como el inicio de la Home, pero arena en vez de azul) */
.pro-intro-bg { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: .17; pointer-events: none; will-change: opacity, transform; }
html.choreo-pro .pro-intro-bg { -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); } /* sin corte duro al soltarse el escenario */
html:not(.choreo-pro) .pro-intro-bg { height: 100vh; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.pro-intro-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* WordPress: la portada es estática. En escritorio ocupa la pantalla con el bloque centrado, como el estado final de V45 */
@media (min-width: 1024px) {
  .pro-intro-stage { display: flex; align-items: center; min-height: 100vh; box-sizing: border-box; padding: calc(var(--header-h) + 40px) 0 40px; }
  .pro-intro-stage > .pro-b1 { flex: 1 1 auto; }
}

.pro-hero-copy { position: relative; z-index: 2; text-align: center; padding: 10vh var(--gutter) 14vh; }
.pro-title { margin: 0; font-size: clamp(56px, 9vw, 140px); font-weight: 900; line-height: .95; letter-spacing: -.03em; color: var(--azul-profundo); }
.pro-title .ch { display: inline-block; will-change: transform, opacity, filter; }
/* Subtítulo: una sola línea y más pequeño. Mismo peso que el título del bloque 1, en el que se convierte */
.pro-sub { display: inline-block; margin: 24px 0 0; font-size: clamp(20px, 2vw, 28px); font-weight: 900; line-height: 1.05; color: var(--azul); white-space: nowrap; transform-origin: 0 0; }

.pro-b1 { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 84px); align-items: center; }
.pro-b1-title { margin: 0 0 22px; font-size: clamp(36px, 4vw, 58px); font-weight: 900; line-height: 1.05; letter-spacing: -.015em; color: var(--azul-profundo); white-space: nowrap; }
.pro-b1-text p { margin: 0; max-width: 54ch; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.62; color: #33415f; }
.pro-b1-text p + p { margin-top: 14px; }

/* Principales retos: como «¿Qué incluye la actuación?», cada reto con su icono encima */
/* V25: título en azul claro, sin icono y centrado respecto a los retos */
.pro-retos-head { margin: 0 0 16px; text-align: center; font-size: clamp(20px, 1.6vw, 24px); font-weight: 900; color: var(--azul-claro); }
.pro-retos-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.reto { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px 18px; background: rgba(255, 255, 255, .72); border-radius: 16px; box-shadow: 0 12px 30px -20px rgba(20, 40, 90, .45), 0 0 0 1px rgba(43, 80, 158, .07); }
.reto:last-child { grid-column: 1 / -1; }
/* V25: icono sin recuadro de fondo; iconos genéricos de línea (SVG) */
.reto-icon { display: block; width: 40px; height: 40px; }
.reto-txt { font-size: clamp(15px, 1.1vw, 17px); font-weight: 700; line-height: 1.3; color: var(--azul-profundo); }
.ico { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--azul); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* V43: «Principales retos», todo en azul claro (icono y texto) */
.reto .ico { stroke: var(--azul-claro); }
.reto-txt { color: var(--azul-claro); }
/* Breve animación del icono al aparecer: el trazo se dibuja y el icono da un pequeño salto */
.ico * { stroke-dasharray: 1 1.05; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); }
.is-on .ico * { stroke-dashoffset: 0; }
.is-on .ico *:nth-child(2) { transition-delay: .12s; }
.is-on .ico *:nth-child(3) { transition-delay: .24s; }
.is-on .ico *:nth-child(n+4) { transition-delay: .34s; }
@keyframes pro-pop { 0% { transform: scale(.6) rotate(-12deg); } 55% { transform: scale(1.14) rotate(5deg); } 80% { transform: scale(.96) rotate(-2deg); } 100% { transform: none; } }
.reto.is-on .ico, .vis.is-on .ico { animation: pro-pop .9s var(--ease) both; }

/* Coreografía de la portada */
html.choreo-pro .pro-intro { height: 430vh; }
html.choreo-pro .pro-intro-stage { position: sticky; top: 0; height: 100vh; padding: 0; }
html.choreo-pro .pro-hero-copy { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + (100vh - var(--header-h)) / 2); padding: 0 var(--gutter); transform: translateY(-50%); }
html.choreo-pro .pro-b1 { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 40px); bottom: 24px; align-content: center; }
html.choreo-pro .pro-b1-title { visibility: hidden; } /* el título real lo «ocupa» el subtítulo que viaja; se muestra al llegar */
html.choreo-pro .pro-b1-title.is-landed { visibility: visible; }

/* ---------- Líneas conectoras entre bloques ---------- */
.pro-connector { position: relative; height: clamp(150px, 24vh, 260px); pointer-events: none; }
.pro-connector svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }

/* ---------- 3 · Hacia un destino más inteligente ---------- */
.pro-vision { position: relative; padding: clamp(24px, 4vw, 60px) 0; overflow-x: clip; } /* V43: las palabras del título, al animarse, no desbordan en móvil */
/* V25: título y texto centrados; iconos de línea sin círculos y rótulos sin cajas */
.pro-vision-title { margin: 0; text-align: center; font-size: clamp(36px, 4.6vw, 70px); font-weight: 900; line-height: 1.04; letter-spacing: -.02em; color: var(--azul-profundo); }
.pro-vision-title .vw { display: inline-block; will-change: transform, opacity; }
.pro-vision-text { margin: 24px auto 0; max-width: 56ch; text-align: center; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; color: #33415f; }
.pro-vision-list { list-style: none; margin: clamp(40px, 5vw, 72px) auto 0; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.vis { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
/* V26: iconos del cliente (PNG transparentes). Entrada: se descubren de abajo arriba, suben y dan un pequeño salto */
.vis-icon { display: flex; align-items: flex-end; justify-content: center; height: clamp(100px, 9vw, 130px); }
.vis-icon img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
html.js .vis-icon img { clip-path: inset(100% 0 0 0); opacity: 0; transform: translateY(26px) scale(.86); transform-origin: 50% 100%; transition: clip-path .9s var(--ease), opacity .5s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }
@keyframes pro-vis-pop { 0% { transform: scale(.86) translateY(26px); } 60% { transform: scale(1.08) translateY(-6px); } 82% { transform: scale(.98) translateY(0); } 100% { transform: none; } }
html.js .vis.is-on .vis-icon img { clip-path: inset(0 0 0 0); opacity: 1; transform: none; animation: pro-vis-pop 1s var(--ease) both; animation-delay: calc(var(--i, 0) * .12s); }
.vis-label { font-size: clamp(19px, 1.6vw, 24px); font-weight: 900; color: var(--azul-claro); } /* V43: en azul claro, como sus iconos */

/* ---------- 4 · Objetivos del proyecto ---------- */
.pro-obj { position: relative; overflow-x: clip; } /* V43: los objetivos que entran desde el lateral no desbordan en móvil y tablet */
.pro-obj-inner { padding-top: clamp(24px, 4vw, 60px); padding-bottom: clamp(24px, 4vw, 60px); }
.pro-obj-title { margin: 0; text-align: center; font-size: clamp(36px, 4.4vw, 64px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; color: var(--azul-profundo); }
.pro-claves { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 14px; margin: 18px 0 0; padding: 0; }
/* V25: sin cajas. Con coreografía, cada concepto sube, se queda grande en el centro y viaja pequeño a su sitio (JS) */
.pro-claves { gap: 10px clamp(24px, 3vw, 44px); }
.pro-claves li { padding: 4px 0; font-size: 17px; font-weight: 900; color: var(--azul); transform-origin: 50% 50%; will-change: transform, opacity; }
.pro-claves li + li::before { content: none; }
/* V26: círculo más grande (columna central hasta 540 px) y más separado del texto de arriba */
.pro-obj-graph { position: relative; margin-top: clamp(36px, 4vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 540px) minmax(0, 1fr); grid-template-rows: repeat(3, auto); gap: 14px clamp(24px, 3vw, 48px); align-items: center; }
.pro-ring { grid-column: 2; grid-row: 1 / 4; justify-self: center; width: 100%; height: auto; overflow: visible; }
.pro-obj-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pro-oe { display: contents; list-style: none; }
.oe { position: relative; z-index: 1; max-width: 380px; padding: 14px 18px 15px 20px; background: #fff; border-radius: 16px; border-left: 5px solid var(--c); box-shadow: 0 14px 30px -20px rgba(20, 40, 90, .5); }
.oe[data-oe="0"] { grid-column: 3; grid-row: 1; }
.oe[data-oe="1"] { grid-column: 3; grid-row: 2; }
.oe[data-oe="2"] { grid-column: 3; grid-row: 3; }
.oe[data-oe="3"] { grid-column: 1; grid-row: 3; justify-self: end; }
.oe[data-oe="4"] { grid-column: 1; grid-row: 1; justify-self: end; }
.oe-k { display: inline-block; font-size: 13px; font-weight: 900; letter-spacing: .12em; color: color-mix(in srgb, var(--c) 72%, #1F3C7A); }
.oe h3 { margin: 3px 0 0; font-size: clamp(16px, 1.25vw, 19px); font-weight: 900; line-height: 1.2; color: var(--azul-profundo); }
.oe p { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: #44506b; }

html.choreo-pro .pro-obj { height: 480vh; } /* V25: antes 330 vh; ahora incluye la entrada de los tres conceptos */
html.choreo-pro .pro-obj-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
html.choreo-pro .pro-obj-inner { width: 100%; padding: calc(var(--header-h) + 34px) var(--gutter) 24px; }
html.choreo-pro .pro-ring { width: min(100%, calc(100vh - var(--header-h) - 250px)); } /* V26: por ancho (no max-height) para que el SVG mida lo que se ve */

/* ---------- 5 · Actuaciones: el mapa de la manta de soluciones, solo lo visual ---------- */
.pro-manta { position: relative; padding: clamp(10px, 2vw, 30px) 0; }
.pro-manta-title { margin: 0 0 clamp(24px, 3vw, 40px); text-align: center; font-size: clamp(32px, 3.8vw, 56px); font-weight: 900; line-height: 1.05; letter-spacing: -.015em; color: var(--azul-profundo); }
.pro-manta-map {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center;
  min-height: clamp(360px, 44vw, 620px);
  background: url("../../../images/manta-mapa.jpg") center / cover no-repeat;
  border: 1px solid rgba(43, 80, 158, .2); box-shadow: var(--sombra);
  clip-path: inset(var(--clip, 0%) round 2px);
}
.pro-manta-map::before { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(255, 255, 255, .72); pointer-events: none; }
.pro-manta-map::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; box-shadow: inset 0 18px 28px -28px rgba(31, 60, 122, .5), inset 0 -18px 28px -28px rgba(31, 60, 122, .5); }
/* V25: botón sin fondo; al pasar el cursor se rellena de azul oscuro y la flecha «empuja» hacia la derecha */
.pro-manta-btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 32px; border-radius: 999px; background: transparent; color: var(--azul-profundo); text-decoration: none;
  border: 2px solid var(--azul-profundo);
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 900; letter-spacing: .01em;
  opacity: var(--btn-o, 1); transform: scale(var(--btn-s, 1));
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.pro-manta-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; display: block; }
@keyframes pro-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
.pro-manta-btn:hover, .pro-manta-btn:focus-visible { background: var(--azul-profundo); color: #fff; box-shadow: 0 20px 40px -18px rgba(20, 40, 90, .7); }
.pro-manta-btn:hover svg, .pro-manta-btn:focus-visible svg { animation: pro-nudge .9s var(--ease) infinite; }
.pro-manta-btn:focus-visible { outline: 3px solid var(--mostaza); outline-offset: 4px; }

/* ---------- 6 · Inversión, presupuesto y financiación ---------- */
.pro-inv { position: relative; }
.pro-inv-inner { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(40px, 6vw, 96px); display: grid; /* solo arriba/abajo: conserva el margen lateral de .wrap */ grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "cifras" "fin"; gap: 30px; align-items: start; }
.pro-inv-title { grid-area: title; margin: 0; text-align: center; font-size: clamp(32px, 3.6vw, 52px); font-weight: 900; line-height: 1.05; color: var(--azul-profundo); }
.pro-cifras { grid-area: cifras; list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; }
/* Mismo aspecto que las cifras de la Home: módulo crema, número azul oscuro y franja superior de color */
.pcifra {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: clamp(230px, 24vw, 320px); min-height: 220px; padding: 30px 20px 22px;
  background: var(--crema); color: var(--azul-profundo); border-radius: 16px; text-align: center;
  box-shadow: 0 14px 34px -18px rgba(20, 40, 90, .35), 0 0 0 1px rgba(43, 80, 158, .08);
  will-change: transform;
}
.pcifra::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--c); }
.pcifra-num { font-size: clamp(54px, 5.4vw, 84px); font-weight: 900; line-height: .9; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcifra-unit { margin-top: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.pcifra-label { margin-top: 10px; font-size: 16px; font-weight: 700; }
/* V26: logotipos en color; título centrado respecto a los logotipos.
   V27: sin recuadro (directamente sobre el arena); todos con la misma superficie visual (--w, en el HTML) y más aire entre filas */
.pro-fin { grid-area: fin; padding: 0; color: var(--azul-profundo); }
.pro-fin-title { margin: 0 0 30px; text-align: center; font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; line-height: 1.05; color: var(--azul-profundo); }
.pro-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4.4vw, 64px) 34px; align-items: center; justify-items: center; }
.pro-logos li { display: flex; align-items: center; justify-content: center; width: 100%; }
.pro-logos img { display: block; width: var(--w, 200px); max-width: 100%; height: auto; }

/* Apilado: las cifras a la izquierda y la financiación a la derecha */
.pro-inv-inner.is-stacked { grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); grid-template-areas: "title title" "cifras fin"; column-gap: clamp(28px, 4vw, 64px); }
.pro-inv-inner.is-stacked .pro-inv-title { text-align: left; }
.pro-inv-inner.is-stacked .pro-cifras { flex-direction: column; flex-wrap: nowrap; gap: 14px; }
.pro-inv-inner.is-stacked .pcifra { width: 100%; min-height: 0; padding: 22px 18px 18px; }
.pro-inv-inner.is-stacked .pcifra-num { font-size: clamp(44px, 3.8vw, 60px); }
.pro-inv-inner.is-stacked .pro-fin { align-self: center; } /* V25: centrado en vertical respecto a las cifras */

html.choreo-pro .pro-inv { height: 250vh; }
html.choreo-pro .pro-inv-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
html.choreo-pro .pro-inv-inner { width: 100%; padding-top: calc(var(--header-h) + 30px); padding-bottom: 30px; }
html.choreo-pro .pro-fin { opacity: 0; transform: translateX(48px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
html.choreo-pro .pro-inv-inner:not(.is-stacked) .pro-fin { position: absolute; visibility: hidden; } /* fuera del flujo mientras las cifras están en fila */
html.choreo-pro .pro-inv-inner.is-stacked .pro-fin { opacity: 1; transform: none; }
/* V25: los logos salen de uno en uno, claramente escalonados */
html.choreo-pro .pro-logos li { opacity: 0; transform: translateY(18px) scale(.9); transition: opacity .45s var(--ease), transform .55s var(--ease); transition-delay: calc(.45s + var(--i, 0) * .28s); }
html.choreo-pro .is-stacked .pro-logos li { opacity: 1; transform: none; }

/* ---------- 7 · Socios y sinergias (V26) ---------- */
.pro-socios { position: relative; }
/* Ajuste posterior en V27: mapa a la izquierda; título e imágenes a la derecha */
.pro-socios-inner { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(40px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.pro-socios-side { order: -1; }
/* La columna mide lo que el título: la imagen tiene su mismo ancho; número y nombre centrados y en azul claro */
.pro-socios-copy { display: grid; grid-template-columns: max-content; justify-content: center; }
.socio { text-align: center; }
.pro-socios-title { margin: 0; font-size: clamp(36px, 4.4vw, 64px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; color: var(--azul-profundo); }
.pro-socios-list { list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.socio-n { display: block; font-size: 14px; font-weight: 900; letter-spacing: .14em; color: var(--azul-claro); }
.socio-name { margin: 4px 0 14px; font-size: clamp(26px, 2.6vw, 42px); font-weight: 900; line-height: 1.05; color: var(--azul-claro); }
/* V27: imágenes de las ciudades, todas en 16:10 (recortadas a 1600 × 1000) */
.socio-img { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 16px; background: rgba(43, 80, 158, .08); box-shadow: 0 14px 34px -18px rgba(20, 40, 90, .45); }
.socio-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pro-socios-side { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.pro-socios-map { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1411 / 1114; border-radius: 20px; background: #56B3B5; box-shadow: 0 14px 34px -18px rgba(20, 40, 90, .35), 0 0 0 1px rgba(43, 80, 158, .08); } /* fondo: el mar de la acuarela */
/* Índice de ciudades bajo el mapa */
.pro-socios-index ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
/* Ajuste posterior en V27: la ciudad seleccionada, en azul oscuro; el resto, al 50 % de opacidad */
/* V34: sin recuadro; solo el nombre (y su número), más o menos opaco según esté elegida la ciudad */
.pro-socios-index button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--azul-profundo); font: inherit; font-size: 15px; font-weight: 900; cursor: pointer; opacity: .45; transition: opacity .3s var(--ease); }
.pro-socios-index button span { font-size: 12px; letter-spacing: .1em; color: var(--azul-claro); }
.pro-socios-index button:hover, .pro-socios-index button:focus-visible { opacity: .8; }
.pro-socios-index button.is-active { opacity: 1; }
.pro-socios-index button:focus-visible { outline: 3px solid var(--mostaza); outline-offset: 3px; }
.pro-map-zoom { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.pro-map-img { display: block; width: 100%; height: 100%; }
.pro-map-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
/* V34 · Mar animado: olas que se mecen de lado a lado y destellos que aparecen y se apagan (se mueven con el zoom del mapa) */
.pro-map-sea { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sea-w { fill: none; stroke: #2B7F8E; stroke-width: 4; stroke-linecap: round; opacity: 0; transform-box: fill-box; animation: sea-wave 5.2s ease-in-out var(--d, 0s) infinite; }
.sea-s { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; animation: sea-glint 4.2s ease-in-out var(--d, 0s) infinite; }
@keyframes sea-wave { 0% { opacity: 0; transform: translateX(-14px); } 30% { opacity: .55; } 50% { transform: translateX(10px); } 70% { opacity: .55; } 100% { opacity: 0; transform: translateX(-14px); } }
@keyframes sea-glint { 0%, 60%, 100% { opacity: 0; transform: scale(.4); } 75% { opacity: .85; transform: scale(1); } 88% { opacity: 0; transform: scale(1.4); } }
/* Puntos de las ciudades: se contraescalan con el zoom (--z) para conservar su tamaño */
/* V27: sin el nombre de la ciudad (sale bajo el título); el punto es un botón que lleva a su ciudad */
.map-pin { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; border: 0; background: transparent; cursor: pointer; transform: scale(calc(1 / var(--z, 1))); }
.map-pin i { position: absolute; left: 9px; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--azul-profundo); box-shadow: 0 0 0 4px #fff, 0 6px 14px -4px rgba(20, 40, 90, .6); transition: background-color .4s var(--ease), transform .4s var(--ease); }
.map-pin:hover i { transform: scale(1.2); }
.map-pin:focus-visible { outline: 3px solid var(--mostaza); outline-offset: -4px; border-radius: 50%; }
.map-pin.is-active i { background: var(--rosa); transform: scale(1.25); }
.map-pin.is-active i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--rosa); animation: pro-pin-pulse 1.6s var(--ease) infinite; }
@keyframes pro-pin-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }

html.choreo-geo .pro-socios { height: 640vh; }
html.choreo-geo .pro-socios-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
html.choreo-geo .pro-socios-inner { width: 100%; padding-top: calc(var(--header-h) + 30px); padding-bottom: 30px; }
html.choreo-geo .pro-socios-map { width: min(100%, calc((100vh - var(--header-h) - 150px) * 1411 / 1114)); } /* deja sitio al índice */
/* Con coreografía, bajo el título solo se ve la ciudad a la que ha llegado el mapa */
html.choreo-geo .pro-socios-list { display: block; position: relative; min-height: clamp(300px, 34vw, 450px); }
html.choreo-geo .socio { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
html.choreo-geo .socio.is-active { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Sin coreografía: apariciones suaves ---------- */
html.js:not(.choreo-pro) .pr-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js:not(.choreo-pro) .pr-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .pro-b1 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pro-b1-title { white-space: normal; }
  .pro-obj-graph { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .pro-ring { grid-column: 1; grid-row: auto; max-width: 320px; margin: 0 auto; }
  .pro-oe { display: grid; gap: 12px; padding: 0; margin: 0; }
  .oe[data-oe] { grid-column: auto; grid-row: auto; justify-self: stretch; max-width: none; }
  .pro-obj-links { display: none; }
  .pro-inv-inner.is-stacked { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "cifras" "fin"; }
  .pro-socios-inner { grid-template-columns: minmax(0, 1fr); }
  /* sin coreografía: título, mapa con todas las ciudades y, debajo, la lista */
  .pro-socios-copy { display: contents; }
  .pro-socios-title { order: 1; }
  .pro-socios-side { order: 2; }
  .pro-socios-list { order: 3; margin-top: 0; }
}
@media (max-width: 760px) {
  .pro-retos-list { grid-template-columns: minmax(0, 1fr); }
  .pro-vision-list { grid-template-columns: minmax(0, 1fr); }
  .pro-sub { white-space: normal; }
  .pro-cifras { flex-direction: column; align-items: stretch; }
  .pcifra { width: 100%; }
  .pro-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-manta-btn { padding: 16px 24px; }
  .pro-socios-list { grid-template-columns: minmax(0, 1fr); }
  .map-pin i { left: 11px; top: 11px; width: 12px; height: 12px; }
  .pro-socios-index button { padding: 7px 12px; font-size: 14px; }
  .pro-logos { gap: 36px 20px; }
  .pro-logos img { width: calc(var(--w, 200px) * .6); } /* misma proporción entre logos en dos columnas */
}
@media (prefers-reduced-motion: reduce) {
  .reto.is-on .ico, .vis.is-on .ico, .pro-manta-btn:hover svg, .pro-manta-btn:focus-visible svg { animation: none; }
  .ico * { stroke-dashoffset: 0; transition: none; }
  .pro-manta-btn, .pro-fin, .pro-logos li { transition: none; }
  html.js .vis-icon img, html.js .vis.is-on .vis-icon img { clip-path: none; opacity: 1; transform: none; transition: none; animation: none; }
  .map-pin.is-active i::after { animation: none; }
  .sea-w, .sea-s { animation: none; opacity: 0; }
}
/* =====================================================================
   16/11/2026 · «Principales retos» más actual: un panel de cristal con una fila por reto (número, icono en un círculo
   del color de marca y texto), separadores finos y el encabezado de sección de la web (trazo + título a la izquierda).
   ===================================================================== */
.pro-retos {
  padding: clamp(20px, 2.2vw, 30px); border-radius: 24px; background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -36px rgba(20, 40, 90, .55), 0 0 0 1px rgba(43, 80, 158, .08);
}
.pro-retos-head { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; text-align: left; font-family: var(--font-display); font-size: clamp(20px, 1.7vw, 26px); font-weight: 750; letter-spacing: -.01em; color: var(--azul-profundo); }
.pro-retos-head::before { content: ""; width: 32px; height: 4px; border-radius: 2px; background: var(--mostaza); }
.pro-retos-list { display: flex; flex-direction: column; gap: 0; }
.reto, .reto:last-child {
  grid-column: auto; flex-direction: row; align-items: center; gap: 16px; padding: 14px 6px; background: none; border-radius: 0; box-shadow: none;
  border-top: 1px solid rgba(43, 80, 158, .1); transition: transform .3s var(--ease);
}
.reto:first-child { border-top: 0; }
.reto:hover { transform: translateX(6px); }
.reto-num { flex: 0 0 auto; width: 26px; font-family: var(--font-display); font-size: 14px; font-weight: 750; color: var(--c); }
.reto-icon { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: color-mix(in srgb, var(--c) 18%, #fff); }
.reto .ico { stroke: var(--azul-profundo); stroke-width: 1.8; }
.reto-txt { font-size: clamp(15px, 1.1vw, 17px); font-weight: 700; line-height: 1.3; color: var(--azul-profundo); }
@media (prefers-reduced-motion: reduce) { .reto { transition: none; } .reto:hover { transform: none; } }
/* 16/11/2026 · «Alcance de las actuaciones» más contenido: banda de mapa más baja y botón compacto relleno */
.pro-manta-map { min-height: clamp(220px, 26vw, 340px); border-radius: 24px; }
.pro-manta-btn {
  gap: 10px; padding: 12px 20px 12px 22px; border: 0; background: var(--azul-profundo); color: #fff;
  font-size: 16px; font-weight: 800; box-shadow: 0 16px 34px -18px rgba(20, 40, 90, .8);
}
.pro-manta-btn svg { width: 18px; height: 18px; }
.pro-manta-btn:hover, .pro-manta-btn:focus-visible { background: var(--azul); color: #fff; }
@media (max-width: 760px) { .pro-manta-btn { padding: 11px 18px; font-size: 15px; } }

/* ---------- 17/11/2026 · Toque de diseño, en línea con la Home (solo aspecto; contenido y Socios sin tocar) ----------
   Tarjetas blancas de esquinas redondeadas y sombra suave (--radius, --sombra) sobre el arena: pilares de «Hacia un
   destino más inteligente», conceptos de Objetivos como pastillas, cifras y financiación de Inversión, y el mapa de
   Alcance con el mismo redondeo que en Ecosistema. */
.pro-vision-list { gap: clamp(16px, 2vw, 28px); }
.vis {
  padding: clamp(26px, 2.6vw, 38px) 20px clamp(22px, 2.2vw, 30px); border-radius: var(--radius); background: #fff;
  box-shadow: var(--sombra), 0 0 0 1px var(--azul-linea); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.vis:hover { transform: translateY(-4px); }
.pro-claves { gap: 10px 12px; }
.pro-claves li { padding: 8px 18px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--azul-linea), 0 8px 20px -14px rgba(20, 40, 90, .45); }
.pro-inv .pcifra { background: #fff; }
.pro-inv-inner.is-stacked .pro-fin { padding: clamp(26px, 3vw, 44px); border-radius: var(--radius); background: #fff; box-shadow: var(--sombra), 0 0 0 1px var(--azul-linea); }
.pro-manta-map { border-radius: 24px; clip-path: inset(var(--clip, 0%) round 24px); }
@media (max-width: 760px) {
  .pro-claves li { padding: 6px 14px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .vis:hover { transform: none; } }
