/* ==========================================================================
   NEXUS SYNERGY CONSULTING S.A.S. · Hoja de estilos principal
   --------------------------------------------------------------------------
   Paleta de marca ............ #000000 · #eff3f6 · #f26b32 · #37383c
   Tipografías de marca ....... Montserrat (títulos) + Poppins (texto)
   Estructura de este archivo:
     1. Variables (colores, tipografías)     6. Secciones de la página
     2. Base y utilidades                    7. Movimiento y animaciones
     3. Componentes (botones, títulos)       8. Responsive (tablet / móvil)
     4. Barra superior y encabezado          9. Preferencias de accesibilidad
     5. Efectos al pasar el cursor
   ========================================================================== */

/* 1. VARIABLES ----------------------------------------------------------- */
:root {
  --k: #000000;            /* negro de marca */
  --g: #eff3f6;            /* gris claro de marca (fondo) */
  --o: #f26b32;            /* naranja de marca */
  --d: #37383c;            /* gris oscuro de marca */
  --w: #ffffff;
  --accent: var(--o);
  --mut: #55575d;          /* texto secundario: 6,5:1 sobre --g */

  /* Naranjas para TEXTO (el naranja de marca no alcanza el contraste mínimo
     sobre fondos claros; estas variantes mantienen el tono y sí lo alcanzan) */
  --o-ink: #b8420f;        /* texto pequeño sobre fondo claro: 4,9:1 */
  --o-lg: #d9531b;         /* texto grande sobre fondo claro: 3,6:1 */
  --o-soft: #ff8a57;       /* texto pequeño sobre gris oscuro: 5,0:1 */

  --line: rgba(55, 56, 60, .16);
  --lineD: rgba(255, 255, 255, .16);
  --field-line: #8d8f95;   /* borde de campos de formulario (3,3:1 sobre blanco) */
  --err: #b3261e;
  --wa: #25d366;
  --focus: var(--o-ink);   /* color del anillo de foco (se ajusta en fondos oscuros) */

  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 80px;
  --rvx: 48px;             /* desplazamiento horizontal de las apariciones laterales */
  --font-t: 'Montserrat', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-b: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* 2. BASE Y UTILIDADES --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.5;
  color: var(--k);
  background: var(--g);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Las piezas que entran desde los lados (.rv-l / .rv-r) no deben ensanchar la página mientras se animan:
   se recortan en el borde horizontal del contenido principal (clip no crea contenedor de scroll, no rompe sticky). */
main { overflow-x: clip; }
h1, h2, h3, h4 { font-family: var(--font-t); margin: 0; letter-spacing: -0.025em; }
p { margin: 0; line-height: 1.7; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

/* Anillo de foco visible para teclado */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.top, .pil, .sec.k, .ftr, .mnav, .pc.a, .obj { --focus: var(--o-soft); }
.pc.b, .ftr-slo, .tick { --focus: var(--k); }

/* Solo para lectores de pantalla */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Enlace "Saltar al contenido" */
.skip { position: absolute; left: 16px; top: -120px; z-index: 200; background: var(--k); color: #fff; padding: 14px 22px; border-radius: 12px; font: 600 14px/1 var(--font-b); transition: top .2s ease; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.sec { padding: 120px 0; }
.sec.w { background: var(--w); }
.sec.k { background: var(--k); color: #fff; }

/* 3. COMPONENTES --------------------------------------------------------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 600 13px/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--d); }
.eyebrow::before { content: ''; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; flex: none; }
.k .eyebrow { color: #fff; }
.h2 { font-weight: 800; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.08; max-width: 18ch; }
.lead { font-size: 18px; color: var(--mut); max-width: 56ch; }
.k .lead { color: rgba(255, 255, 255, .72); }
.o { color: var(--o-lg); }

/* Botones */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 600 15px/1 var(--font-b); letter-spacing: .01em; border: 1.5px solid transparent; transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease; }
.btn svg { flex: none; transition: transform .25s ease; }
.btn-s { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.btn-o, .btn-k, .btn-l { background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%; transition: background-size .55s var(--ease), color .35s ease, border-color .35s ease, transform .25s ease; }
.btn-o { background-color: var(--accent); background-image: linear-gradient(var(--k), var(--k)); color: var(--k); }
.btn-k { background-color: var(--k); background-image: linear-gradient(var(--accent), var(--accent)); color: #fff; }
.btn-l { background-color: transparent; background-image: linear-gradient(var(--k), var(--k)); border-color: var(--k); color: var(--k); }
.btn-wa { background: var(--wa); color: var(--k); border-color: var(--wa); }
.pc.b .btn-k { background-image: linear-gradient(#fff, #fff); }
.mag { translate: var(--mx, 0px) var(--my, 0px); }
.btn.mag { transition: background-size .55s var(--ease), background-color .25s ease, color .35s ease, border-color .35s ease, transform .25s ease, translate .35s var(--ease); }

/* 4. BARRA SUPERIOR, ENCABEZADO Y MENÚ ----------------------------------- */
.top { background: var(--k); color: rgba(255, 255, 255, .8); font-size: 13px; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.top-l { display: flex; gap: 28px; flex-wrap: wrap; }
.top a, .top span { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; }
.top svg { stroke: var(--o); flex: none; }
.top a { transition: color .2s ease; }

.hdr { position: -webkit-sticky; position: sticky; top: 0; z-index: 50; background: rgba(239, 243, 246, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease, background-color .3s ease; }
.hdr.is-stuck { background: rgba(239, 243, 246, .98); box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .45); }
.hdr-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: var(--hdr-h); }
.brand { flex: none; display: block; }
.brand img { height: 46px; width: auto; transform-origin: 0 50%; transition: transform .35s var(--ease); }
.hdr.is-stuck .brand img { transform: scale(.88); }
.navlinks { display: flex; gap: clamp(16px, 1.7vw, 26px); }
.navlinks a { position: relative; font: 500 15px/1 var(--font-b); color: var(--d); padding: 8px 0; transition: color .2s ease; }
.navlinks a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s ease; }
.navlinks a[aria-current] { color: var(--k); }
.navlinks a[aria-current]::after { transform: scaleX(1); }
.hdr-cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1.5px solid var(--k); border-radius: 12px; background: transparent; color: var(--k); }
.burger .i-x { display: none; }
.burger[aria-expanded="true"] .i-x { display: block; }
.burger[aria-expanded="true"] .i-m { display: none; }
.mnav { display: flex; flex-direction: column; background: var(--k); padding: 8px 24px 24px; max-height: calc(100vh - var(--hdr-h)); max-height: calc(100dvh - var(--hdr-h)); overflow-y: auto; }
.mnav a { color: #fff; font-weight: 500; padding: 15px 0; border-bottom: 1px solid var(--lineD); min-height: 48px; }
.mnav a[aria-current] { color: var(--o-soft); }

/* 5. SECCIONES ----------------------------------------------------------- */

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 96px; }
.hero-g { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero h1 { font-weight: 800; font-size: clamp(38px, 4.5vw, 66px); line-height: 1.05; letter-spacing: -0.035em; max-width: 15ch; }
.hero .lead { margin-top: 28px; max-width: 50ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.hero-meta { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mut); }
.hero-meta b { display: block; font: 600 14px/1.4 var(--font-b); color: var(--k); transition: color .2s ease; }
.hv { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1.04; margin-left: auto; }
.hv-slab { position: absolute; right: -8%; top: 8%; width: 58%; height: 84%; background: var(--accent); transform: skewX(-14deg); border-radius: 28px; z-index: 0; }
.hv-main { position: absolute; inset: 0 6% 9% 8%; z-index: 1; border-radius: 44px 220px 44px 220px; overflow: hidden; background: var(--d); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45); }
.hv-main img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hv-sub { position: absolute; left: -2%; bottom: 0; width: 44%; aspect-ratio: 4 / 3; z-index: 2; border: 8px solid var(--g); border-radius: 30px; overflow: hidden; background: var(--d); }
.hv-sub img { width: 100%; height: 100%; object-fit: cover; }
.dm { position: absolute; border: 2px solid var(--accent); border-radius: 8px; transform: rotate(45deg); pointer-events: none; z-index: 0; }
.dm.d1 { width: 46px; height: 46px; left: 47%; top: 11%; }
.dm.d2 { width: 22px; height: 22px; left: 3%; bottom: 24%; background: var(--accent); border-radius: 5px; }
.dm.d3 { width: 96px; height: 96px; right: 3%; bottom: 7%; border-color: rgba(0, 0, 0, .14); }
.chip { position: absolute; z-index: 3; }
.chip span { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--k); font: 600 14px/1 var(--font-b); padding: 13px 18px; border-radius: 999px; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .35); white-space: nowrap; }
.chip span::before { content: ''; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; }
.chip.c1 { left: -7%; top: 13%; }
.chip.c2 { right: -4%; top: 50%; }
.chip.c3 { right: 14%; bottom: -3%; }

/* Hero · detalles y profundidad */
.hero-help { margin-top: 18px; font-size: 14px; line-height: 1.5; color: var(--mut); }
/* Marco de rombos con trazo animado (se dibuja una vez al cargar) */
.hv-frame { position: absolute; left: -15%; top: -9%; width: 130%; height: auto; aspect-ratio: 1; z-index: 0; overflow: visible; pointer-events: none; }
.hv-frame path { fill: none; stroke-linejoin: round; }
.hf-a { stroke: rgba(0, 0, 0, .2); stroke-width: 1.25; stroke-dasharray: 1; animation: draw 2.4s var(--ease) .6s both; }
.hf-b { stroke: var(--accent); stroke-width: 1.25; stroke-dasharray: 1; animation: draw 2.4s var(--ease) 1s both; }
.hf-c { display: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: .045 .955; }
/* Subrayado que se dibuja bajo la última palabra del titular */
.hero h1 .wd:last-child > span { position: relative; }
.hero h1 .wd:last-child > span::after { content: ''; position: absolute; left: .02em; right: .12em; bottom: -.11em; height: .07em; border-radius: 99px; background: var(--accent); transform-origin: 0 50%; animation: grow .9s var(--ease) 1.4s both; }
/* Profundidad con el cursor: cada capa se mueve una cantidad distinta (js/main.js escribe --px y --py) */
.hero { --px: 0; --py: 0; }
.hv-slab, .hv-main, .hv-sub, .hv-frame, .chip, .hero .dm { translate: calc(var(--px) * var(--dx, 0px)) calc(var(--py) * var(--dy, 0px)); transition: translate .8s var(--ease); }
.hv-slab { --dx: -18px; --dy: -12px; }
.hv-main { --dx: 8px; --dy: 6px; }
.hv-sub { --dx: 26px; --dy: 18px; }
.hv-frame { --dx: -10px; --dy: -8px; }
.chip.c1 { --dx: 28px; --dy: 20px; }
.chip.c2 { --dx: -22px; --dy: 16px; }
.chip.c3 { --dx: 18px; --dy: -22px; }
.hero .dm.d1 { --dx: 16px; --dy: 12px; }
.hero .dm.d2 { --dx: -20px; --dy: -14px; }
.hero .dm.d3 { --dx: 12px; --dy: -16px; }

/* Pilares */
.pil { position: relative; background: var(--k); color: #fff; clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%); padding: 84px 0 56px; margin-top: -36px; }
.pil-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.pl { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 8px 32px; border-left: 1px solid var(--lineD); transition: transform .35s ease; }
.pl:first-child { border-left: 0; padding-left: 0; }
.pl svg { stroke: var(--accent); transition: transform .45s var(--ease); }
.pl b { display: block; font: 700 15px/1.2 var(--font-t); letter-spacing: .12em; text-transform: uppercase; transition: color .3s ease; }
.pl span { display: block; margin-top: 6px; font-size: 16px; color: rgba(255, 255, 255, .7); }

/* Cifras */
.stats { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr)); gap: 40px; align-items: end; }
.stats .h2 { max-width: 14ch; }
.stat { border-top: 2px solid var(--k); padding-top: 24px; }
.num { display: block; font: 800 clamp(64px, 7vw, 104px)/1 var(--font-t); letter-spacing: -0.04em; color: var(--k); font-variant-numeric: tabular-nums lining-nums; }
.stat small { display: block; margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--mut); max-width: 22ch; min-height: 4.5em; }

/* Cinta de servicios */
.tick-w { position: relative; overflow: hidden; background: var(--g); padding: 72px 0; }
.tick { background: var(--accent); transform: rotate(-1.6deg); margin: 0 -4%; padding: 26px 0; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.mq { display: flex; overflow: hidden; }
.mt { display: flex; flex: none; width: max-content; animation: mq 52s linear infinite; }
.mt span { flex: none; display: flex; align-items: center; font: 800 clamp(34px, 4.6vw, 66px)/1.15 var(--font-t); text-transform: uppercase; letter-spacing: -0.02em; color: var(--k); padding-right: 52px; }
.mt span::after { content: ''; width: .26em; height: .26em; background: currentColor; transform: rotate(45deg); margin-left: 52px; border-radius: 3px; }
.mq.r .mt { animation-direction: reverse; animation-duration: 64s; }
.mq.r span { color: rgba(0, 0, 0, .3); }
.mq-ctl { position: absolute; right: max(20px, 2.4vw); top: 50%; z-index: 5; width: 44px; height: 44px; margin-top: -22px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--k); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); transition: transform .25s ease; }
.mq-ctl .i-play { display: none; }
.mq-ctl[aria-pressed="true"] .i-play { display: block; }
.mq-ctl[aria-pressed="true"] .i-pause { display: none; }
[data-motion="off"] .mt, [data-motion="off"] .chip span, [data-motion="off"] .wa::after, [data-motion="off"] .ftr .wm { animation-play-state: paused; }
[data-motion="off"] .hv-slab, [data-motion="off"] .hv-main, [data-motion="off"] .hv-sub, [data-motion="off"] .hv-frame, [data-motion="off"] .chip, [data-motion="off"] .hero .dm, [data-motion="off"] .mag { translate: none; }

