/* BSL · bsl-ia.com — revisión Claude «modelo Fardo» (2026-10-06)
   Concepto: una idea por pantalla. Bloques cortos, interacción en vez de párrafos.
   Identidad: manual de BSL (DM Sans; azul negro, falso blanco, naranja ladrillo, durazno).
   Diseño de una sola apariencia, clara, por decisión de marca (no sigue el modo oscuro). */

@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-italic.woff2") format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --navh: 70px;                 /* menú flotante sin la franja */
  /* Marca */
  --navy: #151628;
  --cream: #FCF8F2;
  --naranja: #E5622B;
  --durazno: #EEC397;
  --blanco: #FFFFFF;
  /* Derivados */
  --wash: #F7E6D3;              /* durazno lavado sobre falso blanco */
  --muted: #6E6E78;             /* texto secundario sobre claro (4,7:1) */
  --muted-dark: #9A9CA8;        /* texto secundario sobre azul negro */
  --soft-dark: #E4DFD6;         /* texto corrido sobre azul negro */
  --line: rgba(21, 22, 40, 0.10);
  --line-dark: #34354A;
  --glass: rgba(252, 248, 242, 0.80);
  --grad: linear-gradient(135deg, var(--durazno) 0%, var(--naranja) 100%);
  --shadow: 0 1px 2px rgba(21, 22, 40, 0.05), 0 18px 40px -18px rgba(21, 22, 40, 0.28);
  /* Tipografía: DM Sans en toda la marca; el contraste sale del peso y de la itálica */
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display: clamp(2.7rem, 6.6vw, 6rem);
  --fs-h1: clamp(2.3rem, 5vw, 4.3rem);
  --fs-h2: clamp(1.95rem, 4vw, 3.35rem);
  --fs-h3: clamp(1.12rem, 1.5vw, 1.32rem);
  --fs-lead: clamp(1.06rem, 1.35vw, 1.26rem);
  --fs-small: 0.9375rem;
  --fs-label: 0.72rem;
  /* Espacio */
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 128px);
  --hdr: 100px;                 /* franja + menú flotante */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--font); font-size: 1rem; line-height: 1.55; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
p, h1, h2, h3, h4, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 900; line-height: 1.02; letter-spacing: -0.028em; text-wrap: balance; }
h3, h4 { font-weight: 800; letter-spacing: -0.012em; line-height: 1.18; }
button { font: inherit; color: inherit; }
::selection { background: var(--durazno); color: var(--navy); }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 8px; }
.on-dark :focus-visible { outline-color: var(--durazno); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.ico { width: 16px; height: 16px; flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: clamp(56px, 7vw, 96px); }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--blanco); }
.bg-wash { background: var(--wash); }
.bg-navy { background: var(--navy); color: var(--cream); }
.bg-navy p, .bg-navy li { color: var(--soft-dark); }

/* ---------- Tipografía de componentes ---------- */
.accent { font-style: italic; font-weight: 300; color: var(--naranja); letter-spacing: -0.02em; }
.bg-navy .accent { color: var(--durazno); }
.h2 { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 54ch; font-weight: 400; text-wrap: pretty; }
.muted { color: var(--muted); }
.bg-navy .muted { color: var(--muted-dark); }
.label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.pill-label { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: var(--pill); background: var(--blanco); border: 1px solid var(--line); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.pill-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--naranja); box-shadow: 0 0 0 4px rgba(229, 98, 43, 0.16); }
.head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 820px; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: end; gap: 18px clamp(32px, 5vw, 72px); }
.head--split > :not(.lead) { grid-column: 1; }
.head--split > .lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; }

/* Serie de secciones (píldora + puntos): indica la posición en Soluciones · Criterio · Método */
.series { display: inline-flex; align-items: center; gap: 6px; }
.series span { height: 30px; min-width: 30px; border-radius: var(--pill); background: var(--grad); opacity: 0.85; }
.series .is-on { display: inline-flex; align-items: center; padding-inline: 18px; color: var(--navy); font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; opacity: 1; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 22px; border-radius: 14px; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn .ico { width: 16px; height: 16px; flex: none; transition: transform .2s ease; }
.btn:hover .ico { transform: translate(2px, -2px); }
.btn-primary { background: var(--naranja); color: var(--navy); }
.btn-primary:hover { background: var(--navy); color: var(--cream); }
.btn-outline { border-color: var(--naranja); color: var(--navy); background: rgba(255, 255, 255, 0.6); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.btn-dark { background: var(--navy); color: var(--cream); }
.btn-dark:hover { background: var(--cream); color: var(--navy); }
.bg-navy .btn-primary:hover { background: var(--durazno); color: var(--navy); }
.bg-navy .btn-outline { background: transparent; color: var(--cream); border-color: var(--durazno); }
.bg-navy .btn-outline:hover { background: var(--durazno); color: var(--navy); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; border-radius: 12px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--naranja); padding-bottom: 3px; line-height: 1.3; }
.bg-navy .link { border-bottom-color: var(--durazno); color: var(--cream); }
.link .ico { width: 15px; height: 15px; transition: transform .2s ease; }
.link:hover .ico { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* ---------- Encabezado: franja en movimiento + menú flotante ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; pointer-events: none; }
.band, .nav-pill { pointer-events: auto; }
.band { height: 30px; overflow: hidden; background: var(--grad); color: var(--navy); display: flex; align-items: center; }
.band-track { display: flex; align-items: center; width: max-content; white-space: nowrap; animation: slide 60s linear infinite; }
.band-seg { display: flex; align-items: center; gap: 22px; padding-right: 22px; }
.band-track span { font-size: 0.72rem; font-weight: 700; font-style: italic; letter-spacing: 0.12em; text-transform: uppercase; }
.band-track svg { width: 8px; height: 8px; flex: none; }
.band:hover .band-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-25%); } }
.navbar { display: flex; justify-content: center; padding: 12px var(--gutter) 0; }
.nav-pill { position: relative; display: flex; align-items: center; gap: 6px; width: 100%; max-width: 980px; min-height: 58px; padding: 7px 8px 7px 18px; border-radius: var(--pill); background: rgba(252, 248, 242, 0.86); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); border: 1px solid rgba(21, 22, 40, 0.09); box-shadow: 0 10px 30px -18px rgba(21, 22, 40, 0.45); }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link, .nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--pill); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-drop-btn:hover, .nav-drop-btn[aria-expanded="true"] { background: rgba(21, 22, 40, 0.06); }
.nav-link[aria-current="page"], .nav-link.is-parent, .nav-drop-btn.is-parent { color: var(--naranja); }
.nav-drop-btn svg { width: 10px; height: 10px; transition: transform .2s ease; }
.nav-drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta { margin-left: 6px; }
.drop { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(720px, calc(100vw - 32px)); padding: 10px; border-radius: var(--r-lg); background: var(--blanco); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.drop a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: var(--r-md); text-decoration: none; }
.drop a:hover, .drop a:focus-visible { background: var(--cream); }
.drop .thumb { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; }
.drop .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drop strong { display: block; font-size: 0.98rem; }
.drop span { display: block; font-size: 0.86rem; color: var(--muted); line-height: 1.35; }
.drop-all .ico { color: var(--naranja); }
.drop-all { grid-column: 1 / -1; display: flex !important; justify-content: space-between; align-items: center; font-weight: 700; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-md) var(--r-md) !important; margin-top: 4px; }
.menu-btn { display: none; }
.cta-mobile { display: none; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--navh)); padding-top: calc(var(--navh) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(40px, 5vw, 72px); background:
  radial-gradient(48% 42% at 88% 6%, rgba(238, 195, 151, 0.62), rgba(238, 195, 151, 0) 72%),
  radial-gradient(34% 30% at 4% 70%, rgba(229, 98, 43, 0.10), rgba(229, 98, 43, 0) 72%),
  var(--cream); }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 24px; justify-items: start; }
