/* Integrova · site.css · "Muro"
   Negro, grises neutros y el morado del logo (matiz 287). El trabajo hecho es el material: un muro de capturas
   en perspectiva abre la página. El morado sólo marca lo vivo, lo elegido y WhatsApp, y toma un campo entero en el cierre.
   Tipos: Bricolage Grotesque (titulares y texto) y Martian Mono (horas y datos de las demos).
   Radios: píldora para lo pulsable, 12px para piezas y capturas. */

@font-face { font-family: 'Bricolage Grotesque'; src: url('../fonts/bricolage-latin.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Martian Mono'; src: url('../fonts/martian-mono-latin.woff2') format('woff2'); font-weight: 400 500; font-stretch: 87.5%; font-display: swap; }

/* Los tokens de color se registran para que el cambio de tema los interpole (transición en <html>). */
@property --bg { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --bg-2 { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --bg-3 { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --surface { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --line { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --line-strong { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --fg { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --fg-2 { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --fg-3 { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --accent { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --accent-2 { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --accent-text { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --shadow-c { syntax: '<color>'; inherits: true; initial-value: transparent; }

:root {
  color-scheme: light dark;
  /* tokens: negro y gris neutro (un punto frío hacia el morado), y un solo color */
  --bg:          light-dark(#F3F3F5, #0A0A0C);
  --bg-2:        light-dark(#E9E9EC, #111114);
  --bg-3:        light-dark(#DCDCE1, #1A1A1F);
  --surface:     light-dark(#FBFBFC, #141418);
  --line:        light-dark(rgba(14,14,17,.11), rgba(242,241,244,.11));
  --line-strong: light-dark(rgba(14,14,17,.24), rgba(242,241,244,.24));
  --fg:          light-dark(#0E0E11, #F2F1F4);
  --fg-2:        light-dark(#44434B, #B4B2BA);
  --fg-3:        light-dark(#62616A, #9896A2);
  --accent:      light-dark(#8A35A3, #9B3FB5);
  --accent-2:    light-dark(#7A2C91, #B254CE);
  --accent-text: light-dark(#7E2E95, #D39BE6);
  --shadow-c:    light-dark(rgba(20,18,26,.2), rgba(0,0,0,.65));
  /* /tokens */
  /* El muro y el cierre no cambian con el tema: son el material. */
  --ink: #0A0A0C; --plum: #5E1D70; --plum-ink: #3E1249;
  --on-stone-mute: #C9C8D0; --accent-glow: #E2B6F0;
  --on-stone: #F4F3F6; --on-stone-2: rgba(244,243,246,.78);
  --accent-ink: #FFFFFF;
  /* Grises de las demos: lo hecho y lo quieto. El morado queda para lo que está corriendo. */
  --stone-1: light-dark(#55545E, #6C6B75); --stone-2: light-dark(#6A6973, #9B99A5); --stone-3: light-dark(#8A8892, #C9C8D0);
  --ink-stone: light-dark(#34333B, #E4E3E8);
  --stone-fill: #2A2A30;
  --shadow: 0 24px 50px -28px var(--shadow-c);

  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-sans: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Martian Mono', ui-monospace, Consolas, monospace;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + .9vw, 1.9rem);
  --step-3: clamp(2.2rem, 1.4rem + 2.7vw, 3.75rem);
  --step-5: clamp(2.6rem, 1rem + 4.8vw, 5.5rem);

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 72px;
  --space-section: clamp(80px, 9vw, 136px);
  --radius: 22px; --radius-sm: 12px; --pill: 999px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --d-theme: 900ms;
  --silhouette: brightness(0) saturate(0) opacity(.78);
}
[data-theme="dark"]  { color-scheme: dark; --silhouette: brightness(0) invert(.92); }
[data-theme="light"] { color-scheme: light; }
html.theme-anim { transition: --bg var(--d-theme) var(--ease-io), --bg-2 var(--d-theme) var(--ease-io), --bg-3 var(--d-theme) var(--ease-io),
  --surface var(--d-theme) var(--ease-io), --line var(--d-theme) var(--ease-io), --line-strong var(--d-theme) var(--ease-io),
  --fg var(--d-theme) var(--ease-io), --fg-2 var(--d-theme) var(--ease-io), --fg-3 var(--d-theme) var(--ease-io),
  --accent var(--d-theme) var(--ease-io), --accent-2 var(--d-theme) var(--ease-io), --accent-text var(--d-theme) var(--ease-io), --shadow-c var(--d-theme) var(--ease-io); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  color: var(--fg);
  scroll-padding-top: calc(var(--nav-h) + 12px);
  scrollbar-width: thin;
  scrollbar-color: var(--fg-3) transparent;
  accent-color: var(--accent);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100svh;
  font: 400 var(--step-0)/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01';
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
::selection { background: color-mix(in srgb, var(--accent) 38%, transparent); color: var(--fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; caret-color: var(--accent); }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 650; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: var(--step-1); letter-spacing: -.015em; font-weight: 600; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

/* ---------- utilidades ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--space-section) 0; }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 4.5vw, 64px); max-width: 52rem; }
.section__title { font-size: var(--step-3); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--fg-2); max-width: 54ch; }
.label { font: 500 .8125rem/1.35 var(--font-sans); color: var(--fg-3); }
.mono { font-family: var(--font-mono); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; transform: translateY(-72px); z-index: 100; padding: 10px 16px; border-radius: var(--pill); background: var(--fg); color: var(--bg); font-weight: 600; text-decoration: none; transition: transform 160ms var(--ease-out); }
.skip:focus { transform: none; }
.link { color: var(--accent-text); text-decoration: underline; }

/* Rótulo de demo: dice que lo que se ve son datos de ejemplo. */
.tag { display: inline-flex; align-items: center; gap: 8px; font: 500 .75rem/1.2 var(--font-sans); color: var(--fg-3); }

/* LED: lo único que brilla en morado sin ser botón; dice qué está encendido ahora. */
.led { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; }
.led--on { border: 0; background: radial-gradient(circle at 35% 35%, #fff, #D39BE6 35%, var(--accent) 70%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), 0 2px 10px -1px var(--accent); }

/* Botones. Pulsación 120ms, hover 220ms, hover sólo con puntero fino. */
.btn {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font: 600 .9375rem/1 var(--font-sans);
  white-space: nowrap; color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: var(--pill);
  text-decoration: none; cursor: pointer; user-select: none;
  transition: transform 120ms var(--ease-out), background-color 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.btn .icon { width: 1.25em; height: 1.25em; transition: transform 220ms var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --btn-bd: transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 26px -14px var(--accent); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .875rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { --btn-bg: color-mix(in srgb, var(--accent) 84%, #000); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 14px 32px -12px var(--accent); }
  .btn--primary:hover .icon { transform: translateX(2px) rotate(-6deg); }
  .btn--ghost:hover { --btn-bd: var(--fg-3); --btn-bg: var(--bg-2); }
}

/* ---------- logo ---------- */
.logo { width: auto; height: 30px; color: var(--fg); fill: var(--accent-2); }
[data-theme="light"] .logo { fill: #6E2383; }

/* Logo vivo (nav). La palabra toma `color`; la marca hereda el `fill` de .logo, y una letra en hover también
   (`fill: inherit`), así el morado sale bien en cada tema y sobre piedra sin repetir colores aquí. */
.logo--live { overflow: visible; }
.logo__l path { fill: currentColor; transition: fill 200ms ease; }
.logo__l--mark path { fill: inherit; }
@media (hover: hover) and (pointer: fine) {
  .logo__l:hover path { fill: inherit; }
}
@media (prefers-reduced-motion: no-preference) {
  /* Vuelta lenta (420ms) y subida rápida (180ms): al barrer el cursor queda una ola detrás. */
  .logo__l path { transform-box: fill-box; transform-origin: 50% 100%;
    transition: transform 420ms var(--ease-out), fill 420ms var(--ease-out);
    animation: logo-in 700ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 50ms); }
  .logo__l--mark path { animation-name: logo-in-mark; animation-delay: calc(var(--i, 0) * 50ms + 130ms); }
  @media (hover: hover) and (pointer: fine) {
    .logo__l:hover path { transform: translateY(-7px); transition-duration: 180ms; }
    .logo__l--mark:hover path { transform: translate(3px, -9px) scale(1.07); }
  }
}
@keyframes logo-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes logo-in-mark { from { opacity: 0; transform: translate(-13px, 26px); } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); color: var(--fg);
  transition: background-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out), color 280ms var(--ease-out); }
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 280ms var(--ease-out);
  background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 -1px 0 var(--line); }
.nav.is-solid::before { opacity: 1; }
.nav.on-stone { color: var(--on-stone); }
.nav.on-stone .logo { color: var(--on-stone); fill: #D9A6EC; }
.nav__bar { display: flex; align-items: center; gap: 20px; height: 100%; }
.nav__brand { display: inline-flex; padding: 8px 0; border-radius: 8px; }
.nav__links { position: relative; display: flex; gap: 4px; margin-left: clamp(16px, 3vw, 48px); }
.nav__links a { position: relative; padding: 10px 14px; font-size: .9375rem; font-weight: 500; text-decoration: none; opacity: .78; border-radius: var(--pill);
  transition: opacity 200ms var(--ease-out), background-color 200ms var(--ease-out); }
.nav__links a[aria-current="true"] { opacity: 1; }
.nav__links a[aria-current="true"]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: currentColor; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { opacity: 1; background: color-mix(in srgb, currentColor 9%, transparent); } }
.nav__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__lang { display: inline-grid; place-items: center; min-width: 44px; height: 40px; padding: 0 10px; border-radius: var(--pill); font: 600 .8125rem/1 var(--font-sans); text-decoration: none; opacity: .85; }
.nav__icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  background: transparent; cursor: pointer; transition: transform 120ms var(--ease-out), border-color 200ms var(--ease-out); }
.nav__icon-btn:active { transform: scale(.94); }
.nav__icon-btn .icon { position: absolute; width: 18px; height: 18px; transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out); }
[data-theme="dark"] .nav__theme .icon--moon, [data-theme="light"] .nav__theme .icon--sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
.nav__menu { display: none; }
.nav__menu .icon--x { opacity: 0; transform: rotate(-90deg); }
.nav__menu[aria-expanded="true"] .icon--x { opacity: 1; transform: none; }
.nav__menu[aria-expanded="true"] .icon--list { opacity: 0; transform: rotate(90deg); }
.nav.on-stone .btn--primary { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 26px -12px rgba(155,63,181,.9); }

.menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 49; display: grid; align-content: space-between; padding-block: 28px 32px;
  background: var(--bg); color: var(--fg); }
.menu[hidden] { display: none; }
.menu__links { display: grid; }
.menu__links a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line);
  font: 600 var(--step-2)/1.1 var(--font-display); letter-spacing: -.02em; text-decoration: none; }
.menu__links a .icon { color: var(--fg-3); }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) .menu__links a { animation: menu-in 240ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 30ms); }
  .menu { transition: opacity 180ms var(--ease-out), display 180ms allow-discrete; }
  .menu[hidden] { opacity: 0; }
  @starting-style { .menu:not([hidden]) { opacity: 0; } }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 1023px) {
  .nav__links, .nav__lang { display: none; }
  .nav__menu { display: inline-grid; }
}
@media (max-width: 479px) { .nav__cta .nav__cta-label { display: none; } .nav__cta { padding: 0 12px; } }

/* ---------- hero: el muro ----------
   Cinco columnas de capturas sobre un plano cóncavo. Cada columna gira hacia el centro (--c de -2 a 2) y sube o baja
   a su propio paso (--d). Atenuadas para que el titular mande; la que tocas se enciende y dice a dónde lleva. */
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center;
  min-height: max(640px, 100svh); padding: calc(var(--nav-h) + 32px) 0 56px; text-align: center; color: var(--on-stone); background: var(--ink); }
.hero :focus-visible, .nav.on-stone :focus-visible, .contact :focus-visible { outline-color: var(--on-stone); }
.wall { position: absolute; inset: 0; z-index: -1; perspective: 1100px; perspective-origin: 50% 44%; }
/* La órbita: el plano gira despacio de un lado a otro, como si la cámara rodeara el muro. El puntero suma su inclinación encima. */
@property --orbit { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.wall__plane { --gap: clamp(14px, 1.9vw, 30px); position: absolute; inset: -16% -11%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap);
  transform-style: preserve-3d; transform: rotateX(var(--tilt-x, 0deg)) rotateY(calc(var(--tilt-y, 0deg) + var(--orbit))); transition: transform 900ms var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .wall__plane { animation: wall-orbit 22s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
  .wall.is-paused .wall__plane, .wall.is-off .wall__plane { animation-play-state: paused; }
}
@keyframes wall-orbit { from { --orbit: -9deg; } to { --orbit: 9deg; } }
.wall__col { transform: rotateY(calc(var(--c) * -17deg)) translateZ(calc(var(--z) * 1px)); }
.wall__track { animation: wall-run var(--d, 110s) linear infinite; will-change: transform; }
.wall__col:nth-child(even) .wall__track { animation-direction: reverse; }
.wall.is-paused .wall__track, .wall.is-off .wall__track { animation-play-state: paused; }
@keyframes wall-run { to { transform: translateY(-50%); } }
.tile { position: relative; display: block; margin-bottom: var(--gap); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-3);
  opacity: .46; filter: saturate(.7); transition: opacity 320ms var(--ease-out), filter 320ms var(--ease-out); }
.tile img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.wall__col:nth-child(3) .tile { opacity: .26; }
.tile__chip { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--pill);
  font: 600 .8125rem/1 var(--font-sans); color: #0E0E11; background: var(--on-stone); box-shadow: 0 8px 20px -10px #000;
  opacity: 0; transform: translateY(6px); transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out); }
.tile__chip .icon { width: 13px; height: 13px; }
@media (hover: hover) and (pointer: fine) {
  .wall__col:hover .wall__track { animation-play-state: paused; }
  .wall__col .tile:hover { opacity: 1; filter: none; }
  .tile:hover .tile__chip { opacity: 1; transform: none; }
}
/* Sin puntero el muro igual muestra su gesto: site.js enciende una pieza a la vez. */
.wall__col .tile.is-lit { opacity: 1; filter: none; }
.tile.is-lit .tile__chip { opacity: 1; transform: none; }
/* El velo deja pasar el puntero: oscurece el centro para el texto y funde el muro con el negro arriba y abajo. */
.wall::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 54% at 50% 50%, rgba(10,10,12,.94), rgba(10,10,12,.62) 58%, rgba(10,10,12,0) 84%),
              linear-gradient(180deg, var(--ink), rgba(10,10,12,0) 20%, rgba(10,10,12,0) 76%, var(--ink)); }
.wall__pause { position: absolute; z-index: 2; top: calc(var(--nav-h) + 12px); right: var(--gutter); display: none; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; color: var(--on-stone); background: rgba(10,10,12,.5); border: 1px solid rgba(244,243,246,.34); cursor: pointer;
  transition: background-color 200ms var(--ease-out), transform 120ms var(--ease-out); }
.wall__pause:active { transform: scale(.94); }
.wall__pause .icon { grid-area: 1 / 1; width: 16px; height: 16px; }
.wall__pause[aria-pressed="false"] .icon--play, .wall__pause[aria-pressed="true"] .icon--pause { visibility: hidden; }
@media (hover: hover) and (pointer: fine) { .wall__pause:hover { background: rgba(10,10,12,.8); } }
@media (prefers-reduced-motion: no-preference) { html.js .wall__pause { display: grid; } }
@media (prefers-reduced-motion: reduce) { .wall__track { animation: none; } }

.hero__copy { pointer-events: none; }
.hero__copy > * { pointer-events: auto; }
.hero__title { margin-inline: auto; font-size: var(--step-5); font-weight: 760; line-height: .94; letter-spacing: -.04em; font-variation-settings: 'opsz' 96; }
/* Titular rotativo: todas las frases ocupan la misma celda, así el alto es el de la más larga y nada salta.
   Cada frase entra subiendo y enfocándose; la que sale sigue hacia arriba. Sin JS sólo se ve la primera. */
.hero__rot { display: grid; justify-items: center; }
.hero__say { grid-area: 1 / 1; align-self: center; }
.hero__line { display: block; }
.hero__line + .hero__line { color: var(--on-stone-mute); }
html:not(.js) .hero__say:not(:first-child) { display: none; }
html.js .hero__say .hero__line { opacity: 0; transform: translateY(.42em); filter: blur(10px);
  transition: opacity 420ms var(--ease-out), transform 650ms var(--ease-out), filter 420ms var(--ease-out); }
html.js .hero__say.is-on .hero__line { opacity: 1; transform: none; filter: none; }
html.js .hero__say.is-on .hero__line + .hero__line { transition-delay: 80ms; }
html.js .hero__say.is-out .hero__line { transform: translateY(-.32em); transition-duration: 260ms, 360ms, 260ms; }
@media (prefers-reduced-motion: reduce) { html.js .hero__say .hero__line { transform: none; filter: none; } }
.hero__lede { margin: clamp(20px, 3vh, 30px) auto 0; max-width: 40ch; font-size: clamp(1.0625rem, .95rem + .45vw, 1.3125rem); line-height: 1.5; color: var(--on-stone-2); }
.hero__actions { display: flex; justify-content: center; margin-top: clamp(24px, 4vh, 36px); }
.hero__note { margin-top: 16px; font-size: .875rem; line-height: 1.4; color: var(--on-stone-2); }
@media (max-width: 899px) {
  .wall__plane { inset: -8% -16%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wall__col:first-child, .wall__col:last-child { display: none; }
  .wall { perspective: 760px; }
  .tile { opacity: .36; }
  .wall::after { background: radial-gradient(120% 46% at 50% 54%, rgba(10,10,12,.95), rgba(10,10,12,.78) 62%, rgba(10,10,12,0) 100%),
                linear-gradient(180deg, var(--ink), rgba(10,10,12,0) 16%, rgba(10,10,12,0) 82%, var(--ink)); }
}

/* ---------- soluciones: la baraja ----------
   Seis paneles sobre negro (material fijo, como el muro). El abierto ocupa el ancho y muestra su pieza flotando en
   perspectiva sobre un campo de morado que sigue al puntero; los cerrados son lomos con su nombre en vertical. */
.sol__deck { display: flex; gap: 8px; height: clamp(460px, 44vw, 580px); }
.sol__card { position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--radius-sm); color: var(--on-stone);
  background: linear-gradient(165deg, #1D1D22, #0D0D10);
  box-shadow: inset 0 0 0 1px rgba(244,243,246,.1); transition: flex-grow 620ms var(--ease-out), box-shadow 320ms var(--ease-out); }
.sol__card.is-on { flex-grow: 10; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent); }
.sol__name { position: relative; z-index: 2; height: 0; font: inherit; letter-spacing: 0; }
.sol__tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 20px; text-align: left; color: inherit; background: none; border: 0; cursor: pointer;
  font: 650 var(--step-2)/1.08 var(--font-display); letter-spacing: -.025em; }
.sol__ico { width: 26px; height: 26px; flex: none; color: var(--on-stone-mute); transition: color 300ms var(--ease-out); }
.sol__card.is-on .sol__ico { color: var(--accent-glow); }
.sol__body { position: relative; z-index: 1; height: 100%; }
.sol__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: end; gap: 24px; height: 100%; padding: 84px 28px 28px; }
.sol__for { max-width: 30ch; font-size: var(--step-1); line-height: 1.35; }
.sol__inc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sol__inc li { padding: 7px 13px; font-size: .875rem; line-height: 1.25; border-radius: var(--pill); background: rgba(10,10,12,.5); box-shadow: inset 0 0 0 1px rgba(244,243,246,.22); }
.sol__pick { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 24px; padding: 0 22px; border-radius: var(--pill); font-weight: 600; text-decoration: none; white-space: nowrap;
  color: var(--plum-ink); background: var(--on-stone); transition: transform 120ms var(--ease-out), background-color 220ms var(--ease-out); }
.sol__pick .icon { width: 1.25em; height: 1.25em; }
.sol__pick:active { transform: scale(.97); }
.sol__art { position: relative; align-self: stretch; perspective: 900px; }
.sol__glyph { position: absolute; right: -6%; top: -4%; width: min(78%, 330px); height: auto; aspect-ratio: 1; fill: rgba(244,243,246,.07); }
.sol__shot { position: absolute; right: 0; bottom: 4%; width: min(100%, 470px); height: auto; border-radius: 10px;
  transform: rotateY(-16deg) rotateX(5deg) rotate(1.5deg); transform-origin: 100% 60%; box-shadow: -30px 40px 60px -30px #000, 0 0 0 1px rgba(244,243,246,.16);
  transition: transform 700ms var(--ease-out); }
.sol__note { margin-top: 22px; max-width: 70ch; font-size: .9375rem; color: var(--fg-3); }
@media (hover: hover) and (pointer: fine) {
  .sol__card:not(.is-on):hover .sol__ico { color: var(--on-stone); }
  .sol__pick:hover { background: #FFFFFF; }
  .sol__card.is-on:hover .sol__shot { transform: rotateY(-9deg) rotateX(3deg) rotate(.5deg) translateY(-6px); }
}
/* Con JS: los cerrados son lomos. El contenido del abierto entra un poco después de que el panel se abre. */
@media (min-width: 900px) {
  html.js .sol__card:not(.is-on) .sol__tab { flex-direction: column; align-items: center; height: clamp(460px, 44vw, 580px); padding: 20px 0; }
  html.js .sol__card:not(.is-on) .sol__tab span { writing-mode: vertical-rl; white-space: nowrap; font-size: var(--step-1); color: var(--on-stone-mute); }
  html.js .sol__card:not(.is-on) .sol__body { visibility: hidden; opacity: 0; }
  html.js .sol__body { min-width: 520px; transition: opacity 420ms var(--ease-out) 160ms, visibility 0s; }
  html:not(.js) .sol__deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
  html:not(.js) .sol__card { min-height: 420px; }
}
@media (max-width: 899px) {
  .sol__deck { flex-direction: column; height: auto; }
  .sol__card { flex: none; }
  .sol__name { height: auto; }
  .sol__body { display: grid; grid-template-rows: 1fr; height: auto; transition: grid-template-rows 420ms var(--ease-out); }
  html.js .sol__card:not(.is-on) .sol__body { grid-template-rows: 0fr; visibility: hidden; }
  .sol__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; overflow: hidden; height: auto; padding: 0 20px 22px; }
  .sol__art { display: none; }
  .sol__tab { min-height: 64px; padding: 16px 20px; font-size: var(--step-1); }
}
@media (prefers-reduced-motion: reduce) { .sol__card, .sol__body, .sol__shot { transition: none; } }

/* ---------- áreas de experiencia: el tablero ----------
   Nueve fichas de ancho desigual. Cerrada dice el área y cuántas piezas tiene; abierta (cursor, foco o toque) las muestra.
   La luz de la ficha sigue al puntero. Lo que viene va punteado. */
.areas__board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.area { --mx: 50%; --my: 0%; position: relative; grid-column: span 4; min-height: 196px; overflow: hidden; border-radius: var(--radius-sm); isolation: isolate;
  background: linear-gradient(170deg, var(--surface), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line); }
.area:nth-child(6n+1) { grid-column: span 5; } .area:nth-child(6n+3) { grid-column: span 3; }
.area:nth-child(6n+4) { grid-column: span 3; } .area:nth-child(6n+5) { grid-column: span 5; }
.area::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 320ms var(--ease-out);
  background: radial-gradient(340px 260px at var(--mx) var(--my), color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%); }
.area__glyph { position: absolute; z-index: -1; right: -20px; bottom: -26px; width: 168px; height: 168px; fill: color-mix(in srgb, var(--fg) 9%, transparent);
  transition: transform 600ms var(--ease-out), fill 320ms var(--ease-out); }
.area__name { font: inherit; letter-spacing: 0; }
.area__tab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; padding: 20px 20px 0; text-align: left; color: inherit; background: none; border: 0; cursor: pointer;
  font: 650 var(--step-2)/1.08 var(--font-display); letter-spacing: -.025em; }
.area__count { flex: none; font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--fg-3); }
.area__items { display: flex; flex-wrap: wrap; gap: 7px; padding: 16px 20px 20px; }
.area__items li { padding: 6px 12px; font-size: .8125rem; line-height: 1.25; border-radius: var(--pill); background: color-mix(in srgb, var(--bg) 60%, transparent); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: opacity 260ms var(--ease-out), transform 320ms var(--ease-out); transition-delay: calc(var(--k, 0) * 35ms); }
.area__items li.is-soon { color: var(--fg-2); box-shadow: none; outline: 1px dashed var(--line-strong); outline-offset: -1px; }
.area__items li small { margin-left: 4px; font-size: .75rem; color: var(--accent-text); }
html.js .area:not(.is-open) .area__items li { opacity: 0; transform: translateY(10px); transition-delay: 0ms; }
html.js .area:not(.is-open) .area__items { visibility: hidden; }
.area.is-open::before { opacity: 1; }
.area.is-open .area__glyph { transform: translate(-8px, -8px) rotate(-8deg); fill: color-mix(in srgb, var(--accent) 22%, transparent); }
.area.is-open .area__count { color: var(--accent-text); }
@media (max-width: 1023px) { .area, .area:nth-child(n) { grid-column: span 6; } }
@media (max-width: 639px) {
  .area, .area:nth-child(n) { grid-column: 1 / -1; min-height: 0; }
  .area__tab { padding: 18px 18px; font-size: var(--step-1); }
  .area__items { padding-top: 0; }
  html.js .area:not(.is-open) .area__items { display: none; }
  .area__glyph { width: 84px; height: 84px; right: 8px; bottom: auto; top: -10px; }
}
@media (prefers-reduced-motion: reduce) { .area::before, .area__glyph, .area__items li { transition: none; } }

/* ---------- hecho con Integrova: los dos primeros grandes, el resto en fila de cuatro ---------- */
.made__grid > li { grid-column: span 3; }
.made__grid > li:nth-child(-n+2) { grid-column: span 6; }
.made__grid > li:nth-child(n+3) .made__meta b { font-size: var(--step-0); }
@media (max-width: 899px) { .made__grid > li, .made__grid > li:nth-child(-n+2) { grid-column: span 6; } }
@media (max-width: 559px) { .made__grid > li, .made__grid > li:nth-child(-n+2) { grid-column: 1 / -1; } }

/* ---------- hecho con Integrova (base): sitios públicos y marcas ---------- */
/* Dos sitios, mismo tamaño: ninguno vale menos que el otro. */
.made__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: start; }
.made__site { display: grid; gap: 14px; text-decoration: none; border-radius: var(--radius-sm); }
.made__shot { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-3); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.made__shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 700ms var(--ease-out); }
.made__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.made__meta b { font: 650 var(--step-1)/1.2 var(--font-display); letter-spacing: -.015em; }
.made__host { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-text); }
.made__host .icon { width: 15px; height: 15px; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .made__site:hover .made__shot img { transform: scale(1.03); }
  .made__site:hover .made__host .icon { transform: translate(2px, -2px); }
}

/* ---------- marcas ---------- */
.brands__title { margin-top: clamp(56px, 7vw, 96px); font: 500 var(--step--1)/1.3 var(--font-sans); color: var(--fg-2); text-align: center; letter-spacing: 0; }
.brands__row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: center; gap: 8px 16px; margin-top: 22px; }
.brands__row li { display: grid; place-items: center; height: 76px; }
.brands__row li > img { grid-area: 1 / 1; }
.brands__row img { width: auto; height: var(--h, 32px); max-width: 100%; object-fit: contain; filter: var(--silhouette); opacity: .74;
  transition: opacity 220ms var(--ease-out), filter 220ms var(--ease-out), transform 220ms var(--ease-out); }
/* La silueta va por defecto; la versión a color se funde encima al pasar el cursor. */
.brands__row img.brands__color { filter: none; opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .brands__row li:hover img { opacity: 1; transform: translateY(-2px); }
  .brands__row li[data-color]:hover img:not(.brands__color) { opacity: 0; }
  .brands__row li[data-color]:hover img.brands__color { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) {
  [data-theme="dark"] .brands__row li[data-dark-mono]:hover img:not(.brands__color) { opacity: 1; }
  [data-theme="dark"] .brands__row li[data-dark-mono]:hover img.brands__color { opacity: 0; }
}
@media (max-width: 1179px) { .brands__row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 639px) { .brands__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brands__row li { height: 64px; } }

/* ---------- proceso ---------- */
.process__line { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.process__line::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--line-strong) 34%, var(--line)); }
.process__step { position: relative; padding-top: 44px; }
.process__step::before { content: ''; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--fg-3); }
.process__step:first-child::before { border-color: var(--accent); background: var(--accent); }
.process__when { margin-right: .6em; font: 500 .8125rem/1 var(--font-mono); color: var(--fg-3); }
.process__step h3 { font-size: var(--step-2); margin-bottom: 10px; }
.process__step p { color: var(--fg-2); max-width: 30ch; }
@media (max-width: 879px) {
  .process__line { grid-template-columns: 1fr; gap: 28px; padding-left: 40px; }
  .process__line::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line-strong) 34%, var(--line)); }
  .process__step { padding-top: 0; }
  .process__step::before { left: -40px; }
}
.process__security { display: flex; gap: 12px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line-strong); max-width: 78ch; color: var(--fg-2); }
.process__security .icon { margin-top: .2em; width: 20px; height: 20px; color: var(--fg-3); }

/* ---------- preguntas ---------- */
.faq__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq__inner .section__head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none;
  font: 600 var(--step-1)/1.3 var(--font-display); letter-spacing: -.015em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; width: 22px; height: 22px; color: var(--fg-3); transition: transform 200ms var(--ease-out), color 200ms var(--ease-out); }
