/* =============================================================
   Markapasos · Propuesta V2
   Sistema basado en el manual de marca (Alundra Studio):
   Primarios  azul #000F9F · rosa #FF798C · gris #D9D8D6
   Secundarios amarillo #FFC255 · verde #7EBA72 · grafito #2E353E
   Tipografía: títulos Akzidenz → Inter Tight · texto Filson → Figtree · publicidad Lenteras → Caveat
   ============================================================= */
:root {
  --azul: #000F9F; --azul-2: #3945B5; --azul-3: #656EC5;
  --rosa: #FF798C; --rosa-2: #FF95A4; --rosa-3: #FFC3CB;
  --amarillo: #FFC255; --amarillo-2: #FFCF79; --amarillo-3: #FFE0A9;
  --verde: #7EBA72; --verde-2: #96C78D; --verde-3: #E2EFDE;
  --gris: #D9D8D6; --gris-2: #BFBDBA; --gris-3: #8A8781;
  --grafito: #2E353E; --texto: #4D4D4D; --papel: #F4F3F2; --blanco: #FFFFFF;
  /* Código de color por servicio (Ronda 2 del equipo): solo para identificar servicios, nunca como decoración */
  --inv: #D2A12A; --cx: #4AAE83; --mkt: #F31878; --cap: #202B72;
  --inv-3: #F6EBCB; --cx-3: #DAF0E5; --mkt-3: #FDD5E5; --cap-3: #DDDFEE;
  --sobre-inv: #202B72; --sobre-cx: #202B72; --sobre-mkt: #FFFFFF; --sobre-cap: #FFFFFF; /* texto e íconos sobre cada color */

  --titulo: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --cuerpo: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mano: "Caveat", "Segoe Script", cursive;

  --max: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.75rem);
  --nav-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { font-family: var(--cuerpo); font-size: 1.0625rem; line-height: 1.6; color: var(--texto); background: var(--blanco); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--rosa); color: var(--azul); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; top: -100px; left: 1rem; z-index: 100; padding: .6rem 1rem; border-radius: 8px; background: var(--azul); color: #fff; }
.skip:focus { top: 1rem; }

h1, h2, h3 { font-family: var(--titulo); font-style: normal; color: var(--azul); font-weight: 800; letter-spacing: -0.035em; line-height: .98; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.1; }

.eyebrow { display: flex; align-items: center; gap: .6rem; font-family: var(--titulo); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--azul); }
.sq { width: 9px; height: 9px; flex: none; background: var(--rosa); }
.flecha { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }

.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.5rem; border-radius: 999px; font-family: var(--titulo); font-weight: 700; font-size: .98rem; letter-spacing: -0.005em; text-transform: none; transition: background-color .25s, color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn:hover .flecha, .enlace:hover .i-arrow { transform: translateX(4px); }
.btn-azul { background: var(--azul); color: #fff; box-shadow: 0 14px 30px -16px rgba(0, 15, 159, .8); }
.btn-azul:hover { background: #0B1FC4; transform: translateY(-2px); }
.btn-linea { color: var(--azul); box-shadow: inset 0 0 0 2px var(--azul); }
.btn-linea:hover { background: var(--azul); color: #fff; }
.enlace { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--titulo); font-weight: 700; color: var(--azul); border-bottom: 2px solid var(--rosa); padding-bottom: 2px; }
.enlace:hover .flecha { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1rem; margin-top: 2rem; }

/* ---------- Aviso de versión ---------- */
.v2-flag { position: fixed; z-index: 60; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: .9rem; padding: .55rem .9rem .55rem .8rem; border-radius: 999px; background: var(--grafito); color: #fff; font-size: .8rem; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .6); white-space: nowrap; }
.v2-flag strong { font-family: var(--titulo); font-weight: 700; }
.v2-flag a { color: var(--amarillo); font-weight: 600; }
.v2-flag a:hover { text-decoration: underline; }
.v2-flag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 4px rgba(126, 186, 114, .25); }

/* ---------- Cabecera ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); }
@supports (backdrop-filter: blur(10px)) { .nav { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); } }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 2rem; }
.nav-logo img { width: 136px; }
.nav-in > nav { margin-left: auto; }
.nav-links { display: flex; gap: 1.8rem; font-family: var(--titulo); font-weight: 600; font-size: .95rem; color: var(--grafito); }
.nav-links a { position: relative; padding: .4rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rosa); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: .75rem 1.2rem; font-size: .9rem; }
.nav-progress { height: 3px; background: transparent; }
.nav-progress span { display: block; height: 100%; width: 100%; transform: scaleX(var(--pagina, 0)); transform-origin: left; background: linear-gradient(90deg, var(--azul), var(--rosa)); }

/* ---------- Riel de recorrido ---------- */
.rail { position: fixed; z-index: 40; left: max(12px, calc((100vw - var(--max)) / 2 - 150px)); top: 50%; transform: translateY(-50%); display: none; }
.rail ol { display: grid; gap: 1rem; position: relative; }
.rail ol::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--gris); }
.rail a { position: relative; display: flex; align-items: center; gap: .8rem; font-family: var(--titulo); font-size: .78rem; font-weight: 600; color: var(--gris-3); }
.rail i { width: 12px; height: 12px; background: var(--blanco); box-shadow: inset 0 0 0 2px var(--gris-2); transition: background-color .3s, box-shadow .3s, transform .4s var(--ease); }
.rail span { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .35s var(--ease); white-space: nowrap; }
.rail b { color: var(--azul); }
.rail a:hover span, .rail a[aria-current="step"] span { opacity: 1; transform: none; }
.rail a[aria-current="step"] { color: var(--azul); }
.rail a[aria-current="step"] i { background: var(--rosa); box-shadow: none; transform: scale(1.25); }
.rail.is-dark a { color: rgba(255, 255, 255, .7); }
.rail.is-dark b, .rail.is-dark a[aria-current="step"] { color: #fff; }
.rail.is-dark ol::before { background: rgba(255, 255, 255, .3); }

/* ---------- 01 · Hero ---------- */
.portada { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); overflow: clip; }
.portada-grid, .svc-grid, .metodo-grid, .accion-grid, .pie-grid, .sec-head { grid-template-columns: minmax(0, 1fr); }
.portada-grid { display: grid; gap: 3rem; align-items: center; }
.portada-h1 { margin-top: 1.4rem; font-size: clamp(2.9rem, 6vw, 5.4rem); line-height: .95; letter-spacing: -0.045em; max-width: 11ch; }
.hl { color: inherit; background: linear-gradient(var(--rosa), var(--rosa)) no-repeat 0 92% / var(--hl, 100%) 34%; padding-inline: .04em; }
.js .hl { --hl: 0%; transition: background-size 1.1s var(--ease) .45s; }
.is-listo .hl { --hl: 100%; }
.portada-lead { margin-top: 1.6rem; max-width: 30ch; font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.45; color: var(--grafito); }