.hero h1 { font-size: var(--fs-display); line-height: 0.96; letter-spacing: -0.035em; max-width: 12.5ch; }
.hero h1 .line { display: block; }
.typed { font-style: italic; font-weight: 300; color: var(--naranja); letter-spacing: -0.03em; padding-right: 0.06em; }
.caret { display: inline-block; width: 0.06em; height: 0.82em; margin-left: 0.04em; background: var(--naranja); vertical-align: -0.04em; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero .sub { font-size: var(--fs-lead); max-width: 40ch; line-height: 1.45; }
.symbol-deco { position: absolute; right: clamp(-120px, -4vw, -20px); top: 50%; transform: translateY(-50%) rotate(0deg); height: 112%; width: auto; aspect-ratio: 360 / 540; z-index: 0; pointer-events: none; opacity: 0.95; }

/* Tablero de ejemplo (escala como imagen con unidades del contenedor) */

/* ---------- Clientes: tira en movimiento + tarjeta de promesa ---------- */
.clients { position: relative; }
.logos { background: var(--navy); padding-block: 26px 40px; overflow: hidden; }
.logos-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--durazno); margin-bottom: 18px; }
.logos-head .label { color: var(--durazno); }
.marquee { 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); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: slide 44s linear infinite; }
.marquee-list { --mg: clamp(40px, 6vw, 84px); display: flex; align-items: center; gap: var(--mg); padding-right: var(--mg); }
.marquee:hover .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
.client { display: inline-flex; align-items: center; height: 48px; color: var(--cream); white-space: nowrap; }
.client .wordmark { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 800; letter-spacing: -0.01em; opacity: 0.92; }
.client img { height: var(--h, 40px); width: auto; opacity: 0.92; }
.pause-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid rgba(238, 195, 151, 0.4); color: var(--durazno); border-radius: var(--pill); padding: 5px 12px; font-size: 0.75rem; font-weight: 700; cursor: pointer; }
.pause-btn:hover { background: rgba(238, 195, 151, 0.12); }

/* ---------- Una idea por pantalla (los cinco problemas) ---------- */
.story { position: relative; }
.story-title { text-align: center; font-size: var(--fs-h2); padding-inline: var(--gutter); }
.story-stage { position: relative; overflow: hidden; }
.art { position: absolute; inset: 0; transition: opacity .8s ease; }
.art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--cream) 0%, rgba(252, 248, 242, 0) 14%, rgba(252, 248, 242, 0) 86%, var(--cream) 100%); }
.art-0 { background: var(--cream); }
.art-0::before, .art-1::before, .art-2::before, .art-3::before, .art-4::before, .art-5::before { content: ""; position: absolute; inset: -10%; filter: blur(34px); }
.art-0::before { background: repeating-linear-gradient(102deg, rgba(238, 195, 151, 0.95) 0 7%, rgba(229, 98, 43, 0.85) 9% 11%, rgba(252, 248, 242, 0.95) 14% 21%); }
.art-1 { background: var(--cream); }
.art-1::before { background: radial-gradient(22% 38% at 18% 50%, rgba(21, 22, 40, 0.85), transparent 70%), radial-gradient(26% 46% at 50% 55%, rgba(229, 98, 43, 0.9), transparent 70%), radial-gradient(24% 40% at 82% 45%, rgba(238, 195, 151, 1), transparent 70%); }
.art-2 { background: var(--cream); }
.art-2::before { background: repeating-radial-gradient(circle at 50% 120%, rgba(229, 98, 43, 0.85) 0 4%, rgba(238, 195, 151, 0.9) 6% 10%, rgba(252, 248, 242, 0.9) 12% 16%); }
.art-3 { background: var(--navy); }
.art-3::before { background: radial-gradient(40% 55% at 50% 100%, rgba(229, 98, 43, 0.95), transparent 70%), radial-gradient(30% 40% at 15% 20%, rgba(238, 195, 151, 0.35), transparent 70%); }
.art-4 { background: var(--cream); }
.art-4::before { background: repeating-linear-gradient(90deg, rgba(21, 22, 40, 0.75) 0 3%, rgba(238, 195, 151, 0.9) 5% 12%, rgba(229, 98, 43, 0.9) 14% 17%, rgba(252, 248, 242, 0.9) 20% 26%); }
.art-5 { background: var(--cream); }
.art-5::before { background: radial-gradient(30% 45% at 50% 55%, rgba(252, 248, 242, 0.9), transparent 70%), linear-gradient(120deg, var(--durazno) 0%, var(--naranja) 55%, var(--durazno) 100%); }
.story-steps { position: relative; z-index: 2; display: grid; gap: 18px; padding: 56px var(--gutter); max-width: 860px; margin-inline: auto; }
.step-card { background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px) clamp(22px, 3.4vw, 44px); display: grid; gap: 14px; justify-items: center; text-align: center; box-shadow: 0 30px 60px -36px rgba(21, 22, 40, 0.5); }
.step-card .tag { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--pill); border: 1px solid rgba(21, 22, 40, 0.18); background: rgba(255, 255, 255, 0.55); }
.step-card p { font-size: clamp(1.35rem, 2.6vw, 2.05rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; text-wrap: balance; color: var(--navy); }
.step-card--close p { color: var(--navy); }
.story-dots { display: none; }
/* modo vivo (con JS y sin movimiento reducido) */
.story.is-live { height: calc(var(--n) * 62vh + 100vh); }
.story.is-live .story-pin { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr)); display: grid; grid-template-rows: auto minmax(0, 1fr); }
.story.is-live .story-title { padding-block: clamp(12px, 3vh, 36px) clamp(10px, 2.5vh, 28px); }
.story.is-live .story-stage { height: 100%; }
.story.is-live .art { opacity: 0; }
.story.is-live .art.is-on { opacity: 1; }
.story.is-live .story-steps { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); max-width: none; }
.story.is-live .step-card { grid-area: 1 / 1; width: min(860px, 100%); opacity: 0; transform: translateY(18px) scale(0.98); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.story.is-live .step-card.is-on { opacity: 1; transform: none; pointer-events: auto; }
.story.is-live .story-dots { position: absolute; z-index: 3; left: clamp(16px, 4vw, 56px); top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.story-dots button { width: 14px; height: 14px; padding: 0; border: 0; border-radius: var(--pill); background: var(--grad); opacity: 0.55; cursor: pointer; transition: height .35s ease, opacity .35s ease; }
.story-dots button.is-on { height: 64px; opacity: 1; }

/* ---------- Declaración + atributos ---------- */
.statement h2 { font-size: clamp(2rem, 4.6vw, 4.1rem); max-width: 21ch; margin-inline: auto; text-align: center; letter-spacing: -0.035em; text-wrap: balance; }
.statement h2 .accent { display: block; }
.attrs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(40px, 5vw, 64px); }
.attr { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.attr .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--wash); display: grid; place-items: center; color: var(--navy); }
.attr .icon svg { width: 24px; height: 24px; }
.attr h3 { font-size: 1.12rem; margin-bottom: 6px; }
.attr p { font-size: var(--fs-small); color: var(--muted); }
.attr:first-child p { color: var(--navy); font-weight: 600; }