/* Nosotros */
.nos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.nos-t p + p { margin-top: 18px; }
.nos-t .h2 { margin-bottom: 28px; }
.nos-t .lead { max-width: 52ch; }
.nos-f { position: relative; isolation: isolate; max-width: 560px; margin-left: auto; width: 100%; }
.nos-f figure { aspect-ratio: 5 / 4.4; border-radius: 200px 44px 200px 44px; overflow: hidden; background: var(--d); }
.nos-f img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.nos-f::before { content: ''; position: absolute; left: -22px; bottom: -22px; width: 46%; height: 46%; border: 2px solid var(--accent); border-radius: 44px 120px 44px 120px; z-index: -1; }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 88px; }
.mv article { border-radius: 28px; padding: 48px; transition: transform .4s var(--ease); }
.mv .m1 { background: #fff; border-top: 4px solid var(--accent); }
.mv .m2 { background: var(--d); color: #fff; }
.mv h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }
.mv .m1 h3 { color: var(--o-ink); }
.mv .m2 h3 { color: var(--o-soft); }
.mv p { font-size: 17px; line-height: 1.75; }
.mv .m1 p { color: var(--d); }
.mv .m2 p { color: rgba(255, 255, 255, .88); }

/* Cultura corporativa */
.cul-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: end; margin-bottom: 72px; }
.vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.val { position: relative; isolation: isolate; padding: 36px 36px 40px 0; border-bottom: 1px solid var(--line); }
.val:not(:nth-child(3n+1)) { padding-left: 36px; border-left: 1px solid var(--line); }
.val::before { content: ''; position: absolute; top: -1px; bottom: -1px; left: 0; right: 0; background: var(--k); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); z-index: -1; }
.val:nth-child(3n+1)::before { left: -28px; }
.val i { display: block; font: 600 13px/1 var(--font-t); font-style: normal; color: var(--o-ink); letter-spacing: .1em; margin-bottom: 22px; transition: color .3s ease; }
.val h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; transition: color .35s ease; }
.val p { color: var(--mut); font-size: 15px; line-height: 1.65; transition: color .35s ease; }
.prin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 72px; }
.prin article { background: var(--g); border-radius: 24px; padding: 36px; transition: transform .4s var(--ease), background-color .3s ease; }
.prin h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.prin h3::before { content: ''; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; flex: none; }
.prin p { color: var(--mut); font-size: 15px; line-height: 1.7; }
.obj-t { margin: 72px 0 20px; font: 600 13px/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--d); }
.obj { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; background: var(--k); color: #fff; border-radius: 28px; overflow: hidden; }
.obj li { padding: 36px 28px; border-left: 1px solid var(--lineD); transition: background-color .3s ease; }
.obj li:first-child { border-left: 0; }
.obj b { display: block; font: 700 13px/1.2 var(--font-t); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.obj span { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .85); display: block; }

/* Servicios (pestañas) */
.svc-h, .feat-h, .met-h { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 64px; }
.met-h { margin-bottom: 72px; }
.svc { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; align-items: start; }
.svc-panel { min-width: 0; }
.tabs { display: flex; flex-direction: column; position: sticky; top: 104px; }
.tab { all: unset; box-sizing: border-box; position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 4px 0; padding: 24px 0; border-top: 1px solid var(--line); cursor: pointer; color: var(--mut); transition: color .25s ease, padding .3s ease; -webkit-tap-highlight-color: transparent; }
.tab:last-child { border-bottom: 1px solid var(--line); }
.tab .n { font: 600 13px/1.9 var(--font-t); letter-spacing: .08em; }
.tab .t { font: 700 20px/1.3 var(--font-t); letter-spacing: -0.02em; transition: transform .3s ease; }
.tab .c { grid-column: 2; font-size: 13px; color: var(--mut); }
.tab::after { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s ease; }
.tab.on { color: var(--k); padding-left: 12px; }
.tab.on .n { color: var(--o-ink); }
.tab.on::after { transform: scaleX(1); }
.tab:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.pnl { animation: panelIn .55s var(--ease) both; }
.pnl:focus-visible { outline-offset: 6px; border-radius: 12px; }
.pfig { margin: 0 0 40px; aspect-ratio: 16 / 7; border-radius: 28px 28px 120px 28px; overflow: hidden; background: var(--d); }
.pfig img { width: 100%; height: 100%; object-fit: cover; animation: settle 1s var(--ease) both; }
.plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.plist li { position: relative; padding: 26px 0; border-top: 1px solid var(--line); transition: padding-left .35s var(--ease); animation: rise .6s var(--ease) both; }
.plist li:nth-child(2) { animation-delay: .06s; }
.plist li:nth-child(3) { animation-delay: .12s; }
.plist li:nth-child(4) { animation-delay: .18s; }
.plist li:nth-child(5) { animation-delay: .24s; }
.plist li::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.plist h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.015em; }
.plist p { font-size: 15px; line-height: 1.65; color: var(--mut); }
.pcta { margin-top: 40px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.pcta span { color: var(--mut); font-size: 15px; }

/* Servicios destacados */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fc { position: relative; display: flex; flex-direction: column; background: var(--g); border-radius: 28px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s ease; }
.fc::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); z-index: 2; }
.fc figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--d); }
.fc img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fc-b { display: flex; flex-direction: column; flex: 1; padding: 36px 36px 40px; }
.fc-b small { font: 600 12px/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--o-ink); margin-bottom: 16px; }
.fc-b h3 { font-size: 26px; font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.fc-b p { color: var(--mut); font-size: 15px; margin-bottom: 24px; }
.fc-b ul { margin-bottom: 32px; border-top: 1px solid var(--line); }
.fc-b li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--d); transition: padding-left .3s ease, color .3s ease; }
.fc-b li::before { content: ''; width: 7px; height: 7px; margin-top: 8px; background: var(--accent); transform: rotate(45deg); border-radius: 1.5px; flex: none; }
.fc-b .lnk { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 15px/1 var(--font-b); color: var(--k); }
.fc-b .lnk svg { stroke: var(--o-ink); transition: transform .25s ease; }