.faq__item[open] summary .icon { transform: rotate(45deg); color: var(--accent-text); }
.faq__item p { padding: 0 0 24px; max-width: 62ch; color: var(--fg-2); }
@media (prefers-reduced-motion: no-preference) {
  .faq__item::details-content { block-size: 0; overflow: clip; transition: block-size 240ms var(--ease-out), content-visibility 240ms allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }
  :root { interpolate-size: allow-keywords; }
}
@media (hover: hover) and (pointer: fine) { .faq__item summary:hover .icon { color: var(--fg); } }
@media (max-width: 879px) { .faq__inner { grid-template-columns: 1fr; } .faq__inner .section__head { position: static; } }

/* ---------- cierre: el campo de morado ---------- */
.contact { margin-top: var(--space-section); color: var(--on-stone); background: var(--plum); }
.contact ::selection { background: rgba(255,255,255,.28); color: #fff; }
.contact__inner { display: grid; justify-items: start; padding-block: clamp(80px, 11vw, 160px); }
.contact__title { font-size: var(--step-5); font-weight: 720; line-height: .95; letter-spacing: -.04em; max-width: 14ch; }
.contact__body { margin-top: 24px; max-width: 46ch; font-size: var(--step-1); color: rgba(244,243,246,.86); }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }
.contact__mail { color: rgba(244,243,246,.86); }
.contact__mail a { color: var(--on-stone); }
.btn--xl { min-height: 60px; padding: 0 32px; font-size: 1.0625rem; }
.btn--light { --btn-bg: var(--on-stone); --btn-fg: var(--plum-ink); --btn-bd: transparent; box-shadow: 0 16px 36px -18px rgba(0,0,0,.7); }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { --btn-bg: #FFFFFF; }
  .btn--light:hover .icon { transform: translateX(2px) rotate(-6deg); }
}
.footer { margin-top: 0; }