/* ---------- Soluciones: tarjetas que se expanden ---------- */
.svc-row { display: flex; gap: 16px; align-items: flex-end; height: 470px; }
.svc-card { position: relative; flex: 1 1 0; min-width: 0; height: 420px; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; transition: flex-grow .55s cubic-bezier(.2, .7, .2, 1), height .55s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease; isolation: isolate; }
.svc-card.is-active { flex-grow: 1.7; height: 470px; box-shadow: 0 30px 60px -30px rgba(21, 22, 40, 0.55); }
.svc-art { position: absolute; inset: 0; z-index: -1; }
.svc-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.svc-body { padding: 22px 22px 24px; display: grid; gap: 10px; }
.svc-card h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); }
.svc-card p { font-size: var(--fs-small); line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease; }
.svc-card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease; }
.svc-card .more .ico { width: 14px; height: 14px; }
.svc-card.is-active p, .svc-card.is-active .more { max-height: 140px; opacity: 1; }
.svc-card--dark { color: var(--cream); }
.svc-card--dark .svc-body { background: linear-gradient(180deg, rgba(21, 22, 40, 0) 0%, rgba(21, 22, 40, 0.92) 38%); }
.svc-card--light { color: var(--navy); }
.svc-card--light .svc-body { background: linear-gradient(180deg, rgba(252, 248, 242, 0) 0%, rgba(252, 248, 242, 0.94) 36%); }
.svc-card--orange { color: var(--navy); }
.svc-card--orange .svc-body { background: linear-gradient(180deg, rgba(238, 195, 151, 0) 0%, rgba(238, 195, 151, 0.96) 36%); }

/* ---------- Criterio (escalera) ---------- */
.frame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(16px, 2vw, 24px); padding: clamp(14px, 2vw, 22px); border-radius: var(--r-xl); background: var(--blanco); border: 1px solid var(--line); box-shadow: var(--shadow); }
.frame-view { position: relative; border: 1.5px solid var(--naranja); border-radius: var(--r-lg); padding: clamp(18px, 2.6vw, 32px); min-height: 400px; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.fview { grid-area: 1 / 1; min-width: 0; display: grid; gap: 16px; align-content: start; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.fview.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fview-top { display: flex; align-items: center; justify-content: space-between; }
.fview-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--wash); display: grid; place-items: center; }
.fview-ico svg { width: 22px; height: 22px; }
.badge { font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: var(--pill); border: 1.5px solid var(--naranja); color: var(--navy); background: rgba(229, 98, 43, 0.06); }
.fview h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.fview > p { color: var(--muted); max-width: 40ch; }
.fvisual { min-height: 120px; display: grid; align-content: center; }
.meter { margin-top: auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.86rem; }
.meter-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.meter-bar i { height: 8px; border-radius: var(--pill); background: #EFE7DC; }
.meter-bar i.on { background: var(--grad); }
.meter b { font-weight: 700; }
.meter--base { grid-template-columns: minmax(0, 1fr); }
.meter--base b { font-weight: 600; color: var(--navy); }
.frame-list { display: grid; gap: 4px; align-content: center; }
.fstep { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 14px; padding: 16px 14px 14px; border-radius: var(--r-md); text-align: left; background: none; border: 0; cursor: pointer; width: 100%; }
.fstep:hover { background: var(--cream); }
.fstep .n { grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(21, 22, 40, 0.25); display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.fstep strong { font-size: 1.05rem; font-weight: 800; }
.fstep span.t { font-size: 0.92rem; color: var(--muted); line-height: 1.45; }
.fstep .bar { grid-column: 2; height: 2px; background: #EFE7DC; border-radius: 2px; overflow: hidden; margin-top: 10px; }
.fstep .bar i { display: block; height: 100%; width: 0; background: var(--naranja); }
.fstep.is-on .n { border-color: var(--naranja); background: var(--naranja); color: var(--navy); }
.fstep.is-on .bar i { width: 100%; }
.frame.is-playing .fstep.is-on .bar i { animation: fill var(--dur, 5.5s) linear; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
/* visuales de cada nivel */
.v-map { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.v-map .box { padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--navy); font-size: 0.82rem; font-weight: 700; background: var(--blanco); }
.v-map .box.hl { border-color: var(--naranja); box-shadow: 0 0 0 4px rgba(229, 98, 43, 0.14); }
.v-map .arr { width: 18px; height: 2px; background: var(--navy); position: relative; flex: none; }
.v-map .arr::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--navy); border-right: 0; }
.v-people { display: flex; gap: 6px; margin-top: 14px; }
.v-people i { width: 26px; height: 26px; border-radius: 50%; background: var(--wash); border: 1.5px solid var(--navy); }
.v-people i:nth-child(-n+3) { background: var(--naranja); border-color: var(--naranja); }
.v-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v-chips span { padding: 9px 14px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--cream); font-weight: 700; font-size: 0.9rem; }
.v-app { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-width: 320px; background: var(--blanco); }
.v-app .t { padding: 8px 12px; background: var(--cream); border-bottom: 1px solid var(--line); font-size: 0.78rem; font-weight: 700; }
.v-app .f { padding: 12px; display: grid; gap: 8px; }
.v-app .f i { height: 10px; border-radius: 4px; background: #EFE7DC; }
.v-app .f i:nth-child(2) { width: 70%; }
.v-app .f b { justify-self: end; font-size: 0.75rem; padding: 6px 12px; border-radius: 8px; background: var(--naranja); color: var(--navy); }
.v-code { display: grid; gap: 6px; max-width: 320px; }
.v-code span { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--navy); color: var(--cream); font-size: 0.86rem; font-weight: 600; }
.v-code span::after { content: "</>"; color: var(--durazno); font-weight: 700; font-size: 0.8rem; }

/* ---------- Método (sección oscura) ---------- */
.method { background-color: var(--navy); background-image: linear-gradient(rgba(252, 248, 242, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(252, 248, 242, 0.045) 1px, transparent 1px); background-size: 56px 56px; color: var(--cream); }
.method-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.method-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.method-copy h2 { color: var(--cream); }
.defs { display: grid; gap: 8px; font-size: 0.92rem; color: var(--muted-dark); }
.defs b { color: var(--durazno); font-weight: 700; }
.lanes-card { border-radius: var(--r-lg); border: 1px solid var(--line-dark); background: rgba(252, 248, 242, 0.035); padding: clamp(20px, 2.8vw, 32px); display: grid; gap: 22px; min-width: 0; }
.lanes-card .label { color: var(--durazno); }
.lane { display: grid; gap: 8px; }
.lane-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lane-top strong { color: var(--cream); font-size: 1.1rem; }
.lane-top span { color: var(--muted-dark); font-size: 0.86rem; }
.track { position: relative; height: 10px; border-radius: var(--pill); background: var(--line-dark); overflow: hidden; }
.track i { position: absolute; inset: 0; background: var(--grad); border-radius: inherit; }
.track b { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: radial-gradient(circle, rgba(252, 248, 242, 0.95), rgba(252, 248, 242, 0) 60%); animation: run 4.8s ease-in-out infinite; }
.lane:nth-child(3) .track b { animation-delay: .5s; }
.lane:nth-child(4) .track b { animation-delay: 1s; }
@keyframes run { 0% { left: -46px; } 100% { left: 100%; } }
.change { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed rgba(238, 195, 151, 0.4); color: var(--durazno); font-size: 0.9rem; font-weight: 600; }
.change::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--durazno); flex: none; }