.portada-visual { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1; }
.arco-foto {
  position: absolute; inset: 7%; overflow: hidden; background: var(--azul);
  border-radius: 50% 50% 28px 28px / 50% 50% 28px 28px;
}
.arco-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.js .arco-foto { clip-path: inset(100% 0 0 0 round 50% 50% 28px 28px); transition: clip-path 1.2s var(--ease) .1s; }
.is-listo .arco-foto { clip-path: inset(0 0 0 0 round 50% 50% 28px 28px); }
.arcos { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arco { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: .34 1; transform-origin: center; }
.arco-rosa { stroke: var(--rosa); transform: rotate(-150deg); }
.arco-azul { stroke: var(--azul-3); stroke-width: 1.5; stroke-dasharray: .22 1; transform: rotate(20deg); }
.js .arco { stroke-dashoffset: .34; transition: stroke-dashoffset 1.6s var(--ease) .5s; }
.is-listo .arco { stroke-dashoffset: 0; }
.kpi {
  position: absolute; left: -2%; bottom: 6%; display: grid; gap: .1rem; min-width: 210px;
  padding: 1rem 1.2rem 1.1rem; border-radius: 20px; background: var(--blanco); box-shadow: 0 30px 60px -28px rgba(0, 15, 159, .55);
}
.js .kpi { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) .75s, transform .9s var(--ease) .75s; }
.is-listo .kpi { opacity: 1; transform: none; }
.kpi-label { display: flex; align-items: center; gap: .45rem; font-family: var(--titulo); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-3); }
.kpi-fila { display: flex; align-items: baseline; gap: .45rem; margin-top: .2rem; }
.kpi-num { font-family: var(--titulo); font-weight: 800; font-size: 3.6rem; line-height: .9; letter-spacing: -0.05em; color: var(--azul); }
.kpi-unidad { font-family: var(--titulo); font-weight: 800; font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--azul); }
.kpi-txt { max-width: 18ch; font-size: .88rem; line-height: 1.35; color: var(--grafito); }

/* ---------- Encabezados de sección ---------- */
.sec-head { display: grid; gap: 1.2rem 3rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 { margin-top: 1rem; }
.sec-lead { max-width: 34ch; font-size: 1.15rem; line-height: 1.5; color: var(--grafito); }
.sec-head--claro .eyebrow, .sec-head--claro h2 { color: #fff; }
.sec-head--claro .sec-lead { color: rgba(255, 255, 255, .82); }

/* ---------- 02 · Servicios: dona ---------- */
.svc { padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--papel); border-radius: 48px 48px 0 0; }
.svc-grid { display: grid; gap: 1.6rem 3rem; align-items: center; }
.dona-caja { position: relative; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 1; }
.dona { width: 100%; height: 100%; overflow: visible; }
/* La dona se dibuja una sola vez cuando la sección aparece */
[data-dona-mask] { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .svc:not(.is-visto) [data-dona-mask] { stroke-dashoffset: 1; }
.js .svc [data-dona-mask] { transition: stroke-dashoffset 1.3s var(--ease) .1s; }
.gajo { cursor: pointer; outline: none; transition: transform .45s var(--ease), opacity .3s, filter .3s; }
.gajo[data-svc="inv"] { --f: var(--inv); --t: var(--sobre-inv); }
.gajo[data-svc="cx"] { --f: var(--cx); --t: var(--sobre-cx); }
.gajo[data-svc="mkt"] { --f: var(--mkt); --t: var(--sobre-mkt); }
.gajo[data-svc="cap"] { --f: var(--cap); --t: var(--sobre-cap); }
.gajo-forma { fill: var(--f); }
.gajo-txt { fill: var(--t); font-family: var(--titulo); font-weight: 800; font-size: 16.5px; letter-spacing: -0.005em; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.gajo.is-activo { transform: translate(var(--dx), var(--dy)); filter: drop-shadow(0 14px 22px rgba(0, 15, 159, .3)); }
.gajo:focus-visible .gajo-forma { stroke: var(--rosa); stroke-width: 4; }
.dona.tiene-activo .gajo:not(.is-activo) { opacity: .45; }
.dona-centro { position: absolute; inset: 0; margin: auto; width: 40%; height: 40%; display: grid; place-items: center; text-align: center; font-family: var(--titulo); font-weight: 700; font-size: clamp(.95rem, 2vw, 1.2rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--azul); pointer-events: none; }
.sw { width: 12px; height: 12px; background: var(--c); }
/* Lado derecho: una indicación breve; el panel aparece solo al elegir un área */
.svc-lado { position: relative; min-height: 0; }
.svc-pista { display: flex; align-items: center; gap: .7rem; max-width: 30ch; margin-inline: auto; font-family: var(--titulo); font-weight: 600; font-size: 1rem; line-height: 1.35; color: var(--gris-3); }
.svc-pista .i-arrow { flex: none; width: 1.3rem; height: 1.3rem; stroke: var(--rosa); transform: rotate(90deg); }
.svc-detalle { position: relative; padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: 28px; background: var(--blanco); border-top: 8px solid var(--c, var(--azul)); box-shadow: 0 30px 60px -36px rgba(0, 15, 159, .5); animation: entra .35s var(--ease); }
.svc-detalle:has(.svc-ficha[data-ficha="inv"]:not([hidden])) { --c: var(--inv); }
.svc-detalle:has(.svc-ficha[data-ficha="cx"]:not([hidden])) { --c: var(--cx); }
.svc-detalle:has(.svc-ficha[data-ficha="mkt"]:not([hidden])) { --c: var(--mkt); }
.svc-detalle:has(.svc-ficha[data-ficha="cap"]:not([hidden])) { --c: var(--cap); }
.svc-cerrar { position: absolute; top: .7rem; right: .8rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--grafito); }
.svc-cerrar:hover { background: var(--papel); }
.svc-ficha h3 { padding-right: 2rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.svc-ficha p { margin-top: .8rem; font-size: 1.06rem; color: var(--grafito); }
.svc-ficha .enlace { margin-top: 1.3rem; }
@media (min-width: 960px) {
  .svc-pista { margin-inline: 0; }
  .svc-pista .i-arrow { transform: none; }
}

/* ---------- 03 · Método: sección normal (sin fijar el scroll); la figura avanza sola una vez ---------- */
.metodo { position: relative; padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--papel); }
.metodo-grid { display: grid; gap: 2.5rem; align-items: center; }
.metodo-copy h2 { margin-top: 1rem; }
.pasos { display: grid; gap: .4rem; margin-top: 1.8rem; }
.paso-btn { width: 100%; display: grid; grid-template-columns: 2.6rem 1fr; gap: .8rem; padding: .85rem 1rem; border-radius: 16px; text-align: left; transition: background-color .3s, box-shadow .3s; }
.paso-btn:hover { background: rgba(255, 255, 255, .6); }
.paso-n { font-family: var(--titulo); font-weight: 800; font-size: 1rem; color: var(--azul-2); padding-top: .15rem; }
.paso-txt { display: grid; gap: .2rem; }
.paso-txt b { font-family: var(--titulo); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--azul); }
.paso-txt span { font-size: .96rem; line-height: 1.45; color: var(--grafito); }
.paso.is-activo .paso-btn { background: var(--blanco); box-shadow: 0 18px 40px -30px rgba(0, 15, 159, .5); }
.paso.is-activo .paso-n { color: var(--azul); text-decoration: underline; text-decoration-color: var(--rosa); text-decoration-thickness: .38em; text-underline-offset: -.14em; text-decoration-skip-ink: none; }

.lienzo { position: relative; aspect-ratio: 1.15; border-radius: 28px; background-color: var(--blanco); background-image: radial-gradient(rgba(0, 15, 159, .1) 1px, transparent 1px); background-size: 24px 24px; box-shadow: 0 40px 80px -50px rgba(0, 15, 159, .5); overflow: hidden; }
.lienzo-cap { position: absolute; left: 1.4rem; top: 1.2rem; z-index: 2; font-family: var(--titulo); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gris-3); }
.lienzo-cap b { color: var(--azul); }
.puntos { position: absolute; inset: 12% 8% 8%; }
.punto { position: absolute; left: var(--x0); top: var(--y0); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--azul); transition: left 1s var(--ease), top 1s var(--ease), background-color .6s, transform .6s var(--ease), border-radius .6s; transition-delay: var(--retraso, 0s); }
.puntos[data-step="1"] .punto { left: var(--x1); top: var(--y1); }
.puntos[data-step="2"] .punto { left: var(--x2); top: var(--y2); border-radius: 3px; }
.puntos[data-step="3"] .punto { left: var(--x3); top: var(--y3); border-radius: 3px; }
.punto.es-clave { background: var(--rosa); }
.puntos[data-step="1"] .punto.es-clave { transform: scale(2.6); }
.puntos[data-step="2"] .punto.es-clave, .puntos[data-step="3"] .punto.es-clave { transform: scale(1.8); }
.puntos[data-step="0"] .punto:nth-child(3n) { background: var(--azul-3); }
.puntos[data-step="0"] .punto:nth-child(5n) { background: var(--gris-2); }
.puntos[data-step="3"] .punto.es-punta { background: var(--rosa); }