/* ---------- pie ---------- */
.footer { padding-block: clamp(56px, 7vw, 88px) 28px; background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 40px; }
.footer__tagline { margin-top: 16px; font: 600 var(--step-1)/1.3 var(--font-display); letter-spacing: -.015em; }
.footer__label { margin-bottom: 14px; }
.footer__col li { padding: 4px 0; }
.footer__col a { text-decoration: none; color: var(--fg-2); }
.footer__col a:hover { color: var(--fg); text-decoration: underline; }
.footer__phone { font-variant-numeric: tabular-nums; }
.footer__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.logo--footer { height: 34px; }
@media (max-width: 879px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70svh; display: grid; align-items: center; padding-top: calc(var(--nav-h) + 48px); }
.notfound__title { font-size: var(--step-3); margin-bottom: 16px; }
.notfound__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.notfound__actions .link { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- páginas legales (HTML estático, sin JS) ---------- */
.legal-page .nav::before { opacity: 1; }
.legal-page .nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.legal-page .legal__back { font-weight: 600; text-decoration: none; }
.legal { max-width: 72ch; padding-block: calc(var(--nav-h) + 56px) 80px; }
.legal h1 { font-size: var(--step-3); margin-bottom: 12px; }
.legal h2 { font-size: var(--step-2); margin: 44px 0 12px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--fg-2); margin-bottom: 12px; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal a { color: var(--accent-text); }
.legal__date { font: 500 .8125rem/1 var(--font-mono); color: var(--fg-3); margin-bottom: 32px; }
.legal-page .footer { padding-block: 28px; }

/* ---------- entrada al hacer scroll: un solo gesto para toda la página ----------
   El contenido es visible por defecto; site.js marca [data-reveal] y lo descubre con un barrido de máscara corto. */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  html.js [data-reveal] { transition: opacity 720ms var(--ease-out), transform 820ms var(--ease-out), filter 720ms var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
  .hero__rot, .hero__lede, .hero__actions, .hero__note { animation: rise 1100ms var(--ease-out) both; }
  .wall { animation: wall-in 1600ms var(--ease-out) both; }
  .hero__lede { animation-delay: 200ms; }
  .hero__actions { animation-delay: 280ms; }
  .hero__note { animation-delay: 330ms; }
}
@keyframes wall-in { from { opacity: 0; transform: scale(1.06); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } }

@media (prefers-reduced-transparency: reduce) {
  .nav::before { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav::before { background: var(--bg); }
}
@media print { .nav, .wall, .wall__pause { display: none; } .hero, .contact { color: #000; background: none; } }

/* ---------- sueltos ---------- */
.nowrap { white-space: nowrap; }

/* ============ segunda vuelta: toda la página con el mismo oficio ============ */

/* nav: al salir del muro se vuelve una isla flotante */
.nav::before { inset: 8px max(10px, calc((100% - var(--wrap)) / 2 - 28px)); border-radius: var(--pill);
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -26px var(--shadow-c); transition: opacity 280ms var(--ease-out), transform 420ms var(--ease-out); transform: translateY(-8px) scale(.985); }
.nav.is-solid::before { transform: none; }
.legal-page .nav::before, .menu-is-open.nav::before { inset: 0; border-radius: 0; transform: none; }

/* recorridos: la demo corre sobre un escenario con doble bisel */
.caps__demo { position: relative; isolation: isolate; min-height: 440px; padding: clamp(16px, 2.4vw, 30px); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(165deg, var(--bg-3), var(--bg-2));
  box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent), 0 0 0 6px color-mix(in srgb, var(--fg) 4%, transparent), var(--shadow); }
.demo { align-content: center; justify-items: center; min-height: 340px; }
@media (max-width: 899px) { .caps__demo { min-height: 0; } .demo { min-height: 0; } }

/* hecho: cada sitio en su bandeja; la captura se inclina hacia el puntero (site.js) */
.made__grid { perspective: 1400px; }
.made__shot { padding: 6px; border-radius: 18px; background: color-mix(in srgb, var(--fg) 5%, var(--bg)); transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.made__shot img { border-radius: var(--radius-sm); }
.made__host { gap: 10px; }
.made__go { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--accent-ink); background: var(--accent); transition: transform 260ms var(--ease-out); }
.made__go .icon { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) {
  .made__site:hover .made__shot { box-shadow: 0 0 0 1px var(--line-strong), 0 40px 70px -40px var(--shadow-c), 0 0 60px -20px color-mix(in srgb, var(--accent) 60%, transparent); }
  .made__site:hover .made__go { transform: translate(2px, -2px) scale(1.06); }
  .made__site:hover .made__host .icon { transform: none; }
  .brands__row li:hover img { transform: translateY(-3px) scale(1.06); }
}

/* cómo trabajamos: la línea se llena y los pasos se encienden a medida que bajas */
.process__line::after { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(.02); }
.process__line::before { background: var(--line-strong); }
.process__step::before { z-index: 1; transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .process__line { view-timeline: --proc block; }
    .process__line::after { animation: proc-fill linear both; animation-timeline: --proc; animation-range: entry 60% cover 62%; }
    .process__step::before { animation: proc-dot linear both; animation-timeline: --proc; }
    .process__step:nth-child(1)::before { animation-range: entry 55% entry 65%; }
    .process__step:nth-child(2)::before { animation-range: cover 28% cover 34%; }
    .process__step:nth-child(3)::before { animation-range: cover 41% cover 47%; }
    .process__step:nth-child(4)::before { animation-range: cover 55% cover 61%; }
    .process__step h3 { animation: proc-text linear both; animation-timeline: --proc; }
    .process__step:nth-child(1) h3 { animation-range: entry 55% entry 65%; }
    .process__step:nth-child(2) h3 { animation-range: cover 28% cover 34%; }
    .process__step:nth-child(3) h3 { animation-range: cover 41% cover 47%; }
    .process__step:nth-child(4) h3 { animation-range: cover 55% cover 61%; }
  }
}
@keyframes proc-fill { from { transform: scaleX(.02); } to { transform: scaleX(1); } }
@keyframes proc-dot { to { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); } }
@keyframes proc-text { from { color: var(--fg-3); } to { color: var(--fg); } }
@media (max-width: 879px) {
  .process__line::after { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; transform: scaleY(.02); }
  @keyframes proc-fill { from { transform: scaleY(.02); } to { transform: scaleY(1); } }
}

/* preguntas: la fila responde al cursor */
.faq__item summary { transition: padding-left 260ms var(--ease-out), color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .faq__item summary:hover { padding-left: 10px; } }
.faq__item[open] summary { color: var(--accent-text); }

/* cierre: el campo de morado, plano */
.contact__title { font-size: clamp(2.8rem, 1rem + 6.4vw, 7rem); max-width: 12ch; }

/* pie: la marca a todo el ancho, casi fundida con el fondo */
.footer { position: relative; overflow: clip; }
.footer__mega { margin-top: clamp(40px, 6vw, 80px); padding-inline: var(--gutter); }
.footer__logo-xl { display: block; width: 100%; height: auto; color: color-mix(in srgb, var(--fg) 9%, transparent); fill: color-mix(in srgb, var(--accent) 34%, transparent); }
[data-theme="light"] .footer__logo-xl { fill: color-mix(in srgb, var(--accent) 34%, transparent); }
.footer__base { margin-top: clamp(20px, 3vw, 36px); }
@media (prefers-reduced-motion: reduce) { .made__shot, .nav::before { transition: none; } }

/* objetivos táctiles: 44px en los controles de la nav y la pausa; en pantallas táctiles, también en los enlaces de texto */
.nav__icon-btn, .wall__pause { width: 44px; height: 44px; }
.nav__cta.btn--sm { min-height: 44px; }
@media (pointer: coarse) {
  .footer__col a, .contact__mail a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__col li { padding: 0; }
}

/* capturas de los sitios en el tema de Integrova: cambian con el dispositivo o con el sol/luna */
.shot--light { display: none; }
[data-theme="light"] .shot--dark { display: none; }
[data-theme="light"] .shot--light { display: block; }

/* ============ tercera vuelta: lo que estaba quieto ahora trabaja ============ */

/* soluciones: el hueco del panel abierto es una ventana con su recorrido corriendo (caps.js), inclinada hacia el puntero */
.sol__live { --px: 0; --py: 0; --s: .9; position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 520px; padding: 18px; border-radius: 16px; container-type: inline-size; pointer-events: none;
  color: var(--fg); background: var(--surface); box-shadow: -34px 44px 70px -34px #000, 0 0 0 1px rgba(244,243,246,.16);
  transform-origin: 100% 50%; transform: scale(var(--s)) rotateY(calc(-3deg + var(--px) * 5deg)) rotateX(calc(1deg - var(--py) * 4deg));
  transition: transform 700ms var(--ease-out); }
.sol__live:not(:has([data-demo])) { display: none; }
.sol__art:has([data-demo]) .sol__glyph { display: none; }
.sol__live .demo { min-height: 0; }
/* ancho de diseño por recorrido: el que deja su interfaz más alta y legible dentro del hueco */
.sol__live[data-live="tienda"] { width: 400px; }
.sol__live[data-live="whatsapp"] { width: 440px; }
.sol__live[data-live="apps"] { width: 310px; }
.sol__live[data-live="n8n"] { width: 620px; }
@media (prefers-reduced-motion: no-preference) {
  html.js .sol__card.is-on :is(.sol__for, .sol__inc li, .sol__pick) { animation: sol-in 560ms var(--ease-out) backwards; animation-delay: 180ms; }
  html.js .sol__card.is-on .sol__inc li:nth-child(1) { animation-delay: 250ms; }
  html.js .sol__card.is-on .sol__inc li:nth-child(2) { animation-delay: 295ms; }
  html.js .sol__card.is-on .sol__inc li:nth-child(3) { animation-delay: 340ms; }
  html.js .sol__card.is-on .sol__inc li:nth-child(n+4) { animation-delay: 385ms; }
  html.js .sol__card.is-on .sol__pick { animation-delay: 450ms; }
  html.js .sol__card.is-on .sol__live { animation: sol-live-in 900ms var(--ease-out) 140ms backwards; }
}
@keyframes sol-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes sol-live-in { from { opacity: 0; transform: scale(calc(var(--s) * .94)) rotateY(-14deg) rotateX(6deg) translateY(44px); } }
@media (prefers-reduced-motion: reduce) { .sol__live { transition: none; } }

/* pie: el logotipo entra letra por letra atado al scroll y cada letra responde a la distancia del puntero (site.js pone --k) */
.footer__mega { view-timeline: --mega block; }
.logo--mega .logo__l path { animation: none; fill: color-mix(in srgb, var(--fg) calc(15% + var(--k, 0) * 82%), transparent);
  transform: translateY(calc(var(--k, 0) * -8px)); transition: transform 420ms var(--ease-out), fill 420ms var(--ease-out); }
.logo--mega .logo__l--mark path { fill: color-mix(in srgb, var(--accent) calc(52% + var(--k, 0) * 48%), transparent);
  transform: translate(calc(var(--k, 0) * 5px), calc(var(--k, 0) * -11px)); }
.footer__mega:hover .logo__l path { transition-duration: 160ms; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .logo--mega .logo__l path { animation: mega-rise linear both; animation-timeline: --mega;
      animation-range: entry calc(var(--i) * 5%) entry calc(50% + var(--i) * 5%); }
  }
}
@keyframes mega-rise { from { translate: 0 16px; opacity: 0; } }