/* ---------- Casos ---------- */
.cases { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.case-tabs { display: grid; gap: 8px; align-content: start; }
.case-tab { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-md); border: 1px solid transparent; background: none; text-align: left; cursor: pointer; width: 100%; }
.case-tab:hover { background: rgba(255, 255, 255, 0.6); }
.case-tab.is-on { background: var(--blanco); border-color: var(--line); box-shadow: var(--shadow); }
.case-logo { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: var(--durazno); display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; overflow: hidden; }
.case-txt strong { display: block; font-size: 1.12rem; }
.case-txt small { display: block; font-size: 0.86rem; color: var(--muted); }
.case-panels { display: grid; }
.case-panel { grid-area: 1 / 1; background: var(--blanco); border-radius: var(--r-xl); border: 1px solid var(--line); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 20px; align-content: space-between; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.case-panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
.case-panel .svc { justify-self: start; }
.case-panel p.big { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 6px 12px; border-radius: var(--pill); background: var(--wash); font-size: 0.84rem; font-weight: 700; }
.case-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.also { margin-top: 22px; font-size: var(--fs-small); color: var(--muted); }
.also b { color: var(--navy); }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.team-copy { display: grid; gap: 20px; justify-items: start; }
.people { border-top: 1px solid var(--line); }
.person { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); align-items: center; }
.initials { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--durazno); display: grid; place-items: center; font-weight: 800; }
.person h3 { font-size: 1.08rem; }
.person .role { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.person p { font-size: var(--fs-small); margin-top: 4px; }

/* ---------- Preguntas ---------- */
.faq-title { text-align: center; font-size: var(--fs-h2); margin-bottom: clamp(32px, 5vw, 56px); }
.faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 64px); max-width: 1060px; margin-inline: auto; }
.faq-cols > div { display: grid; align-content: start; }
.qa { border-bottom: 1px solid var(--line); }
.bg-navy .qa { border-bottom-color: rgba(252, 248, 242, 0.25); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; padding: 20px 0; font-weight: 700; font-size: 1.04rem; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; margin-top: 1px; transition: transform .25s ease; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: currentColor; }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { transform: rotate(45deg); }
.qa .ans { padding: 0 0 20px 40px; max-width: 58ch; }

/* ---------- Llamado final ---------- */
.cta-card { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--naranja); color: var(--navy); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.cta-card h2 { font-size: var(--fs-h2); max-width: 14ch; position: relative; }
.cta-card p { font-size: var(--fs-lead); margin-top: 16px; max-width: 42ch; position: relative; font-weight: 500; }
.cta-card .btn { position: relative; }
.cta-mark { position: absolute; right: 6%; top: -10%; height: 130%; width: auto; opacity: 0.16; pointer-events: none; }
.cta-mark path { fill: var(--navy); }

/* ---------- Pie ---------- */
.foot { background: var(--navy); color: var(--soft-dark); padding-block: clamp(56px, 7vw, 88px) 28px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.foot-brand img { height: 52px; width: auto; }
.foot-brand p { max-width: 34ch; font-size: var(--fs-small); color: var(--soft-dark); }
.foot h2 { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--durazno); margin-bottom: 14px; }
.foot ul { display: grid; gap: 10px; }
.foot a { text-decoration: none; font-size: var(--fs-small); color: var(--cream); }
.foot a:hover { color: var(--durazno); }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 0.86rem; color: var(--muted-dark); }
.foot-bottom .tag { color: var(--durazno); font-weight: 600; }

/* ---------- Páginas internas ---------- */
.phero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--navh)); padding-block: calc(var(--navh) + clamp(28px, 4vw, 56px)) clamp(56px, 7vw, 96px); background:
  radial-gradient(46% 50% at 92% 10%, rgba(238, 195, 151, 0.55), rgba(238, 195, 151, 0) 72%), var(--cream); }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.phero-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.86rem; color: var(--muted); }