/* Metodología */
.steps-w { position: relative; padding-top: 44px; }
.steps-w::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.steps-w .line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); transform-origin: 0 50%; }
.steps-w .dot { display: none; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.st { position: relative; transition: transform .35s ease; }
.st::before { content: ''; position: absolute; left: 0; top: -51px; width: 14px; height: 14px; background: var(--accent); transform: rotate(45deg); border-radius: 3px; box-shadow: 0 0 0 6px var(--g); }
.st b { display: block; font: 800 44px/1 var(--font-t); letter-spacing: -0.04em; color: var(--k); margin-bottom: 20px; transition: color .3s ease; }
.st h3 { font-size: 19px; font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.st p { font-size: 14.5px; line-height: 1.65; color: var(--mut); }

/* Por qué elegirnos */
.sec.k { position: relative; overflow: hidden; view-timeline: --kw block; }
.sec.k .wrap { position: relative; z-index: 1; }
.dm.k1 { width: 260px; height: 260px; right: -70px; top: 70px; border-color: rgba(255, 255, 255, .09); border-radius: 28px; }
.dm.k2 { width: 110px; height: 110px; left: -50px; top: 38%; border-color: var(--accent); opacity: .55; }
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 88px; align-items: center; }
.why-f { position: relative; isolation: isolate; }
.why-f figure { aspect-ratio: 4 / 5; border-radius: 44px 200px 44px 44px; overflow: hidden; background: var(--d); }
.why-f img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.why-f::after { content: ''; position: absolute; right: -18px; bottom: -18px; width: 38%; height: 26%; background: var(--accent); border-radius: 20px; transform: skewX(-14deg); z-index: -1; }
.why .h2 { margin-bottom: 40px; }
.why-l li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; padding: 24px 0; border-top: 1px solid var(--lineD); transition: padding-left .35s var(--ease); }
.why-l li:last-child { border-bottom: 1px solid var(--lineD); }
.why-l li::after { content: ''; position: absolute; right: 8px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f26b32' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); opacity: 0; transform: translateX(-12px); transition: opacity .3s ease, transform .35s ease; }
.why-l i { font: 700 14px/1.9 var(--font-t); font-style: normal; color: var(--accent); letter-spacing: .08em; }
.why-l h3 { font-size: 20px; font-weight: 700; line-height: 1.3; transition: color .3s ease; }
.dif { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 96px; border-top: 1px solid var(--lineD); }
.dif li { padding: 28px 28px 0 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .8); transition: transform .35s ease; }
.dif b { display: block; font: 600 13px/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }

