/* Redegal V8 header + footer for pages that do not load wf-v8.css.
   Self-contained: reuses the site.css tokens (with the same fallback values). */
.wf-head, .wf-foot {
  --wfc-ink: #071b2d; --wfc-white: #f5f7ff; --wfc-muted: #adb5c9;
  --wfc-blue: #56b5ff; --wfc-line: #30384c;
  --wfc-frame: min(100% - clamp(2rem, 9vw, 9rem), 90rem);
  --wfc-display: Urbanist, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wfc-body: "IBM Plex Sans", Arial, sans-serif;
  --wfc-mono: ui-monospace, "SF Mono", Consolas, monospace;
  color: var(--wfc-white); font: 1rem/1.5 var(--wfc-body);
}
.wf-head *, .wf-foot * { box-sizing: border-box; }
.wf-head a, .wf-foot a { color: inherit; }
.wf-head .frame, .wf-foot .frame { width: var(--wfc-frame); margin-inline: auto; }
.wf-head .sr-only, .wf-foot .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wf-head { position: sticky; top: 0; z-index: 30; background: #081421; border-bottom: 1px solid #242e40; }
.wf-head .wf-topbar { background: #04060f; border-bottom: 1px solid #3d4553; font-size: .82rem; }
.wf-head .wf-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; }
.wf-head .wf-topbar-brand { color: #8aa8c6; font-family: var(--wfc-mono); letter-spacing: .04em; }
.wf-head .wf-topbar-quote { display: inline-flex; align-items: center; gap: .35rem; color: #c6dbef; text-decoration: none; white-space: nowrap; }
.wf-head .wf-head-inner { min-height: 4.75rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.wf-head .brand, .wf-foot .brand { display: inline-flex; align-items: center; min-height: 2.75rem; }
.wf-head .brand img { display: block; width: 7.5rem; height: auto; }
.wf-head .wf-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem clamp(.9rem, 2.4vw, 2.4rem); }
.wf-head .wf-nav a { text-decoration: none; font-size: .95rem; font-weight: 550; white-space: nowrap; }
.wf-head a:hover, .wf-foot a:hover { color: var(--wfc-blue); }
.wf-head .nav-contact { padding: .5rem .95rem; border: 1px solid #69738c; }
.wf-head .menu-toggle { min-height: 44px; padding: .45rem .85rem; background: transparent; color: inherit; border: 1px solid #69738c; cursor: pointer; font: inherit; }
.wf-foot { background: #04060f; border-top: 1px solid var(--wfc-line); padding-block: clamp(2.6rem, 5vw, 4.2rem); }
.wf-foot p, .wf-foot h3 { margin: 0; }
.wf-foot .wf-foot-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .8fr)); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.wf-foot .wf-foot-brand .brand img { display: block; width: 8.5rem; height: auto; }
.wf-foot .wf-foot-tagline { margin-top: 1rem; color: #c6dbef; font: 700 clamp(1.3rem, 2vw, 1.7rem)/1.15 var(--wfc-display); letter-spacing: -.02em; }
.wf-foot .wf-foot-stack { margin-top: .5rem; color: var(--wfc-muted); font-size: .84rem; letter-spacing: .02em; }
.wf-foot .wf-foot-col { display: grid; justify-items: start; gap: .15rem; }
.wf-foot .wf-foot-col h3 { margin-bottom: .7rem; font: 600 .78rem/1.4 var(--wfc-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--wfc-muted); }
.wf-foot .wf-foot-col a { display: inline-flex; align-items: center; min-height: 2.2rem; color: #d7e0ff; text-decoration: none; font-size: .94rem; }
.wf-foot .wf-foot-legal { grid-column: 1 / -1; border-top: 1px solid var(--wfc-line); padding-top: 1.4rem; color: var(--wfc-muted); font-size: .88rem; }
.wf-foot .wf-foot-legal a { color: #d7e0ff; text-decoration: none; }
@media (max-width: 1100px) {
  .wf-foot .wf-foot-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-foot .wf-foot-brand, .wf-foot .wf-foot-legal { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .wf-head .wf-head-inner { min-height: 4.1rem; flex-wrap: wrap; gap: .5rem; padding-block: .6rem; }
  .wf-head .wf-nav { gap: .2rem 1rem; }
  .wf-head .wf-nav a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 640px) {
  .wf-head .wf-topbar-inner { align-items: flex-start; flex-direction: column; padding-block: .5rem; gap: .2rem; }
  .wf-head .wf-topbar-quote { white-space: normal; }
  .wf-foot .wf-foot-inner { grid-template-columns: 1fr; }
}

/* >>> DISENO-AYER v37 >>> */
/* ==========================================================================
   Diseño de ayer v37 (2026-11-23) — cabecera y pie con el lenguaje de v31:
   una sola barra de navegación y pie en una fila (logo, firma, enlaces).
   Solo CSS sobre las clases wf-*; el marcado no cambia.
   ========================================================================== */
.wf-head .wf-topbar { display: none; }
.wf-head { background: #081421; border-bottom: 1px solid #242e40; }
.wf-head .wf-head-inner { min-height: 4.75rem; }
.wf-head .wf-nav { gap: .4rem clamp(.9rem, 2.2vw, 2.4rem); }
.wf-head .wf-nav a { font-size: .95rem; font-weight: 550; }
.wf-head .wf-nav a[href*="inversores"] { color: #bac8dc; font-weight: 500; }
.wf-head .nav-contact { padding: .55rem .95rem; border: 1px solid #69738c; }
.wf-head .nav-contact [aria-hidden="true"] { display: none; }
.wf-head .wf-nav a:hover, .wf-head .wf-nav a[href*="inversores"]:hover { color: #56b5ff; }

.wf-foot { background: #071b2d; border-top: 1px solid #30384c; padding-block: 2.2rem 1.6rem; }
.wf-foot .wf-foot-inner, .wf-foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 2.2rem; }
.wf-foot .wf-foot-brand, .wf-foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2.2rem; flex: 1 1 100%; }
.wf-foot .wf-foot-brand .brand img, .wf-foot-brand .brand img { width: 7.5rem; }
.wf-foot .wf-foot-tagline, .wf-foot-tagline { margin: 0; color: #f5f7ff; font: 700 1.28rem/1.2 Urbanist, "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.03em; }
.wf-foot .wf-foot-stack, .wf-foot-stack { margin: 0 0 0 auto; color: #adb5c9; font-size: .875rem; letter-spacing: 0; }
.wf-foot .wf-foot-col, .wf-foot-col { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.15rem; row-gap: 0; }
.wf-foot .wf-foot-col h3, .wf-foot-col h3 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wf-foot .wf-foot-col a, .wf-foot-col a { min-height: 2.75rem; color: #d9e4f6; font-size: .875rem; }
.wf-foot .wf-foot-col a [aria-hidden="true"], .wf-foot-col a [aria-hidden="true"] { display: none; }
.wf-foot .wf-foot-col a:hover, .wf-foot-col a:hover { color: #56b5ff; text-decoration: underline; text-underline-offset: .22em; }
.wf-foot .wf-foot-col + .wf-foot-col::before, .wf-foot-col + .wf-foot-col::before { content: ""; width: 1px; height: 1rem; margin-right: 1rem; background: #30384c; }
.wf-foot .wf-foot-legal, .wf-foot-legal { flex: 1 1 100%; margin-top: 1rem; padding-top: 1.1rem; border-top: 1px solid #30384c; color: #adb5c9; font-size: .82rem; }
@media (max-width: 1100px) { .wf-foot .wf-foot-inner, .wf-foot-inner { display: flex; } }
@media (max-width: 640px) {
  .wf-foot .wf-foot-inner, .wf-foot-inner { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
  .wf-foot .wf-foot-stack, .wf-foot-stack { margin-left: 0; }
  .wf-foot .wf-foot-col + .wf-foot-col::before, .wf-foot-col + .wf-foot-col::before { display: none; }
  .wf-foot .wf-foot-col, .wf-foot-col { column-gap: 1rem; padding-top: .4rem; border-top: 1px solid #30384c; width: 100%; }
}
/* <<< DISENO-AYER v37 <<< */

/* >>> PROTO-COM v38 >>> */
/* ==========================================================================
   PROTO-COM v38 (2026-11-23) — sistema visual del prototipo aprobado por
   Comunicación (Redegal Web 2026): tokens, botones, cabecera cápsula y pie.
   Capa encima de DISENO-AYER v37; se quita borrando este bloque.
   ========================================================================== */
:root {
  --azul-redegal: #007FFF; --azul-noche: #061A2F; --azul-oceano: #1F497D;
  --ocre-arena: #EAB242; --blanco-tecnico: #F7FAFC; --blanco-interfaz: #E6EEF5;
  --azul-enlace: #0066D6; --pc-line: #D5E0EA; --pc-tx2: #3B4F63; --pc-tx3: #5A6B7E;
}
body { -webkit-font-smoothing: antialiased; }
:is(h1, h2, h3, h4):not(.hero *) { font-weight: 600; letter-spacing: -.035em; }

/* --- Cabecera: cápsula flotante con efecto cristal ------------------------ */
.wf-head { position: sticky; top: 0; z-index: 50; padding: 10px 12px 0; background: transparent; border: 0; }
.wf-head .wf-topbar { display: none; }
.wf-head .wf-head-inner {
  width: min(1320px, 100%); margin-inline: auto; min-height: 60px; padding: 0 8px 0 22px; gap: 1rem;
  border-radius: 999px; background: rgba(6, 26, 47, .62); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px);
  box-shadow: 0 10px 40px rgba(6, 26, 47, .18); transition: background .35s, box-shadow .35s;
}
.wf-head.is-solid .wf-head-inner { background: rgba(6, 26, 47, .9); box-shadow: 0 14px 44px rgba(6, 26, 47, .28); }
.wf-head .brand img { width: auto; height: 26px; }
.wf-head .wf-nav { gap: 2px; }
.wf-head .wf-nav a { position: relative; padding: 9px 14px; border-radius: 999px; color: #fff; font: 500 14px/1.2 "IBM Plex Sans", Arial, sans-serif; transition: background .2s, color .2s; }
.wf-head .wf-nav a[href*="inversores"] { color: #fff; font-weight: 500; }
.wf-head .wf-nav a:not(.nav-contact)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: #007FFF; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.wf-head .wf-nav a:not(.nav-contact):hover { background: rgba(255, 255, 255, .1); color: #fff; }
.wf-head .wf-nav a:not(.nav-contact):hover::after, .wf-head .wf-nav a[aria-current="page"]::after { transform: scaleX(1); }
.wf-head .nav-contact { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; margin-left: 10px; padding: 0 6px 0 18px !important; border: 0; border-radius: 999px; background: #0A6FE0; color: #fff !important; font-weight: 600 !important; }
.wf-head .nav-contact:hover { background: #007FFF; }
.wf-head .nav-contact [aria-hidden="true"] { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #007FFF; font-size: 14px; transition: transform .3s cubic-bezier(.2,.75,.2,1); }
.wf-head .nav-contact:hover [aria-hidden="true"] { transform: rotate(45deg); }
.wf-head .menu-toggle { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font: 600 14px "IBM Plex Sans", Arial, sans-serif; }
.wf-head .menu-toggle[aria-expanded="true"] { background: #fff; color: #061A2F; }
@media (max-width: 56rem) {
  .wf-head .wf-head-inner { flex-wrap: nowrap; min-height: 58px; padding: 0 8px 0 18px; border-radius: 30px; }
  .js .wf-head .wf-nav { position: absolute; inset: calc(100% + 6px) 12px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; border-radius: 24px; background: #fff; box-shadow: 0 18px 48px rgba(6, 26, 47, .22); }
  .js .wf-head .wf-nav[data-open] { display: flex; }
  .js .wf-head .wf-nav a { display: flex; width: 100%; align-items: center; min-height: 48px; padding: 0; border-radius: 0; border-bottom: 1px solid #E6EEF5; color: #061A2F; font-size: 17px; }
  .js .wf-head .wf-nav a::after { display: none; }
  .js .wf-head .wf-nav a:hover { background: transparent; color: #0066D6; }
  .js .wf-head .wf-nav .nav-contact { justify-content: space-between; margin: 14px 0 0; min-height: 50px; padding: 0 8px 0 20px; border-radius: 999px; border-bottom: 0; color: #fff; }
  .wf-head { position: sticky; }
}

/* --- Botones del sistema (pill) ------------------------------------------ */
.button:not(.hero *) { min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 15px/1 "IBM Plex Sans", Arial, sans-serif; gap: 10px; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.button-light:not(.hero *) { background: #0A6FE0; color: #fff; }
.button-light:not(.hero *):hover { background: #061A2F; color: #fff; }
.wf-ghost { border: 1px solid rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.wf-ghost:hover { background: #fff; color: #061A2F; border-color: #fff; }
.button:not(.hero *) span[aria-hidden="true"], .bare-link span[aria-hidden="true"] { display: inline-block; transition: transform .35s cubic-bezier(.2,.75,.2,1); }
.button:not(.hero *):hover span[aria-hidden="true"], .bare-link:hover span[aria-hidden="true"] { transform: rotate(45deg); }

/* --- Pie: Azul Noche, claim grande con guion bajo de marca ---------------- */
.wf-foot { background: #061A2F; color: #fff; border-top: 0; padding-block: clamp(64px, 8vw, 112px) 32px; }
.wf-foot .wf-foot-inner, .wf-foot-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, auto)); gap: 18px clamp(32px, 4vw, 72px); align-items: start; }
.wf-foot .wf-foot-brand, .wf-foot-brand { display: contents; }
.wf-foot .wf-foot-tagline, .wf-foot-tagline { grid-column: 1 / -1; grid-row: 1; margin: 0 0 clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid rgba(255, 255, 255, .16); color: #fff; font: 600 clamp(40px, 5.4vw, 84px)/1.02 Urbanist, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.045em; }
.wf-foot .wf-foot-tagline::after, .wf-foot-tagline::after { content: "_"; color: #007FFF; }
.wf-foot .wf-foot-brand .brand, .wf-foot-brand .brand { grid-column: 1; grid-row: 2; }
.wf-foot .wf-foot-brand .brand img, .wf-foot-brand .brand img { width: auto; height: 32px; }
.wf-foot .wf-foot-stack, .wf-foot-stack { grid-column: 1; grid-row: 3; margin: 0; color: rgba(255, 255, 255, .6); font-size: 14px; }
.wf-foot .wf-foot-col, .wf-foot-col { grid-row: 2 / span 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 0; border: 0; width: auto; }
.wf-foot .wf-foot-col + .wf-foot-col::before, .wf-foot-col + .wf-foot-col::before { display: none; }
.wf-foot .wf-foot-col h3, .wf-foot-col h3 { position: static; width: auto; height: auto; margin: 0 0 14px; clip-path: none; overflow: visible; color: #fff; font: 600 13px/1.4 "IBM Plex Sans", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.wf-foot .wf-foot-col a, .wf-foot-col a { min-height: 36px; color: rgba(255, 255, 255, .74); font-size: 15px; text-decoration: none; }
.wf-foot .wf-foot-col a:hover, .wf-foot-col a:hover { color: #fff; text-decoration: none; }
.wf-foot .wf-foot-legal, .wf-foot-legal { grid-column: 1 / -1; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .6); font-size: 13px; }
.wf-foot .wf-foot-legal a, .wf-foot-legal a { color: rgba(255, 255, 255, .85); }
@media (max-width: 1024px) {
  .wf-foot .wf-foot-inner, .wf-foot-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-foot .wf-foot-col, .wf-foot-col { grid-row: auto; }
  .wf-foot .wf-foot-stack, .wf-foot-stack { grid-column: 2; grid-row: 2; align-self: center; }
}
@media (max-width: 640px) {
  .wf-foot .wf-foot-inner, .wf-foot-inner { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .wf-foot .wf-foot-stack, .wf-foot-stack { grid-column: 1; grid-row: auto; }
  .wf-foot .wf-foot-col, .wf-foot-col { width: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (prefers-reduced-motion: reduce) { .wf-head *, .button, .button * { transition: none !important; animation: none !important; } }
/* <<< PROTO-COM v38 <<< */

/* >>> LANG-SWITCH v39 >>> */
/* LANG-SWITCH v39: selector de idioma integrado en la cápsula (WP). Sin JS queda como píldora
   flotante arriba a la derecha; con JS (lang-switch) se mueve dentro de .wf-head-inner. */
:root body > .language-nav { position: absolute; top: 18px; right: 24px; z-index: 60; padding: 0; background: none; }
:root .language-nav { display: flex; align-items: center; padding: 0; background: none; color: #fff; font: 600 13px/1 "IBM Plex Sans", Arial, sans-serif; }
:root .wf-head-inner > .language-nav { flex: none; order: 3; margin-left: 4px; }
:root .language-chooser { position: relative; z-index: 60; }
:root .language-chooser summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: #fff; letter-spacing: .06em; cursor: pointer; transition: background .2s, border-color .2s; }
:root .language-chooser summary:hover, :root .language-chooser[open] summary { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
:root .language-chooser summary::after { width: 6px; height: 6px; border-width: 0 1.5px 1.5px 0; }
:root .language-chooser :where(summary, a):focus-visible { outline: 2px solid #7cc0ff; outline-offset: 2px; }
:root .language-chooser ul, :root .language-chooser[open] ul { position: absolute; inset: calc(100% + 12px) 0 auto auto; z-index: 70; min-width: 232px; margin: 0; padding: 8px; list-style: none;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; background: rgba(6, 26, 47, .96);
  -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px); box-shadow: 0 24px 60px rgba(2, 10, 20, .45); }
:root .language-chooser li + li { margin-top: 2px; }
:root .language-chooser a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 12px; color: rgba(255, 255, 255, .88); font: 500 14px/1.2 "IBM Plex Sans", Arial, sans-serif; letter-spacing: 0; text-decoration: none; transition: background .15s, color .15s; }
:root .language-chooser a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
:root .language-chooser a[aria-current="page"] { background: rgba(0, 127, 255, .22); color: #fff; font-weight: 600; }
:root .language-chooser a[aria-current="page"]::after { content: "✓"; color: #7cc0ff; font-weight: 700; }
@media (max-width: 56rem) {
  :root body > .language-nav { top: 17px; right: 120px; }
  :root .wf-head-inner > .language-nav { order: 2; margin-left: auto; }
  .wf-head-inner > .menu-toggle { order: 4; }
  :root .language-chooser summary { padding: 0 12px; }
  :root .language-chooser ul, :root .language-chooser[open] ul { position: absolute; right: -8px; min-width: 220px; }
}
/* <<< LANG-SWITCH v39 <<< */

/* >>> PULIDO v39 >>> */
/* PULIDO v39 · cromo común (cabecera, pie, índice de caso): objetivos táctiles ≥44px. */
.wf-foot :is(nav, .wf-foot-col) a { display: inline-flex; align-items: center; min-height: 44px; }
.wf-head .wf-nav a:not(.nav-contact) { display: inline-flex; align-items: center; min-height: 44px; }
.wf-head .nav-contact { min-height: 44px; }
.wf-head .brand { display: inline-flex; align-items: center; min-height: 44px; }
.case-page .case-outline a { min-height: 44px; }
@media (max-width: 48rem) { .wf-foot :is(nav, .wf-foot-col) { gap: 0; } }
a:has(> img:only-child):not(.wf-head *) { display: inline-flex; align-items: center; min-height: 44px; }
html { scroll-padding-top: 96px; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid #0A6FE0; outline-offset: 3px; }
:where(.wf-head, .wf-foot, .case-page) :where(a, button, summary):focus-visible { outline-color: #7cc0ff; }
main :is(h1, h2, h3, p, li, dd, dt) { overflow-wrap: break-word; }
/* Fichas de producto: aire entre eyebrow, titular gigante y subtítulo. */
main p.eyebrow + h1:has(+ p.pitch) { margin-top: .2em; }
main h1 + p.pitch { margin-top: .35em; }
/* <<< PULIDO v39 <<< */