/* ---------- 04 · Evidencia: sección normal; las cifras cuentan una vez y se quedan quietas ---------- */
.evidencia { position: relative; padding-block: clamp(4.5rem, 9vw, 7.5rem) clamp(6rem, 11vw, 9rem); background: var(--azul); }
.evidencia-contenido { position: relative; z-index: 1; }
.js .evidencia:not(.is-visto) .evidencia-contenido { opacity: 0; transform: translateY(12px); }
.evidencia-contenido { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.kpis { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.2rem 1.5rem; }
.kpis li { display: grid; gap: .7rem; color: #fff; }
.kpis strong { font-family: var(--titulo); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 4.1rem); line-height: .9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.kpis svg { width: 100%; height: 4px; overflow: visible; }
.kpis line { stroke: var(--c); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease); }
.js .evidencia:not(.is-on) .kpis line { stroke-dashoffset: 1; }
.kpis li:nth-child(2) line { transition-delay: .12s; }
.kpis li:nth-child(3) line { transition-delay: .24s; }
.kpis li:nth-child(4) line { transition-delay: .36s; }
.kpis span { font-family: var(--titulo); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }

/* ---------- Clientes ---------- */
.clientes { position: relative; z-index: 2; margin-top: -70px; padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--blanco); border-radius: 50% 50% 0 0 / 70px 70px 0 0; }
.clientes-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.marquesina { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquesina ul { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.4rem); width: max-content; }
.marquesina li { flex: none; width: clamp(130px, 13vw, 180px); }
.marquesina.en-marcha ul { animation: desfile var(--vel, 50s) linear infinite; }
.marquesina.en-marcha:hover ul { animation-play-state: paused; }