/* Franja de llamada a la acción */
.cta-band { position: relative; overflow: hidden; padding: 88px 0; background: var(--accent); color: var(--k); --focus: var(--k); view-timeline: --cb block; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.cta-band .eyebrow { color: var(--k); }
.cta-band .eyebrow::before { background: var(--k); }
.cta-band .h2 { max-width: 20ch; }
.cta-band .lead { margin-top: 20px; color: rgba(0, 0, 0, .82); }
.cta-act { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { font-size: 14px; line-height: 1.5; color: rgba(0, 0, 0, .8); }
.dm.cb1 { width: 300px; height: 300px; right: -90px; top: -120px; border-color: rgba(0, 0, 0, .14); border-radius: 36px; }
.dm.cb2 { width: 84px; height: 84px; left: 5%; bottom: -36px; border-color: rgba(0, 0, 0, .22); }

/* Plataformas */
.plat-h { margin-bottom: 64px; }
.plat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pc { position: relative; border-radius: 28px; padding: 52px; min-height: 360px; display: flex; flex-direction: column; overflow: hidden; transition: transform .45s var(--ease); }
.pc.a { background: var(--k); color: #fff; }
.pc.b { background: var(--accent); color: var(--k); }
.pc .tag { font: 600 12px/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.pc.a .tag { color: var(--accent); }
.pc.b .tag { color: var(--k); }
.pc h3 { font-size: 34px; font-weight: 800; line-height: 1.12; margin-bottom: 18px; max-width: 17ch; }
.pc p { position: relative; max-width: 42ch; margin-bottom: 36px; }
.pc.a p { color: rgba(255, 255, 255, .78); }
.pc.b p { color: rgba(0, 0, 0, .8); }
.pc .btn { position: relative; margin-top: auto; align-self: flex-start; }
.pc img.deco { position: absolute; right: -40px; bottom: -40px; width: 220px; opacity: .1; pointer-events: none; transition: transform 1s var(--ease), opacity .5s ease; }

/* Contacto */
.con { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.con .h2 { margin-bottom: 24px; max-width: 20ch; }
.cl { margin-top: 44px; border-top: 1px solid var(--line); }
.cl li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 16px; transition: padding-left .3s ease; }
.cl small { font: 600 12px/1.9 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.cl li a:not(.alt) { display: inline-block; padding: 4px 0; transition: color .2s ease; }
.cl .alt { display: inline-flex; align-items: center; min-height: 28px; margin-top: 2px; font-size: 14px; color: var(--mut); text-decoration: underline; text-underline-offset: 3px; }
.con-f { margin: 36px 0 0; aspect-ratio: 16 / 9; border-radius: 28px 120px 28px 28px; overflow: hidden; background: var(--d); }
.con-f img { width: 100%; height: 100%; object-fit: cover; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; background: #fff; border-radius: 32px; padding: 48px; box-shadow: 0 50px 80px -50px rgba(0, 0, 0, .35); }
.form h3 { grid-column: 1 / -1; font-size: 26px; font-weight: 800; }
.form .req-note { grid-column: 1 / -1; margin-top: -8px; font-size: 13px; color: var(--mut); }
.fld { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.fld.full { grid-column: 1 / -1; }
.fld label, .fld legend { padding: 0; font: 600 13px/1.3 var(--font-b); color: var(--d); transition: color .25s ease; }
.fld legend { margin-bottom: 4px; }
.fld:focus-within > label { color: var(--o-ink); }
.req { color: var(--o-ink); }
.fld input[type="text"], .fld input[type="email"], .fld input[type="tel"], .fld textarea { font: 400 16px/1.4 var(--font-b); color: var(--k); background: var(--g); border: 1.5px solid var(--field-line); border-radius: 14px; padding: 15px 18px; min-height: 52px; width: 100%; transition: border-color .2s ease, background-color .2s ease; }
.fld textarea { min-height: 132px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: #62646a; opacity: 1; }
.fld input:focus, .fld textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--k); background: #fff; }
.fld [aria-invalid="true"] { border-color: var(--err); background: #fff; }
.err { font-size: 13px; line-height: 1.45; color: var(--err); font-weight: 500; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--field-line); background: var(--g); color: var(--d); font: 500 14px/1 var(--font-b); transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease; }
.opt input:checked + span { background: var(--k); color: #fff; border-color: var(--k); }
.opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.consent { display: flex; gap: 14px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--k); cursor: pointer; }
.consent label { font: 400 14px/1.55 var(--font-b); color: var(--mut); }
.consent a { color: var(--k); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form .btn { width: 100%; }
.form-note { grid-column: 1 / -1; margin-top: -6px; font-size: 13px; line-height: 1.55; color: var(--mut); }
.form-status { grid-column: 1 / -1; border-radius: 14px; padding: 16px 20px; font-size: 14.5px; line-height: 1.6; }
.form-status:empty { height: 0; padding: 0; border: 0; margin-top: -20px; overflow: hidden; }
.form-status.is-ok { background: var(--k); color: #fff; }
.form-status.is-info { background: var(--g); color: var(--d); border: 1.5px solid var(--field-line); }
.form-status.is-err { background: #fdecea; color: #7a1a14; border: 1.5px solid var(--err); }
.form-status a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-prog { grid-column: 1 / -1; height: 4px; margin: -4px 0 0; border-radius: 99px; background: var(--line); overflow: hidden; }
.form-prog i { display: block; height: 100%; background: var(--accent); transform: scaleX(var(--done, 0)); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.btn[aria-busy="true"]::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.form-status:not(:empty) { animation: panelIn .4s var(--ease) both; }

/* Actualidad (noticias y novedades) ---------------------------------------
   Tarjetas, composición editorial de la portada, listado, lectura y estados. */
.news-h { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 56px; }
.news-h-r { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 440px; }
.news-h-r .lead { font-size: 17px; }
.lnk { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 15px/1 var(--font-b); color: var(--k); }
.lnk svg { stroke: var(--o-ink); flex: none; transition: transform .25s ease; }
.lnk-all::after { content: ''; position: absolute; left: 0; right: 28px; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.lnk-all:focus-visible::after { transform: scaleX(1); }
.nh-mount { min-height: 120px; }
.nh-load { color: var(--mut); font-size: 15px; }

.nn { margin: 0 0 32px; padding: 16px 22px; border-radius: 14px; background: #fff; border: 1.5px dashed var(--field-line); border-left: 6px solid var(--accent); font-size: 14px; line-height: 1.6; color: var(--d); }
.sec.w .nn { background: var(--g); }
.nn strong { color: var(--k); }

/* Tarjeta base */
.sec.w { --nc-bg: var(--g); }
.nc { position: relative; isolation: isolate; display: flex; flex-direction: column; background: var(--nc-bg, #fff); border-radius: 28px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s ease; }
.nc-fig { position: relative; flex: none; aspect-ratio: 16 / 11; overflow: hidden; background: var(--d); }
.nc-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.nc-ph { width: 100%; height: 100%; background: var(--d) repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, .06) 22px 23px); }
.nc-badge { position: absolute; left: 16px; top: 16px; z-index: 2; padding: 8px 12px; border-radius: 999px; background: var(--k); color: #fff; font: 600 11px/1 var(--font-b); letter-spacing: .12em; text-transform: uppercase; }
.nc-badge--inline { position: static; display: inline-block; }
.nc-body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 30px; }
.nc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 14px; font: 500 13px/1.3 var(--font-b); color: var(--mut); }
.nc-cat { font: 600 12px/1.2 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--o-ink); }
/* En la lectura la categoría es un enlace: zona activable de al menos 32 px (44 px en pantallas táctiles) */
a.nc-cat { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-decoration-color: rgba(184, 66, 15, .45); text-underline-offset: 4px; transition: text-decoration-color .25s ease; }
a.nc-cat:hover { text-decoration-color: currentColor; }
@media (pointer: coarse) { a.nc-cat { min-height: 44px; } }
.nc-title { margin: 0 0 12px; font: 800 22px/1.2 var(--font-t); letter-spacing: -0.02em; }
.nc-title a { color: inherit; padding-bottom: 2px; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .5s var(--ease); }
.nc-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 28px; }
.nc-title a:focus-visible { outline: none; }
.nc-title a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; }
.nc-ex { margin: 0 0 22px; font-size: 15px; line-height: 1.65; color: var(--mut); }
.nc-more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; font: 600 14px/1 var(--font-b); color: var(--k); }
.nc-more svg { stroke: var(--o-ink); transition: transform .25s ease; }
.nc:focus-within .nc-title a { background-size: 100% 2px; }
.nc:focus-within .nc-more svg { transform: translateX(6px); }
.nc:focus-within .nc-fig img { transform: scale(1.04); }

/* Variante oscura */
.nc--dark { --nc-bg: var(--k); --focus: var(--o-soft); color: #fff; }
.nc--dark .nc-meta, .nc--dark .nc-ex { color: rgba(255, 255, 255, .74); }
.nc--dark .nc-cat { color: var(--o-soft); }
.nc--dark .nc-more { color: #fff; }
.nc--dark .nc-more svg { stroke: var(--accent); }
.nc--dark .nc-badge { background: var(--accent); color: var(--k); }

/* Horizontal (secundarias de la portada y tarjetas anchas del listado) */
.nc--row, .nc--wide { flex-direction: row; }
.nc--row .nc-fig, .nc--wide .nc-fig { flex: 0 0 42%; aspect-ratio: auto; min-height: 240px; }
.nc--row .nc-body, .nc--wide .nc-body { justify-content: center; padding: 26px 28px; }
.nc--row .nc-title { font-size: 20px; }
.nc--row .nc-ex { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.nc--wide .nc-more { margin-top: 12px; }

/* Destacada: foto grande y panel de texto que la solapa */
.nc--feature { flex-direction: row; align-items: center; background: transparent; border-radius: 0; overflow: visible; }
.nc--feature .nc-title a::after { border-radius: 0; }
.nc--feature::before { content: ''; position: absolute; right: 3%; top: -22px; width: 34%; height: 62%; background: var(--accent); border-radius: 24px; transform: skewX(-14deg); z-index: -1; }
.nc--feature .nc-fig { flex: 0 0 60%; aspect-ratio: 16 / 12; border-radius: 44px 220px 44px 44px; }
.nc--feature .nc-body { flex: 1; align-self: center; z-index: 1; margin-left: -88px; padding: 48px 48px 44px; background: var(--nc-bg, #fff); border-radius: 28px; box-shadow: 0 40px 70px -48px rgba(0, 0, 0, .5); transition: transform .5s var(--ease); }
.nc--feature .nc-title { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; margin-bottom: 16px; }
.nc--feature .nc-ex { font-size: 16px; }
.nc--feature .nc-badge { left: 22px; top: 22px; }

/* Portada: composición */
.nh { display: grid; gap: 40px; }
.nh-rest { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; }
.nh-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 28px; }
.nh-stack:has(> :only-child) { grid-template-rows: 1fr; }
.nh-a .nc-fig { aspect-ratio: 4 / 3.3; }
.nh-a { border-radius: 28px 110px 28px 28px; }
.nh-a .nc-title a::after { border-radius: 28px 110px 28px 28px; }
.nh-solo { max-width: none; }

/* Páginas internas (Actualidad): sin animaciones continuas, porque no llevan el botón de pausa de la portada */
.still .wa::after, .still .ftr .wm { animation: none; }
.ftr-slo--static p { margin: 0; text-align: center; font: 700 14px/1.3 var(--font-t); letter-spacing: .16em; text-transform: uppercase; color: var(--k); }
.cta-band .btn-k { border-color: var(--k); }
.np-a { padding: 56px 0 120px; }
/* Página Actualidad (listado) */
.np-h { padding: 72px 0 36px; }
.np-h h1 { max-width: 14ch; font-weight: 800; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.04em; }
.np-h .lead { margin-top: 22px; }
.np-m { padding-top: 8px; padding-bottom: 120px; }
.nl-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-bottom: 36px; }
.nf { display: flex; flex-wrap: wrap; gap: 10px; }
.nf-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--field-line); background: transparent; color: var(--d); font: 500 14px/1 var(--font-b); transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease; }
.nf-chip span { min-width: 0; overflow-wrap: anywhere; text-align: left; line-height: 1.25; }
.nf-chip small { font: 500 12px/1 var(--font-b); color: var(--mut); transition: color .25s ease; }
.nf-chip[aria-pressed="true"] { background: var(--k); border-color: var(--k); color: #fff; }
.nf-chip[aria-pressed="true"] small { color: rgba(255, 255, 255, .78); }
.nl-status { margin: 0; font-size: 14px; color: var(--mut); }
.nl-results { display: grid; gap: 28px; }
.nl { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; }
.nl-item { grid-column: span 6; min-width: 0; }
.nl-item:nth-child(4n+1), .nl-item:nth-child(4n) { grid-column: span 7; }
.nl-item:nth-child(4n+2), .nl-item:nth-child(4n+3) { grid-column: span 5; }
.nl-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.nl-item > .nc { height: 100%; }
.nl-item:last-child:nth-child(odd) > .nc { flex-direction: row; }
.nl-item:last-child:nth-child(odd) > .nc .nc-fig { flex: 0 0 42%; aspect-ratio: auto; min-height: 280px; }
.nl-item:last-child:nth-child(odd) > .nc .nc-body { justify-content: center; }
.nl-more { display: flex; justify-content: center; margin-top: 44px; }
.nl-more:empty { display: none; }
.nl-results > .nc--feature { margin-bottom: 20px; }

/* Lectura de una publicación */
.crumbs { margin: 0 0 32px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13.5px; color: var(--mut); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 10px; color: var(--field-line); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--k); overflow-wrap: anywhere; }
.art { margin: 0 auto; }
.art-h { max-width: 800px; margin: 0 auto 40px; }
.art-h .nc-meta { margin-bottom: 20px; }
.art-t { margin: 0 0 20px; font-weight: 800; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -0.035em; }
.art-ex { font-size: 20px; line-height: 1.6; color: var(--d); }
.art-by { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mut); }
.art-by b { color: var(--k); font-weight: 600; }
.art-sep { margin: 0 10px; }
.art-fig { margin: 0 0 56px; aspect-ratio: 16 / 8; border-radius: 44px 200px 44px 44px; overflow: hidden; background: var(--d); }
.art-fig img { width: 100%; height: 100%; object-fit: cover; }
.art-body { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.8; color: var(--d); }
.art-body > :first-child { margin-top: 0; }
.art-body p { margin: 0 0 22px; line-height: inherit; }
.art-body h2 { margin: 52px 0 16px; font-weight: 800; font-size: 28px; line-height: 1.2; color: var(--k); }
.art-body h3 { margin: 36px 0 12px; font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--k); }
.art-body ul, .art-body ol { margin: 0 0 26px; counter-reset: li; }
.art-body li { position: relative; padding: 10px 0 10px 40px; border-top: 1px solid var(--line); }
.art-body li:last-child { border-bottom: 1px solid var(--line); }
.art-body ul li::before { content: ''; position: absolute; left: 8px; top: 21px; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); border-radius: 1.5px; }
.art-body ol li { counter-increment: li; }
.art-body ol li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 12px; font: 700 13px/1.9 var(--font-t); letter-spacing: .06em; color: var(--o-ink); }
.art-body blockquote { margin: 40px 0; padding: 6px 0 6px 28px; border-left: 4px solid var(--accent); }
.art-body blockquote p { margin: 0; font: 600 22px/1.45 var(--font-t); letter-spacing: -0.01em; color: var(--k); }
.art-body cite { display: block; margin-top: 12px; font: 500 13px/1.4 var(--font-b); font-style: normal; color: var(--mut); }
.art-cta { --focus: var(--o-soft); max-width: 720px; margin: 64px auto 0; padding: 40px; border-radius: 28px; background: var(--k); color: #fff; }
.art-cta-t { margin: 0 0 10px; font-weight: 800; font-size: 26px; line-height: 1.15; }
.art-cta p { margin: 0 0 24px; color: rgba(255, 255, 255, .78); font-size: 16px; }
.art-cta .ne-act { justify-content: flex-start; }
.rel { margin-top: 104px; }
.rel-h { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.rel-t { font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.rel-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Estados: vacío, error, no encontrado */
.ne { display: flex; flex-direction: column; align-items: center; max-width: 640px; margin: 0 auto; padding: 72px 8px; text-align: center; }
.ne-mark { margin-bottom: 28px; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; }
.ne-p1, .ne-p2 { stroke-dasharray: 1; animation: draw 1.6s var(--ease) both; }
.ne-p2 { animation-delay: .35s; stroke: var(--d); stroke-width: 2; }
.ne-t { margin: 0 0 12px; font-weight: 800; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; }
.ne-p { margin: 0 0 30px; max-width: 46ch; color: var(--mut); font-size: 16px; }
/* Textos que vienen de los datos: una palabra larguísima se parte en vez de ensanchar la página */
.nc-title, .nc-ex, .nc-cat, .art-t, .art-ex, .art-by, .art-body, .art-cta-t, .rel-t, .ne-t, .ne-p, .nn { overflow-wrap: anywhere; }
/* Mientras se cargan las publicaciones se reserva espacio para que el pie de página no "salte" al aparecer (CLS) */
[data-news][aria-busy="true"] { min-height: 100vh; min-height: 100svh; }
.nh-mount[aria-busy="true"] { min-height: 70vh; min-height: 70svh; }
.ne-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Pie de página */
.ftr { position: relative; overflow: hidden; background: var(--k); color: #fff; padding: 88px 0 0; }
.ftr .wrap { position: relative; z-index: 1; }
.ftr .wm { position: absolute; right: -140px; top: 20px; width: 560px; opacity: .06; animation: spin 90s linear infinite; pointer-events: none; }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 72px; }
.ftr-top img { height: 96px; width: auto; margin-bottom: 24px; }
.ftr-top p { color: rgba(255, 255, 255, .68); font-size: 15px; max-width: 34ch; }
.ftr h2 { font: 600 13px/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.ftr li { margin-bottom: 14px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.ftr li a { display: inline-block; padding: 2px 0; transition: color .2s ease; }
.ftr-bar { border-top: 1px solid var(--lineD); padding: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255, 255, 255, .65); }
.ftr-bar a { display: inline-flex; align-items: center; min-height: 28px; text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.ftr-slo { background: var(--accent); color: var(--k); padding: 18px 0; overflow: hidden; }
.ftr-slo .mt { animation-duration: 44s; }
.ftr-slo .mt span { font: 700 14px/1.3 var(--font-t); letter-spacing: .16em; padding-right: 40px; color: var(--k); }
.ftr-slo .mt span::after { margin-left: 40px; width: 7px; height: 7px; }

/* Botón flotante de WhatsApp */
.wa { position: fixed; right: 24px; bottom: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transition: transform .25s ease; }
.wa::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s ease-out infinite; }
.wa:focus-visible { --focus: var(--k); outline-offset: 4px; }

/* Barra de progreso de lectura */
.prog { display: none; position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 90; pointer-events: none; }
.prog.is-js { display: block; }

/* Indicador de sección (lo crea js/main.js; solo en pantallas anchas) */
.rail { position: fixed; right: 20px; top: 50%; z-index: 40; display: none; flex-direction: column; gap: 4px; transform: translateY(-50%); opacity: 0; transition: opacity .5s ease; }
.rail.is-on { opacity: 1; }
.rail a { position: relative; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
.rail i { display: block; width: 10px; height: 10px; border: 1.5px solid var(--accent); border-radius: 2px; background: transparent; transform: rotate(45deg); box-shadow: 0 0 0 3px rgba(239, 243, 246, .9); transition: background-color .3s ease, transform .35s var(--ease); }
.rail a.on i { background: var(--accent); transform: rotate(45deg) scale(1.3); }
.rail span { position: absolute; right: 36px; top: 50%; padding: 8px 12px; border-radius: 999px; background: var(--k); color: #fff; font: 600 12px/1 var(--font-b); letter-spacing: .06em; white-space: nowrap; opacity: 0; transform: translate(8px, -50%); pointer-events: none; transition: opacity .25s ease, transform .3s var(--ease); }
@media (min-width: 1360px) { .rail { display: flex; } }

/* Página legal / 404 */
.doc { padding: 72px 0 120px; }
.doc .wrap { max-width: 860px; }
.doc h1 { font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin-bottom: 20px; }
.doc h2 { font-size: 22px; font-weight: 700; margin: 48px 0 14px; }
.doc p, .doc li { color: var(--d); font-size: 16px; line-height: 1.75; }
.doc p + p { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc a:not(.btn) { color: var(--k); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.notice { margin-top: 28px; padding: 22px 26px; border-radius: 18px; background: #fff; border: 1.5px solid var(--field-line); border-left: 6px solid var(--accent); }
.notice p { font-size: 15px; }
.dl { margin-top: 20px; border-top: 1px solid var(--line); }
.dl div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.dl dt { font: 600 12px/1.9 var(--font-b); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.dl dd { margin: 0; }
.err-page { min-height: 60vh; display: flex; align-items: center; }
.err-page .code { font: 800 clamp(96px, 20vw, 200px)/1 var(--font-t); letter-spacing: -0.05em; color: var(--o-lg); }

/* 6. EFECTOS AL PASAR EL CURSOR (solo dispositivos con ratón) ------------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(4px); }
  .btn-o:hover, .btn-k:hover, .btn-l:hover { background-size: 100% 100%; transform: translateY(-2px); }
  .btn-o:hover { color: #fff; }
  .btn-k:hover { color: var(--k); }
  .btn-l:hover { color: #fff; }
  .pc.b .btn-k:hover { color: var(--k); }
  .btn-wa:hover { background: var(--k); border-color: var(--k); color: #fff; transform: translateY(-2px); }
  .toplnk:hover { color: var(--o-soft); }
  .navlinks a:hover::after { transform: scaleX(1); }
  .hm-wa:hover b { color: var(--o-ink); }
  .nos-f:hover img { transform: scale(1.04); }
  .pl:hover svg { transform: translateY(-7px) scale(1.1); }
  .pl:hover b { color: var(--accent); }
  .val:hover::before { transform: scaleY(1); }
  .val:hover h3 { color: #fff; }
  .val:hover p { color: rgba(255, 255, 255, .78); }
  .val:hover i { color: var(--accent); }
  .prin article:hover { transform: translateY(-6px); background: #e3e9ee; }
  .obj li:hover { background: #15161a; }
  .mv article:hover { transform: translateY(-6px); }
  .tab:hover { color: var(--k); }
  .tab:hover .t { transform: translateX(6px); }
  .tab.on:hover .t { transform: none; }
  .plist li:hover { padding-left: 14px; }
  .plist li:hover::before { width: 100%; }
  .fc:hover { transform: translateY(-8px); box-shadow: 0 36px 60px -36px rgba(0, 0, 0, .4); }
  .fc:hover::after { transform: scaleX(1); }
  .fc:hover img { transform: scale(1.06); }
  .fc:hover .lnk svg { transform: translateX(6px); }
  .fc-b li:hover { padding-left: 8px; color: var(--k); }
  .st:hover { transform: translateY(-6px); }
  .st:hover b { color: var(--accent); }
  .why-l li:hover { padding-left: 14px; }
  .why-l li:hover::after { opacity: 1; transform: none; }
  .why-l li:hover h3 { color: var(--accent); }
  .dif li:hover { transform: translateY(-6px); }
  .pc:hover { transform: translateY(-8px); }
  .pc:hover img.deco { transform: rotate(24deg) scale(1.15); opacity: .18; }
  .opt:hover span { border-color: var(--k); transform: translateY(-2px); }
  .cl li:hover { padding-left: 10px; }
  .cl a:hover { color: var(--o-ink); }
  .ftr li a:hover { color: var(--accent); }
  .ftr-bar a:hover { color: var(--accent); }
  .tick:hover .mt { animation-play-state: paused; }
  .wa:hover { transform: scale(1.08); }
  .mq-ctl:hover { transform: scale(1.08); }
  .nc:hover { transform: translateY(-6px); box-shadow: 0 36px 60px -36px rgba(0, 0, 0, .4); }
  .nc--feature:hover { transform: none; box-shadow: none; }
  .nc--feature:hover .nc-body { transform: translateX(-8px); }
  .nc:hover .nc-fig img { transform: scale(1.06); }
  .nc:hover .nc-more svg { transform: translateX(6px); }
  .nc:hover .nc-title a { background-size: 100% 2px; }
  .nf-chip:hover { border-color: var(--k); transform: translateY(-2px); }
  .nf-chip[aria-pressed="true"]:hover { border-color: var(--k); }
  .lnk:hover svg { transform: translateX(6px); }
  .lnk-all:hover::after { transform: scaleX(1); }
  .crumbs a:hover { color: var(--o-ink); }
  .rail a:hover span { opacity: 1; transform: translate(0, -50%); }
  .rail a:hover i { background: var(--accent); }
}
/* El teclado recibe el mismo estado visual que el ratón en los botones */
.btn-o:focus-visible, .btn-k:focus-visible, .btn-l:focus-visible { background-size: 100% 100%; }
.btn-o:focus-visible, .btn-l:focus-visible { color: #fff; }
.btn-k:focus-visible { color: var(--k); }

/* 7. MOVIMIENTO Y ANIMACIONES -------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { clip-path: inset(0 0 100% 0 round 44px); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes slabIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: skewX(-14deg) translateY(0); } to { transform: skewX(-14deg) translateY(-34px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes wordUp { from { transform: translateY(112%) rotate(4deg); } to { transform: none; } }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.75); opacity: 0; } }
@keyframes pimg { from { transform: scale(1.1) translateY(0); } to { transform: scale(1.1) translateY(46px); } }
@keyframes pA { to { transform: translateY(-80px); } }
@keyframes pB { to { transform: translateY(60px); } }
@keyframes pC { to { transform: translateY(-36px); } }
@keyframes dmA { to { transform: translateY(-150px) rotate(135deg); } }
@keyframes dmB { to { transform: translateY(110px) rotate(-45deg); } }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.2); } to { transform: scale(1); } }
@keyframes h2in { from { opacity: 0; transform: translateY(34px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-10% 0 -10% 0); } }
@keyframes dia { from { transform: rotate(-135deg) scale(.2); } to { transform: rotate(45deg) scale(1); } }
@keyframes travel { from { left: 0; } to { left: calc(100% - 18px); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes comet { to { stroke-dashoffset: -1; } }
@keyframes riseL { from { opacity: 0; transform: translateX(calc(var(--rvx) * -1)); } to { opacity: 1; transform: none; } }
@keyframes riseR { from { opacity: 0; transform: translateX(var(--rvx)); } to { opacity: 1; transform: none; } }
@keyframes riseS { from { opacity: 0; transform: translateY(36px) scale(.93); } to { opacity: 1; transform: none; } }

/* Entrada del hero (por tiempo; no depende del scroll) */
.hero-t > * { animation: rise .9s var(--ease) both; }
.hero-t > :nth-child(1) { animation-delay: .05s; }
.hero-t > :nth-child(3) { animation-delay: .5s; }
.hero-t > :nth-child(4) { animation-delay: .65s; }
.hero-t > :nth-child(5) { animation-delay: .8s; }
.hero-t > :nth-child(6) { animation-delay: .95s; }
.hero-t > h1 { animation: none; }
.hero h1 .wd { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .16em; margin: 0 -.05em -.16em; }
.hero h1 .wd > span { display: inline-block; animation: wordUp 1s var(--ease) both; animation-delay: calc(var(--i, 0) * .08s + .12s); }
.hero h1 .wd:nth-child(2) { --i: 1; }
.hero h1 .wd:nth-child(3) { --i: 2; }
.hero h1 .wd:nth-child(4) { --i: 3; }
.hero h1 .wd:nth-child(5) { --i: 4; }
.hero h1 .wd:nth-child(6) { --i: 5; }
.hv-main { animation: reveal 1.3s var(--ease) .2s both; }
.hv-sub { animation: rise 1s var(--ease) .8s both; }
.hv-slab { animation: slabIn 1.1s ease .15s both; }
.chip span { animation: bob 5.5s ease-in-out infinite, fadeIn .8s ease 1.1s both; }
.chip.c1 span { animation-delay: -1s, 1.1s; }
.chip.c2 span { animation-delay: -2.6s, 1.3s; }
.chip.c3 span { animation-delay: -4s, 1.5s; }

/* Animaciones ligadas al scroll (solo navegadores compatibles) */
@supports (animation-timeline: view()) {
  .rv { animation: rise linear backwards; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  .steps-w .line { transform: scaleX(0); animation: grow linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  .steps-w .dot { display: block; position: absolute; top: -8px; left: 0; width: 18px; height: 18px; border: 3px solid var(--accent); background: var(--g); transform: rotate(45deg); border-radius: 4px; z-index: 2; animation: travel linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  .hv-slab { animation: slabIn 1.1s ease .15s both, drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 800px; }
  .prog { display: block; animation: grow linear both; animation-timeline: scroll(root); }
  .hv-main img { transform: scale(1.1); animation: pimg linear both; animation-timeline: scroll(root); animation-range: 0 800px; }
  .chip.c1 { animation: pA linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
  .chip.c2 { animation: pB linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
  .chip.c3 { animation: pC linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
  .dm.d1 { animation: dmA linear both; animation-timeline: scroll(root); animation-range: 0 1000px; }
  .dm.d2 { animation: dmB linear both; animation-timeline: scroll(root); animation-range: 0 1000px; }
  .dm.d3 { animation: dmA linear both; animation-timeline: scroll(root); animation-range: 0 1200px; }
  .dm.k1 { animation: dmB linear both; animation-timeline: --kw; }
  .dm.k2 { animation: dmA linear both; animation-timeline: --kw; }
  .h2 { animation: h2in linear backwards; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  .nos-f figure, .why-f figure, .fc figure, .con-f { animation: wipe linear backwards; animation-timeline: view(); animation-range: entry 0% entry 65%; }
  .nos-f img, .why-f img, .fc img, .con-f img { animation: settle linear backwards; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  .eyebrow { view-timeline: --eb block; }
  .eyebrow::before { animation: dia linear backwards; animation-timeline: --eb; animation-range: entry 5% entry 90%; }
  /* Escalonado de tarjetas que entran juntas */
  .vals .val:nth-child(3n+2), .prin article:nth-child(2), .feat .fc:nth-child(2), .dif li:nth-child(2), .pil-in .pl:nth-child(2), .steps .st:nth-child(2), .stats .stat:nth-child(3) { animation-range: entry 8% entry 43%; }
  .vals .val:nth-child(3n), .prin article:nth-child(3), .feat .fc:nth-child(3), .dif li:nth-child(3), .pil-in .pl:nth-child(3), .steps .st:nth-child(3), .stats .stat:nth-child(4) { animation-range: entry 16% entry 51%; }
  .dif li:nth-child(4), .pil-in .pl:nth-child(4), .steps .st:nth-child(4) { animation-range: entry 24% entry 59%; }
  .steps .st:nth-child(5) { animation-range: entry 32% entry 67%; }
  /* Cada sección entra con un ritmo distinto: desde la izquierda, la derecha o con escala */
  .rv.rv-l { animation-name: riseL; }
  .rv.rv-r { animation-name: riseR; }
  .rv.rv-s { animation-name: riseS; animation-range: entry 0% entry 45%; }
  .hf-c { display: inline; animation: comet linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
  .dm.cb1 { animation: dmB linear both; animation-timeline: --cb; }
  .dm.cb2 { animation: dmA linear both; animation-timeline: --cb; }
}
@supports not (animation-timeline: view()) {
  /* Alternativa con IntersectionObserver (js/main.js añade la clase .js-io) */
  .js-io .rv:not(.in) { opacity: 0; transform: translateY(28px); }
  .js-io .rv.in { transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js-io .rv.rv-l:not(.in) { transform: translateX(calc(var(--rvx) * -1)); }
  .js-io .rv.rv-r:not(.in) { transform: translateX(var(--rvx)); }
  .js-io .rv.rv-s:not(.in) { transform: translateY(36px) scale(.93); }
}

/* Transición suave entre páginas del mismo sitio (navegadores compatibles; se omite si se prefiere menos movimiento) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .hdr { view-transition-name: hdr; }
}

/* 8. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 1366px) and (min-width: 1081px) {
  .hdr-in { column-gap: 16px; }
  .navlinks { gap: 16px; }
  .hdr-cta { gap: 8px; }
  .hdr-cta .btn-s { padding: 0 16px; }
}
@media (max-width: 1240px) and (min-width: 1081px) {
  .hdr-cta .btn-o { display: none; }
}
@media (max-width: 1080px) {
  .wrap { padding: 0 28px; }
  .sec { padding: 96px 0; }
  .navlinks, .hdr .hdr-cta { display: none; }
  .burger { display: inline-flex; }
  .hero-g, .nos, .why, .con, .cul-h { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hv, .nos-f { margin: 0 auto; }
  .pil-in { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .pl:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats .h2 { grid-column: 1 / -1; max-width: 22ch; }
  .svc { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tabs { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding: 4px 4px 8px; margin: 0 -4px; scroll-snap-type: x proximity; scroll-padding: 0 4px; -webkit-overflow-scrolling: touch; }
  .tab, .tab:last-child { display: flex; flex-direction: column; flex: 0 0 min(78vw, 280px); min-width: 0; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 18px; scroll-snap-align: start; }
  .tab.on { padding-left: 20px; background: var(--k); color: #fff; border-color: var(--k); --focus: var(--o-ink); }
  .tab.on .n { color: var(--o-soft); }
  .tab.on .c { color: rgba(255, 255, 255, .75); }
  .tab::after { display: none; }
  .feat { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .steps-w { padding-top: 0; }
  .steps-w::before, .steps-w .line, .steps-w .dot, .st::before { display: none; }
  .obj { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obj li { border-left: 0; border-top: 1px solid var(--lineD); }
  .obj li:nth-child(-n+2) { border-top: 0; }
  .obj li:nth-child(even) { border-left: 1px solid var(--lineD); }
  .dif { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-h, .feat-h, .met-h { flex-direction: column; align-items: flex-start; gap: 20px; }
  .news-h { flex-direction: column; align-items: flex-start; gap: 20px; }
  .nc--feature { flex-direction: column; align-items: stretch; }
  .nc--feature .nc-fig { flex: none; aspect-ratio: 16 / 11; border-radius: 36px 120px 36px 36px; }
  .nc--feature .nc-body { margin: -64px 20px 0; padding: 32px 28px 30px; }
  .nc--feature::before { right: 8%; top: -16px; width: 44%; height: 40%; }
  .nh-rest { grid-template-columns: minmax(0, 1fr); }
  .nl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nl-item, .nl-item:nth-child(n) { grid-column: span 1; }
  .nl-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .nc--wide { flex-direction: column; }
  .nc--wide .nc-fig { flex: none; aspect-ratio: 16 / 11; min-height: 0; }
  .rel-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel-g > :nth-child(3) { display: none; }
  .cta-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .art-fig { border-radius: 36px 120px 36px 36px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 72px 0; }
  .top-in { justify-content: center; min-height: 0; padding: 6px 0; }
  .top-l { gap: 0 18px; justify-content: center; }
  .top-r { display: none; }
  .hero { padding: 40px 0 64px; }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .hero-meta { gap: 20px; }
  .hv-main { border-radius: 32px 120px 32px 120px; }
  .pil { padding: 72px 0 40px; }
  .pil-in { grid-template-columns: minmax(0, 1fr); }
  .pl, .pl:nth-child(3) { border-left: 0; padding: 20px 0; border-top: 1px solid var(--lineD); }
  .pl:first-child { border-top: 0; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .stat small { min-height: 0; }
  .mv, .prin, .plat { grid-template-columns: minmax(0, 1fr); }
  .mv article, .pc, .form { padding: 32px 24px; }
  .pc .btn { align-self: stretch; white-space: normal; text-align: center; min-height: 52px; padding: 14px 20px; line-height: 1.25; }
  .vals { grid-template-columns: minmax(0, 1fr); }
  .val, .val:not(:nth-child(3n+1)) { padding: 28px 0; border-left: 0; }
  .val::before, .val:nth-child(3n+1)::before { left: -20px; right: -20px; }
  .plist { grid-template-columns: minmax(0, 1fr); }
  .pfig { aspect-ratio: 16 / 10; border-radius: 24px 24px 72px 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .obj { grid-template-columns: minmax(0, 1fr); }
  .obj li, .obj li:nth-child(even) { border-left: 0; border-top: 1px solid var(--lineD); }
  .obj li:first-child { border-top: 0; }
  .dif { grid-template-columns: minmax(0, 1fr); }
  .cl li { grid-template-columns: 1fr; gap: 2px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .ftr-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ftr li { margin-bottom: 2px; }
  .ftr li a { padding: 9px 0; }
  .nos-f figure { border-radius: 120px 32px 120px 32px; }
  .chip, .dm.d1, .dm.d3 { display: none; }
  .mt span { padding-right: 32px; }
  .mt span::after { margin-left: 32px; }
  .ftr .wm { width: 380px; right: -120px; }
  .dl div { grid-template-columns: 1fr; gap: 2px; }
  :root { --rvx: 22px; }
  .np-h { padding: 40px 0 28px; }
  .np-m { padding-bottom: 80px; }
  .nc-body { padding: 24px 22px 26px; }
  .nc--row { flex-direction: column; }
  .nc--row .nc-fig { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .nc--feature .nc-body { margin: -48px 12px 0; padding: 26px 22px 26px; }
  .nc--feature .nc-fig { border-radius: 28px 80px 28px 28px; }
  .nl { grid-template-columns: minmax(0, 1fr); }
  .nl-item, .nl-item:nth-child(n), .nl-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .nl-item:last-child:nth-child(odd) > .nc { flex-direction: column; }
  .nl-item:last-child:nth-child(odd) > .nc .nc-fig { flex: none; aspect-ratio: 16 / 11; min-height: 0; }
  .nf { gap: 8px; }
  .rel-g { grid-template-columns: minmax(0, 1fr); }
  .rel-g > :nth-child(3) { display: none; }
  .art-fig { aspect-ratio: 16 / 11; margin-bottom: 36px; border-radius: 28px 80px 28px 28px; }
  .art-body { font-size: 17px; }
  .art-cta { padding: 28px 22px; }
  .cta-band { padding: 64px 0; }
  .hv-frame { display: none; }
  .ne { padding: 48px 4px; }
}

/* 9. PREFERENCIAS DE ACCESIBILIDAD --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mq-ctl, .prog { display: none !important; }
  .js-io .rv:not(.in) { opacity: 1; transform: none; }
  .steps-w .line { transform: none; }
  .steps-w .dot { display: none; }
  .hf-c { display: none !important; }
}
@media (forced-colors: active) {
  .btn, .opt span, .tab { border: 1.5px solid ButtonText; }
  .hv-slab, .dm, .tick { forced-color-adjust: none; }
  .nc { border: 1px solid CanvasText; }
  .nf-chip, .nc-badge { border: 1.5px solid ButtonText; }
  .hv-frame path, .ne-mark path { forced-color-adjust: none; }
}
