/* =====================================================================
   Khromati — hoja de estilos del sitio
   Paleta: del gris más claro al rosa mexicano. Sin fondos negros.
   Orden del archivo: tokens · base · menú · hero · logos · tambor ·
   servicios · proceso · clientes · preguntas · escena final · footer
   ===================================================================== */

/* ---------- Tipografía de marca (Selawik = versión libre de Segoe UI) */
@font-face { font-family: "Selawik"; src: url("../fonts/Selawik-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Selawik"; src: url("../fonts/Selawik-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Selawik"; src: url("../fonts/Selawik-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens */
:root {
  /* claros */
  --g-0: #fcfcfc;          /* fondo de la página: el gris más claro */
  --g-1: #f5f4f5;          /* superficies */
  --g-2: #ebe9eb;          /* líneas y bordes suaves */
  /* texto (gris muy oscuro, nunca negro puro) */
  --ink: #2a2328;
  --muted: #5f5761;   /* gris de textos secundarios (antes #6e6670: más oscuro = se lee mejor) */
  /* rosas */
  --pink: #ec008c;         /* rosa mexicano de marca: acentos, resplandores */
  --pink-deep: #c8007a;    /* botones y textos pequeños en rosa (5.6:1 con blanco) */
  --pink-soft: #fde8f3;
  --pink-mist: #fff4fa;
  --white: #ffffff;

  --font: "Selawik", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;

  /* Escala de textos: TODO el sitio usa solo estos tamaños (para que haga juego).
     Si algo se ve chico o grande, se ajusta aquí y cambia en todas partes. */
  --fs-h1: clamp(34px, 4vw + 8px, 68px);        /* título principal (hero) */
  --fs-h2: clamp(34px, 3.4vw + 10px, 56px);     /* títulos de sección */
  --fs-h3: clamp(28px, 1.6vw + 16px, 38px);     /* títulos de las tarjetas de servicios */
  --fs-card: 21px;                              /* títulos chicos: pasos, preguntas, aviso */
  --fs-lead: clamp(17px, .4vw + 15px, 19px);    /* texto debajo de un título de sección */
  --fs-body: 17px;                              /* texto normal y debajo de títulos de tarjeta */
  --fs-small: 15px;                             /* textos de apoyo, notas, pie de foto, menú */
  --fs-label: 14px;                             /* etiquetas, cápsulas, "Paso 1", footer legal */

  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgb(42 35 40 / .04), 0 12px 32px -16px rgb(42 35 40 / .18);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 var(--fs-body)/1.6 var(--font); color: var(--ink); background: var(--g-0); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: .92em; }
::selection { background: var(--pink); color: var(--white); }
:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #d9d4d8 var(--g-0); accent-color: var(--pink); caret-color: var(--pink); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 99px; box-shadow: var(--shadow); }
.skip:focus { top: 16px; }

.h-display { font-weight: 300; letter-spacing: -0.045em; line-height: 1.04; text-wrap: balance; }   /* títulos en Light, como el logo (estilo A) */
.h-section { font-size: var(--fs-h2); }
.lead { color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--pink-deep); font-size: var(--fs-small); font-weight: 700; }
.eyebrow img { width: 16px; height: 16px; }
.section-head { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 720px; margin: 0 auto 56px; }

/* ---------- Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 99px;
  font: 400 var(--fs-body)/1 var(--font); letter-spacing: -0.01em; border: 0; cursor: pointer;   /* botones sin negritas (estándar) */
  transition: transform .25s var(--ease), background-color .2s ease, box-shadow .25s var(--ease); }
.btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--pink { background: var(--pink-deep); color: var(--white); box-shadow: 0 8px 24px -10px rgb(200 0 122 / .6); }
.btn--pink:hover { background: #b0006b; }
.btn--light { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--g-2), var(--shadow); }
.btn--light:hover { box-shadow: 0 0 0 1px #dcd8db, var(--shadow); }
.btn--white { background: var(--white); color: var(--pink-deep); }
.btn--white:hover { background: var(--pink-mist); }
.btn--sm { height: 38px; padding: 0 16px; font-size: var(--fs-label); }
/* icono de WhatsApp dentro del botón: blanco (currentColor), no se mueve al pasar el mouse */
.btn svg.wa { width: 17px; height: 17px; flex: none; transition: none; }
.btn:hover svg.wa { transform: none; }
.btn--sm { padding-left: 13px; }

/* Botón de WhatsApp: solo el icono dentro de un círculo; al pasar el mouse (o con el foco del teclado)
   se extiende y muestra la etiqueta. En pantallas táctiles (sin hover) se ve siempre extendido. */
.btn--wa { --bh: 48px; gap: 0; height: var(--bh); min-width: var(--bh); padding: 0 calc((var(--bh) - 17px) / 2); font-weight: 400; justify-content: flex-start; }
.btn--wa.btn--sm { --bh: 38px; }
.btn--xl.btn--wa, .scene__cta .btn--wa { --bh: 52px; }
.btn--wa .btn__label { display: inline-block; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; margin-left: 0;
  transition: max-width .45s var(--ease), opacity .25s ease, margin-left .45s var(--ease); }
.btn--wa:hover .btn__label, .btn--wa:focus-visible .btn__label { max-width: 220px; opacity: 1; margin-left: 9px; }
@media (hover: none) { .btn--wa .btn__label { max-width: 220px; opacity: 1; margin-left: 9px; } }
.nav__sheet .btn--wa .btn__label { max-width: 220px; opacity: 1; margin-left: 9px; }

/* =====================================================================
   MENÚ: cápsula flotante centrada (como tasteskill.dev)
   ===================================================================== */
.nav { position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%); width: min(100% - 24px, 820px);
  display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 8px 0 18px; border-radius: 18px;
  background: rgb(255 255 255 / .72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 0 0 1px rgb(42 35 40 / .07), 0 10px 30px -14px rgb(42 35 40 / .25); }
.nav__logo img { height: 24px; width: auto; }
.nav__links { display: flex; gap: 2px; margin-inline: auto; }
.nav__links a { padding: 8px 12px; border-radius: 10px; font-size: var(--fs-small); color: var(--ink); transition: background-color .2s ease, color .2s ease; }
.nav__links a:hover { background: var(--pink-soft); color: var(--pink-deep); }
.nav__toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--g-1); color: var(--ink); cursor: pointer; place-items: center; }
.nav__sheet { display: none; }

@media (max-width: 760px) {
  .nav { padding-right: 8px; }
  .nav__links, .nav .btn { display: none; }
  .nav__toggle { display: grid; margin-left: auto; }
  .nav__sheet { position: fixed; z-index: 49; inset: 0; display: grid; align-content: start; gap: 4px; padding: 88px 24px 24px;
    background: rgb(252 252 252 / .97); backdrop-filter: blur(10px); }
  .nav__sheet[hidden] { display: none; }
  .nav__sheet > a { padding: 14px 4px; font-size: 22px; font-weight: 400; border-bottom: 1px solid var(--g-2); }
  /* botones del menú: a lo ancho, centrados, uno debajo del otro */
  .nav__sheet-btns { display: grid; gap: 10px; margin-top: 24px; }
  .nav__sheet .btn { --bh: 52px; height: 52px; width: 100%; justify-content: center; font-size: var(--fs-body); }
  .nav__sheet .btn--wa { padding: 0 20px; }
}

/* =====================================================================
   HERO: del gris claro al rosa, texto centrado
   ===================================================================== */
.hero { position: relative; display: grid; place-items: center; padding: clamp(120px, 14vh, 160px) 0 64px; text-align: center; overflow: hidden;
  /* sin min-height de pantalla completa: así el bloque de logos asoma al cargar */
  /* el rosa nace arriba y se difumina hacia abajo hasta el gris de la página (#FCFCFC),
     así el hero se funde con la sección siguiente sin corte */
  background:
    radial-gradient(90% 70% at 50% -18%, rgb(236 0 140 / .62) 0%, rgb(236 0 140 / .30) 30%, rgb(247 168 211 / .22) 52%, transparent 78%),
    linear-gradient(180deg, var(--pink-mist) 0%, var(--g-0) 72%, var(--g-0) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: multiply; background-image: var(--grain);
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 90%); mask-image: linear-gradient(180deg, #000 45%, transparent 90%); }
.hero__in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; max-width: 1120px; }
.hero .lead { max-width: 52ch; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: 99px; font-size: var(--fs-small);
  background: rgb(255 255 255 / .8); box-shadow: 0 0 0 1px var(--g-2); color: var(--muted); }
.pill b { display: inline-grid; place-items: center; height: 24px; padding: 0 10px; border-radius: 99px; background: var(--pink-soft); color: var(--pink-deep); font-weight: 400; }
.hero h1 { font-size: var(--fs-h1); max-width: 26ch; }
.hero .lead { max-width: 52ch; }
.hero .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* textura de grano (SVG, sin imágenes externas) */
:root { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* entrada del hero: una sola vez al cargar */
@media (prefers-reduced-motion: no-preference) {
  .hero__in > * { animation: rise .9s var(--ease) both; }
  .hero__in > :nth-child(2) { animation-delay: .08s; }
  .hero__in > :nth-child(3) { animation-delay: .16s; }
  .hero__in > :nth-child(4) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* =====================================================================
   LOGOS: tarjeta de 4 columnas con pestaña al pie
   ===================================================================== */
.logos { padding: 16px 0 96px; }
.logos__label { text-align: center; color: var(--muted); font-size: var(--fs-small); margin-bottom: 18px; }
.logos__card { position: relative; max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--g-2), var(--shadow); }
.logo-cell { position: relative; display: grid; gap: 6px; align-content: start; padding: 22px 20px 30px; border-left: 1px solid var(--g-2); transition: background-color .2s ease; }
.logo-cell:first-child { border-left: 0; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.logo-cell:last-child { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.logo-cell:hover { background: var(--pink-mist); }
.logo-cell__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--g-2); margin-bottom: 14px; background: var(--white); }
.logo-cell__icon img { width: 22px; height: 22px; object-fit: contain; }
.logo-cell__go { position: absolute; top: 18px; right: 18px; width: 12px; height: 12px; color: #b8b0b6; transition: color .2s ease, transform .25s var(--ease); }
.logo-cell:hover .logo-cell__go { color: var(--pink-deep); transform: translate(2px, -2px); }
.logo-cell b { font-size: var(--fs-card); font-weight: 400; letter-spacing: -0.02em; }   /* títulos de tarjeta: Regular, como pasos y preguntas */
.logo-cell span { color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }
/* celda doble (Integraciones) y logos de marca a tamaño completo */
.logo-cell--wide { grid-column: span 2; }
.logo-cell__icon--brand { box-shadow: none; overflow: hidden; border-radius: 10px; }
.logo-cell__icon--brand img { width: 40px; height: 40px; }
.int-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.int-logos li { display: grid; place-items: center; height: 44px; padding: 0 16px; border-radius: 12px; background: var(--g-0); box-shadow: 0 0 0 1px var(--g-2); }
.int-logos img { height: 22px; width: auto; }
.int-logos .int-logos__amz { height: 20px; margin-top: 5px; }
.int-logos .int-logos__ml { height: 26px; }
.int-logos__word { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); }
.logos__tab { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); white-space: nowrap; padding: 8px 18px; border-radius: 0 0 14px 14px;
  background: var(--white); box-shadow: 0 1px 0 1px var(--g-2); clip-path: inset(0 -20px -20px -20px); font-size: var(--fs-label); color: var(--muted); }
.logos__tab a { color: var(--ink); font-weight: 700; }
.logos__tab a:hover { color: var(--pink-deep); }

/* =====================================================================
   TAMBOR 3D: 20 direcciones
   ===================================================================== */
.drum-sec { padding: 96px 0 120px; overflow-x: clip; }   /* las frases largas no deben ensanchar la página en el teléfono */
.drum { --band: 120px; position: relative; height: 420px; margin-top: -96px; perspective: 1100px; outline: none; cursor: grab; touch-action: pan-y; user-select: none; }
.drum:active { cursor: grabbing; }
.drum__band { position: absolute; left: 0; right: 0; top: 50%; height: var(--band); transform: translateY(-50%); border-block: 1px solid var(--g-2); pointer-events: none; }
.drum__band::before, .drum__band::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border-block: 7px solid transparent; transform: translateY(-50%); }
.drum__band::before { left: -1px; border-left: 9px solid var(--pink); }
.drum__band::after { right: -1px; border-right: 9px solid var(--pink); }
.drum__count { position: absolute; left: 8%; top: 50%; transform: translateY(-50%); font-size: var(--fs-lead); color: var(--muted); z-index: 2; font-variant-numeric: tabular-nums; }
.drum__count b { color: var(--pink-deep); }
.drum__desc { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); font-size: var(--fs-lead); z-index: 2; max-width: 22ch; text-align: right; }
.drum__glow { position: absolute; left: 50%; top: 50%; width: 60%; height: 140px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgb(236 0 140 / .12), transparent); pointer-events: none; }
.drum__wheel { position: absolute; inset: 0; transform-style: preserve-3d; }
.drum__item { position: absolute; left: 0; right: 0; top: 50%; height: 100px; margin-top: -50px; display: grid; place-items: center;
  backface-visibility: hidden; font-size: clamp(28px, 6.6vw - 36px, 64px); letter-spacing: -0.04em; line-height: 1; color: #b9b2b7; white-space: nowrap; transition: color .3s ease; }
.drum__item.is-on { color: var(--pink); }
/* cada dirección con su propio carácter tipográfico */
.drum__item[data-style="a"] { font-weight: 700; }
.drum__item[data-style="b"] { font-weight: 300; letter-spacing: -0.02em; }
.drum__item[data-style="c"] { font-weight: 700; letter-spacing: .02em; }
.drum__item[data-style="d"] { font-weight: 400; letter-spacing: -0.05em; }
.drum__item[data-style="e"] { font-weight: 700; font-style: italic; }
.drum__hint { text-align: center; color: var(--muted); font-size: var(--fs-label); margin-top: 8px; }
/* sin movimiento: lista simple */
.drum--static { height: auto; perspective: none; cursor: auto; }
.drum--static .drum__band, .drum--static .drum__glow, .drum--static .drum__count, .drum--static .drum__desc { display: none; }
.drum--static .drum__wheel { position: static; display: grid; gap: 10px; }
.drum--static .drum__item { position: static; margin: 0; height: auto; font-size: clamp(24px, 4vw, 40px); white-space: normal; text-align: center; color: var(--ink); }
.drum--static .drum__item:first-child { color: var(--pink); }

/* Pantallas medianas y teléfono: contador y descripción pasan ARRIBA de la franja
   (arriba las frases ya se desvanecieron; abajo todavía se ven y se encimarían) */
@media (max-width: 1100px) {
  .drum__count, .drum__desc { top: calc(50% - var(--band) / 2 - 34px); bottom: auto; transform: none; font-size: var(--fs-small); }
  .drum__count { left: 4%; }
  .drum__desc { right: 4%; max-width: none; }
  .drum__item { font-size: clamp(26px, 5.4vw, 52px); }
}
@media (max-width: 760px) {
  .drum { --band: 76px; height: 340px; margin-top: -40px; }
  .drum__count { left: 24px; font-size: var(--fs-small); }   /* margen igual al de la página */
  .drum__desc { right: 24px; font-size: var(--fs-small); }
  .drum__item { height: 64px; margin-top: -32px; padding-inline: 24px; font-size: clamp(19px, 6vw, 40px); }   /* la frase no toca las flechas */
}

/* =====================================================================
   SERVICIOS: tarjetas grandes (imagen | texto, alternadas)
   ===================================================================== */
.features { padding: 96px 0; }
.features__list { display: grid; gap: 24px; max-width: 980px; margin: 0 auto; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8px; padding: 8px; border-radius: 28px;
  background: var(--white); box-shadow: 0 0 0 1px var(--g-2), 0 18px 40px -30px rgb(42 35 40 / .25); }
/* Panel de la ilustración: gris muy claro con retícula de puntos (estilo 2026: neutro y nítido,
   sin degradados). El rosa queda solo en detalles: un botón, un punto, un borde. */
.feature__art { position: relative; min-height: 420px; border-radius: 22px; display: grid; place-items: center; padding: 68px 28px 60px; overflow: hidden;
  background-color: #f6f5f6; background-image: radial-gradient(rgb(42 35 40 / .14) 1px, transparent 1.3px); background-size: 18px 18px; background-position: center;
  box-shadow: inset 0 0 0 1px var(--g-2); }
/* los puntos se desvanecen hacia las orillas */
.feature__art::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(75% 70% at 50% 50%, transparent 35%, #f6f5f6 92%); }
.feature__art i.cross { position: absolute; width: 13px; height: 13px; pointer-events: none; }
.feature__art i.cross::before, .feature__art i.cross::after { content: ""; position: absolute; background: rgb(42 35 40 / .28); }
.feature__art i.cross::before { left: 6px; top: 0; width: 1px; height: 13px; }
.feature__art i.cross::after { top: 6px; left: 0; height: 1px; width: 13px; }
.cross--tl { left: 16px; top: 16px; } .cross--tr { right: 16px; top: 16px; } .cross--bl { left: 16px; bottom: 16px; } .cross--br { right: 16px; bottom: 16px; }
.feature__text { padding: 40px 48px; display: grid; gap: 14px; align-content: center; }
.feature__text h3 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
.feature__text p { color: var(--muted); }
.tag { justify-self: start; margin-top: 8px; padding: 5px 10px; border-radius: 8px; background: var(--g-1); box-shadow: 0 0 0 1px var(--g-2); font: var(--fs-label)/1.3 var(--mono); color: var(--muted); }
.feature--flip .feature__art { order: 2; }

/* --- Efectos de las tarjetas (como tasteskill.dev) ---
   Al pasar el mouse: la tarjeta sube 2px, su sombra crece y la ventana de adentro se eleva un poco.
   Al hacer scroll: js/site.js escribe --r (0 a 1) en cada tarjeta mientras entra a la pantalla;
   el panel se "abre" (clip-path de recortado a completo), la ventana sube a su lugar y el texto aparece. */
.feature { transition: transform .45s var(--ease), box-shadow .45s var(--ease); --r: 1; }
.feature .win { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .feature:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--g-2), 0 30px 60px -32px rgb(42 35 40 / .3); }
  .feature:hover .win { transform: translateY(-6px) scale(1.015); box-shadow: 0 0 0 1px rgb(42 35 40 / .08), 0 2px 4px rgb(42 35 40 / .04), 0 32px 56px -26px rgb(42 35 40 / .34); }
  .feature:hover .fchip { transform: translateY(-4px); }
  .feature:hover .feature__art i.cross { transform: rotate(90deg); }
}
.feature__art i.cross { transition: transform .6s var(--ease); }
.js .feature__art { clip-path: inset(calc((1 - var(--r)) * 6%) calc((1 - var(--r)) * 9%) round 22px); }
.js .feature__art > .win { translate: 0 calc((1 - var(--r)) * 40px); opacity: calc(.35 + var(--r) * .65); }
.js .feature__art > .fchip { translate: 0 calc((1 - var(--r)) * 70px); opacity: calc(var(--r) * 1.6 - .6); }
.js .feature__text > * { translate: 0 calc((1 - var(--r)) * 28px); opacity: calc(var(--r) * 1.4 - .4); }
.js .feature__text > :nth-child(2) { translate: 0 calc((1 - var(--r)) * 36px); }
.js .feature__text > :nth-child(3) { translate: 0 calc((1 - var(--r)) * 44px); }
.js .feature__text > :nth-child(4) { translate: 0 calc((1 - var(--r)) * 52px); }
@media (prefers-reduced-motion: reduce) {
  .feature, .feature .win, .feature__art i.cross { transition: none; }
  .js .feature__art { clip-path: none; }
  .js .feature__art > .win, .js .feature__text > * { translate: none; opacity: 1; }
}