.crumbs a { text-decoration: underline; text-decoration-color: rgba(229, 98, 43, 0.5); text-underline-offset: 3px; }
.phero h1 { font-size: var(--fs-h1); letter-spacing: -0.032em; line-height: 0.98; max-width: 16ch; }
.phero .lead { max-width: 46ch; }
.phero-art { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6; max-width: 100%; box-shadow: var(--shadow); }
.phero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fit li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; padding: 22px; border-radius: var(--r-lg); background: var(--blanco); border: 1px solid var(--line); font-weight: 600; font-size: 1.04rem; line-height: 1.4; }
.tick { width: 30px; height: 30px; border-radius: 50%; background: var(--naranja); position: relative; flex: none; }
.tick::after { content: ""; position: absolute; left: 10px; top: 7px; width: 7px; height: 12px; border: solid var(--navy); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px); display: grid; gap: 10px; align-content: start; background: var(--blanco); border: 1px solid var(--line); min-width: 0; }
.card h3 { font-size: var(--fs-h3); }
.card p { font-size: var(--fs-small); color: var(--muted); }
.bg-navy .card { background: rgba(252, 248, 242, 0.04); border-color: var(--line-dark); }
.bg-navy .card h3 { color: var(--cream); }
.bg-navy .card p { color: var(--soft-dark); }
.card .kick { display: flex; align-items: center; gap: 8px; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.card .kick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--naranja); }
.bg-navy .card .kick { color: var(--durazno); }
.hsteps { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.hstep { position: relative; display: grid; gap: 8px; padding-top: 56px; min-width: 0; }
.hstep::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.hstep::after { content: ""; position: absolute; top: 19px; left: 52px; right: 8px; height: 2px; background: var(--line); }
.hstep:last-child::after { display: none; }
.hstep h3 { font-size: var(--fs-h3); }
.hstep p { font-size: var(--fs-small); color: var(--muted); }
.result { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.result li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.04rem; }
.faq-mini { max-width: 820px; }
.svc-tile .art-box { min-height: 0; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--blanco); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.related a:hover { border-color: var(--naranja); transform: translateY(-2px); }
.related .thumb { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; }
.related .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related strong { display: block; font-size: 1.02rem; }
.related span { display: block; font-size: 0.86rem; color: var(--muted); line-height: 1.35; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc-tile { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); border-radius: var(--r-lg); overflow: hidden; background: var(--blanco); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, transform .2s ease; min-height: 260px; }
.svc-tile:hover { border-color: var(--naranja); transform: translateY(-2px); }
.svc-tile .art-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-tile .txt { padding: 24px; display: grid; gap: 10px; align-content: start; }
.svc-tile h3 { font-size: 1.3rem; }
.svc-tile p { font-size: var(--fs-small); color: var(--muted); }
.svc-tile ul { display: grid; gap: 6px; margin-top: 2px; }
.svc-tile li { font-size: 0.9rem; padding-left: 18px; position: relative; }
.svc-tile li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--naranja); }
.svc-tile .more { margin-top: auto; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.svc-tile .more .ico { width: 14px; height: 14px; color: var(--naranja); }
/* Método: pestañas de los tres frentes */
.tabs { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.tab-list { display: grid; gap: 10px; align-content: start; }
.tab { display: grid; gap: 4px; text-align: left; padding: 18px 20px; border-radius: var(--r-lg); border: 1px solid var(--line-dark); background: transparent; color: var(--cream); cursor: pointer; }
.tab strong { font-size: 1.2rem; }
.tab span { font-size: 0.9rem; color: var(--muted-dark); }
.tab[aria-selected="true"] { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.tab[aria-selected="true"] span { color: var(--muted); }
.tab-panels { display: grid; }
.tab-panel { grid-area: 1 / 1; border-radius: var(--r-xl); background: rgba(252, 248, 242, 0.04); border: 1px solid var(--line-dark); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.tab-panel h3 { color: var(--cream); font-size: 1.5rem; }
.tab-panel ul { display: grid; gap: 10px; }
.tab-panel li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(252, 248, 242, 0.06); color: var(--cream); font-weight: 600; }
.tab-panel li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); flex: none; }
.cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: c; }
.cyc { position: relative; border-radius: var(--r-lg); background: var(--blanco); border: 1px solid var(--line); padding: 24px 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.cyc::before { counter-increment: c; content: "0" counter(c); font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.14em; color: var(--navy); }
.cyc:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 30px; width: 10px; height: 10px; border-top: 2px solid var(--naranja); border-right: 2px solid var(--naranja); transform: rotate(45deg); z-index: 1; }
.cyc h3 { font-size: 1.1rem; }
.cyc p { font-size: var(--fs-small); color: var(--muted); }
.cycle-back { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--muted); font-size: var(--fs-small); }
.cycle-back svg { width: 52px; height: 24px; flex: none; }
.agenda-card { border-radius: var(--r-xl); padding: clamp(26px, 3.4vw, 44px); background: var(--navy); color: var(--cream); display: grid; gap: 16px; justify-items: start; box-shadow: var(--shadow); }
.agenda-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--cream); }
.agenda-card p { color: var(--soft-dark); }
.agenda-card .note { font-size: 0.86rem; color: var(--muted-dark); }
.bio { display: grid; gap: 12px; align-content: start; }
.bio .initials { width: 64px; height: 64px; font-size: 1.15rem; background: var(--durazno); color: var(--navy); }
.bio h3 { color: var(--cream); font-size: 1.3rem; }
.bio .role { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--durazno); }
.bio p { font-size: var(--fs-small); }
.big-quote { font-size: clamp(1.6rem, 3.4vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; max-width: 24ch; text-wrap: balance; }

/* ---------- Complementos ---------- */
.story:not(.is-live) .art:not(.art-0) { display: none; }
.story:not(.is-live) .story-title { padding-block: clamp(64px, 8vw, 104px) 8px; }
.story:not(.is-live) .story-steps { padding-bottom: clamp(64px, 8vw, 104px); }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; height: 100%; padding: 8px; background: var(--blanco); }
.mini-grid > div { border-radius: var(--r-md); overflow: hidden; min-height: 0; }
.mini-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phero-panel { border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); background: var(--navy); color: var(--cream); box-shadow: var(--shadow); }
.phero-panel .lanes-card { border: 0; padding: 0; background: none; }
.qm { width: 30px; height: 30px; border-radius: 50%; background: var(--durazno); display: grid; place-items: center; font-weight: 800; font-size: 0.95rem; flex: none; }
.fit--q li { font-weight: 600; }
.note { font-size: 0.86rem; color: var(--muted); }