/* pie: dato vivo, la hora de Santo Domingo y si hay alguien respondiendo */
.footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer__live { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; white-space: nowrap; color: var(--fg-2); }
.footer__live time { color: var(--fg); }
.footer__status::before { content: '·'; margin-right: 10px; color: var(--fg-3); }
@media (hover: hover) and (pointer: fine) {
  .footer__col a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 420ms var(--ease-out), color 200ms var(--ease-out); }
  .footer__col a:hover { text-decoration: none; background-size: 100% 1px; }
}
/* el borde del panel va encima de la ventana que se sale por el canto */
.sol__card::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(244,243,246,.1); transition: box-shadow 320ms var(--ease-out); }
.sol__card.is-on::after { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent); }
/* celular: la ventana del recorrido va debajo del texto del panel abierto, de frente */
@media (max-width: 899px) {
  .sol__art:has([data-demo]) { display: block; margin-top: 20px; perspective: none; }
  .sol__live, .sol__live[data-live] { position: static; width: auto; padding: 12px; translate: none; transform: none; }
  .sol__live .demo { min-height: 0; }
  html.js .sol__card.is-on .sol__live { animation: sol-in 560ms var(--ease-out) 300ms backwards; }
}

/* soluciones, escritorio: el texto arriba junto al título, lo que incluye y el enlace abajo; la ventana ocupa el hueco entero */
@media (min-width: 900px) {
  .sol__inner { align-items: stretch; padding-top: 76px; }
  .sol__copy { display: flex; flex-direction: column; align-items: flex-start; }
  .sol__inc { margin-top: 28px; }
  .sol__pick { margin-top: auto; }
  .sol__art { container-type: inline-size; }
}
@media (max-width: 479px) { .footer__status { flex-basis: 100%; } .footer__status::before { content: none; } }
@media (min-width: 900px) { .sol__for { max-width: 15ch; font: 600 var(--step-2)/1.12 var(--font-display); letter-spacing: -.02em; text-wrap: balance; } }