/* ventanas dibujadas dentro de los paneles */
.win { position: relative; z-index: 1; width: min(100%, 360px); background: var(--white); border-radius: 14px; overflow: hidden; font-size: 14px; color: var(--ink);
  box-shadow: 0 0 0 1px rgb(42 35 40 / .07), 0 1px 2px rgb(42 35 40 / .05), 0 18px 40px -20px rgb(42 35 40 / .28); }
.win__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--g-2); color: var(--muted); font-size: 13px; }
.win__bar code { color: var(--muted); font-size: 12.5px; }
.dots { display: inline-flex; gap: 6px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--g-2); }
.win__body { padding: 14px; display: grid; gap: 10px; }
.skel { display: block; height: 8px; border-radius: 99px; background: var(--g-1); }
/* "hero" del sitio dibujado: bloque gris con título y un botón rosa (el único color fuerte) */
.site-hero { height: 86px; border-radius: 10px; background: var(--g-1); display: grid; align-content: end; gap: 7px; padding: 12px; }
.site-hero::before { content: ""; width: 58%; height: 9px; border-radius: 99px; background: rgb(42 35 40 / .16); }
.site-hero::after { content: ""; width: 64px; height: 20px; border-radius: 99px; background: var(--pink-deep); }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .cols3 span { height: 42px; border-radius: 8px; background: var(--g-1); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; } .chips span { padding: 3px 9px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--g-2); color: var(--muted); font-size: 12.5px; }
.win__foot { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--g-2); font-size: 12.5px; color: var(--muted); }
.win__foot .ok { color: #1f8a4c; }

.serp-q { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 99px; box-shadow: 0 0 0 1px var(--g-2); font-family: Arial, sans-serif; font-size: 13.5px; }
.serp-q img { width: 15px; height: 15px; }
.ad { display: grid; gap: 3px; font-family: Arial, sans-serif; }
.ad__by { display: flex; gap: 6px; align-items: center; font-size: 12.5px; } .ad__by img { width: 18px; height: 18px; border-radius: 50%; }
.ad__t { font-size: 16px; color: #1a0dab; line-height: 1.3; } .ad__d { font-size: 12.5px; color: #4d5156; }

.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; font-size: 12.5px; color: var(--muted); }
.cal div { display: grid; gap: 6px; align-content: start; }
.post { aspect-ratio: 1; border-radius: 8px; background: var(--g-1); display: grid; place-items: center; } .post img { width: 18px; height: 18px; }
.post--hot { background: var(--white); box-shadow: inset 0 0 0 1px var(--pink), 0 4px 10px -6px rgb(200 0 122 / .5); }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tools div { display: grid; gap: 8px; justify-items: center; padding: 14px 8px; border-radius: 10px; background: var(--g-0); box-shadow: inset 0 0 0 1px var(--g-1); font-size: 12.5px; color: var(--muted); }

/* Etiqueta flotante sobre la ventana (da profundidad; se eleva al pasar el mouse) */
.fchip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 99px; font-size: var(--fs-label); color: var(--ink);
  background: rgb(255 255 255 / .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgb(42 35 40 / .08), 0 12px 26px -14px rgb(42 35 40 / .35); transition: transform .5s var(--ease); white-space: nowrap; }
.fchip--tr { right: 44px; top: 20px; }
.fchip--bl { left: 44px; bottom: 18px; }
.fchip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.fchip__dot--live { background: #1f8a4c; box-shadow: 0 0 0 0 rgb(31 138 76 / .45); animation: live 2.2s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgb(31 138 76 / 0); } 100% { box-shadow: 0 0 0 0 rgb(31 138 76 / 0); } }
@media (prefers-reduced-motion: reduce) { .fchip__dot--live { animation: none; } .fchip { transition: none; } }
.tools img { height: 24px; width: auto; max-width: 90%; object-fit: contain; }

/* =====================================================================
   PROCESO
   ===================================================================== */
.process { padding: 96px 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* misma familia visual que las tarjetas de servicios: panel suave arriba con una mini escena de UI, texto abajo */
.step { display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 26px; border-radius: 24px; background: var(--white); box-shadow: 0 0 0 1px var(--g-2);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--g-2), 0 24px 48px -28px rgb(42 35 40 / .28); }
.step__art { display: grid; place-items: center; height: 150px; margin-bottom: 14px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 120%, rgb(236 0 140 / .10), transparent 70%), linear-gradient(180deg, var(--g-0), var(--g-1)); }
.step__n, .step > h3, .step > p { padding-inline: 16px; }
.step__n { font-size: var(--fs-label); font-weight: 700; color: var(--muted); }
.step > h3 { font-size: var(--fs-card); font-weight: 400; letter-spacing: -0.02em; }
.step > p { color: var(--muted); font-size: var(--fs-body); }

/* mini escenas: blancas, con el rosa solo como detalle */
.step { padding-bottom: 22px; }
.step__art { height: 196px; }
.step__tag { align-self: flex-start; margin: auto 16px 0; padding: 5px 11px; border-radius: 99px; background: var(--g-1); box-shadow: inset 0 0 0 1px var(--g-2); font-size: var(--fs-label); color: var(--ink); }
.step > p { margin-bottom: 14px; }
.mini { display: grid; gap: 7px; width: 82%; transition: transform .45s var(--ease); font-size: 12px; color: var(--ink); }
.step:hover .mini { transform: translateY(-5px); }
.mini svg:not(.rep__line):not(.mini__wa) { width: 11px; height: 11px; flex: none; color: #1f8a4c; }
.mini .l { display: block; height: 7px; border-radius: 99px; background: var(--g-2); }
/* 1 · chat */
.mini__head { display: flex; align-items: center; gap: 6px; padding-bottom: 4px; }
.mini__wa { width: 14px; height: 14px; color: #25d366; }
.mini__head em { font-style: normal; color: var(--muted); font-size: 11px; margin-left: auto; }
.mini--chat .b { font-style: normal; font-size: 12px; line-height: 1.3; padding: 7px 10px; border-radius: 12px; max-width: 86%; box-shadow: 0 6px 14px -10px rgb(42 35 40 / .4); }
.mini--chat .them { justify-self: start; background: var(--white); border-top-left-radius: 4px; }
.mini--chat .us { justify-self: end; background: var(--pink-soft); color: #7a0049; border-top-right-radius: 4px; }
.mini--chat .typing { display: flex; gap: 3px; padding: 9px 10px; }
.mini--chat .typing u { width: 5px; height: 5px; border-radius: 50%; background: #b8b0b6; text-decoration: none; animation: typing 1.2s infinite ease-in-out; }
.mini--chat .typing u:nth-child(2) { animation-delay: .15s; } .mini--chat .typing u:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
/* 2 · propuesta */
.mini--doc { justify-items: center; }
.mini--doc .doc { display: grid; gap: 6px; width: 74%; padding: 12px 14px; border-radius: 10px; background: var(--white); box-shadow: 0 10px 22px -14px rgb(42 35 40 / .45); }
.doc__t { font-size: 12.5px; padding-bottom: 4px; border-bottom: 1px solid var(--g-2); }
.doc__r { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11.5px; }
.mini--doc .badge { display: inline-flex; align-items: center; gap: 4px; margin-top: -10px; padding: 4px 10px; border-radius: 99px; background: var(--white); box-shadow: 0 0 0 1px var(--g-2); font-size: 11.5px; color: #1f8a4c; }
/* 3 · sitio listo para publicar */
.mini--web { gap: 0; border-radius: 10px; overflow: hidden; background: var(--white); box-shadow: 0 10px 22px -14px rgb(42 35 40 / .45); }
.mini--web .bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--g-2); }
.mini--web .bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--g-2); }
.mini--web .url { margin-left: 6px; flex: 1; padding: 2px 8px; border-radius: 99px; background: var(--g-1); font: 10.5px/1.3 var(--mono); color: var(--muted); }
.mini--web .pg { display: grid; gap: 7px; padding: 9px; }
.mini--web .mweb-hero { display: block; height: 34px; border-radius: 6px; background: linear-gradient(120deg, var(--pink-soft), #f7c3df 70%, #f08bc3); }
.mini--web .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; } .mini--web .cols i { height: 18px; border-radius: 4px; background: var(--g-1); }
.mini--web .ship { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.mini--web .ok { display: inline-flex; align-items: center; gap: 4px; color: #1f8a4c; font-size: 11px; }
.mini--web .go { padding: 3px 10px; border-radius: 99px; background: var(--pink-deep); color: var(--white); font-size: 11px; font-weight: 700; transition: transform .3s var(--ease); }
.step:hover .mini--web .go { transform: scale(1.08); }
/* 4 · reporte */
.mini--report { gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--white); box-shadow: 0 10px 22px -14px rgb(42 35 40 / .45); }
.rep__h { display: flex; justify-content: space-between; align-items: baseline; } .rep__h b { font-size: 12px; } .rep__h em { font-style: normal; font-size: 11px; color: #1f8a4c; }
.rep__g { position: relative; height: 64px; }
.rep__bars { position: absolute; inset: 0; display: grid; grid-auto-flow: column; align-items: end; gap: 6px; }
.rep__bars i { display: block; border-radius: 3px 3px 1px 1px; background: var(--g-2); transition: height .6s var(--ease); }
.rep__bars i.hot { background: var(--pink); }
.rep__line { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); opacity: .55; }
.rep__k { display: flex; gap: 12px; font-size: 11px; color: var(--muted); } .rep__k span { display: inline-flex; align-items: center; gap: 4px; }
.rep__k .dot { width: 7px; height: 7px; border-radius: 2px; background: var(--g-2); } .rep__k .dot.hot { background: var(--pink); }
@media (prefers-reduced-motion: reduce) { .mini--chat .typing u { animation: none; } }
/* entrada en cascada (js/site.js agrega .is-in a .steps cuando se ve) */
.js .steps .step { opacity: 0; translate: 0 24px; transition: opacity .6s ease calc(var(--i) * 120ms), translate .7s var(--ease) calc(var(--i) * 120ms), box-shadow .35s var(--ease), transform .35s var(--ease); }
.js .steps.is-in .step { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .steps .step { opacity: 1; translate: none; } }

/* =====================================================================
   CLIENTES
   ===================================================================== */
.clients { padding: 80px 0; background: linear-gradient(180deg, var(--g-0), var(--g-1)); }
.names { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; max-width: 1000px; margin: 0 auto; }
.names li { font-size: clamp(22px, 1.4vw + 14px, 34px); font-weight: 700; letter-spacing: -0.03em; color: #c4bdc2; transition: color .2s ease; }
.names li:hover { color: var(--pink); }
/* carrusel de logos de clientes: dos filas en sentidos opuestos; se pausa con el mouse.
   Cada fila lleva su lista dos veces para que el ciclo no tenga corte (la copia va con aria-hidden). */
.marquee { display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { display: flex; overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex: none; animation: marquee 70s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; }
.marquee__track img { height: 64px; width: auto; max-width: 150px; object-fit: contain; opacity: .75; transition: opacity .25s ease, transform .25s var(--ease); }
.marquee__track img:hover { opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (max-width: 560px) { .marquee__track { gap: 36px; padding-right: 36px; } .marquee__track img { height: 48px; max-width: 110px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee__row { overflow-x: auto; }
  .marquee__track { animation: none; }
  .marquee__track[aria-hidden="true"] { display: none; }
}
.certs { text-align: center; color: var(--muted); margin-top: 48px; font-size: var(--fs-body); }

/* =====================================================================
   PREGUNTAS
   ===================================================================== */
.faq { padding: 112px 0; }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.faq__grid .section-head { justify-items: start; text-align: left; margin: 0; }
.faq__cta { margin-top: 12px; }   /* WhatsApp debajo del subtítulo de preguntas */
.faq__list details { border-bottom: 1px solid var(--g-2); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: var(--fs-card); font-weight: 400; letter-spacing: -0.015em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' stroke='%23c8007a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .3s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list p { color: var(--muted); padding: 0 40px 22px 0; }

/* =====================================================================
   ESCENA FINAL: "Stop guessing" — del gris claro al rosa con el scroll
   El escenario queda fijo (sticky) y js/site.js mueve la variable --p
   de 0 a 1 según el avance. Todo lo demás se calcula en CSS.
   ===================================================================== */
.scene { position: relative; height: 200svh; --p: 0; }   /* recorrido con el escenario fijo: 100svh = una pantalla de scroll (original 220svh, luego 165svh) */
.scene__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; background: var(--g-0); }
.scene__sun { position: absolute; left: 50%; top: 50%; width: 140vmax; height: 140vmax; border-radius: 50%; pointer-events: none;
  transform: translate(-50%, calc(52% - var(--p) * 1.25 * 52%)) scale(calc(.55 + var(--p) * .9));
  background: radial-gradient(closest-side, var(--pink) 0%, var(--pink) 42%, rgb(236 0 140 / .55) 62%, rgb(247 168 211 / .3) 80%, transparent 100%);
  filter: blur(18px); }
.scene__grain { position: absolute; inset: 0; opacity: .22; mix-blend-mode: multiply; background-image: var(--grain); pointer-events: none; }
.scene__text { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; font-size: clamp(44px, 6vw + 8px, 104px); }
.scene__a { color: var(--ink); filter: blur(calc(clamp(0, (var(--p) - .55) * 3, 1) * 10px)); opacity: calc(1 - clamp(0, (var(--p) - .6) * 3, 1)); }
.scene__b { color: var(--white); filter: blur(calc((1 - clamp(0, (var(--p) - .1) * 3.2, 1)) * 12px)); opacity: calc(.5 + clamp(0, (var(--p) - .1) * 2, .5)); }
/* Frase + llamado van juntos en un grupo centrado. Cuando el footer empuja el escenario
   hacia arriba, el JS escribe --shift para que el grupo quede al centro del rosa que sigue visible. */
.scene__group { position: relative; z-index: 1; display: grid; justify-items: center; gap: clamp(32px, 6svh, 64px); width: 100%; transform: translateY(var(--shift, 0px)); }
.scene__cta { transform: translateY(calc((1 - clamp(0, (var(--p) - .75) * 4, 1)) * 40px)); opacity: calc(clamp(0, (var(--p) - .75) * 4, 1) * var(--fit, 1));
  display: grid; justify-items: center; gap: 14px; text-align: center; color: var(--white); width: min(100% - 32px, 640px); }
.scene__cta p { font-size: var(--fs-lead); }
.scene__cta small { font-size: var(--fs-small); color: #ffe3f2; }
@media (prefers-reduced-motion: reduce) {
  .scene { height: auto; --p: 1; }
  .scene__stage { position: relative; min-height: 100svh; }
}

/* =====================================================================
   FOOTER: termina en rosa
   ===================================================================== */
.footer { position: relative; overflow: hidden; background: var(--pink-deep); color: var(--white); padding: 56px 0 0; }
.footer__grid { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 32px; }
.footer__brand img { height: 28px; width: auto; }
.footer__brand p { margin-top: 14px; color: #ffe3f2; max-width: 30ch; }
.footer h3 { font-size: var(--fs-label); color: #ffeaf5; font-weight: 400; margin-bottom: 12px; }
.footer li + li { margin-top: 8px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .25); font-size: var(--fs-label); color: #ffe3f2; }
/* "khromati" gigante: mismo tamaño de siempre, pero recortado en altura.
   Se ve solo la parte de arriba de las letras; en pantallas bajas se recorta más (16svh)
   para que la frase final y el botón quepan en el rosa. */
.footer__word { margin-top: 24px; font-size: clamp(90px, 21vw, 340px); font-weight: 700; letter-spacing: -0.06em; line-height: .78;
  height: min(.5em, 16svh); overflow: hidden; text-align: center;
  color: rgb(255 255 255 / .16); user-select: none; }

/* ---------- Responsive general */
@media (max-width: 900px) {
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__art { order: 0; }
  .feature__art { min-height: 340px; }
  .feature__text { padding: 28px 20px 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .logos__card { grid-template-columns: 1fr 1fr; }
  .logo-cell:nth-child(3) { border-left: 0; }
  .logo-cell:nth-child(n+3) { border-top: 1px solid var(--g-2); }
  .logo-cell--wide { grid-column: 1 / -1; }
  .logo-cell { border-radius: 0 !important; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  /* hero en teléfono: los dos botones en un renglón centrado, a su tamaño natural.
     WhatsApp como círculo con icono (igual que en escritorio y en la escena final) */
  .hero .btns { flex-wrap: nowrap; gap: 10px; }
  .hero .btns .btn { --bh: 52px; height: 52px; }
  .hero .btns .btn--wa .btn__label { max-width: 0; opacity: 0; margin-left: 0; }
  .hero .btns .btn--ai { padding: 0 16px; white-space: nowrap; }
  .hero .btns .soon { margin-left: 6px; padding: 1px 7px; font-size: 11px; }
}
@media (max-width: 380px) {
  /* teléfonos angostos: el botón del asistente un poco más compacto para caber junto a WhatsApp */
  .hero .btns { gap: 8px; }
  .hero .btns .btn--ai { padding: 0 12px; font-size: var(--fs-small); }
  .hero .btns .soon { margin-left: 5px; padding: 1px 5px; font-size: 10px; }
  .section-head { margin-bottom: 36px; }
}

/* ---------- Página legal (aviso de privacidad): solo texto, fácil de leer */
.legal-top { padding: 20px 0; border-bottom: 1px solid var(--g-2); background: var(--g-0); }
.legal-top__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.legal-top__back { font-size: var(--fs-small); color: var(--muted); }
.legal-top__back:hover { color: var(--pink-deep); }
.legal { max-width: 760px; padding: 64px 0 96px; }
.legal h1 { font-size: clamp(36px, 4vw + 10px, 56px); }
.legal__date { color: var(--muted); font-size: var(--fs-small); margin-top: 12px; }
.legal h2 { font-size: var(--fs-card); letter-spacing: -0.015em; margin: 44px 0 12px; }
.legal p, .legal li { color: #4a4249; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0; padding-left: 22px; list-style: disc; display: grid; gap: 6px; }
.legal li::marker { color: var(--pink); }
.legal a { color: var(--pink-deep); text-decoration: underline; text-underline-offset: 3px; }
.footer--legal { padding: 0 0 24px; }
.footer--legal .footer__legal { margin-top: 0; }

/* Foto del espacio en Preguntas: llena la columna izquierda */
.faq__photo { margin: 28px 0 0; width: 100%; }
.faq__photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 48px -28px rgb(42 35 40 / .45); }
.faq__photo figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 901px) { .faq__grid .section-head { position: sticky; top: 100px; } }

/* Enlace externo dentro de un texto (ej. do.logical y ybridio en Preguntas): subrayado + flecha */
.ext-link { color: var(--pink-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
.ext-link:hover { color: var(--pink); }
.ext-link__ico { display: inline-block; width: .85em; height: .85em; margin-left: 4px; vertical-align: -.05em; }

/* Paso 1: la cápsula "WhatsApp · llamada" también abre WhatsApp */
.step__tag--wa { display: inline-flex; align-items: center; gap: 6px; background: var(--pink-soft); box-shadow: inset 0 0 0 1px rgb(200 0 122 / .18); color: var(--pink-deep);
  transition: background .25s ease, color .25s ease, transform .25s ease; }
.step__tag--wa .wa { width: 13px; height: 13px; flex: none; }
.step__tag--wa:hover, .step__tag--wa:focus-visible { background: var(--pink-deep); color: var(--white); transform: translateY(-1px); }

/* Nota aclaratoria dentro de un paso (paso 4) */
.step > .step__note { margin: -6px 0 14px; font-size: var(--fs-small); line-height: 1.45; color: var(--muted); font-style: italic; }

/* =====================================================================
   ASISTENTE (cuestionario que termina en cotización; vivirá en yWeb)
   Mientras no exista, sus botones llevan .is-soon + la etiqueta "Próximamente".
   ===================================================================== */
.ai-ico { width: 16px; height: 16px; flex: none; color: currentColor; }
.btn .ai-ico { width: 16px; height: 16px; }
.btn:hover .ai-ico { transform: none; }
.btn--ai { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--g-2), var(--shadow); }
.btn--ai .ai-ico { color: var(--pink-deep); }
.soon { display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 400; line-height: 1.4;
  background: var(--g-1); color: var(--muted); box-shadow: inset 0 0 0 1px var(--g-2); white-space: nowrap; }
.btn--pink .soon { background: rgb(255 255 255 / .2); color: var(--white); box-shadow: none; }
.footer .soon { background: rgb(255 255 255 / .18); color: var(--white); box-shadow: none; }
.is-soon { cursor: default; }
.btn.is-soon:active { transform: none; }
.btn--pink.is-soon:hover { background: var(--pink-deep); }

.ai-sec { padding: 0 0 96px; }
.ai-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8px; padding: 8px; max-width: 980px; margin: 0 auto; border-radius: 28px;
  background: var(--white); box-shadow: 0 0 0 1px var(--g-2), 0 18px 40px -30px rgb(42 35 40 / .25); }
.ai-card__text { padding: 40px 44px; display: grid; gap: 14px; align-content: center; }
.ai-card__text h2 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
.ai-card__text p { color: var(--muted); }
.ai-card__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 8px; }
.ai-card__time { color: var(--muted); font-size: var(--fs-small); }
.ai-card__art { position: relative; display: grid; place-items: center; min-height: 360px; padding: 40px 28px; border-radius: 22px;
  background-color: #f6f5f6; background-image: radial-gradient(rgb(42 35 40 / .14) 1px, transparent 1.3px); background-size: 18px 18px; box-shadow: inset 0 0 0 1px var(--g-2); }
.quiz { width: min(100%, 320px); display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--white); font-size: 14px;
  box-shadow: 0 0 0 1px rgb(42 35 40 / .07), 0 1px 2px rgb(42 35 40 / .05), 0 18px 40px -20px rgb(42 35 40 / .28); }
.quiz__bar { height: 6px; border-radius: 99px; background: var(--g-1); overflow: hidden; }
.quiz__bar i { display: block; width: 38%; height: 100%; border-radius: 99px; background: var(--pink-deep); }
.quiz__n { font-size: 12.5px; color: var(--muted); }
.quiz__q { font-size: 16px; }
.quiz__o { padding: 9px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--g-2); font-size: 13.5px; }
.quiz__o--on { background: var(--pink-mist); box-shadow: inset 0 0 0 1.5px var(--pink-deep); }

/* Paso 1: dos cápsulas (WhatsApp + Asistente) */
.step__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 16px 0; }
.step__tags .step__tag { margin: 0; }
.step__tag--ai { display: inline-flex; align-items: center; gap: 6px; background: var(--white); }
.step__tag--ai .ai-ico { width: 13px; height: 13px; color: var(--pink-deep); }
.step__tag--ai .soon { margin-left: 2px; padding: 0 6px; font-size: 11px; }

@media (max-width: 900px) {
  .ai-card { grid-template-columns: 1fr; }
  .ai-card__text { padding: 28px 20px 32px; }
  .ai-card__art { min-height: 300px; order: -1; }
}

/* Escena final: WhatsApp + asistente lado a lado. El del asistente es "de cristal" para el fondo rosa */
.scene__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn--ai-glass { color: var(--white); background: rgb(255 255 255 / .14); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ai-glass .soon { background: rgb(255 255 255 / .22); color: var(--white); box-shadow: none; }

/* =====================================================================
   AJUSTES PARA TELÉFONO (revisado en 390 y 360 px)
   ===================================================================== */
@media (max-width: 600px) {
  /* tambor: menos hueco debajo */
  .drum-sec { padding-bottom: 32px; }
  .drum { height: 300px; }
  /* escena final: la frase cabe completa en el ancho */
  .scene__text { font-size: clamp(34px, 10vw, 48px); }
  /* footer más corto: Servicios y Contacto lado a lado; la columna "Khromati"
     (Proceso, Clientes, Preguntas) ya está en el menú, así que se oculta aquí */
  .footer { padding-top: 44px; }
  .footer__col--site { display: none; }
  .footer__grid { gap: 28px 20px; }
  .footer__legal { margin-top: 28px; }
  /* links del footer más fáciles de tocar */
  .footer li + li { margin-top: 2px; }
  .footer li a, .footer li > span { display: inline-block; padding: 6px 0; }
  .footer .soon { margin-left: 0; margin-top: 2px; }
  /* cápsulas de los pasos: área táctil más alta */
  .step__tag--wa, .step__tag--ai { padding-block: 8px; }
  /* escena final: los dos botones en un solo renglón (WhatsApp solo con su icono)
     para que todo quepa en el rosa cuando el footer sube */
  .scene__btns { flex-wrap: nowrap; gap: 8px; }
  .scene__btns .btn--ai-glass { padding: 0 13px; white-space: nowrap; }
  .scene__btns .soon { margin-left: 6px; padding: 1px 6px; font-size: 11px; }
  .scene__btns .btn--wa .btn__label { max-width: 0; opacity: 0; margin-left: 0; }
  .scene__cta p { font-size: var(--fs-small); }
  .scene__group { gap: 28px; }
  /* "khromati" del footer: recorte más bajo en teléfono */
  .footer__word { height: min(.5em, 9svh); }
}

.tools .tools__yb { border-radius: 6px; }   /* isotipo de ybridio en Integraciones */