/* ---------- Adaptación ---------- */
@media (max-width: 1080px) {
  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cyc:nth-child(2)::after { display: none; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .cta-mobile { display: inline-flex; margin-right: 6px; }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(21, 22, 40, 0.2); background: var(--blanco); cursor: pointer; padding: 0; }
  .menu-btn span { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; transition: background-color .2s ease; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy); transition: transform .2s ease; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .menu-btn[aria-expanded="true"] span { background: transparent; }
  .menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu { position: fixed; z-index: 59; inset: 0; padding: calc(var(--hdr) + 16px + env(safe-area-inset-top, 0px)) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--cream); overflow-y: auto; display: grid; align-content: start; gap: 4px; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu .group { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px; }
  .mobile-menu a.big { font-size: 1.5rem; font-weight: 800; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu a.sub { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; padding: 8px 0; font-weight: 700; }
  .mobile-menu a.sub .thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; }
  .mobile-menu a.sub .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .mobile-menu .btn { margin-top: 22px; }
  html.menu-open, html.menu-open body { overflow: hidden; }
  .head--split { grid-template-columns: minmax(0, 1fr); }
  .head--split > .lead { grid-column: 1; grid-row: auto; }
  .attrs { grid-template-columns: minmax(0, 1fr); }
  .svc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; align-items: stretch; }
  .svc-card, .svc-card.is-active { height: 320px; flex-grow: 1; box-shadow: none; }
  .svc-card p, .svc-card .more { max-height: 140px; opacity: 1; }
  .frame { grid-template-columns: minmax(0, 1fr); }
  .frame-view { min-height: 360px; }
  .method-grid, .cases, .team, .phero-grid, .tabs { grid-template-columns: minmax(0, 1fr); }
  .phero-art { max-width: 420px; aspect-ratio: 4 / 3; }
  .fit, .cards3, .related, .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-cols { grid-template-columns: minmax(0, 1fr); }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .cta-card { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .chevron-deco { opacity: 0.5; right: -160px; }
}
@media (max-width: 640px) {
  :root { --hdr: 90px; --navh: 64px; }
  .client { height: 40px; }
  .client img { height: calc(var(--h, 40px) * 0.8); }
  .band { height: 26px; }
  .nav-pill { min-height: 52px; padding-left: 14px; }
  .brand img { height: 26px; }
  .hero h1 { font-size: clamp(2.5rem, 12.6vw, 3.6rem); }
  .actions .btn { flex: 1 1 100%; }
  .svc-row { grid-template-columns: minmax(0, 1fr); }
  .svc-card, .svc-card.is-active { height: 280px; }
  .story.is-live .story-dots { left: 50%; top: auto; bottom: 18px; transform: translateX(-50%); grid-auto-flow: column; }
  .story-dots button.is-on { height: 14px; width: 44px; }
  .story-dots button { width: 14px; }
  .cycle { grid-template-columns: minmax(0, 1fr); }
  .cyc::after { display: none; }
  .hsteps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hstep { padding-top: 0; padding-left: 56px; min-height: 40px; }
  .hstep::after { left: 19px; top: 48px; bottom: -18px; right: auto; width: 2px; height: auto; }
  .svc-tile { grid-template-columns: minmax(0, 1fr); }
  .svc-tile .art-box { height: 150px; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .chevron-deco { display: none; }
  .meter { grid-template-columns: minmax(0, 1fr); }
  .cards2 { grid-template-columns: minmax(0, 1fr); }
  .case-tab { grid-template-columns: 44px minmax(0, 1fr); }
  .case-logo { width: 44px; height: 44px; font-size: 0.9rem; }
}

/* ---------- Versión con la voz de Manuel (06/10) ---------- */
/* Etiqueta del hero y de las páginas internas */
.kicker { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 5px 20px 5px 5px; border-radius: var(--pill); border: 1.5px solid transparent;
  background: linear-gradient(var(--blanco), var(--blanco)) padding-box, linear-gradient(100deg, var(--durazno) 0%, var(--naranja) 45%, var(--durazno) 90%) border-box;
  background-size: 100% 100%, 220% 100%; animation: kicker-sheen 7s ease-in-out infinite; box-shadow: 0 12px 26px -16px rgba(229, 98, 43, 0.6);
  font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.25; color: var(--navy); }
.kicker .k-ico { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(252, 248, 242, 0.08); }
.kicker .k-ico svg { width: 13px; height: 23px; fill: var(--naranja); }
.kicker .k-txt { text-wrap: balance; }
.kicker b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker--sm { font-size: 0.9rem; padding-right: 16px; gap: 10px; }
.kicker--sm .k-ico { width: 30px; height: 30px; }
.kicker--sm .k-ico svg { width: 11px; height: 19px; }
@keyframes kicker-sheen { 0%, 100% { background-position: 0 0, 0% 50%; } 50% { background-position: 0 0, 100% 50%; } }

/* Cómo trabajamos: el discovery primero y tres piezas en paralelo */
.flow-disc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding: clamp(24px, 3.6vw, 48px);
  border-radius: var(--r-xl); border: 1.5px solid transparent; background: linear-gradient(var(--blanco), var(--blanco)) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.flow-disc-copy { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.flow-disc h3 { font-size: clamp(1.55rem, 2.7vw, 2.3rem); letter-spacing: -0.025em; line-height: 1.08; max-width: 20ch; }
.flow-disc p { color: var(--muted); max-width: 54ch; }
.flow-disc blockquote { margin: 4px 0 6px; padding: 4px 0 4px 18px; border-left: 3px solid var(--naranja); font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; color: var(--navy); max-width: 44ch; }
.disc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.disc-steps::before { content: ""; position: absolute; left: 33px; top: 34px; bottom: 34px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px); }
.disc-steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 18px 12px 12px; border-radius: var(--r-md);
  background: var(--cream); border: 1px solid var(--line); font-weight: 700; font-size: clamp(1rem, 1.3vw, 1.12rem); transition: background-color .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease; }
.disc-steps .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blanco); border: 1.5px solid var(--line); font-weight: 800; transition: background .35s ease, border-color .35s ease; }
.disc-steps li.is-on { background: var(--blanco); border-color: var(--naranja); transform: translateX(6px); box-shadow: 0 12px 26px -18px rgba(229, 98, 43, 0.7); }
.disc-steps li.is-on .n { background: var(--grad); border-color: transparent; }
.flow-then { display: flex; align-items: center; gap: 16px; margin: clamp(30px, 4vw, 48px) 0 clamp(18px, 2.4vw, 26px); font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.flow-then::before, .flow-then::after { content: ""; flex: 1 1 0; height: 1px; background: var(--line); }
.flow-then span { display: inline-flex; align-items: center; gap: 10px; }
.flow-then span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }
.svc-row--3 { height: 450px; }
.svc-row--3 .svc-card { height: 400px; }
.svc-row--3 .svc-card.is-active { flex-grow: 1.55; height: 450px; }
.flow-foot { margin-top: clamp(22px, 3vw, 32px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.flow-foot p { color: var(--muted); max-width: 60ch; }

/* Gobernanza (inicio) */
.gov-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.gov-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.gov-copy h2 { color: var(--cream); max-width: 16ch; }
.gov-roles { display: grid; gap: 10px; font-size: 1rem; color: var(--muted-dark); }
.gov-roles b { color: var(--durazno); font-weight: 700; }
.rules-card { border-radius: var(--r-lg); border: 1px solid var(--line-dark); background: rgba(252, 248, 242, 0.035); padding: clamp(20px, 2.8vw, 32px); display: grid; gap: 10px; min-width: 0; }
.rules-card .label { color: var(--durazno); margin-bottom: 4px; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; }
.rules li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 10px; border-top: 1px solid var(--line-dark); color: var(--cream); font-weight: 600; line-height: 1.35; border-radius: var(--r-sm); transition: background-color .35s ease; }
.rules li:first-child { border-top: 0; }
.rule-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(238, 195, 151, 0.12); color: var(--durazno); display: grid; place-items: center; transition: background .35s ease, color .35s ease; }
.rule-ico svg { width: 21px; height: 21px; }
.rules li.is-on { background: rgba(252, 248, 242, 0.06); }
.rules li.is-on .rule-ico { background: var(--grad); color: var(--navy); }

/* Página Cómo trabajamos: el discovery arriba del carril */
.lane-start { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-bottom: 18px; border-bottom: 1px dashed var(--line-dark); }
.lane-start strong { color: var(--cream); font-size: 1.15rem; }
.lane-start span:last-child { color: var(--muted-dark); font-size: 0.88rem; }
.lane-start .badge { color: var(--cream); background: rgba(229, 98, 43, 0.18); }

/* Soluciones: momento de cada pieza */
.step-tag { justify-self: start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--pill); background: var(--wash); color: var(--navy); }

@media (max-width: 1080px) {
  .svc-row--3 { height: auto; }
  .svc-row--3 .svc-card, .svc-row--3 .svc-card.is-active { height: 320px; }
}
@media (max-width: 960px) {
  .flow-disc, .gov-grid { grid-template-columns: minmax(0, 1fr); }
  .disc-steps li.is-on { transform: none; }
}
@media (max-width: 640px) {
  .kicker { font-size: 0.86rem; padding-right: 14px; gap: 10px; }
  .kicker .k-ico { width: 30px; height: 30px; }
  .kicker .k-ico svg { width: 11px; height: 19px; }
  .svc-row--3 .svc-card, .svc-row--3 .svc-card.is-active { height: 280px; }
  .flow-foot { display: grid; justify-items: start; }
}

/* ===================== Versión reunión de marketing 08/10 (2026-10-13) ===================== */
/* Franja de clientes: sin botón de pausa (se detiene al pasar el mouse o con el foco) */
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.logos-more { display: inline-flex; align-items: center; gap: 8px; color: var(--durazno); font-size: 0.86rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(238, 195, 151, 0.45); padding-bottom: 2px; }
.logos-more:hover { color: var(--cream); border-color: var(--cream); }
.logos-more .ico { width: 13px; height: 13px; }

