/* Propuesta de landing para OpenMasu — composición medida en superhuman.com (variante «carrusel + Go/Mail/Docs», la que
   sirve Brave) con REA el 2026-10-22. Alturas objetivo a 1440 px: cabecera 67 · banda 56 · hero 650 · logos 338 · Masu 1614 ·
   cita 466 · Bases 1248 · MCP 1263 · equipos 570 · cierre 251 · pie 859 = 7383.
   Tipografía: Inter variable (OFL) con los pesos medidos 460 / 540 / 600 / 700 (Superhuman usa «Super Sans VF», propia). */

@font-face { font-family: "Inter"; src: url(/fonts/inter-variable-693b77d4f32ee9b8.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #292827;
  --muted: rgb(20 20 19 / .65);
  --page: #f7f5f2;
  --line: rgb(115 113 109 / .2);
  --lila: #e8e0ff;
  --lila-btn: #d4c7ff;
  --purple: #714cb6;
  --violet: #281647;
  --wine: #421d24;
  --teal: #0c4243;
  --greige: #dedbd5;
  --dark: #141413;
  --fuente: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font: 460 16px/19.2px var(--fuente); -webkit-font-smoothing: antialiased; font-optical-sizing: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
/* Sin palabras sueltas: titulares y textos cortos de tarjeta con líneas equilibradas; párrafos sin viuda al final. */
h1, h2, h3, .tx { text-wrap: balance; }
p, li, figcaption, blockquote { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.car :focus-visible, .emp :focus-visible, .cierre :focus-visible, .pie :focus-visible, .aside.wine :focus-visible, .aside.teal :focus-visible { outline-color: #fff; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saltar { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; background: #fff; border-radius: 8px; }
.saltar:focus { top: 12px; }
.cw { max-width: 1440px; margin: 0 auto; padding: 0 80px; }
.chev { width: 16px; height: 16px; flex: none; }

/* ── Cabecera ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 30; height: 67px; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 8px; width: 167px; height: 24px; font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: .14em; }
.logo img { width: 24px; height: 24px; }
.logo.claro { color: #fff; }
.hdr-nav { margin-left: 32px; }
.hdr-nav ul { display: flex; gap: 8px; }
.hdr-nav a { display: flex; align-items: center; gap: 4px; height: 42px; padding: 0 8px; border-radius: 8px; font-size: 16px; line-height: 24px; }
.hdr-nav a:hover { background: rgb(127 127 127 / .1); }
.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.hdr-txt { font-size: 16px; line-height: 19.2px; }
.hdr-btn { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 6px 16px; border-radius: 8px; font-size: 14px; line-height: 18px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.hdr-btn:hover { background: rgb(127 127 127 / .08); }
.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.burger span { width: 22px; height: 2px; background: var(--ink); }
.menu-movil { display: none; }

.ban { background: var(--lila); height: 56px; }
.ban a { height: 100%; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 16px; line-height: 19.2px; }
.ban u { text-underline-offset: 3px; margin-left: 2px; }
.ban .chev { margin-left: 2px; }

/* ── Botones ──────────────────────────────────────────────────────────────────────────────────────────────────── */
.b-claro { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 8px; background: var(--lila-btn); color: var(--ink); font-size: 14px; line-height: 18px; font-weight: 600; }
.b-claro.g { height: 52px; padding: 0 20px; border-radius: 12px; font-size: 16px; line-height: 16px; }
.b-texto { display: inline-flex; align-items: center; gap: 4px; height: 36px; color: var(--lila-btn); font-size: 14px; line-height: 18px; font-weight: 600; }
.b-prim { display: inline-flex; align-items: center; height: 52px; padding: 0 20px; border-radius: 12px; background: var(--purple); color: #fff; font-size: 16px; line-height: 16px; font-weight: 600; }
.b-prim:hover { background: #62409f; }
.b-sec { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 4px; border-radius: 8px; color: var(--purple); font-size: 16px; line-height: 16px; font-weight: 600; }
.b-sec:hover { text-decoration: underline; text-underline-offset: 4px; }
.b-borde { display: inline-flex; align-items: center; height: 52px; padding: 0 20px; border-radius: 12px; color: var(--lila-btn); font-size: 16px; line-height: 16px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--lila-btn); }
.b-borde:hover { background: rgb(255 255 255 / .08); }

/* ── Hero: carrusel ───────────────────────────────────────────────────────────────────────────────────────────── */
.car { height: 650px; position: relative; color: #fff; background: linear-gradient(to right, var(--dark) 50%, var(--c, var(--wine)) 50%); transition: background .6s; }
.car-caja { position: relative; height: 100%; }
/* Textos, lista y panel se reparten la caja al 50 % (como el degradado de fondo): con anchos fijos, entre 1181 y 1359 px
   el panel se salía por la derecha y los textos se metían debajo. */
.car-textos { position: absolute; left: 80px; top: 40px; width: min(624px, calc(50% - 96px)); }
.car-texto { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.car-texto[aria-hidden="false"] { opacity: 1; visibility: visible; }
.car-t { font-size: 49px; line-height: 58.8px; font-weight: 420; letter-spacing: -1.3475px; color: #fff; }
.car-t span { color: rgb(255 255 255 / .65); }
/* Entre 1181 y 1359 px la columna de texto encoge (mitad menos margen): titular algo menor para que no quede una palabra sola. */
@media (min-width: 1181px) and (max-width: 1359px) { .car-t { font-size: 42px; line-height: 50px; letter-spacing: -1.1px; } }
.car-btns { margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.car-lista { position: absolute; left: 80px; bottom: 0; width: min(640px, calc(50% - 80px)); }
.car-et { margin-bottom: 24px; font-size: 14px; line-height: 16.8px; font-weight: 500; color: rgb(255 255 255 / .8); }
.car-fila { display: flex; align-items: center; width: 100%; height: 57px; padding: 0 32px; border-top: 1px solid rgb(255 255 255 / .2); text-align: left; font-size: 14px; line-height: 16.8px; font-weight: 500; color: rgb(255 255 255 / .8); transition: color .3s, background .3s; }
.car-fila:hover, .car-fila[aria-selected="true"] { color: #fff; }
.car-fila[aria-selected="true"] { background: rgb(255 255 255 / .07); }
.car-fila[aria-selected="false"] .car-ico { background: rgb(255 255 255 / .55); }
.car-fila b { width: 71px; margin-left: 12px; font-weight: 500; }
.car-fila span:last-child { margin-left: 12px; }
.car-ico { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 6px; background: #fff; color: var(--dark); transition: background .3s; }
.car-ico svg { width: 16px; height: 16px; }
.car-panel { position: absolute; left: 50%; top: 0; width: min(640px, calc(50% - 80px)); height: 650px; overflow: hidden; }
.car-medio { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.car-medio[aria-hidden="false"] { opacity: 1; visibility: visible; }
/* Cada diapositiva es un bucle de 7 s que llena el panel (fondo fluido + app en cristal + tarjeta delantera). */
.car-medio video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: left top; }

/* ── Logos ────────────────────────────────────────────────────────────────────────────────────────────────────── */
.logos { background: var(--page); padding: 96px 0; }
.logos p { text-align: center; font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -.12px; color: var(--muted); }
.rejilla-logos { margin-top: 40px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--page); }
.rejilla-logos li { height: 81px; display: flex; align-items: center; justify-content: center; gap: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 18px; line-height: 21.6px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; text-align: center; }
.rejilla-logos svg, .rejilla-logos img { width: 24px; height: 24px; flex: none; }

/* ── Bloques de producto (Masu · Bases · MCP) ─────────────────────────────────────────────────────────────────── */
.grupo { background: var(--page); padding: 96px 0; }
.enc { text-align: center; }
.lockup { display: inline-flex; align-items: center; gap: 10px; height: 36px; white-space: nowrap; }
.lockup-i { width: 36px; height: 36px; border-radius: 9px; background: var(--lila); display: grid; place-items: center; }
.lockup-i img { width: 24px; height: 24px; }
.lockup-m { font-size: 20px; line-height: 36px; font-weight: 700; letter-spacing: .14em; color: #2b1418; }
.lockup-p { font-size: 24px; line-height: 36px; font-weight: 420; color: #2b1418; }
.t49 { margin: 24px auto 0; max-width: 900px; font-size: 49px; line-height: 58.8px; font-weight: 420; letter-spacing: -1.3475px; color: var(--ink); }
.t49 span { color: var(--muted); }
/* La segunda parte del titular (tenue) va como bloque en línea indivisible: con el max-width del h2 salta sola a la
   línea siguiente, sin <br>. En móvil se deja partir. */
@media (min-width: 641px) { .t49 span { display: inline-block; } }
@media (min-width: 1181px) { .t49 span { white-space: nowrap; } }
.t49.mcp-t { max-width: 640px; }
.sub { margin: 24px auto 0; max-width: 900px; font-size: 18px; line-height: 27px; font-weight: 500; letter-spacing: -.135px; color: var(--muted); }
.btns-c { margin-top: 48px; display: flex; justify-content: center; align-items: center; gap: 16px; }
.bloques { margin-top: 96px; }
/* Las columnas reparten el ancho (624 + 624 a 1440): con píxeles fijos se salían entre 1181 y 1359 px. */
.par { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }

.aside { position: relative; display: grid; border-radius: 12px; overflow: hidden; color: #fff; }
.aside.g { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); height: 329px; }
.aside.m { grid-template-columns: repeat(2, minmax(0, 1fr)); height: 260px; }
.par.alta .aside.m { height: 263px; }
.docs .aside.g { height: 335px; }
.aside.teal { background: var(--teal); }
.aside.wine { background: var(--wine); }
.aside.greige { background: var(--greige); color: var(--ink); }
.aside.lila { background: var(--lila); color: var(--ink); }
.a-txt { align-self: end; padding: 0 32px 32px; }
.a-txt .et { font-size: 14px; line-height: 16.8px; font-weight: 500; color: rgb(255 255 255 / .8); }
.a-txt.dark .et, .aside.greige .et, .aside.lila .et { color: var(--muted); }
.a-txt .tx { margin-top: 12px; font-size: 25px; line-height: 30px; font-weight: 420; letter-spacing: -.6875px; }
.a-pic { position: relative; overflow: hidden; }
/* Escena de tarjeta: fondo pictórico del color de la tarjeta + ventana flotante con el vídeo de la app. */
.escena { position: absolute; inset: 0; overflow: hidden; background: var(--fondo) center / cover no-repeat; }
.ventana { position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h); overflow: hidden; border-radius: 12px; background: #fff;
  box-shadow: 0 30px 60px -12px rgb(20 10 40 / .35), 0 12px 24px -8px rgb(20 10 40 / .18), 0 0 0 1px rgb(255 255 255 / .45); }
.escena .ventana video { position: absolute; left: 0; top: 0; width: calc(var(--z) * 100%); height: auto; max-width: none; object-fit: initial;
  transform: translate(calc(var(--fx) * -1%), calc(var(--fy) * -1%)); }

.tabs { position: relative; margin-top: 32px; display: flex; height: 60px; border-bottom: 1px solid var(--line); }
.tab { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 36px; height: 59px; font-size: 18px; line-height: 27px; font-weight: 500; letter-spacing: -.135px; color: var(--muted); border-bottom: 2px solid transparent; flex: 1 1 auto; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab { transition: color .25s ease; }
.tab:hover { color: var(--ink); }
/* Con JS, la raya del activo es un elemento que se desliza (app.js); sin JS queda el borde de la pestaña. */
.tabs.con-raya .tab[aria-selected="true"] { border-bottom-color: transparent; }
.tabs-raya { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--ink); border-radius: 2px; pointer-events: none;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), width .45s cubic-bezier(.22, 1, .36, 1); }
/* Tarjetas del panel nuevo: suben y aparecen escalonadas. */
@keyframes tarj-entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tarjs.entra .tarj { animation: tarj-entra .5s cubic-bezier(.22, 1, .36, 1) both; }
.tarjs.entra .tarj:nth-child(2) { animation-delay: .06s; }
.tarjs.entra .tarj:nth-child(3) { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .tabs-raya { transition: none; } .tarjs.entra .tarj { animation: none; } }
.tab-i { width: 20px; height: 20px; margin-right: 4px; }
.tab-i svg { width: 20px; height: 20px; }
.tarjs { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tarjs[hidden] { display: none; }
.tarj { position: relative; height: 290px; padding: 32px; border-radius: 12px; background: #ecebe6; box-shadow: 0 1px 3px rgb(0 0 0 / .08), 0 0 0 1px rgb(115 113 109 / .12); }
.tarj-i { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 18px; color: #1d2a2a; box-shadow: 0 0 0 1px rgb(255 255 255 / .7) inset; }
.tarj-i svg { width: 30px; height: 30px; }
/* Iconos de las tarjetas con la paleta de la landing en claro: lila con morado, teal y vino suaves con su tinta. */
.tarj-i.g1 { color: #714cb6; background: linear-gradient(135deg, #f1ecff, #d4c7ff); }
.tarj-i.g2 { color: #0c4243; background: linear-gradient(135deg, #e4f0ef, #b9d6d4); }
.tarj-i.g3 { color: #421d24; background: linear-gradient(135deg, #f6e9ea, #e3c6ca); }
.tarj h3 { margin-top: 16px; font-size: 25px; line-height: 30px; font-weight: 420; letter-spacing: -.6875px; }
.tarj h3 b { font-weight: 700; }
.tarj p { margin-top: 12px; font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -.12px; color: var(--muted); }

/* ── Masu Studio: tira de piezas reales (reel, story, carrusel…) en su proporción, sobre una escena pictórica ────── */
.st-tira { margin-top: 64px; display: flex; justify-content: safe center; align-items: flex-end; gap: 32px; padding: 56px 48px 40px;
  border-radius: 12px; background: var(--fondo) center / cover no-repeat; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.st-tira::-webkit-scrollbar { display: none; }
.st-pieza { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.st-marco { position: relative; height: 480px; aspect-ratio: var(--ar); overflow: hidden; border-radius: 22px; background: #fff;
  box-shadow: 0 30px 60px -12px rgb(20 10 40 / .45), 0 12px 24px -8px rgb(20 10 40 / .22), 0 0 0 1px rgb(255 255 255 / .5); }
.st-marco video, .st-marco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-pie { font-size: 14px; line-height: 20px; font-weight: 500; color: rgb(255 255 255 / .78); }
.st-pie b { font-weight: 600; color: #fff; margin-right: 4px; }
@media (max-width: 1100px) { .st-marco { height: 380px; } .st-tira { gap: 20px; padding: 40px 24px 28px; } }
@media (max-width: 640px) {
  .st-tira { padding: 28px 20px 20px; margin-left: -16px; margin-right: -16px; border-radius: 0; }
  .st-pieza { scroll-snap-align: center; }
  .st-marco { height: 360px; border-radius: 18px; }
}

/* ── Página de Masu Studio (/studio/, tools/landing-studio.py) ─────────────────────────────────────────────────────── */
.st-hero { background: var(--page); padding: 88px 0 96px; }
.st-h1 { margin: 24px auto 0; max-width: 1000px; font-size: 64px; line-height: 72px; font-weight: 420; letter-spacing: -2px; color: var(--ink); }
.st-h1 span { color: var(--muted); }
@media (min-width: 641px) { .st-h1 span { display: inline-block; } }
@media (min-width: 1181px) { .st-h1 span { white-space: nowrap; } }
.st-hero-v { margin-top: 64px; padding: 56px; border-radius: 16px; background: var(--fondo) center / cover no-repeat; }
.st-hero-v video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #281647;
  box-shadow: 0 40px 80px -20px rgb(20 10 40 / .5), 0 0 0 1px rgb(255 255 255 / .35); }
.st-ancho { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 48px 32px; border-radius: 12px;
  background: var(--fondo) center / cover no-repeat; }
.st-ancho-v { position: relative; width: min(100%, 860px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px;
  box-shadow: 0 30px 60px -12px rgb(20 10 40 / .45), 0 0 0 1px rgb(255 255 255 / .4); }
.st-ancho-v video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-pasos { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; padding: 0; list-style: none; }
.st-paso-v { position: relative; height: 400px; overflow: hidden; border-radius: 12px; background: var(--fondo) center / cover no-repeat; }
/* Captura de la app como ventana flotante: el panel de Masu, centrado; el calendario y el kanban, a sangre por la derecha. */
.st-paso-v img { position: absolute; left: 50%; top: 40px; width: 300px; transform: translateX(-50%); border-radius: 12px;
  box-shadow: 0 30px 60px -12px rgb(20 10 40 / .4), 0 0 0 1px rgb(255 255 255 / .45); }
.st-paso-v.ancho img { left: 40px; top: 40px; width: 720px; transform: none; }
.st-paso-n { margin-top: 24px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--purple); }
.st-paso h3 { margin-top: 6px; font-size: 25px; line-height: 30px; font-weight: 600; letter-spacing: -.6875px; }
.st-paso p:last-child { margin-top: 10px; max-width: 560px; font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -.12px; color: var(--muted); }
.st-gal { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.st-tpl-m { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #ecebe6;
  box-shadow: 0 1px 3px rgb(0 0 0 / .08), 0 0 0 1px rgb(115 113 109 / .12); }
.st-tpl-m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* La story (9:16) va entera dentro del cuadrado, sobre la escena lila. */
.st-tpl.alto .st-tpl-m { background: url(/img/escena-lila.webp) center / cover no-repeat; }
.st-tpl.alto .st-tpl-m video { left: 50%; top: 8%; width: auto; height: 84%; aspect-ratio: 9 / 16; transform: translateX(-50%); border-radius: 10px;
  box-shadow: 0 16px 32px -10px rgb(20 10 40 / .4); }
.st-tpl h3 { margin-top: 16px; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -.2px; }
.st-tpl p { margin-top: 6px; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--muted); }
.st-marcas { margin-top: 64px; display: grid; gap: 40px; }
.st-marcas > * { min-width: 0; }
.st-marca-n { margin-bottom: 14px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); }
.st-tira.st-tira-marca { margin-top: 0; gap: 16px; padding: 40px 24px 28px; }
.st-tira-marca .st-marco { height: 360px; border-radius: 14px; }
/* Cuatro piezas en la tira de formatos de /studio/: más bajas para que quepan en 1280. */
.pagina-studio #formatos .st-marco { height: 360px; }
.st-tira-marca .st-pie { color: var(--ink); }
.st-tira-marca .st-pie b { color: var(--ink); }
.st-base { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); height: 360px; overflow: hidden; border-radius: 12px; color: #fff;
  background: var(--teal) var(--fondo) center / cover no-repeat; }
.st-base-t { align-self: end; padding: 0 32px 32px; }
.st-base-t .et { font-size: 14px; line-height: 16.8px; font-weight: 500; color: rgb(255 255 255 / .8); }
.st-base-t .tx { margin-top: 12px; font-size: 25px; line-height: 30px; font-weight: 420; letter-spacing: -.6875px; }
.st-base-t .b-borde { margin-top: 24px; }
.st-base-v { position: relative; }
.st-base-v img { position: absolute; left: 0; top: 48px; width: 820px; max-width: none; border-radius: 12px 0 0 12px;
  box-shadow: 0 30px 60px -12px rgb(0 0 0 / .4); }
.pagina-studio .tarj { height: auto; min-height: 290px; }
.st-et { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .02em; color: var(--purple); }
.st-mos { margin-top: 64px; display: grid; gap: 40px; }
.st-mo { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 24px; }
.st-mo-h, .st-mo-r { border-radius: 12px; background: var(--fondo) center / cover no-repeat; display: grid; place-items: center; }
.st-mo-h { padding: 32px; }
.st-mo-v { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px;
  box-shadow: 0 30px 60px -12px rgb(20 10 40 / .45), 0 0 0 1px rgb(255 255 255 / .4); }
.st-mo-v video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-mo-r { padding: 24px; }
.st-mo-r .st-marco { height: auto; width: 100%; max-width: 240px; }
.st-mo-n { grid-column: 1 / -1; margin-top: -8px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--ink); }
@media (max-width: 1180px) { .st-mo { grid-template-columns: 1fr; } .st-mo-r .st-marco { max-width: 220px; } }
@media (max-width: 640px) { .st-mo-h { padding: 12px; } .st-mo-h, .st-mo-r { margin: 0 -16px; border-radius: 0; } }
.pagina-studio #preguntas { background: var(--page); max-width: none; }
.pagina-studio #preguntas .t49 { margin-top: 0; }
@media (max-width: 1180px) {
  .st-h1 { font-size: 52px; line-height: 60px; letter-spacing: -1.5px; }
  .st-hero-v { padding: 32px; }
  .st-pasos { grid-template-columns: 1fr; }
  .st-base { grid-template-columns: 1fr; height: auto; }
  .st-base-t { padding: 32px; }
  .st-base-v { height: 280px; }
  .st-base-v img { left: 32px; top: 0; width: 760px; }
}
/* A dos columnas, la última plantilla suelta va centrada. */
@media (max-width: 900px) {
  .st-gal { grid-template-columns: repeat(2, 1fr); }
  .st-gal > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 16px); }
}
@media (max-width: 640px) {
  .st-hero { padding: 56px 0 64px; }
  .st-h1 { font-size: 38px; line-height: 44px; letter-spacing: -1px; }
  .st-hero-v { margin: 40px -16px 0; padding: 16px; border-radius: 0; }
  .st-ancho { margin-left: -16px; margin-right: -16px; padding: 24px 16px 20px; border-radius: 0; }
  .st-paso-v { height: 320px; }
  .st-paso-v img { width: 230px; top: 28px; }
  .st-paso-v.ancho img { left: 20px; top: 28px; width: 560px; }
  .st-paso h3 { font-size: 22px; line-height: 27px; }
  .st-gal { grid-template-columns: 1fr; gap: 28px; }
  .st-gal > :last-child:nth-child(odd) { width: auto; justify-self: stretch; }
  .st-tira-marca .st-marco { height: 260px; }
  .pagina-studio #formatos .st-marco { height: 340px; }
  .st-base-t .tx { font-size: 22px; line-height: 27px; }
  .st-base-v { height: 220px; }
  .st-base-v img { left: 16px; width: 560px; }
}

/* ── Testimonio ───────────────────────────────────────────────────────────────────────────────────────────────── */
.cita { background: var(--lila); padding: 96px 0; text-align: center; }
.cita h2 { max-width: 900px; margin: 0 auto; font-size: 39px; line-height: 46.8px; font-weight: 420; letter-spacing: -1.0725px; }
.cita h2 b { font-weight: 700; }
.cita-n { margin-top: 27px; font-size: 18px; line-height: 27px; font-weight: 500; letter-spacing: -.135px; }
.cita-r { font-size: 18px; line-height: 27px; font-weight: 500; letter-spacing: -.135px; color: var(--muted); }
.cita .b-sec { margin-top: 21px; }

/* ── Bases (cuadrícula) ───────────────────────────────────────────────────────────────────────────────────────── */
.mail .bloques, .mg { margin-top: 80px; }
.mg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 230px 397px; gap: 32px; }
.mc { position: relative; overflow: hidden; border-radius: 12px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.mc.violeta { grid-row: 1 / span 2; background: var(--purple); }
.mc.oscuro { background: var(--violet); }
.mc.greige { background: var(--greige); color: var(--ink); }
.mc-pic { position: relative; overflow: hidden; }
.mc.violeta .mc-pic { height: 486px; }
.mc.oscuro .mc-pic { position: absolute; inset: 0; }
.mc.greige .mc-pic { height: 234px; }
.mc.oscuro .mc-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(40 22 71 / .96) 0%, rgb(40 22 71 / .6) 55%, transparent 100%); }
.mc-txt { position: relative; padding: 0 32px 32px; margin-top: auto; }
.mc-txt .et { font-size: 14px; line-height: 16.8px; font-weight: 500; color: rgb(255 255 255 / .8); }
.mc.greige .et { color: var(--muted); }
.mc-txt h3 { margin-top: 8px; font-size: 25px; line-height: 30px; font-weight: 420; letter-spacing: -.6875px; }

/* ── MCP ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
.docs .bloques { margin-top: 96px; }
.docs .sub.dos { max-width: 900px; }

/* ── Equipos ──────────────────────────────────────────────────────────────────────────────────────────────────── */
.emp { background: var(--violet); color: #fff; padding: 96px 0; }
.emp-in { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 672px); justify-content: space-between; gap: 32px; align-items: center; min-height: 378px; }
.emp-et { font-size: 20px; line-height: 30px; font-weight: 500; letter-spacing: -.15px; color: rgb(255 255 255 / .8); }
.emp h2 { margin-top: 24px; font-size: 49px; line-height: 58.8px; font-weight: 420; letter-spacing: -1.3475px; }
.emp-p { margin-top: 24px; font-size: 18px; line-height: 27px; font-weight: 500; letter-spacing: -.135px; color: rgb(255 255 255 / .8); }
.btns-l { margin-top: 48px; display: flex; align-items: center; gap: 16px; }
.emp-pic { height: 378px; border-radius: 12px; overflow: hidden; }
.emp-pic img, .emp-pic video { width: 100%; height: 100%; object-fit: cover; }

/* ── Cierre ───────────────────────────────────────────────────────────────────────────────────────────────────── */
.cierre { height: 251px; color: #fff; background: #1f4143 url("/img/cierre-fluido.webp") 30% 45% / 125% auto no-repeat; animation: deriva 48s ease-in-out infinite alternate; }
/* Deriva muy lenta de la textura (la referencia casi no se mueve): solo se desplaza el encuadre. */
@keyframes deriva { from { background-position: 30% 45%; } to { background-position: 75% 60%; } }
@media (prefers-reduced-motion: reduce) { .cierre { animation: none; } }
.cierre-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cierre h2 { font-size: 49px; line-height: 58.8px; font-weight: 420; letter-spacing: -1.3475px; }

/* ── Pie ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
.pie { position: relative; background: var(--wine); color: #fff; padding: 64px 0 48px; }
.pie-sup { display: flex; gap: 32px; min-height: 592px; }
.pie-marca { flex: 1 1 300px; min-width: 0; }
.pie-marca h3 { margin-top: 24px; max-width: 366px; font-size: 28px; line-height: 32px; font-weight: 500; letter-spacing: -.63px; }
.pie-nav { flex: 0 1 auto; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 170px)); gap: 0 clamp(24px, 3vw, 40px); margin-left: 0; }
.pie-nav h3 { font-size: 18.72px; line-height: 28px; font-weight: 700; }
.pie-nav ul { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.pie-nav a, .pie-nav li { font-size: 16px; line-height: 24px; font-weight: 420; color: rgb(255 255 255 / .8); }
.pie-nav a:hover { color: #fff; text-decoration: underline; }
/* El correo no tiene espacios: en una columna estrecha (móvil) se parte en vez de salirse. */
.pie-nav a { overflow-wrap: anywhere; }
.pie-nav li.muted { color: rgb(255 255 255 / .5); }
/* 枡 de fondo, en el hueco bajo la marca del pie: mismo blanco al 5 % que la palabra gigante. */
.pie-kanji { position: absolute; left: 80px; top: 236px; width: 402px; height: 400px; fill: rgb(255 255 255 / .05); pointer-events: none; user-select: none; }
@media (max-width: 1180px) { .pie-kanji { display: none; } }
.pie-gigante { margin-top: 32px; width: 100%; height: 123px; overflow: visible; color: rgb(255 255 255 / .05); user-select: none; }
.pie-gigante text { fill: currentColor; font-family: var(--fuente); font-weight: 700; }
.pie-marcas { position: absolute; left: 0; right: 0; bottom: 14px; padding: 0 80px; font-size: 11px; line-height: 14px; color: rgb(255 255 255 / .4); }

/* ── Responsive ───────────────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .cw { padding: 0 32px; }
  .hdr-nav, .hdr-txt, .hdr-btn { display: none; }
  .burger { display: flex; }
  .menu-movil { position: fixed; inset: 67px 0 0; z-index: 29; display: none; flex-direction: column; padding: 16px 32px; background: #fff; overflow: auto; }
  .menu-movil.abierto { display: flex; }
  .menu-movil a { padding: 14px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .car { height: auto; background: var(--dark); }
  .car-caja { display: flex; flex-direction: column; height: auto; padding-top: 48px; }
  /* Los textos se apilan en la misma celda: la caja mide lo que el más alto, sin alto fijo ni huecos. */
  .car-textos { position: static; display: grid; width: auto; }
  .car-texto { position: relative; grid-area: 1 / 1; width: 100%; }
  .car-t { font-size: 40px; line-height: 46px; letter-spacing: -1px; }
  .car-panel { position: relative; left: auto; top: auto; width: calc(100% + 64px); margin: 24px -32px 0; height: 420px; order: 2; }
  .car-lista { position: static; width: auto; margin-top: 24px; order: 3; padding-bottom: 32px; }
  .car-fila { width: 100%; }
  .car-medio video { inset: 0; width: 100%; height: 100%; }
  .aside.g, .aside.m, .docs .aside.g, .par.alta .aside.m { grid-template-columns: 1fr; height: auto; }
  .a-txt { padding: 32px; }
  .a-pic { height: 280px; }
  .par { grid-template-columns: 1fr; gap: 32px; }
  .tabs { overflow-x: auto; }
  /* Logos: 3 arriba y 2 abajo (rejilla de 6), con el nombre en dos líneas si no cabe. */
  .rejilla-logos { grid-template-columns: repeat(6, 1fr); }
  .rejilla-logos li { grid-column: span 2; white-space: normal; padding: 0 12px; }
  .rejilla-logos li:nth-child(n+4) { grid-column: span 3; }
  .tab { padding: 0 24px; white-space: nowrap; }
  .tarjs { grid-template-columns: 1fr; }
  .tarj { height: auto; }
  .mg { grid-template-columns: 1fr; grid-template-rows: auto; }
  .mc.violeta { grid-row: auto; }
  .mc.oscuro, .mc.greige { min-height: 300px; }
  .emp-in { grid-template-columns: 1fr; gap: 40px; }
  .cierre { height: auto; padding: 64px 0; }
  .cierre-in { flex-direction: column; align-items: flex-start; }
  .pie-sup { flex-direction: column; min-height: 0; }
  .pie-marca { flex: none; }
  .pie-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .pie-gigante { height: auto; }
  .pie-marcas { position: static; padding: 24px 0 0; }
}
@media (max-width: 640px) {
  .cw { padding: 0 16px; }
  .t49, .cierre h2, .emp h2 { font-size: 34px; line-height: 40px; letter-spacing: -.8px; }
  .car-t { font-size: 32px; line-height: 38px; }
  .car-panel { width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; height: 320px; }
  .car-caja { padding-top: 32px; }
  .car-fila { padding: 0 16px; }
  .car-fila span:last-child { display: none; }
  .logos, .grupo, .cita, .emp { padding: 64px 0; }
  .rejilla-logos { grid-template-columns: repeat(2, 1fr); }
  .rejilla-logos li, .rejilla-logos li:nth-child(n+4) { grid-column: auto; height: 72px; font-size: 16px; line-height: 20px; }
  .rejilla-logos li:last-child { grid-column: 1 / -1; }
  /* Botones del carrusel: el botón partido ocupa la fila y «Saber más» baja debajo; el agente solo con su logo. */
  .car-btns, .btns-c { flex-wrap: wrap; gap: 12px 16px; }
  .car-btns .setup-name, .btns-c .setup-name { display: none; }
  .cita h2 { font-size: 28px; line-height: 36px; }
  .a-txt .tx, .tarj h3, .mc-txt h3 { font-size: 22px; line-height: 27px; }
  .pie-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}

/* ── «Copiar prompt de inicio»: botón partido (copiar | agente ▾) con el estilo de los botones de la página ───────── */
.setup { position: relative; display: inline-flex; align-items: stretch; }
.setup-copy, .setup-pick { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; transition: background .15s ease; }
.setup-ico { width: 18px; height: 18px; flex: none; }
.setup-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: none; }
.setup-mark svg, .setup-mark img { width: 18px; height: 18px; fill: currentColor; }
.setup.prim .setup-copy, .setup.prim .setup-pick { height: 52px; font-size: 16px; line-height: 16px; background: var(--purple); color: #fff; }
.setup.prim .setup-copy { padding: 0 18px 0 20px; border-radius: 12px 0 0 12px; }
.setup.prim .setup-pick { padding: 0 14px; border-radius: 0 12px 12px 0; box-shadow: inset 1px 0 0 rgb(255 255 255 / .28); }
.setup.prim .setup-copy:hover, .setup.prim .setup-pick:hover { background: #5f3d9f; }
.setup.claro .setup-copy, .setup.claro .setup-pick { height: 36px; font-size: 14px; line-height: 18px; background: var(--lila-btn); color: var(--ink); }
.setup.claro .setup-copy { padding: 0 14px 0 16px; border-radius: 8px 0 0 8px; }
.setup.claro .setup-pick { padding: 0 10px; border-radius: 0 8px 8px 0; box-shadow: inset 1px 0 0 rgb(20 20 19 / .16); }
.setup.claro .setup-copy:hover, .setup.claro .setup-pick:hover { background: #c6b6ff; }
.setup-pick .chev { transition: transform .2s ease; }
.setup-pick[aria-expanded="true"] .chev { transform: rotate(180deg); }
.setup-menu { position: absolute; z-index: 25; top: calc(100% + 8px); right: 0; display: flex; flex-direction: column; gap: 2px; min-width: 240px; padding: 6px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 16px 40px rgb(0 0 0 / .18), 0 0 0 1px rgb(115 113 109 / .14); text-align: left; }
.setup-menu[hidden] { display: none; }
.setup-menu button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 18px; font-weight: 500; }
.setup-menu button:hover, .setup-menu button:focus-visible, .setup-menu button[aria-checked="true"] { background: #f5f4f2; }
.setup-menu button[aria-checked="true"]::after { content: "✓"; margin-left: auto; color: var(--purple); font-weight: 700; }
.setup.copiado .setup-copy { background: #2f7d4f; color: #fff; }

/* ── Desplegable «Product» (menú grande): mismo contenido y comportamiento que el de la landing actual ──────────────── */
.mg-gatillo[aria-expanded="true"] { background: rgb(127 127 127 / .1); }
.mg-gatillo .chev { transition: transform .2s ease; }
.mg-gatillo[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mg-velo { position: fixed; inset: 0; z-index: 29; background: rgb(15 18 24 / .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.mg-velo.visible { opacity: 1; pointer-events: auto; }
html.mg-bloqueo { overflow: hidden; padding-right: var(--mg-barra, 0); }
.mg-panel { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -12px rgb(0 0 0 / .14); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.mg-panel.abierto { opacity: 1; transform: none; pointer-events: auto; }
.mg-panel[hidden] { display: none; }
.mg-rej { display: grid; grid-template-columns: 1.15fr 1.15fr .9fr; gap: 32px; padding-top: 32px; padding-bottom: 32px; }
.mg-titulo { margin: 0 0 14px; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mg-grupo ul, .mg-destacado ul { display: grid; gap: 2px; }
.mg-item { display: flex; align-items: flex-start; gap: 12px; padding: 8px 10px; border-radius: 8px; color: var(--ink); transition: background .15s ease, color .15s ease; }
.mg-item:hover, .mg-item:focus-visible { background: #f5f4f2; }
.mg-item:hover b, .mg-item:focus-visible b { color: var(--purple); }
.mg-ico { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--muted); }
.mg-item:hover .mg-ico, .mg-item:focus-visible .mg-ico { color: var(--purple); }
.mg-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mg-txt b { font-size: 13.5px; line-height: 17.5px; font-weight: 600; color: var(--ink); }
.mg-txt small { font-size: 12px; line-height: 16.2px; font-weight: 420; color: var(--muted); }
.mg-destacado { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.mg-destacado ul { gap: 8px; }
.mg-tarjeta { padding: 12px; border: 1px solid rgb(1 20 53 / .12); background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.mg-tarjeta:hover, .mg-tarjeta:focus-visible { background: #fff; border-color: var(--purple); }
.mg-nota { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 16.7px; color: var(--muted); }
@media (max-width: 1180px) { .mg-panel, .mg-velo { display: none !important; } }

/* Menú móvil: acordeón «Product» */
.mm-acc { border-bottom: 1px solid var(--line); }
.menu-movil .mm-acc-b { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; font-size: 20px; line-height: 28px; text-align: left; }
.mm-acc-b .chev { width: 20px; height: 20px; transition: transform .2s ease; }
.mm-acc-b[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mm-acc-p { padding: 0 0 16px; }
.mm-acc-p[hidden] { display: none; }
.mm-grupo { margin: 12px 0 6px; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mm-acc-p ul { display: grid; gap: 2px; }
.menu-movil .mm-acc-p a.mm-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 8px; border-bottom: 0; border-radius: 8px; font-size: 14px; line-height: 18px; }
.mm-item b { display: block; font-weight: 600; }
.mm-item small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.menu-movil .mm-acc-p a.mm-todas { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 0; border-bottom: 0; font-size: 15px; font-weight: 600; color: var(--purple); }

/* Lenis (desplazamiento suave, /vendor/lenis.min.js): reglas que pide la librería. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