/* pie: el dato vivo sube junto a la marca */
.footer__brand .footer__live { margin-top: 22px; font-size: .9375rem; }

/* ============ cuarta vuelta: la mitad de abajo también vive ============ */

/* hecho con: la portada real se desplaza sola dentro del marco; con el puntero encima va más rápido (site.js) */
.made__view { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); }
.made__view > .shot { height: 100%; }
.made__long { position: absolute; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: auto; object-fit: fill; opacity: 0; transition: opacity 700ms var(--ease-out); }
.made__shot .made__long { aspect-ratio: auto; transition: opacity 700ms var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  html.js .made__long { animation: made-pan 30s cubic-bezier(.45, 0, .55, 1) calc(var(--i, 0) * -4s) infinite alternate paused; }
  html.js .made__site.is-live .made__long { opacity: 1; animation-play-state: running; }
}
@keyframes made-pan { to { transform: translateY(var(--pan, -75%)); } }

/* titulares: se llenan de tinta al entrar, atados al scroll */
@supports (animation-timeline: view()) and ((-webkit-background-clip: text) or (background-clip: text)) {
  @media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
    .section__title, .contact__title { --ink: var(--fg); color: transparent;
      background: linear-gradient(90deg, var(--ink) 50%, color-mix(in srgb, var(--ink) 32%, transparent) 50%) 100% 0 / 200% 100% no-repeat;
      -webkit-background-clip: text; background-clip: text;
      animation: title-fill linear both; animation-timeline: view(); animation-range: entry 80% cover 52%; }
    .contact__title { --ink: var(--on-stone); }
  }
}
@keyframes title-fill { to { background-position: 0 0; } }