/* Problemas: la trama del manual de marca de fondo */
.art::before { content: none !important; }
.art { background-image: url(img/trama.svg), linear-gradient(90deg, var(--durazno), var(--naranja)); background-size: 208px 355px, 100% 100%; background-repeat: repeat, no-repeat; }
.art-1 { background-image: url(img/trama.svg), linear-gradient(135deg, var(--durazno), var(--naranja)); }
.art-2 { background-image: url(img/trama.svg), linear-gradient(180deg, var(--durazno), var(--naranja)); }
.art-3 { background-image: url(img/trama.svg), linear-gradient(45deg, var(--naranja), var(--durazno)); }
.art-4 { background-image: url(img/trama.svg), linear-gradient(270deg, var(--durazno), var(--naranja)); }
.art-5 { background-image: url(img/trama.svg), linear-gradient(120deg, var(--naranja), var(--durazno)); }
.story-stage { background: url(img/trama.svg) 0 0 / 208px 355px repeat, linear-gradient(90deg, var(--durazno), var(--naranja)); }
.step-card { background: rgba(252, 248, 242, 0.9); }

/* Soluciones (inicio): bajada corta siempre visible */
.svc-card .svc-tag { max-height: none; opacity: 1; overflow: visible; font-size: 0.84rem; font-weight: 500; letter-spacing: 0.01em; }
.svc-card .svc-tag strong { font-weight: 800; }
.svc-tile .svc-tag { color: var(--navy); font-weight: 500; }
.svc-tile .svc-tag strong { font-weight: 800; color: var(--naranja); }
.drop strong + span strong, .related span strong { font-weight: 800; color: var(--navy); }
.tools { margin-top: clamp(26px, 3.4vw, 40px); padding-top: clamp(22px, 3vw, 30px); border-top: 1px solid var(--line); display: grid; gap: 16px; }
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tool { display: grid; gap: 8px; align-content: start; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-lg); background: var(--cream); border: 1px solid var(--line); }
.tool-kind { justify-self: start; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--naranja); }
.tool h3 { font-size: 1.25rem; }
.tool p { font-size: var(--fs-small); color: var(--muted); max-width: 52ch; }
.tool .link { justify-self: start; margin-top: 4px; }

/* Método: pasos que cambian el panel */
.v-chips--steps span { background: var(--blanco); }
.v-chips--steps span:nth-child(1) { border-color: var(--naranja); }
.method-quote { margin-top: clamp(22px, 3vw, 32px); padding-left: 18px; border-left: 3px solid var(--naranja); font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 700; max-width: 52ch; color: var(--navy); }
.note--dark { color: var(--muted-dark); margin-top: 22px; font-size: 1rem; max-width: 60ch; }

/* Soluciones (página): tres niveles, uno debajo del otro */
.svc-grid--3 { grid-template-columns: minmax(0, 1fr); }
.svc-grid--3 .svc-tile { grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); min-height: 230px; }
.svc-grid--3 .svc-tile ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.related--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Clientes */
.clients-wall ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 34px; padding: clamp(10px, 2vw, 24px); }
.clients-wall img { height: var(--h, 36px); width: auto; opacity: 0.92; }
.cfilters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cfilters button { font: inherit; font-size: 0.9rem; font-weight: 700; padding: 9px 16px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--blanco); color: var(--navy); cursor: pointer; }
.cfilters button:hover { border-color: var(--naranja); }
.cfilters button.is-on { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.ccard[hidden] { display: none; }
.ccard-body .ind { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--naranja); }
.cgroup + .cgroup { margin-top: clamp(36px, 5vw, 56px); }
.cgroup-t { display: flex; align-items: center; gap: 12px; font-size: var(--fs-h3); padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.cgroup-t span { font-size: 0.78rem; font-weight: 700; min-width: 26px; height: 26px; padding-inline: 8px; border-radius: var(--pill); display: inline-grid; place-items: center; background: var(--wash); color: var(--navy); }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ccard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--blanco); }
.ccard-logo { background: var(--navy); color: var(--cream); height: 112px; display: grid; place-items: center; padding: 18px; }
.ccard-logo img { height: var(--h, 36px); width: auto; max-width: 100%; opacity: 0.95; }
.ccard-logo .wordmark { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; text-align: center; }
.ccard-body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; }
.ccard-body h3 { font-size: 1.15rem; }
.ccard-body .sector { font-size: 0.86rem; color: var(--muted); }
.ccard-body .badge { justify-self: start; }
.ccard-body p:last-child { font-size: var(--fs-small); }

@media (max-width: 960px) {
  .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools-grid, .related--2 { grid-template-columns: minmax(0, 1fr); }
  .symbol-deco { opacity: 0.35; right: -140px; }
}
@media (max-width: 640px) {
  .cgrid { grid-template-columns: minmax(0, 1fr); }
  .svc-grid--3 .svc-tile { grid-template-columns: minmax(0, 1fr); }
  .svc-grid--3 .svc-tile .art-box { height: 150px; }
  .logos-head { flex-wrap: wrap; }
}