/* ---------- 05 · Acción ---------- */
.accion { position: relative; overflow: hidden; padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--azul); color: #fff; }
.accion-copy .eyebrow, .accion-copy h2 { color: #fff; }
.accion-copy > p:not(.eyebrow):not(.nota-mano) { color: rgba(255, 255, 255, .86) !important; }
.accion .nota-mano { color: #fff; }
.accion .arco-azul-fino { stroke: var(--rosa); }
.accion .form-card { color: var(--texto); }
.accion-visual { position: relative; width: min(100%, 460px); margin-inline: auto; }
.arcos-accion { position: absolute; inset: -9%; width: 118%; height: 118%; }
.arco-fijo { fill: none; }
.arco-blanco { stroke: #fff; stroke-width: 3; }
.arco-azul-fino { stroke: var(--azul); stroke-width: 1.5; }
.accion-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.accion-foto { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--azul); box-shadow: 0 0 0 10px rgba(255, 255, 255, .35); }
.accion-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.accion-copy h2 { margin-top: 1rem; font-size: clamp(2.6rem, 6vw, 5rem); }
.accion-copy > p:not(.eyebrow):not(.nota-mano) { margin-top: 1.2rem; max-width: 32ch; font-size: 1.2rem; line-height: 1.45; color: var(--grafito); }
.nota-mano { margin-top: 2rem; font-family: var(--mano); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.1; color: var(--azul); transform: rotate(-3deg); transform-origin: left; }
.eyebrow--azul .sq { background: var(--azul); }

/* ---------- Pie ---------- */
.pie { padding-block: 3rem 5.5rem; background: var(--azul); color: rgba(255, 255, 255, .8); font-size: .92rem; }
.pie-grid { display: grid; gap: 1.8rem; align-items: start; }
.pie img { width: 150px; }
.pie li + li { margin-top: .35rem; }
.pie a:hover { color: #fff; }

/* ---------- Revelado al hacer scroll ---------- */
.js [data-aparece] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-aparece].is-visible { opacity: 1; transform: none; }

@keyframes entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes desfile { to { transform: translateX(-50%); } }

/* ---------- Página de fundamentos ---------- */
.doc-hero { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.doc-hero h1 { margin-top: 1.4rem; font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -0.045em; }
.doc-lead { margin-top: 1.4rem; max-width: 52ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--grafito); }
.doc-sec { padding-block: clamp(4rem, 8vw, 6.5rem); }
.doc-sec--papel { background: var(--papel); }
.doc-sec h2 { margin-top: 1rem; }
.doc-nota { margin-top: .9rem; font-size: .92rem; color: var(--gris-3); }
.cards3 { display: grid; gap: 1.2rem; margin-top: 2.4rem; }
.card { padding: 1.6rem; border-radius: 22px; background: var(--blanco); border-top: 6px solid var(--c); box-shadow: 0 24px 50px -36px rgba(0, 15, 159, .5); }
.card-tag { font-family: var(--titulo); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-3); }
.card h3 { margin-top: .5rem; font-size: 1.15rem; }
.lista { display: grid; gap: .6rem; margin-top: 1rem; }
.lista li { display: grid; grid-template-columns: 10px 1fr; gap: .7rem; font-size: .98rem; line-height: 1.45; color: var(--grafito); }
.lista li::before { content: ""; width: 8px; height: 8px; margin-top: .5rem; background: var(--rosa); }
.hallazgo { margin-top: 1.4rem; padding: 1.4rem 1.6rem; border-radius: 22px; background: var(--papel); }
.hallazgo p:last-child { margin-top: .5rem; font-size: 1.05rem; color: var(--grafito); }
.oportunidad { margin-top: 1.4rem; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 28px; background: var(--azul); color: #fff; }
.oportunidad h3 { color: #fff; font-size: 1.6rem; }
.oportunidad ol { display: grid; gap: .9rem; margin-top: 1.2rem; counter-reset: n; }
.oportunidad li { counter-increment: n; position: relative; padding-left: 2.6rem; font-size: 1.05rem; color: rgba(255, 255, 255, .88); }
.oportunidad li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--titulo); font-weight: 800; color: var(--rosa); }
.oportunidad b { color: #fff; }
.capitulos { display: grid; gap: 1rem; margin-top: 2.4rem; }
.capitulos li { display: grid; grid-template-columns: 3.2rem 1fr; gap: .2rem 1rem; padding: 1.3rem 1.4rem; border-radius: 20px; background: var(--blanco); }
.capitulos span { grid-row: span 2; font-family: var(--titulo); font-weight: 800; font-size: 1.6rem; color: var(--rosa); }
.capitulos b { font-family: var(--titulo); font-size: 1.25rem; color: var(--azul); }
.capitulos p { font-size: .98rem; color: var(--grafito); }
.sub { margin-top: 3rem; font-size: 1.5rem; }
.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.sw-card { display: grid; gap: .15rem; padding: .8rem; border-radius: 18px; border: 1px solid var(--gris); }
.sw-card span { height: 84px; border-radius: 12px; background: var(--c); margin-bottom: .6rem; }
.sw-card b { font-family: var(--titulo); color: var(--azul); }
.sw-card code { font-size: .85rem; color: var(--grafito); }
.sw-card em { font-style: normal; font-size: .82rem; color: var(--gris-3); }
.regla { margin-top: 1.2rem; max-width: 70ch; font-size: .98rem; color: var(--grafito); }
.tipos { display: grid; gap: 1rem; margin-top: 1.2rem; }
.tipo { padding: 1.4rem; border-radius: 20px; border: 1px solid var(--gris); }
.muestra-titulo { margin-top: .6rem; font-family: var(--titulo); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -0.04em; color: var(--azul); }
.muestra-texto { margin-top: .6rem; font-size: 1.15rem; color: var(--grafito); }
.muestra-mano { margin-top: .6rem; font-family: var(--mano); font-weight: 600; font-size: 1.7rem; line-height: 1.1; color: var(--azul); }
.motivos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.motivo { padding: 1.2rem; border-radius: 20px; background: var(--papel); }
.motivo svg { width: 100%; height: 90px; margin-bottom: .8rem; }
.motivo b { font-family: var(--titulo); color: var(--azul); }
.motivo p { margin-top: .3rem; font-size: .92rem; line-height: 1.45; color: var(--grafito); }
.dos-col { display: grid; gap: 1rem 3rem; }
.tabla-wrap { margin-top: 2rem; overflow-x: auto; border-radius: 20px; background: var(--blanco); }
.tabla { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.tabla th { padding: 1rem 1.2rem; text-align: left; font-family: var(--titulo); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-3); border-bottom: 1px solid var(--gris); }
.tabla td { padding: .9rem 1.2rem; vertical-align: top; border-bottom: 1px solid var(--papel); color: var(--grafito); }
.tabla td:first-child { font-weight: 600; color: var(--azul); }
.tabla td a { color: var(--azul); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rosa); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.est { display: inline-block; padding: .25rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.est.ok { background: var(--verde-3); color: #2F6B25; }
.est.parcial { background: var(--amarillo-3); color: #7A4F00; }
.est.pend { background: var(--rosa-3); color: #8A1F33; }
.decisiones { margin-top: 2rem; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 28px; background: var(--amarillo); }
.decisiones ol { display: grid; gap: .8rem; margin-top: 1rem; counter-reset: n; }
.decisiones li { counter-increment: n; position: relative; padding-left: 2.6rem; font-size: 1.02rem; color: var(--grafito); }
.decisiones li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--titulo); font-weight: 800; color: var(--azul); }
.doc .pie { padding-bottom: 3rem; }
@media (min-width: 720px) {
  .cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tipos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .motivos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dos-col { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .capitulos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .capitulos li { grid-template-columns: 1fr; }
  .capitulos span { grid-row: auto; }
}

/* =============================================================
   Tema V2 para todo el sitio
   Las páginas interiores comparten la estructura base (base.css);
   aquí se redefine su aspecto con el manual de marca.
   ============================================================= */
:root {
  --azul-900: #000F9F; --azul-800: #000F9F;
  --fucsia: #FF798C; --fucsia-600: #000F9F;
  --c-inv: var(--inv); --c-cx: var(--cx); --c-mkt: var(--mkt); --c-cap: var(--cap);
  --tinta: #2E353E; --suave: #8A8781; --borde: #E3E2E0; --fondo-suave: #F4F3F2; --fondo-lila: #EDEEF8;
  --serif: var(--titulo); --sans: var(--cuerpo); --script: var(--mano);
  --radius: 20px; --header-h: 76px;
}

/* ---- Cabecera (menú completo) ---- */
.v2 .site-header { position: sticky; }
.v2 .nav-cta-mobile { display: none; }
@media (max-width: 959px) {
  .v2 .nav-cta { display: none; }
  .v2 .nav-cta-mobile { display: flex; justify-content: center; }
}
.v2 .brand img { width: 136px; }
.v2 .nav-list > li > a { font-family: var(--titulo); font-weight: 600; color: var(--grafito); }
.v2 .nav-list > li > a[aria-current="page"] { color: var(--azul); font-weight: 700; }
.v2 .sub-menu a { font-family: var(--titulo); font-weight: 600; }
.site-header .nav-progress { position: absolute; left: 0; right: 0; bottom: -3px; }

/* ---- Tipografía y resaltador ---- */
.v2 h1 em, .v2 h2 em, .v2 .page-sub em {
  font-family: inherit; font-style: normal; color: inherit; padding-inline: .04em;
  background: linear-gradient(var(--rosa), var(--rosa)) no-repeat 0 92% / 100% 34%;
}
.v2 .page-sub { font-family: var(--cuerpo); color: var(--grafito); }
.v2 .page-sub em { font-weight: 700; color: var(--azul); }
.v2 .kicker { gap: .6rem; font-family: var(--titulo); font-size: .78rem; letter-spacing: .18em; }
.v2 .kicker::before { width: 9px; height: 9px; border-radius: 0; background: var(--rosa); }
.v2 .kicker::after, .v2 .section-head .kicker::after, .v2 .page-hero--center .kicker::after { display: none; }
.v2 .section-head { text-align: left; margin-inline: 0; max-width: 56rem; }
.v2 .section-head .kicker { justify-content: flex-start; }

/* ---- Botones ---- */
.v2 .btn-primary { background: var(--azul); color: #fff; box-shadow: 0 14px 30px -16px rgba(0, 15, 159, .8); }
.v2 .btn-primary:hover { background: #0B1FC4; box-shadow: 0 18px 34px -16px rgba(0, 15, 159, .85); }
.v2 .btn-outline { border: 0; color: var(--azul); box-shadow: inset 0 0 0 2px var(--azul); }
.v2 .btn-outline:hover { background: var(--azul); color: #fff; }
.v2 .btn-text { font-family: var(--titulo); font-weight: 700; color: var(--azul); border-bottom-color: var(--rosa); }

/* ---- Portadas de página ---- */
.v2 .page-hero { background: var(--blanco); padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.v2 .hero-grid-bg { display: none; }
.v2 .page-hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.8rem); line-height: .96; letter-spacing: -0.045em; }
.v2 .page-hero--center { text-align: left; }
.v2 .page-hero--center .page-hero-inner { justify-items: start; }
.v2 .page-hero--center .page-intro { margin-inline: 0; }
.v2 .page-hero-media { width: min(100%, 460px); margin-inline: auto; }
.v2 .page-hero-media:not(.is-cutout) img { aspect-ratio: 1; object-fit: cover; box-shadow: none; border-radius: 50% 50% 28px 28px / 50% 50% 28px 28px; }
.v2 .page-hero-media:not(.is-cutout)::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--rosa); transform: rotate(24deg); pointer-events: none; }
.v2 .about-photo img { border-radius: 28px; box-shadow: none; }
.v2 .split img { border-radius: 28px; box-shadow: none; }
.v2 .family-card li { border-left-width: 6px; }

/* ---- Gráficas y fichas ---- */
.v2 .ficha-panel { border-radius: 28px; border-top-width: 6px; }
.v2 .ficha h3 { font-family: var(--titulo); font-style: normal; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.v2 .ficha-icon, .v2 .ficha-icon.is-light { background: color-mix(in srgb, var(--c) 28%, white); color: var(--azul); }
.v2 .form-done .ficha-icon { --c: var(--verde); }
.v2 .ficha-tag::before, .v2 .text-cols h3::before, .v2 .post-cat::before, .v2 .prose ul li::before { border-radius: 0; }
.v2 .ficha-list .i { background: var(--rosa-3); stroke: var(--azul); }
.v2 .ficha-dl dt .i { background: var(--papel); }
.v2 .chip[aria-pressed="true"] { background: var(--azul); box-shadow: 0 10px 20px -12px rgba(0, 15, 159, .8); }
.v2 .bar-fill { background: var(--c); border-radius: 18px 18px 4px 4px; }
.v2 .bar[data-ficha="f-cx"] .bar-fill, .v2 .bar[data-ficha="f-mkt"] .bar-fill, .v2 .bar[data-ficha="f-cap"] .bar-fill { color: var(--azul); }
.v2 .bar.is-active .bar-label, .v2 .bubble.is-active .bubble-label, .v2 .jnode.is-active .jnode-label, .v2 .nnode.is-active .nnode-label, .v2 .mstep.is-active .mstep-label, .v2 .mstep.is-active .mstep-num {
  color: var(--azul); text-decoration: underline; text-decoration-color: var(--rosa); text-decoration-thickness: .38em; text-underline-offset: -.14em; text-decoration-skip-ink: none;
}
.v2 .hub { font-family: var(--titulo); font-style: normal; font-weight: 700; letter-spacing: -0.02em; }
.v2 .nnode.is-active .nnode-icon { box-shadow: 0 16px 30px -12px rgba(0, 15, 159, .6); }
.v2 .mnode.is-active .mnode-dot { box-shadow: 0 0 0 8px rgba(255, 121, 140, .4); }
.v2 .pillar-num { font-family: var(--titulo); font-style: normal; font-weight: 800; color: var(--azul-3); }
.v2 .member p { color: var(--grafito); }
.v2 .partner-tag { color: var(--gris-3); }
.v2 .article-hero { background: var(--papel); }
.v2 .form-card { border-radius: 28px; }

/* ---- Cierres ---- */
.v2 .cta-band-inner { background: var(--amarillo); color: var(--grafito); }
.v2 .cta-band-inner::after { background: none; border: 3px solid #fff; right: -6%; top: -80%; width: 44%; }
.v2 .cta-band h2 { color: var(--azul); }
.v2 .cta-band h2 em { background-image: linear-gradient(#fff, #fff); }
.v2 .cta-band p { color: var(--grafito); }
.v2 .cta-final { background: var(--azul); }
.v2 .cta-final h2 em { background: none; color: var(--rosa); }

/* ---- Preguntas que respondemos (páginas de servicio) ---- */
.preguntas { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--papel); }
.preguntas-lista { display: grid; gap: 1rem; margin-top: 2.2rem; }
.preguntas-lista li { position: relative; padding: 1.4rem 1.4rem 1.4rem 4.2rem; border-radius: 20px; background: var(--blanco); font-family: var(--titulo); font-weight: 700; font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.015em; color: var(--azul); }
.preguntas-lista li::before { content: "?"; position: absolute; left: 1.3rem; top: 1.2rem; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; background: var(--rosa); color: var(--azul); font-weight: 800; }
.preguntas-lista span { display: block; margin-top: .45rem; font-family: var(--cuerpo); font-weight: 400; font-size: .95rem; letter-spacing: 0; line-height: 1.45; color: var(--grafito); }

/* ---- Servicios: diferencial (de entender a actuar) ---- */
.diferencial { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--papel); }
.diferencial-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.diferencial-txt { margin-top: 1.2rem; max-width: 44ch; font-size: 1.15rem; line-height: 1.5; color: var(--grafito); }
.flujo-areas { display: grid; gap: 0; }
.area { display: grid; gap: .2rem; padding: 1.1rem 1.3rem; border-radius: 18px; background: var(--blanco); border-left: 8px solid var(--c); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.area:hover { transform: translateX(6px); box-shadow: 0 24px 50px -36px rgba(0, 15, 159, .6); }
.area span { font-family: var(--titulo); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-3); }
.area b { font-family: var(--titulo); font-size: 1.2rem; letter-spacing: -0.02em; color: var(--azul); }
.area--origen { background: var(--azul); border-left-color: var(--rosa); }
.area--origen span { color: rgba(255, 255, 255, .75); }
.area--origen b { color: #fff; }
.flujo-conector { justify-self: start; width: 2px; height: 2rem; margin-left: 2rem; background: repeating-linear-gradient(180deg, var(--azul) 0 6px, transparent 6px 12px); }
.flujo-destinos { display: grid; gap: .7rem; padding-left: 2rem; border-left: 2px dashed var(--azul-3); margin-left: 2rem; }
@media (min-width: 960px) { .diferencial-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }
.v2 .cta-band-inner::after { right: -16%; width: 40%; }

/* ---- Home: alianzas, historias y formulario ---- */
.svc-todos { margin-top: 2.2rem; }
.respaldo { display: grid; gap: 1.4rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.respaldo-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.respaldo-lista li { display: grid; gap: .3rem; padding: .9rem 1rem 1.1rem; border-radius: 18px; border: 1px solid var(--gris); text-align: center; }
.respaldo-lista img { width: 100%; aspect-ratio: 2.4; object-fit: contain; }
.respaldo-lista span { font-size: .8rem; font-weight: 600; line-height: 1.3; color: var(--gris-3); }
.respaldo .enlace { justify-self: start; }
.historias { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--papel); }
.historias-lista { display: grid; gap: 1rem; }
.historias-lista a { display: grid; align-content: start; gap: .7rem; height: 100%; padding: 1.6rem; border-radius: 24px; background: var(--blanco); border-top: 6px solid var(--c); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.historias-lista a:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(0, 15, 159, .5); }
.historia-n { font-family: var(--titulo); font-weight: 800; font-size: 2.2rem; line-height: 1; letter-spacing: -0.04em; color: var(--azul); }
.historia-cat { display: flex; align-items: center; gap: .5rem; font-family: var(--titulo); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-3); }
.historias-lista h3 { font-size: 1.25rem; line-height: 1.15; letter-spacing: -0.02em; }
.historias-lista .enlace { justify-self: start; margin-top: .4rem; }
.accion-copy .accion-visual { width: 210px; margin: 2.4rem 0 0 1rem; }
.accion .form-card { position: relative; }
.campo-extra { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: .8rem 1rem; border-radius: 12px; background: var(--rosa-3); font-size: .9rem; color: #8A1F33; }
.form-error[hidden] { display: none; }
.form-error a { text-decoration: underline; }
form.is-enviando button { opacity: .6; }
.form-done h3 { font-size: 2rem; }
.form-done .enlace { margin-top: 1.2rem; }

/* ---- Pie de página completo ---- */
.pie-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.pie-marca .nota-mano { margin-top: 1.2rem; color: #fff; font-size: 1.35rem; transform: rotate(-2deg); }
.pie-titulo { margin-bottom: .8rem; font-family: var(--titulo); font-weight: 700; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.pie-fin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .82rem; color: rgba(255, 255, 255, .65); }
@media (min-width: 720px) {
  .preguntas-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .respaldo-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 860px) {
  .historias-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pie-cols { grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 3rem; }
}

/* Modo revisión (?qa#seccion): escenas fijas en plano para capturas */
.qa *, .qa *::before, .qa *::after { transition: none !important; animation-duration: 0s !important; animation-delay: 0s !important; }
.qa [data-reveal] { opacity: 1 !important; transform: none !important; }
.qa .bars .bar-fill { height: 58%; }
.qa .bars .bar.is-active .bar-fill { height: 100%; }
.qa .journey .route-line { stroke-dashoffset: 0 !important; }
.qa .mountain .mountain-svg { clip-path: none !important; }
.qa-plano .clientes { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 859px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .v2-flag { gap: .6rem; font-size: .72rem; }
  .v2-flag strong { display: none; }
  .paso-btn { padding: .7rem .8rem; }
  .lienzo { aspect-ratio: 1.4; }
  .kpi { left: 0; bottom: 0; min-width: 0; }
  .kpi-num { font-size: 2.8rem; }
}
@media (min-width: 720px) {
  .sec-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pie-grid { grid-template-columns: auto 1fr auto; gap: 3rem; }
}
@media (min-width: 960px) {
  .portada-grid { grid-template-columns: 1.08fr .92fr; gap: 2rem; }
  .svc-grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .metodo-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .accion-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
}
@media (min-width: 1360px) {
  .rail { display: block; }
  .rail a[aria-current="step"]:not(:hover) span { opacity: 0; }
}
@media (min-width: 1600px) {
  .rail a[aria-current="step"]:not(:hover) span { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquesina.en-marcha ul { animation-duration: 120s; }
}

/* =============================================================
   Ronda 1 del equipo y auditoría técnica (octubre 2026)
   ============================================================= */
:root {
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  /* Grises de texto con contraste suficiente (WCAG AA) sobre blanco y papel */
  --gris-3: #6F6C67; --suave: #6F6C67;
}

/* Titulares editoriales: serif limpia y contemporánea (pedido del equipo, puntos 2 y 12).
   La clase .tit-grotesca (botón de la barra de revisión) vuelve a la grotesca para comparar. */
html:not(.tit-grotesca) :is(h1, h2) { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.04; }
html:not(.tit-grotesca) .portada-h1 { font-size: clamp(3rem, 6.4vw, 5.8rem); letter-spacing: -0.03em; line-height: .98; max-width: 12ch; }
html:not(.tit-grotesca) .v2 .page-hero h1 { letter-spacing: -0.025em; line-height: 1; }
html:not(.tit-grotesca) .accion-copy h2 { letter-spacing: -0.025em; line-height: 1; }
html:not(.tit-grotesca) .doc-hero h1 { letter-spacing: -0.025em; line-height: 1; }
.v2-flag-tipo { padding: .2rem .65rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); color: #fff; font-weight: 600; }
.v2-flag-tipo b { color: var(--amarillo); }
.v2-flag-tipo:hover { background: rgba(255, 255, 255, .12); }

/* Fotografía: mismo encuadre en arco en todas las portadas y tonos naturales */
.v2 .page-hero-media.is-recorte img { object-position: 50% 50%; background: var(--rosa-3); }
.v2 .about-photo img { filter: saturate(.86) contrast(.93) brightness(1.03); }

/* Preguntas que respondemos: pregunta como subtítulo y respuesta directa */
.preguntas-lista li { font-family: var(--cuerpo); font-weight: 400; font-size: 1rem; letter-spacing: 0; color: var(--grafito); }
.preguntas-lista h3 { font-family: var(--titulo); font-size: 1.2rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--azul); }
.preguntas-lista p { margin-top: .5rem; font-size: .96rem; line-height: 1.5; color: var(--grafito); }
.lectura { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-top: 2rem; }
.lectura span { font-family: var(--titulo); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-3); }
.lectura a { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--titulo); font-weight: 700; color: var(--azul); border-bottom: 2px solid var(--rosa); padding-bottom: 2px; }
.lectura a .i-arrow { width: 1em; height: 1em; }

/* Artículos: enlace al servicio y a contacto */
.article-cta-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1rem; }
.article-cta-acciones .btn { margin-top: 0; }

/* Consentimiento y pie: enlaces a la política de privacidad y perfiles oficiales */
.check a, .form-note a { color: var(--azul); text-decoration: underline; text-underline-offset: 2px; }
.pie-redes a, .pie-fin a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
.pie-redes a:hover, .pie-fin a:hover { text-decoration-color: #fff; }

/* Partners: tarjetas limpias (logo + área + una frase); el área no se estira */
.v2 .partner .partner-tag { flex: none; }

/* Política de privacidad (borrador) */
.aviso-borrador { max-width: 44rem; margin: 0 auto; padding: 1rem 1.2rem; border-radius: 16px; background: var(--amarillo-3); color: var(--grafito); font-size: .95rem; }
.aviso-borrador b { color: var(--azul); }
.politica .prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.politica .prose ul li + li { margin-top: .3rem; }

@media (max-width: 480px) {
  .v2-flag .v2-flag-actual { display: none; }
}

/* =============================================================
   Ronda 2 del equipo (8 de octubre de 2026)
   Colores secundarios solo para servicios · movimiento que entra una vez ·
   detalle solo al interactuar · fotografía propia y natural
   ============================================================= */

/* Lo que el JavaScript oculta queda oculto aunque su componente use flex o grid */
.v2 [hidden] { display: none !important; }

/* Entradas suaves y cortas: opacidad + desplazamiento mínimo (menos aún en móvil) */
.js .v2 [data-reveal] { transform: translateY(12px); transition-duration: .7s; }
@media (max-width: 719px) { .js .v2 [data-reveal] { transform: translateY(6px); transition-duration: .5s; } }

/* Cierres en el azul de la marca (el amarillo deja de usarse como decoración) */
.v2 .cta-band-inner { background: var(--azul); color: #fff; }
.v2 .cta-band h2 { color: #fff; }
.v2 .cta-band h2 em { background-image: linear-gradient(var(--rosa), var(--rosa)); color: #fff; }
.v2 .cta-band p { color: rgba(255, 255, 255, .85); }
.v2 .cta-band .btn-primary { background: #fff; color: var(--azul); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5); }
.v2 .cta-band .btn-primary:hover { background: var(--rosa-3); }
.v2 .cta-band-inner::after { border-color: rgba(255, 255, 255, .35); }

/* La frase "Las grandes decisiones…" no se repite: si la página ya la muestra, el pie no la vuelve a poner */
.sin-nota-pie .pie-marca .nota-mano { display: none; }

/* Fotografía: las fotos nuevas ya tienen tonos naturales; sin filtros adicionales */
.v2 .about-photo img { filter: none; object-position: 50% 42%; }
.v2 .split img { object-fit: cover; }

/* Después de enviar el formulario: segunda opción para agendar */
.form-done-acciones { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1rem; margin-top: 1.4rem; font-size: .92rem; color: var(--grafito); }
.form-done-acciones .btn { gap: .5rem; }
.form-done-acciones .btn .i { width: 1.1rem; height: 1.1rem; }

/* ---------- Servicios: gráfica de barras a todo el ancho, detalle bajo interacción ---------- */
.servicios-viz { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 5.5rem); }
.barras-zona { position: relative; }
.barras-grafica { --alto-max: clamp(260px, 38vw, 470px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 3vw, 3rem); padding: clamp(1.2rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) 1.2rem; border-radius: 32px; background-color: var(--blanco); background-image: radial-gradient(rgba(0, 15, 159, .09) 1px, transparent 1px); background-size: 26px 26px; box-shadow: 0 40px 80px -60px rgba(0, 15, 159, .6); }
.barra { display: grid; grid-template-rows: var(--alto-max) auto; gap: .9rem; text-align: center; border-radius: 18px; }
.barra-col { display: flex; align-items: flex-end; border-bottom: 2px solid var(--gris); }
.barra-fill { width: 100%; height: var(--alto); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 1.1rem; border-radius: 20px 20px 4px 4px; background: var(--c); color: var(--sobre); transition: height 1s var(--ease), opacity .3s, transform .35s var(--ease), box-shadow .35s; }
.barra-fill .i { width: 34px; height: 34px; stroke: currentColor; }
.js .servicios-viz:not(.is-visto) .barra-fill { height: 4%; }
.barra:nth-child(2) .barra-fill { transition-delay: .06s, 0s, 0s, 0s; }
.barra:nth-child(3) .barra-fill { transition-delay: .12s, 0s, 0s, 0s; }
.barra:nth-child(4) .barra-fill { transition-delay: .18s, 0s, 0s, 0s; }
.barra-nombre { font-family: var(--titulo); font-weight: 700; font-size: clamp(.78rem, 1.4vw, 1.02rem); line-height: 1.25; color: var(--azul); }
.barra:hover .barra-fill, .barra.is-activa .barra-fill { transform: translateY(-6px); box-shadow: 0 24px 40px -18px var(--c); }
.barra.is-activa .barra-nombre { text-decoration: underline; text-decoration-color: var(--rosa); text-decoration-thickness: .35em; text-underline-offset: -.12em; text-decoration-skip-ink: none; }
.tiene-activa .barra:not(.is-activa) .barra-fill { opacity: .45; }
.barra:focus-visible { outline: 3px solid var(--rosa); outline-offset: 4px; }
.barras-detalle { position: relative; margin-top: 1.2rem; padding: 1.6rem 1.6rem 1.7rem; border-radius: 24px; background: var(--blanco); border-top: 8px solid var(--c, var(--azul)); box-shadow: 0 30px 60px -30px rgba(0, 15, 159, .55); animation: entra .3s var(--ease); }
.barras-detalle:has([data-ficha="inv"]:not([hidden])) { --c: var(--inv); }
.barras-detalle:has([data-ficha="cx"]:not([hidden])) { --c: var(--cx); }
.barras-detalle:has([data-ficha="mkt"]:not([hidden])) { --c: var(--mkt); }
.barras-detalle:has([data-ficha="cap"]:not([hidden])) { --c: var(--cap); }
.barras-ficha h3 { padding-right: 2rem; font-size: 1.5rem; }
.barras-ficha p { margin-top: .6rem; font-size: .98rem; line-height: 1.5; color: var(--grafito); }
.barras-ficha ul { display: grid; gap: .35rem; margin-top: .9rem; }
.barras-ficha li { position: relative; padding-left: 1.1rem; font-size: .92rem; line-height: 1.4; color: var(--grafito); }
.barras-ficha li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--c); }
.barras-ficha .btn { margin-top: 1.2rem; }
.barras-pista { margin-top: 1.1rem; text-align: center; font-family: var(--titulo); font-weight: 600; font-size: .95rem; color: var(--gris-3); }
@media (min-width: 900px) {
  .barras-detalle { position: absolute; z-index: 5; width: min(360px, 34%); margin-top: 0; }
}

/* ---------- Clientes: destacados fijos + matriz filtrable ---------- */
.destacados { padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 4.5rem); }
.destacados-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.4rem); margin-top: 1.4rem; }
.destacados-grid img { width: 100%; height: auto; }
.mapa-clientes { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--papel); }
.mapa-head { display: grid; gap: 1.4rem; align-items: end; margin-bottom: 2rem; }
.mapa-head h2 { margin-top: .9rem; }
.filtros-sector { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-sector { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px; background: var(--blanco); font-family: var(--titulo); font-weight: 700; font-size: .86rem; color: var(--azul); box-shadow: inset 0 0 0 1px var(--gris); transition: background-color .25s, color .25s; }
.chip-sector b { font-variant-numeric: tabular-nums; color: var(--gris-3); }
.chip-sector:hover { box-shadow: inset 0 0 0 2px var(--azul); }
.chip-sector[aria-pressed="true"] { background: var(--azul); color: #fff; box-shadow: none; }
.chip-sector[aria-pressed="true"] b { color: rgba(255, 255, 255, .8); }
.matriz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.matriz li { border-radius: 16px; }
.matriz li[hidden] { display: none; }
.matriz img { width: 100%; height: auto; }
@media (min-width: 640px) { .matriz { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .destacados-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .matriz { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- Nosotros: mapa de talento ---------- */
.talento-mapa { position: relative; display: grid; gap: 2rem; margin-top: 2.4rem; }
.talento-lineas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.talento-lineas line { stroke: var(--c, var(--gris-2)); stroke-width: 1.2; stroke-opacity: .45; stroke-dasharray: 3 5; transition: stroke-opacity .3s, stroke-width .3s; }
.talento-lineas line.is-activa { stroke-opacity: 1; stroke-width: 2.2; stroke-dasharray: none; }
.talento-grupo { position: relative; z-index: 1; }
.talento-area { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-family: var(--titulo); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--azul); }
.talento-area::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.talento-grupo ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem .8rem; }
.persona { display: grid; justify-items: center; gap: .55rem; width: 100%; text-align: center; border-radius: 16px; }
.persona-foto { display: block; width: min(100%, 118px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--papel); box-shadow: 0 0 0 4px var(--blanco), 0 0 0 7px var(--c); transition: transform .35s var(--ease), box-shadow .35s; }
.persona-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.persona-nombre { font-family: var(--titulo); font-weight: 700; font-size: .84rem; line-height: 1.2; color: var(--azul); }
.persona:hover .persona-foto, .persona.is-activa .persona-foto { transform: scale(1.06); box-shadow: 0 0 0 4px var(--blanco), 0 0 0 9px var(--c), 0 20px 30px -16px rgba(0, 15, 159, .5); }
.tiene-activa .persona:not(.is-activa) .persona-foto { opacity: .55; }
.persona:focus-visible { outline: 3px solid var(--rosa); outline-offset: 4px; }
.talento-medio { position: relative; z-index: 1; display: grid; gap: 1.6rem; justify-items: center; }
.talento-medio .talento-grupo { width: 100%; }
.talento-medio .talento-grupo ul { grid-template-columns: repeat(2, minmax(0, 118px)); justify-content: center; }
.talento-medio .talento-area { justify-content: center; }
.talento-centro { display: grid; place-items: center; width: 170px; aspect-ratio: 1; padding: 1rem; border-radius: 50%; background: var(--azul); color: #fff; text-align: center; box-shadow: 0 0 0 10px rgba(0, 15, 159, .1), 0 30px 50px -24px rgba(0, 15, 159, .7); }
.talento-centro span { font-family: var(--titulo); font-weight: 800; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; }
.talento-centro b { display: block; margin-top: -.6rem; font-family: var(--mano); font-weight: 600; font-size: 1.5rem; color: var(--rosa); }
.talento-lugar { width: 100%; }
.talento-pista { text-align: center; font-family: var(--titulo); font-weight: 600; font-size: .92rem; color: var(--gris-3); }
.talento-detalle { position: relative; width: 100%; max-width: 360px; margin-inline: auto; padding: 1.3rem 1.4rem 1.4rem; border-radius: 22px; background: var(--blanco); border-top: 6px solid var(--c, var(--azul)); box-shadow: 0 26px 50px -30px rgba(0, 15, 159, .55); text-align: center; animation: entra .3s var(--ease); }
.t-nombre { font-family: var(--titulo); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--azul); }
.t-cargo { margin-top: .2rem; font-family: var(--titulo); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-3); }
.t-frase { margin-top: .7rem; font-size: .96rem; line-height: 1.45; color: var(--grafito); }
@media (max-width: 899px) {
  .talento-lineas { display: none; }
  .talento-mapa { gap: 2.2rem; }
  .talento-medio { order: -1; }
  .talento-centro { width: 136px; }
  .talento-centro span { font-size: .72rem; letter-spacing: .08em; }
  .talento-centro b { font-size: 1.25rem; margin-top: -.3rem; }
  .talento-grupo + .talento-detalle, .talento-grupo ~ .talento-detalle { margin-top: -.8rem; }
}
@media (min-width: 900px) {
  .talento-mapa { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 2rem; }
  .talento-grupo--inv ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .talento-grupo--mkt ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .talento-grupo--mkt li:last-child { grid-column: 1 / -1; justify-self: center; width: 50%; }
}

/* QA: estados finales sin animación */
.qa .barra-fill { height: var(--alto) !important; }

/* =============================================================
   Auditoría 2 (octubre 2026): cookies, autores y página de error
   ============================================================= */
/* Aviso de cookies */
.cookies { position: fixed; z-index: 80; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(calc(100% - 32px), 620px); display: grid; gap: .9rem; padding: 1.1rem 1.2rem 1.2rem; border-radius: 20px; background: var(--blanco); color: var(--grafito); box-shadow: 0 30px 60px -20px rgba(0, 15, 159, .45), 0 0 0 1px var(--gris); font-size: .92rem; line-height: 1.45; animation: entra .35s var(--ease); }
.cookies b { color: var(--azul); }
.cookies a { color: var(--azul); text-decoration: underline; text-underline-offset: 2px; }
.cookies-acciones { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; }
.cookies-acciones .btn { padding: .7rem 1.2rem; font-size: .9rem; }
.pie-cookies { color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
.pie-cookies:hover { text-decoration-color: #fff; }
@media (min-width: 720px) { .cookies { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

/* Firma y recuadro del autor en los artículos */
.post-meta a { color: var(--azul); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rosa); text-underline-offset: 3px; }
.autor-caja { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 1rem; align-items: center; margin-top: 2.6rem; padding: 1.2rem 1.3rem; border-radius: 20px; background: var(--papel); }
.autor-caja img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 3px var(--blanco), 0 0 0 5px var(--rosa); }
.autor-caja p { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--grafito); }
.autor-caja .autor-caja-nombre a { font-family: var(--titulo); font-weight: 800; font-size: 1.1rem; color: var(--azul); text-decoration: none; }
.autor-caja .autor-caja-cargo { margin: .1rem 0 .4rem; font-family: var(--titulo); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-3); }

/* Página de autor */
.autor-grid { display: grid; gap: 2rem; align-items: center; }
.autor-foto { width: min(240px, 60vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px var(--blanco), 0 0 0 9px var(--rosa); }
.autor-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.autor-redes { margin-top: 1.2rem; }
.autor-lista { display: grid; gap: 1rem; margin-top: 1.8rem; }
.autor-lista a { display: grid; gap: .4rem; padding: 1.3rem 1.4rem; border-radius: 20px; background: var(--blanco); box-shadow: 0 0 0 1px var(--gris); transition: box-shadow .3s, transform .3s var(--ease); }
.autor-lista a:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--azul); }
.autor-lista b { font-family: var(--titulo); font-weight: 800; font-size: 1.2rem; line-height: 1.2; color: var(--azul); }
.autor-lista span:last-child { font-size: .95rem; color: var(--grafito); }
@media (min-width: 860px) {
  .autor-grid { grid-template-columns: auto minmax(0, 1fr); gap: 3.5rem; }
  .autor-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Enlaces de texto con ícono: el ícono va en la misma línea */
.v2 .btn-text { display: inline-flex; align-items: center; gap: .4rem; }
.v2 .btn-text .i, .v2 .btn-text .i-arrow { width: 1em; height: 1em; flex: none; }

/* Página de error 404 */
.error-404 { padding-block: clamp(4rem, 10vw, 8rem); }
.error-404 .numero { font-family: var(--titulo); font-weight: 800; font-size: clamp(4rem, 12vw, 8rem); line-height: .9; letter-spacing: -0.05em; color: var(--rosa); }
.error-404 h1 { margin-top: 1rem; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.error-404 p.page-intro { margin-top: 1rem; max-width: 46ch; }
.error-enlaces { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin-top: 2rem; }
.area--origen { border-left-color: var(--inv); }