/* cómo trabajamos: cada paso lleva una barra del largo de su plazo; la del soporte mensual no termina */
.process__bar { display: block; height: 4px; max-width: 30ch; margin-bottom: 14px; overflow: hidden; border-radius: 2px; background: var(--line-strong); }
.process__bar::after { content: ''; display: block; width: var(--w, 100%); height: 100%; border-radius: inherit; background: var(--accent); transform-origin: left; }
.process__step:nth-child(1) { --w: 10%; } .process__step:nth-child(2) { --w: 34%; } .process__step:last-child { --w: 30%; }
@media (prefers-reduced-motion: no-preference) {
  html.js .process__step:not(:last-child) .process__bar::after { transform: scaleX(0); transition: transform 1200ms cubic-bezier(.22, 1, .36, 1) calc(320ms + var(--i, 0) * 170ms); }
  html.js .process__step.is-in:not(:last-child) .process__bar::after { transform: none; }
  html.js .process__step:last-child .process__bar::after { transform: translateX(-110%); }
  html.js .process__step:last-child.is-in .process__bar::after { animation: bar-loop 2.8s linear 1.2s infinite; }
}
@keyframes bar-loop { from { transform: translateX(-110%); } to { transform: translateX(345%); } }

/* scroll suave (Lenis): él lleva el desplazamiento, el navegador no lo anima por su cuenta */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
html.lenis.lenis-stopped { overflow: hidden; }

/* soluciones: el panel abierto llena su línea mientras corre su recorrido y la baraja pasa al siguiente (caps.js pone --tour) */
.sol__progress { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); pointer-events: none;
  transform-origin: left; transform: scaleX(var(--tour, 0)); opacity: 0; transition: opacity 300ms var(--ease-out); }
.sol__card.is-on[style*="--tour"] .sol__progress { opacity: 1; }

/* ============ quinta vuelta: proceso, preguntas y cierre ============ */

/* cómo trabajamos: calendario de seis semanas y el mes a mes; cada barra ocupa el plazo real del paso */
.plan { --cols: 7; --lab: minmax(0, 4fr); --trk: minmax(0, 7fr); }
.plan__scale { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); margin-left: calc(4 / 11 * 100% + 24px);
  padding-bottom: 12px; color: var(--fg-3); font-size: .75rem; border-bottom: 1px solid var(--line-strong); }
.plan__scale span:last-child { color: var(--accent-text); }
.plan__row { display: grid; grid-template-columns: var(--lab) var(--trk); align-items: center; gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.plan__text h3 { font-size: var(--step-2); }
.plan__text p { margin-top: 6px; max-width: 42ch; color: var(--fg-2); }
.plan__when { margin-right: .6em; color: var(--accent-text); }
.plan__track { position: relative; height: 44px; border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px var(--line); }
.plan__track::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / calc(100% / var(--cols)) 100%; }
.plan__bar, .plan__reach { position: absolute; top: 9px; bottom: 9px; left: calc(var(--from) / var(--cols) * 100%); border-radius: var(--pill); transform-origin: left; }
.plan__bar { width: max(10px, calc((var(--to) - var(--from)) / var(--cols) * 100%)); background: var(--accent); }
.plan__reach { width: calc((var(--max) - var(--from)) / var(--cols) * 100%); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 60%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent); }
.plan__row--loop .plan__bar { overflow: hidden; }
.plan__row--loop .plan__bar::after { content: ''; position: absolute; inset: 0; width: 40%; border-radius: inherit; background: rgba(255,255,255,.45); transform: translateX(-120%); }
@media (prefers-reduced-motion: no-preference) {
  html.js .plan__bar, html.js .plan__reach { transition: transform 1200ms cubic-bezier(.22, 1, .36, 1) calc(260ms + var(--i, 0) * 170ms), opacity 400ms var(--ease-out) calc(260ms + var(--i, 0) * 170ms); }
  html.js .plan__row:not(.is-in) .plan__bar, html.js .plan__row:not(.is-in) .plan__reach { transform: scaleX(0); opacity: 0; }
  html.js .plan__row.is-in .plan__reach { transition-delay: calc(700ms + var(--i, 0) * 170ms); }
  html.js .plan__row--loop.is-in .plan__bar::after { animation: plan-sweep 2.4s cubic-bezier(.45, 0, .55, 1) 1.8s infinite; }
}
@keyframes plan-sweep { to { transform: translateX(260%); } }
@media (hover: hover) and (pointer: fine) {
  .plan__row { transition: background-color 260ms var(--ease-out); }
  .plan__row:hover { background: color-mix(in srgb, var(--fg) 3%, transparent); }
  .plan__row:hover .plan__bar { filter: brightness(1.15); }
}
@media (max-width: 879px) {
  .plan__scale { margin-left: 0; font-size: .625rem; }
  .plan__scale span { overflow: hidden; white-space: nowrap; }
  .plan__row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .plan__track { height: 32px; }
  .plan__bar, .plan__reach { top: 7px; bottom: 7px; }
}