/* ===================== Problemas con scroll normal (17/10) ===================== */
.pains { position: relative; background: url(img/trama.svg) 0 0 / 208px 355px repeat, linear-gradient(100deg, var(--durazno), var(--naranja)); padding-block: clamp(64px, 9vw, 120px); }
.pains-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pains-side { position: sticky; top: calc(var(--hdr, 96px) + 36px); display: grid; gap: 18px; justify-items: start; }
.pains-side h2 { font-size: var(--fs-h2); color: var(--navy); line-height: 1.02; max-width: 11ch; }
.pains-hint { font-size: var(--fs-lead); font-weight: 600; color: var(--navy); }
.pains-count { display: flex; align-items: baseline; gap: 8px; color: var(--navy); font-variant-numeric: tabular-nums; }
.pains-count b { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; }
.pains-count span { font-weight: 700; opacity: 0.7; }
.pains-bar { display: block; width: 120px; height: 4px; border-radius: 4px; background: rgba(21, 22, 40, 0.18); margin-left: 10px; align-self: center; overflow: hidden; }
.pains-bar i { display: block; height: 100%; width: calc(100% / var(--n) * var(--k, 1)); background: var(--navy); border-radius: 4px; transition: width .4s ease; }
.pains-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; animation: nudge 1.6s ease-in-out infinite; }
.pains-arrow svg { width: 20px; height: 20px; }
.pains.is-end .pains-arrow { opacity: 0; transition: opacity .3s ease; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.pains-list { display: grid; gap: 18px; }
.pain { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; background: rgba(252, 248, 242, 0.94); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: var(--r-lg); padding: clamp(22px, 2.8vw, 34px); box-shadow: 0 24px 50px -34px rgba(21, 22, 40, 0.55); transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease; }
.pain-n { font-size: 1.05rem; font-weight: 800; color: var(--naranja); font-variant-numeric: tabular-nums; padding-top: 4px; }
.pain .tag { display: inline-block; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--pill); border: 1px solid rgba(21, 22, 40, 0.18); margin-bottom: 12px; }
.pain p { font-size: clamp(1.25rem, 2.1vw, 1.7rem); font-weight: 800; line-height: 1.22; letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; }
.pain--close { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 18px; background: var(--navy); border-color: var(--navy); }
.pain--close p { color: var(--cream); }
/* con JS: la tarjeta del centro de la pantalla queda destacada */
.pains.is-live .pain:not(.pain--close) { opacity: 0.72; transform: scale(0.98); }
.pains.is-live .pain.is-on { opacity: 1; transform: none; box-shadow: 0 30px 60px -30px rgba(21, 22, 40, 0.65); }
@media (max-width: 960px) {
  .pains-grid { grid-template-columns: minmax(0, 1fr); }
  .pains-side { position: static; }
  .pains-side h2 { max-width: none; }
  .pains-count, .pains-arrow { display: none; }
  .pains.is-live .pain:not(.pain--close) { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .pain { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* ===================== Problemas fijos con avance visible (17/10, v2) ===================== */
.scroller { position: relative; background: url(img/trama.svg) 0 0 / 208px 355px repeat, linear-gradient(100deg, var(--durazno), var(--naranja)); }
.scroller-title { text-align: center; font-size: var(--fs-h2); color: var(--navy); padding: clamp(56px, 8vw, 96px) var(--gutter) 24px; }
.scroller-stage { position: relative; }
.scroller-cards { display: grid; gap: 18px; max-width: 820px; margin-inline: auto; padding: 0 var(--gutter) clamp(56px, 8vw, 96px); }
.sc { background: var(--cream); border: 1px solid rgba(255, 255, 255, 0.85); border-radius: var(--r-lg); padding: clamp(24px, 3.2vw, 42px) clamp(22px, 3.6vw, 48px); display: grid; gap: 14px; justify-items: center; text-align: center; box-shadow: 0 30px 60px -32px rgba(21, 22, 40, 0.6); }
.sc-n { font-size: 0.86rem; font-weight: 800; color: var(--naranja); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.sc .tag { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--pill); border: 1px solid rgba(21, 22, 40, 0.18); }
.sc p { font-size: clamp(1.35rem, 2.6vw, 2.05rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; text-wrap: balance; color: var(--navy); }
.sc--close { background: var(--navy); border-color: var(--navy); }
.sc--close p { color: var(--cream); }
.scroller-rail, .scroller-hint { display: none; }

/* Con JS: sección fija y tarjetas que se mueven con el scroll */
.scroller.is-live { height: calc(var(--n) * 48vh + 100vh); }
.scroller.is-live .scroller-pin { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr)); display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
.scroller.is-live .scroller-title { padding-block: clamp(14px, 3.4vh, 40px) 0; }
.scroller.is-live .scroller-cards { position: absolute; inset: 0; display: block; padding: 0; max-width: none; }
.scroller.is-live .sc { position: absolute; left: 50%; top: 44%; width: min(820px, calc(100% - 2 * var(--gutter) - 56px)); transform: translate(-50%, -50%); will-change: transform, opacity; transition: none; }
.scroller.is-live .scroller-rail { position: absolute; z-index: 40; left: clamp(14px, 3.4vw, 52px); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; padding: 4px 0; }
.scroller-fill { position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; margin-left: -1px; background: rgba(21, 22, 40, 0.22); border-radius: 2px; }
.scroller-fill::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--navy); border-radius: 2px; }
.scroller-rail button { position: relative; width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 2px solid var(--navy); background: var(--durazno); cursor: pointer; transition: transform .25s ease, background .25s ease; }
.scroller-rail button.is-done { background: var(--navy); }
.scroller-rail button.is-on { background: var(--navy); transform: scale(1.35); }
.scroller.is-live .scroller-hint { position: absolute; z-index: 40; right: var(--gutter); bottom: clamp(14px, 3vh, 30px); display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 18px; border-radius: var(--pill); background: var(--navy); color: var(--cream); font-size: 0.88rem; font-weight: 700; transition: opacity .3s ease; box-shadow: 0 16px 30px -18px rgba(21, 22, 40, 0.7); }
.scroller-hint svg { width: 16px; height: 16px; animation: nudge 1.4s ease-in-out infinite; }
.scroller.is-end .scroller-hint { opacity: 0; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
@media (max-width: 640px) {
  .scroller.is-live { height: calc(var(--n) * 42vh + 100vh); }
  .scroller.is-live .sc { width: calc(100% - 2 * var(--gutter) - 28px); top: 44%; left: calc(50% + 12px); }
  .scroller.is-live .scroller-rail { left: 10px; gap: 10px; }
  .scroller-rail button { width: 11px; height: 11px; }
  .sc p { font-size: 1.3rem; }
}
/* Tarjetas apiladas v3 (17/10): mazo que crece, número de fondo y barra de marca */
.sc { position: relative; overflow: hidden; isolation: isolate; }
.sc:not(.sc--close)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--durazno), var(--naranja)); }
.sc:not(.sc--close)::after { content: attr(data-n); position: absolute; z-index: -1; left: clamp(14px, 2.4vw, 30px); top: 50%; transform: translateY(-50%); font-size: clamp(4.5rem, 9vw, 7.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.06em; color: rgba(229, 98, 43, 0.1); pointer-events: none; }
.sc--close { background: var(--navy) url(img/trama.svg) 0 0 / 208px 355px repeat; background-blend-mode: soft-light; }
.sc--close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(21, 22, 40, 0.9); }
.sc--close .btn { font-size: 1rem; padding: 14px 24px; }
.scroller.is-live .sc { transform-origin: 50% 0%; }
.scroller-count { display: none; }
.scroller.is-live .scroller-count { position: absolute; z-index: 40; left: var(--gutter); bottom: clamp(14px, 3vh, 30px); display: flex; align-items: baseline; gap: 6px; color: var(--navy); font-variant-numeric: tabular-nums; }
.scroller-count b { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.scroller-count span { font-size: 0.9rem; font-weight: 700; opacity: 0.7; }
@media (max-width: 640px) { .scroller.is-live .scroller-count { display: none; } }

/* Casos con logo (17/10) */
.case-tab { grid-template-columns: 132px minmax(0, 1fr); }
.case-logo { width: 132px; height: 60px; padding: 10px 14px; }
.case-logo img { width: auto; height: auto; max-width: 100%; max-height: 32px; opacity: 0.95; }
@media (max-width: 640px) {
  .case-tab { grid-template-columns: 104px minmax(0, 1fr); }
  .case-logo { width: 104px; height: 50px; padding: 8px 10px; }
  .case-logo img { max-height: 26px; }
}

.btn-rayo { gap: 10px; }
.btn-rayo .rayo-ico { width: 12px; height: 22px; flex: none; }

.btn .ico-cal { width: 17px; height: 17px; flex: none; }
.btn-sm .ico-cal { width: 15px; height: 15px; }

@media (prefers-reduced-motion: reduce) {
  .scroller-hint svg { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .caret { display: none; }
  .kicker { animation: none; }
  .pains.is-live .pain:not(.pain--close) { opacity: 1; transform: none; }
}