/* preguntas: a todo el ancho, filas grandes; al pasar el puntero la fila se llena desde la izquierda */
.faq__inner { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); }
.faq__inner .section__head { position: static; }
.faq__item summary { position: relative; isolation: isolate; padding: 30px 8px; font: 650 var(--step-2)/1.15 var(--font-display); letter-spacing: -.02em; }
.faq__item summary::before { content: ''; position: absolute; z-index: -1; inset: 0; background: color-mix(in srgb, var(--fg) 4%, transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 520ms var(--ease-out); }
.faq__item summary .icon { width: 28px; height: 28px; }
.faq__item p { padding: 0 8px 32px; max-width: 64ch; font-size: var(--step-1); line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
  .faq__item summary:hover { padding-left: 24px; }
  .faq__item summary:hover::before { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] p { animation: faq-in 520ms var(--ease-out) 60ms backwards; }
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 879px) { .faq__item summary { padding-block: 22px; font-size: var(--step-1); } .faq__item p { font-size: var(--step-0); } }

/* cierre: la conversación de ejemplo ocupa la otra mitad del campo morado */
@media (min-width: 900px) {
  .contact__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 88px); align-items: center; }
  .contact__inner > :not(.talk) { grid-column: 1; }
  .talk { grid-column: 2; grid-row: 1 / span 3; }
}
.talk { width: 100%; max-width: 480px; justify-self: end; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 440px; margin-top: 40px;
  border-radius: 22px; overflow: hidden; color: var(--on-stone); background: rgba(10,10,12,.32); box-shadow: inset 0 0 0 1px rgba(244,243,246,.14), 0 40px 80px -40px rgba(0,0,0,.6); }
@media (min-width: 900px) { .talk { margin-top: 0; } }
.talk__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(10,10,12,.35); border-bottom: 1px solid rgba(244,243,246,.1); }
.talk__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--on-stone); }
.talk__avatar svg { width: 18px; height: 22px; fill: var(--plum); }
.talk__who { display: grid; gap: 2px; }
.talk__who small { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: rgba(244,243,246,.75); }
.talk__log { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 18px; overflow: hidden; }
.talk__msg { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 4px 8px; max-width: 84%; padding: 10px 12px 8px 14px; font-size: .9375rem; line-height: 1.4; border-radius: 16px; }
.talk__msg time { font-size: .6875rem; opacity: .7; }
.talk__msg--you { align-self: flex-end; color: var(--plum-ink); background: var(--on-stone); border-bottom-right-radius: 4px; }
.talk__msg--us { align-self: flex-start; grid-template-columns: minmax(0, 1fr) auto; background: rgba(244,243,246,.14); border-bottom-left-radius: 4px; }
.talk__tick { width: 16px; height: 16px; color: rgba(62,18,73,.45); transition: color 300ms var(--ease-out); }
.talk__msg.is-read .talk__tick { color: var(--accent); }
.talk__msg--dots { gap: 5px; grid-template-columns: repeat(3, auto); padding: 14px 16px; }
.talk__msg--dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(244,243,246,.75); animation: caps-dot 900ms ease-in-out infinite; }
.talk__msg--dots i:nth-child(2) { animation-delay: 150ms; } .talk__msg--dots i:nth-child(3) { animation-delay: 300ms; }
.talk__compose { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(10,10,12,.35); border-top: 1px solid rgba(244,243,246,.1); }
.talk__input { flex: 1; min-width: 0; min-height: 40px; display: flex; align-items: center; padding: 0 16px; border-radius: var(--pill); background: rgba(244,243,246,.1); font-size: .9375rem; white-space: nowrap; overflow: hidden; }
.talk__typed:not(:empty) + .talk__hint { display: none; }
.talk__hint { color: rgba(244,243,246,.55); }
.talk__typed:not(:empty)::after { content: ''; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 2px; vertical-align: -3px; background: var(--on-stone); }
.talk__send { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; color: var(--plum-ink); background: var(--on-stone); transition: transform 200ms var(--ease-out); }
.talk__send .icon { width: 18px; height: 18px; }
.talk__send.is-press { transform: scale(.88); }
@media (prefers-reduced-motion: no-preference) {
  .talk__msg.is-new { animation: talk-in 420ms var(--ease-out) backwards; }
  .talk__msg--you.is-new { transform-origin: right bottom; } .talk__msg--us.is-new { transform-origin: left bottom; }
}
@keyframes talk-in { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@media (max-width: 479px) { .talk { height: 380px; } .talk__msg { font-size: .875rem; } }
.talk__log { -webkit-mask-image: linear-gradient(transparent, #000 48px); mask-image: linear-gradient(transparent, #000 48px); }

/* calendario, segunda pasada: la barra es el contenido (paso + plazo); la grilla son líneas finas, sin cajas */
.plan__scale { margin-left: 0; }
.plan__row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 18px 22px; }
.plan__track { height: 60px; border-radius: 0; box-shadow: none; }
.plan__track::before { background: linear-gradient(90deg, color-mix(in srgb, var(--fg) 7%, transparent) 1px, transparent 1px) 0 0 / calc(100% / var(--cols)) 100%; }
.plan__bar, .plan__reach { top: 6px; bottom: 6px; border-radius: 14px; }
.plan__bar { display: flex; align-items: center; gap: 14px; min-width: max-content; padding: 0 18px; color: var(--accent-ink); white-space: nowrap; }
.plan__bar h3 { font: 650 var(--step-1)/1 var(--font-display); letter-spacing: -.015em; }
.plan__bar .plan__when { margin: 0; color: inherit; opacity: .78; font-size: .8125rem; }
.plan__row--loop .plan__bar, .plan__row--loop .plan__reach { left: auto; right: 0; transform-origin: right; }
.plan__desc { max-width: 70ch; color: var(--fg-2); padding-left: calc(var(--from) / var(--cols) * 100%); }
.plan__row--loop .plan__desc { padding-left: 0; margin-left: auto; text-align: right; }
@media (max-width: 879px) {
  .plan__track { height: 52px; }
  .plan__bar { gap: 10px; padding: 0 14px; }
  .plan__bar h3 { font-size: var(--step-0); }
  .plan__desc { padding-left: 0; }
  .plan__row--loop .plan__desc { text-align: left; margin-left: 0; }
}

/* preguntas: la fila no se corre con el puntero; sólo el + gira */
@media (hover: hover) and (pointer: fine) {
  .faq__item summary:hover { padding-left: 8px; }
  .faq__item:not([open]) summary:hover .icon { transform: rotate(90deg); }
}

/* cierre: con el campo morado a la vista, el WhatsApp de la barra se aparta (el del cierre ya está ahí) */
[data-wa="nav"] { transition: opacity 260ms var(--ease-out), visibility 0s linear 0s; }
html.at-close [data-wa="nav"] { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 260ms var(--ease-out), visibility 0s linear 260ms; }
.plan__bar > * { position: relative; z-index: 1; }
.plan__row--loop .plan__bar::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); }
/* calendario: la descripción siempre alineada a la izquierda (sin escalera); en celular sin la fila de semanas */
.plan__desc, .plan__row--loop .plan__desc { padding-left: 0; margin-left: 0; text-align: left; }
.plan__row { padding-block: 14px 18px; }
@media (max-width: 879px) { .plan__scale { display: none; } }
.talk__log { -webkit-mask-image: linear-gradient(transparent, #000 22px); mask-image: linear-gradient(transparent, #000 22px); padding-top: 22px; }

/* ============ preguntas: índice + respuesta ============
   Técnica de las referencias del dueño (thomasaufresne.com, ellioteriksson.com, ijpowell.co.uk): índice denso en letra
   chica con un dato en mono alineado a la derecha; al pasar el puntero, las otras filas se apagan; la respuesta elegida
   ocupa la otra mitad en grande y se descifra letra por letra. Sin JS o en celular: acordeón. */
.faq__item summary { padding: 18px 4px; font: 600 var(--step-1)/1.25 var(--font-sans); letter-spacing: -.005em; gap: 16px; }
.faq__item summary::before { content: none; }
.faq__q { flex: 1; }
.faq__tag { flex: none; color: var(--fg-3); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.faq__item summary .icon { width: 20px; height: 20px; }
.faq__item p { font-size: var(--step-0); padding: 0 4px 22px; }
.faq__pane { display: none; }
@media (min-width: 900px) {
  .faq__board.is-live { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
  .faq__board.is-live .faq__item p { display: none; }
  .faq__board.is-live .faq__item summary .icon { display: none; }
  .faq__board.is-live .faq__item summary { transition: opacity 320ms cubic-bezier(.625, .05, 0, 1), color 220ms var(--ease-out), padding-left 420ms cubic-bezier(.625, .05, 0, 1); }
  .faq__board.is-live .faq__item.is-current summary { color: var(--accent-text); padding-left: 16px; }
  .faq__board.is-live .faq__item.is-current .faq__tag { color: var(--accent-text); }
  .faq__board.is-live .faq__item summary::after { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent);
    transform: scale(0); transition: transform 420ms cubic-bezier(.625, .05, 0, 1); }
  .faq__board.is-live .faq__item.is-current summary::after { transform: none; }
  .faq__board.is-live .faq__item summary { position: relative; }
  .faq__board.is-live .faq__list:hover .faq__item:not(:hover) summary { opacity: .32; }
  .faq__board.is-live .faq__pane { display: grid; align-content: start; gap: 18px; position: sticky; top: calc(var(--nav-h) + 40px); min-height: 360px;
    padding-top: 22px; border-top: 1px solid var(--line-strong); }
  .faq__pane-tag { color: var(--fg-3); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
  .faq__pane-q { font: 650 var(--step-1)/1.2 var(--font-display); color: var(--fg-2); }
  .faq__pane-a { font: 500 var(--step-2)/1.28 var(--font-display); letter-spacing: -.015em; color: var(--fg); text-wrap: pretty; }
  .faq__pane-a .is-scramble { color: var(--accent-text); font-family: var(--font-mono); font-weight: 400; }
}

/* preguntas, segunda pasada: la etiqueta es un dato discreto (no un rótulo en mayúsculas), sin repetir nada en el panel */
.faq__tag { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: 1; color: var(--fg-3); font-size: .8125rem; }
@media (max-width: 899px) { .faq__tag { display: none; } }
.faq .section__head { margin-bottom: 0; }
.faq__inner { gap: 40px; }
@media (min-width: 900px) {
  .faq__board.is-live .faq__item.is-current .faq__tag { opacity: 1; }
  .faq__board.is-live .faq__pane { min-height: 0; padding-top: 26px; }
  .faq__pane-a .is-scramble { color: var(--fg-3); font-family: inherit; font-weight: inherit; }
}

/* preguntas: la fila activa se marca sólo con el color de la pregunta */
.faq__board.is-live .faq__item summary::after { content: none; }
.faq__board.is-live .faq__item.is-current summary { padding-left: 4px; }

/* ============ cómo trabajamos: índice ============
   Técnica de thomasaufresne.com: filas densas con líneas finas, el dato (el plazo) alineado a la derecha y, con el
   puntero, las demás filas se apagan. Mismo lenguaje que Preguntas, al revés: título a la izquierda, lista a la derecha. */
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.steps__head { display: grid; gap: 28px; position: sticky; top: calc(var(--nav-h) + 40px); }
.steps__security { display: flex; gap: 10px; max-width: 40ch; font-size: .9375rem; color: var(--fg-3); }
.steps__security .icon { flex: none; width: 18px; height: 18px; margin-top: .15em; }
.steps__list { border-top: 1px solid var(--line-strong); }
.steps__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--line-strong);
  transition: opacity 320ms cubic-bezier(.625, .05, 0, 1); }
.steps__text h3 { font: 600 var(--step-1)/1.25 var(--font-sans); letter-spacing: -.005em; }
.steps__text p { margin-top: 6px; max-width: 46ch; color: var(--fg-3); font-size: .9375rem; }
.steps__when { white-space: nowrap; color: var(--fg-3); font-size: .8125rem; transition: color 220ms var(--ease-out); }
.steps__row:last-child .steps__when { color: var(--accent-text); }
@media (hover: hover) and (pointer: fine) {
  .steps__list:hover .steps__row:not(:hover) { opacity: .32; }
  .steps__row:hover .steps__when { color: var(--fg); }
}
@media (max-width: 899px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps__head { position: static; }
  .steps__security { order: 2; }
}

/* cómo trabajamos, segunda pasada: escala grande (ellioteriksson.com), filas que se encienden una por una con el scroll
   (la lista de thomasaufresne.com) y la columna izquierda anclada arriba y abajo */
.steps { align-items: stretch; }
.steps__head { position: static; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.steps__head .section__title { position: sticky; top: calc(var(--nav-h) + 40px); }
.steps__security { padding-bottom: 6px; }
.steps__row { padding-block: 26px; }
.steps__text h3 { font: 650 clamp(2rem, 1rem + 2.2vw, 3rem)/1.02 var(--font-display); letter-spacing: -.03em; }
.steps__text p { margin-top: 12px; max-width: 42ch; }
.steps__when { align-self: start; padding-top: .9em; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps__row { animation: step-lit linear both; animation-timeline: view(); animation-range: entry 40% cover 42%; }
  }
}
@keyframes step-lit { from { opacity: .3; } }
@media (hover: hover) and (pointer: fine) { .faq__board.is-live .faq__list:hover .faq__item:not(:hover) summary { opacity: .5; } }
@media (max-width: 899px) { .steps__head .section__title { position: static; } .steps__text h3 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.25rem); } }

/* cómo trabajamos, tercera pasada: la columna izquierda es fija y muestra el plazo de la fila encendida (site.js);
   la fila se enciende pasando su nombre de gris a blanco (no se apaga el texto: el contraste se cumple siempre) */
.steps__head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; justify-content: flex-start; }
.steps__head .section__title { position: static; }
.steps__now { font-size: clamp(2.25rem, 1.2rem + 2.6vw, 3.75rem); line-height: 1; letter-spacing: -.04em; color: var(--accent-text); min-height: 1em;
  transition: opacity 260ms cubic-bezier(.625, .05, 0, 1), transform 420ms cubic-bezier(.625, .05, 0, 1); }
.steps__now.is-swap { opacity: 0; transform: translateY(10px); }
.steps__row { animation: none; }
.steps__text h3 { color: var(--fg-3); transition: color 420ms cubic-bezier(.625, .05, 0, 1); }
.steps__row.is-lit .steps__text h3 { color: var(--fg); }
.steps__row.is-lit .steps__when { color: var(--fg); }
.steps__row:last-child.is-lit .steps__when { color: var(--accent-text); }
.steps__row { padding-block: 22px; }
@media (max-width: 899px) { .steps__head { position: static; } .steps__now { display: none; } .steps__text h3 { color: var(--fg); } }
@media (prefers-reduced-motion: reduce) { .steps__text h3 { color: var(--fg); } .steps__now { transition: none; } }
/* cómo trabajamos: el plazo de la fila encendida vive sólo a la izquierda, grande; la columna llega al pie de la pantalla */
@media (min-width: 900px) {
  .steps__head { min-height: calc(100svh - var(--nav-h) - 190px); }
  .steps__security { margin-top: auto; }
  .steps__now { font-size: clamp(3rem, 1rem + 5.2vw, 7rem); }
  .steps__row .steps__when { transition: opacity 260ms var(--ease-out), color 220ms var(--ease-out); }
  .steps__row.is-lit .steps__when { opacity: 0; }
  .steps__row:last-child:not(.is-lit) .steps__when { color: var(--fg-3); }
}
