/* Motion Lab — «El rótulo»
   Carbón, hueso y salvia. Imbue para los rótulos, Albert Sans para leer. */

@font-face { font-family: 'Imbue'; src: url('/assets/fonts/imbue-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Albert Sans'; src: url('/assets/fonts/albert-sans-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #1c1c1c;          /* carbón */
  --surface: #262626;
  --ink: #f1f1ef;         /* hueso */
  --muted: #9a9b96;
  --accent: #8fa68e;      /* salvia */
  --accent-hi: #a2b7a1;
  --accent-ink: #1c1c1c;
  --paper: #f1f1ef;       /* campo invertido */
  --paper-2: #e4e3df;
  --paper-3: #d8d7d2;
  --paper-ink: #1c1c1c;
  --paper-muted: #55554f;
  --stone: #c8c5ba;       /* hormigón */
  --stone-2: #bab7ab;
  --stone-ink: #1c1c1c;
  --stone-muted: #46463f;

  --font-display: 'Imbue', 'Times New Roman', serif;
  --font-text: 'Albert Sans', system-ui, sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --step-head: clamp(2.75rem, 1.4rem + 4.6vw, 5.75rem);
  --giant: 29vw;

  --m: clamp(20px, 2vw, 28px);
  --gut: clamp(16px, 1.7vw, 24px);
  --space: clamp(104px, 11vw, 176px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; color-scheme: dark; -webkit-tap-highlight-color: rgba(143, 166, 142, 0.3); }
a, button, label, input, select, summary { touch-action: manipulation; }
.try, .work, .faq, .foot, .legal-page, .sheet { color-scheme: light; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.55 var(--font-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, picture, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
p, li, dd, figcaption { text-wrap: pretty; }
strong, b { font-weight: 600; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--m); top: 12px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; font-weight: 600; transform: translateY(-160%); transition: transform 180ms var(--ease-out); }
.skip:focus { transform: none; }

.wrap { padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }

/* Rótulos: la serif alta y estrecha, siempre en mayúsculas */
.head { font-family: var(--font-display); font-weight: 400; font-size: var(--step-head); line-height: 0.9; letter-spacing: -0.005em; text-transform: uppercase; text-wrap: balance; }

/* Botones: rectángulos planos, esquinas rectas */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 16px 24px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: var(--step-body); line-height: 1.15; text-align: center; transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--paper-ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-hi); }
  .btn--ink:hover { background: #33332f; }
}
.link { background-image: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

/* ---------- la barra ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; height: 76px; display: flex; align-items: center; gap: 36px; padding-inline: var(--m); color: var(--ink); font-size: var(--step-small); font-weight: 500; transition: transform 360ms var(--ease-drawer), background-color 200ms ease; }
.bar.is-solid { background: var(--bg); }
.bar.is-hidden { transform: translateY(-100%); }
.bar__mark { font-weight: 600; font-size: var(--step-body); margin-right: auto; }
.bar__nav { display: flex; gap: 32px; }
.bar__nav a, .bar__wa { position: relative; padding-block: 6px; }
.bar__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.bar__wa { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.bar__wa svg { width: 18px; height: 18px; }
.bar__menu { display: none; font-weight: 600; padding: 10px 0 10px 12px; }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--ink); padding: 96px var(--m) calc(28px + env(safe-area-inset-bottom)); display: grid; align-content: space-between; overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu__nav { display: grid; gap: 6px; }
.menu__nav a { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(3rem, 15vw, 5rem); line-height: 1; }
.menu__foot { display: grid; gap: 18px; justify-items: start; }
.menu__foot p { color: var(--muted); }
.menu__close { position: absolute; top: 22px; right: var(--m); font-weight: 600; padding: 10px 0 10px 12px; }

/* ---------- portada: una palabra recortada ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--bg); }
.hero__say { position: absolute; z-index: 2; top: calc(var(--m) + 84px); left: var(--m); width: min(600px, 44vw); }
.hero__say h1 { font-size: var(--step-lead); line-height: 1.22; font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
.hero__say p { margin-top: 12px; max-width: 40ch; }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.hero__price { color: var(--muted); font-size: var(--step-small); }
.hero__facts { position: absolute; z-index: 2; top: calc(var(--m) + 84px); right: var(--m); width: 300px; color: var(--muted); }
.hero__word { position: absolute; z-index: 1; left: -7vw; bottom: -0.28em; font-family: var(--font-display); font-weight: 400; font-size: min(54vw, 84svh); line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; text-transform: uppercase; pointer-events: none; user-select: none; }
.hero__scale { display: block; transform-origin: 50% 100%; will-change: transform; }
.hero__lab { display: none; }

/* ---------- pruébalo: el rótulo y el escaparate ---------- */
.try { background: var(--paper); color: var(--paper-ink); padding-block: var(--space) calc(var(--space) * 0.8); }
.try__side { grid-column: 1 / span 5; align-self: start; }
.try__side p { margin-top: 32px; max-width: 40ch; font-size: var(--step-lead); line-height: 1.35; }
.try__intro { grid-column: 7 / span 6; }
.try__form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: var(--step-small); }
.field legend { margin-bottom: 8px; }
.field input[type="text"], .field select { width: 100%; height: 64px; padding: 0 18px; border: 0; border-radius: 0; background: var(--paper-2); color: var(--paper-ink); font-size: 1.375rem; border-bottom: 3px solid var(--paper-ink); transition: background-color 160ms ease, border-color 160ms ease; }
.field select { appearance: none; font-size: 1.0625rem; height: 56px; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231c1c1c' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field input[type="text"]::placeholder { color: #75756e; }
.field input[type="text"]:focus, .field select:focus { background-color: #fff; outline: 3px solid var(--accent); outline-offset: 0; border-bottom-color: var(--accent); }
.field--row { grid-template-columns: 1fr auto; align-items: end; gap: 16px; }
.field--row > div { display: grid; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: block; padding: 12px 18px; background: var(--paper-2); font-weight: 500; transition: background-color 160ms ease, color 160ms ease, transform 120ms var(--ease-out); }
.chip input:checked + span { background: var(--paper-ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.chip input:active + span { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { background: var(--paper-3); } }

.rotulo { margin-top: clamp(96px, 9vw, 128px); background: var(--bg); color: var(--ink); height: clamp(168px, 23vw, 360px); display: grid; place-items: center; overflow: hidden; padding-inline: var(--m); }
.rotulo__in { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; white-space: nowrap; line-height: 0.84; letter-spacing: -0.005em; font-size: 15vw; padding-top: 0.06em; }
.rotulo__in .rl { display: inline-block; }

.try__shop { margin-top: clamp(48px, 5vw, 80px); align-items: center; }
.try__phone { grid-column: 1 / span 6; }
.try__act { grid-column: 8 / span 5; }
.try__h { font-size: var(--step-lead); font-weight: 600; line-height: 1.25; }
.try__act > p { margin-top: 12px; max-width: 44ch; }
.try__list { margin-top: 22px; display: grid; gap: 4px; }
.try__list li { padding-left: 26px; position: relative; }
.try__list li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 12px; height: 4px; background: var(--accent); }
.try__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.try__btns .link { font-weight: 600; padding: 8px 0; }
.try__estado { min-height: 1.6em; margin-top: 14px; color: var(--paper-muted); font-size: var(--step-small); }

/* el móvil de muestra */
.phone { width: min(330px, 100%); aspect-ratio: 330 / 680; margin-inline: auto; padding: 12px; background: #0d0d0d; border-radius: 46px; position: relative; }
.phone::before { content: ''; position: absolute; top: 22px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: #0d0d0d; z-index: 3; }

/* ---------- la mini web (fragmento de producto, con sus propias reglas) ---------- */
.mw { position: relative; height: 100%; overflow: hidden; border-radius: 34px; background: var(--mw-bg, #121417); color: var(--mw-ink, #fff); font-family: var(--font-text); }
.mw__page { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; scroll-behavior: smooth; }
.mw__page::-webkit-scrollbar { display: none; }
.mw__page:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 34px; }
.mw__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 54px 20px 10px; font-weight: 700; font-size: 13px; }
.mw__logo { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mw__burger i { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px 0; }
.mw__hero { padding: 8px 20px 26px; }
.mw__art { border-radius: 20px; background: color-mix(in srgb, var(--mw-ink) 7%, transparent); padding: 10px 6px; }
.mw__art svg { width: 100%; height: auto; }
.mw__name { overflow-wrap: anywhere; margin-top: 18px; font-size: var(--mw-name, 34px); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; }
.mw[data-face="serif"] .mw__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 0.9; letter-spacing: 0; }
.mw .w { display: inline-block; white-space: nowrap; }
.mw .ch { display: inline-block; }
.mw__tag { margin-top: 10px; font-size: 14px; line-height: 1.4; opacity: 0.86; }
.mw__cta { display: inline-block; margin-top: 16px; padding: 11px 18px; border-radius: 999px; background: var(--mw-acc); color: var(--mw-acc-ink); font-size: 14px; font-weight: 700; }
.mw__sec { padding: 22px 20px; border-top: 1px solid color-mix(in srgb, var(--mw-ink) 14%, transparent); } /* taste-skill-ignore: the mini web is a product fragment (data-ui) */
.mw__title { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.mw[data-face="serif"] .mw__title { font-family: var(--font-display); font-weight: 400; font-size: 21px; text-transform: uppercase; line-height: 1; }
.mw__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14px; border-bottom: 1px solid color-mix(in srgb, var(--mw-ink) 10%, transparent); } /* taste-skill-ignore: product fragment */
.mw__list b { font-weight: 700; white-space: nowrap; }
.mw__hours div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.mw__hours dd { font-weight: 700; }
.mw__map { border-radius: 16px; overflow: hidden; }
.mw__map svg { width: 100%; height: auto; }
.mw__where { margin-top: 10px; font-size: 14px; }
.mw__foot { padding: 20px 20px 84px; font-size: 13px; opacity: 0.75; }
.mw__wa { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 50px; height: 50px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; }
.mw__wa svg { width: 27px; height: 27px; }

/* ---------- banda de foto ---------- */
.band { position: relative; overflow: hidden; background: var(--bg); }
.band picture { display: block; overflow: hidden; }
.band img { width: 100%; height: auto; aspect-ratio: 1728 / 741; object-fit: cover; transform-origin: 50% 60%; will-change: transform; }
.band--dusk img { aspect-ratio: 1920 / 823; }
.band figcaption { padding-block: 18px 0; color: var(--muted); font-size: var(--step-small); max-width: 80ch; }

/* ---------- cómo trabajo: el ticket ---------- */
.how { padding-block: var(--space); }
.how__side { grid-column: 1 / span 5; }
.how__lead { margin-top: 28px; max-width: 32ch; font-size: var(--step-lead); line-height: 1.35; }
.how__pic { margin-top: 48px; max-width: 460px; }
.how__pic img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.how__pic figcaption { margin-top: 12px; color: var(--muted); font-size: var(--step-small); }
.slip { grid-column: 7 / span 5; align-self: start; width: 100%; max-width: 540px; background: var(--paper); color: var(--paper-ink); padding: 36px 32px 64px; font-size: var(--step-body); font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 95.45% 100%, 90.91% calc(100% - 14px), 86.36% 100%, 81.82% calc(100% - 14px), 77.27% 100%, 72.73% calc(100% - 14px), 68.18% 100%, 63.64% calc(100% - 14px), 59.09% 100%, 54.55% calc(100% - 14px), 50% 100%, 45.45% calc(100% - 14px), 40.91% 100%, 36.36% calc(100% - 14px), 31.82% 100%, 27.27% calc(100% - 14px), 22.73% 100%, 18.18% calc(100% - 14px), 13.64% 100%, 9.09% calc(100% - 14px), 4.55% 100%, 0 calc(100% - 14px)); }
.slip__head { font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-lead); line-height: 1; }
.slip__sub { margin-top: 8px; font-size: var(--step-small); color: var(--paper-muted); }
.slip__when { margin-top: 28px; font-weight: 700; }
.slip ul { margin-top: 6px; }
.slip li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; }
.slip li span { flex: 0 1 auto; max-width: 70%; }
.slip li i { flex: 1 1 24px; min-width: 24px; overflow: hidden; white-space: nowrap; color: var(--paper-muted); font-style: normal; }
.slip li i::before { content: '· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·'; letter-spacing: 1px; }
.slip li b { flex: none; font-weight: 600; }
.slip__total { margin-top: 28px; min-height: 48px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper-ink); color: var(--paper); font-weight: 600; }

/* ---------- proyectos: el libro de registro ---------- */
.work { background: var(--stone); color: var(--stone-ink); padding-block: var(--space); }
.work__side { grid-column: 1 / span 3; }
.work__h { font-size: var(--step-lead); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.work__side p { margin-top: 16px; max-width: 30ch; }
.work__list { grid-column: 4 / span 5; }
.work__thumb { display: none; }
.work__row { width: 100%; min-height: 52px; display: grid; grid-template-columns: 55% 1fr auto; align-items: baseline; gap: 12px; padding: 12px 0; text-align: left; color: var(--stone-ink); transition: color 160ms ease, transform 200ms ease; }
.work__name { font-weight: 600; }
.work__kind, .work__tag { font-size: var(--step-small); color: var(--stone-muted); }
.work__list:hover .work__row, .work__list:focus-within .work__row { color: var(--stone-muted); }
.work__list .work__row.is-on { color: var(--stone-ink); }
.work__row.is-on .work__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (hover: hover) and (pointer: fine) { .work__row:hover { transform: translateX(6px); } }
.work__preview { grid-column: 9 / span 4; position: relative; }
.work__frame { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-2); transition: transform 300ms var(--ease-out); }
.work__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 200ms ease; }
.work__frame img.is-on { opacity: 1; }

/* la ficha de un proyecto */
.sheet { margin: auto; width: min(1040px, calc(100% - 2 * var(--m))); max-height: calc(100svh - 48px); border: 0; padding: 0; background: var(--paper); color: var(--paper-ink); overflow: auto; overscroll-behavior: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); /* taste-skill-ignore: a dialog floats over the page */ }
.sheet::backdrop { background: rgba(10, 10, 10, 0.72); }
.sheet__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: clamp(24px, 4vw, 56px); align-items: center; }
.sheet__phone .phone { width: min(310px, 100%); }
.sheet__kind { font-weight: 600; color: var(--paper-muted); }
.sheet__h { font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4.25rem); margin: 10px 0 18px; }
.sheet__note { margin: 16px 0 28px; color: var(--paper-muted); font-size: var(--step-small); }
.sheet__close { position: absolute; top: 18px; right: 22px; font-weight: 600; padding: 8px 4px; }
.sheet[open] { animation: sheet-in 380ms var(--ease-out); }
.sheet[open]::backdrop { animation: fade-in 280ms ease; }
.sheet.is-closing { animation: sheet-out 200ms var(--ease-out) forwards; }
.sheet.is-closing::backdrop { animation: fade-out 200ms ease forwards; }

/* ---------- precios: la tabla grande ---------- */
.prices { padding-block: var(--space); }
.plans { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--step-lead); line-height: 1.25; font-variant-numeric: tabular-nums; }
.plans th, .plans td { padding: 20px 18px; text-align: left; vertical-align: top; font-weight: 400; }
.plans thead th, .plans thead td { padding-top: 0; padding-bottom: 32px; vertical-align: bottom; }
.plans__corner { width: 34%; padding-left: 0 !important; }
.plans tbody th { padding-left: 0; color: var(--muted); }
.plans tbody tr:nth-child(odd) > * { background: var(--surface); }
.plans tbody tr:nth-child(odd) > th { padding-left: 18px; }
.plans tbody tr > th { padding-left: 18px; }
.plans thead th { padding-top: 26px; }
.plans__name, .plans__price, .plans__per { display: block; }
.plans__name { font-weight: 600; }
.plans__price { font-family: var(--font-display); font-size: var(--step-head); line-height: 0.9; margin-top: 10px; }
.plans__per { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
.plans .is-rec { background: var(--accent) !important; color: var(--accent-ink); }
.plans tbody tr:nth-child(odd) > .is-rec { background: #86a085 !important; }
.plans .is-rec .plans__per { color: #2c372b; }
.plans__go > * { background: transparent !important; padding-top: 28px !important; }
.plans__go .is-rec { background: var(--accent) !important; padding-bottom: 28px !important; }
.plans__go .btn { width: 100%; }
.plans-m { display: none; }
.prices__notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); margin-top: 56px; }
.prices__notes p { max-width: 36ch; }
.prices__notes strong { color: var(--ink); }

/* ---------- quién: dos columnas, palabras marcadas ---------- */
.about { padding-block: var(--space); }
.about__text { margin-top: 48px; columns: 2; column-gap: 40px; text-align: justify; hyphens: auto; font-size: var(--step-lead); line-height: 1.3; color: var(--muted); }
.about__text strong { color: var(--ink); font-weight: 500; }
.hl { padding: 0 0.12em; color: var(--accent-ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl--a { background: var(--accent); }
.hl--b { background: var(--stone); }
.hl--c { background: var(--paper); }
.hl--go { background: var(--accent); color: var(--accent-ink); font-weight: 500; transition: background-color 160ms ease; }
a.hl { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { a.hl:hover { background: var(--ink); } }

/* ---------- preguntas ---------- */
.faq { background: var(--stone); color: var(--stone-ink); padding-block: var(--space); }
.faq__list { margin-top: 80px; margin-left: calc((100% + var(--gut)) * 4 / 12); }
.faq__item + .faq__item { margin-top: 8px; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 16px; margin-inline: -16px; font-size: var(--step-lead); line-height: 1.3; transition: background-color 160ms ease; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary, .faq__item[open] .faq__a { background: var(--stone-2); }
@media (hover: hover) and (pointer: fine) { .faq__item:not([open]) summary:hover { background: color-mix(in srgb, var(--stone-2) 55%, var(--stone)); } }
.chev { flex: none; width: 13px; height: 13px; margin-top: -6px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform 220ms var(--ease-out); }
.faq__item[open] .chev { transform: rotate(-135deg); margin-top: 6px; }
.faq__a { margin-inline: -16px; padding: 0 16px 26px; }
.faq__a p { max-width: 52ch; }
.faq__item[open] .faq__a p { animation: answer-in 240ms var(--ease-out); }

/* ---------- la llamada: una palabra es el botón ---------- */
.cta { position: relative; display: block; height: 62svh; min-height: 420px; overflow: hidden; background: var(--accent); color: var(--accent-ink); }
.cta__say { position: absolute; top: 28px; left: var(--m); max-width: 38ch; font-size: var(--step-lead); line-height: 1.3; font-weight: 500; }
.cta__arrow { position: absolute; top: 28px; right: var(--m); width: 48px; height: 48px; transition: transform 200ms var(--ease-out); }
.cta__word { position: absolute; left: var(--m); bottom: 24px; font-family: var(--font-display); font-size: var(--giant); line-height: 0.74; white-space: nowrap; text-transform: uppercase; }
.cta:focus-visible { outline: 4px solid var(--ink); outline-offset: -8px; }
@media (hover: hover) and (pointer: fine) {
  .cta:hover { background: var(--bg); color: var(--accent); }
  .cta:hover .cta__arrow { transform: translate(6px, -6px); }
}

/* ---------- pie: invitación sobre el nombre recortado ---------- */
.foot { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); color: var(--paper-ink); padding-top: clamp(80px, 9vw, 140px); }
.foot__ask { grid-column: 1 / span 7; }
.foot__h { font-size: var(--step-head); }
.foot__ask .btn { margin-top: 36px; }
.foot__links { grid-column: 10 / span 3; display: grid; gap: 10px; align-content: start; font-weight: 500; }
.foot__links li:last-child { color: var(--paper-muted); font-weight: 400; }
.foot__legal { margin-top: auto; padding-top: 72px; color: var(--paper-muted); font-size: var(--step-small); }
.foot__credits { max-width: 110ch; }
.foot__credits a { text-decoration: underline; text-underline-offset: 3px; }
.foot__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; }
.foot__row .link + .link { margin-left: 18px; }
.foot__word { margin-top: 18px; padding-left: var(--m); font-family: var(--font-display); font-size: var(--giant); line-height: 0.8; white-space: nowrap; text-transform: uppercase; transform: translateY(30%); pointer-events: none; user-select: none; }
.foot__word span { display: inline-block; transform-origin: 0 100%; will-change: transform; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .hero__facts { display: none; }
  .hero__say { width: min(600px, 62vw); }
  .hero__word { font-size: min(70vw, 84svh); }
  .try__side { grid-column: 1 / -1; }
  .try__side p { max-width: 52ch; }
  .try__intro { grid-column: 1 / span 10; margin-top: 40px; }
  .try__phone { grid-column: 1 / span 6; }
  .try__act { grid-column: 7 / span 6; }
  .how__side { grid-column: 1 / span 6; }
  .slip { grid-column: 7 / span 6; }
  .work__side { grid-column: 1 / -1; margin-bottom: 40px; }
  .work__list { grid-column: 1 / span 7; }
  .work__preview { grid-column: 8 / span 5; }
  .work__row { grid-template-columns: 1fr auto; row-gap: 2px; min-height: 64px; }
  .work__kind { grid-column: 1; grid-row: 2; }
  .work__tag { grid-column: 2; grid-row: 1; }
  .faq__list { margin-left: calc((100% + var(--gut)) * 2 / 12); }
  .foot__ask { grid-column: 1 / -1; }
  .foot__links { grid-column: 1 / -1; margin-top: 48px; grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 48px; }
}

/* ---------- móvil ---------- */
@media (max-width: 760px) {
  .bar { height: 64px; gap: 18px; }
  .bar__nav { display: none; }
  .bar__menu { display: block; }
  .hero { min-height: 600px; }
  .hero__say { top: 92px; left: var(--m); width: 52%; }
  .hero__say h1 { font-size: var(--step-body); }
  .hero__say p { font-size: var(--step-small); }
  .hero__act { display: grid; gap: 12px; margin-top: 22px; }
  .hero__act .btn { padding: 14px 14px; font-size: var(--step-small); }
  .hero__facts { display: block; top: auto; bottom: 28px; left: var(--m); right: auto; width: 50%; font-size: var(--step-small); }
  .hero__word { writing-mode: vertical-rl; font-size: 62vw; left: auto; right: -0.17em; top: 72px; bottom: auto; line-height: 0.8; }
  .hero__scale { transform-origin: 100% 0; }
  .hero__lab { display: inline; }

  .try__intro { grid-column: 1 / -1; }
  .field--row { grid-template-columns: 1fr; }
  .rotulo { height: clamp(120px, 34vw, 200px); }
  .try__phone, .try__act { grid-column: 1 / -1; }
  .try__act { margin-top: 48px; }
  .phone { width: min(300px, 86vw); }

  .band img { aspect-ratio: 4 / 5; }

  .how__side, .slip { grid-column: 1 / -1; }
  .slip { margin-top: 48px; max-width: none; padding: 28px 18px 56px; font-size: var(--step-small); }
  .slip li span { max-width: 64%; }
  .how__pic { margin-top: 40px; }

  .work__list, .work__preview { grid-column: 1 / -1; }
  .work__preview { display: none; }
  .work__thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin-top: 28px; }

  .plans { display: none; }
  .plans-m { display: grid; gap: 8px; }
  .plans-m .head { margin-bottom: 32px; }
  .plan-m { padding: 40px 0 36px; }
  .plan-m.is-rec { background: var(--accent); color: var(--accent-ink); margin-inline: calc(-1 * var(--m)); padding: 40px var(--m) 36px; }
  .plan-m__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
  .plan-m__top b { font-family: var(--font-display); font-weight: 400; font-size: var(--step-head); line-height: 0.9; }
  .plan-m dl { margin: 18px 0 22px; display: grid; gap: 12px; }
  .plan-m dt { font-size: var(--step-small); color: var(--muted); }
  .plan-m.is-rec dt { color: #2c372b; }
  .plan-m .btn { width: 100%; }
  .prices__notes { grid-template-columns: 1fr; margin-top: 40px; }

  .about__text { columns: 1; text-align: left; hyphens: manual; font-size: 1.25rem; line-height: 1.32; margin-top: 32px; }
  .faq__list { margin-left: 0; margin-top: 40px; }
  .faq__item summary { margin-inline: calc(-1 * var(--m)); padding: 16px var(--m); font-size: var(--step-body); }
  .faq__a { margin-inline: calc(-1 * var(--m)); padding: 0 var(--m) 24px; }

  .cta { height: 48svh; min-height: 340px; }
  .cta__say { font-size: 1.0625rem; max-width: 26ch; }
  .cta__arrow { width: 32px; height: 32px; }

  .foot { min-height: 0; }
  .foot__ask, .foot__links { grid-column: 1 / -1; }
  .foot__links { grid-template-columns: 1fr; }
  .foot__ask .btn { width: 100%; }
  .sheet__in { grid-template-columns: 1fr; gap: 28px; padding-top: 64px; }
  .sheet__close { top: 16px; right: 18px; }
}

/* ---------- movimiento ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes word-rise { from { translate: 0 34%; clip-path: inset(0 0 100% 0); } to { translate: 0 0; clip-path: inset(0 0 0 0); } }
@keyframes word-in-x { from { translate: 40% 0; clip-path: inset(0 0 0 100%); } to { translate: 0 0; clip-path: inset(0 0 0 0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(28px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes answer-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes rl-rise { from { transform: translateY(55%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rl-type { from { transform: translateY(22%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes mw-down { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mw-up { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mw-pop { from { transform: scale(0.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mw-rise { from { transform: translateY(0.55em); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes loop-slide { to { transform: translateY(40px); } }
@keyframes loop-steam { 0%, 100% { transform: translateY(0); opacity: 0.35; } 50% { transform: translateY(-8px); opacity: 1; } }
@keyframes loop-spin { to { transform: rotate(360deg); } }
@keyframes loop-beat { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@keyframes loop-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes loop-swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes pin-drop { 0% { transform: translateY(-18px); opacity: 0; } 60% { transform: translateY(2px); opacity: 1; } 100% { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .menu:not([hidden]) { animation: fade-in 220ms ease both; }
  .menu:not([hidden]) .menu__nav a { animation: rise 420ms var(--ease-out) both; }
  .menu__nav a:nth-child(2) { animation-delay: 40ms !important; }
  .menu__nav a:nth-child(3) { animation-delay: 80ms !important; }
  .menu__nav a:nth-child(4) { animation-delay: 120ms !important; }
  .menu__nav a:nth-child(5) { animation-delay: 160ms !important; }
  .menu.is-closing { animation: fade-out 160ms ease forwards; }
  .js .hero [data-load] { animation: rise 900ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
  .js .hero__scale { animation: word-rise 1500ms var(--ease-out) 100ms both; }
  .rotulo__in .rl { animation: rl-rise 620ms var(--ease-out) both; animation-delay: calc(var(--c, 0) * 24ms); }
  .rotulo__in.is-typing .rl { animation: rl-type 240ms var(--ease-out) both; animation-delay: calc(var(--c, 0) * 16ms); }
  .rotulo__in .rl--still { animation: none; }

  .mw .ch:not(.ch--still) { animation: mw-rise 260ms var(--ease-out) both; animation-delay: calc(var(--c) * 16ms); }
  .mw.is-boot .mw__bar { animation: mw-down 520ms var(--ease-out) both; }
  .mw.is-boot .mw__art { animation: mw-pop 720ms var(--ease-out) 80ms both; }
  .mw.is-boot .ch:not(.ch--still) { animation-duration: 560ms; animation-delay: calc(200ms + var(--c) * 30ms); }
  .mw.is-boot .mw__tag { animation: mw-up 520ms var(--ease-out) 460ms both; }
  .mw.is-boot .mw__cta { animation: mw-pop 480ms var(--ease-out) 600ms both; }
  .mw.is-boot .mw__list li { animation: mw-up 480ms var(--ease-out) both; animation-delay: calc(700ms + var(--i) * 60ms); }
  .mw.is-boot .mw__wa { animation: mw-pop 520ms cubic-bezier(0.34, 1.56, 0.64, 1) 900ms both; }
  .mw .mw__pin { animation: pin-drop 700ms var(--ease-out) 400ms both; transform-box: fill-box; }

  .loop-slide { animation: loop-slide 1.6s linear 3; }
  .loop-steam { animation: loop-steam 1.6s ease-in-out 3; }
  .loop-steam:nth-child(2) { animation-delay: 0.25s; }
  .loop-steam:nth-child(3) { animation-delay: 0.5s; }
  .loop-spin { animation: loop-spin 4.5s var(--ease-in-out) 1; transform-origin: 140px 80px; }
  .loop-beat { stroke-dasharray: 420; animation: loop-beat 1.8s var(--ease-out) 2; }
  .loop-pulse { animation: loop-pulse 1.6s ease-in-out 3; transform-origin: center; transform-box: fill-box; }
  .loop-swing { animation: loop-swing 1.8s ease-in-out 2; transform-origin: 140px 40px; }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  .js .hero__scale { animation-name: word-in-x; }
  /* on a phone nothing waits invisible: parts only rise into place */
  .js [data-reveal] { opacity: 1; transform: translateY(20px); transition: transform 800ms var(--ease-out); }
}

/* reduced motion: nothing travels; opacity and colour changes stay, gentler */
@media (prefers-reduced-motion: reduce) {
  .bar, .work__frame, .work__row, .cta__arrow, .chev, .skip, .btn, .chip span, .bar__nav a::after { transition-property: background-color, color, opacity, text-decoration-color; }
  .btn:active, .chip input:active + span { transform: none; }
  .sheet[open] { animation: fade-in 200ms ease; }
  .sheet.is-closing { animation: fade-out 160ms ease forwards; }
  .faq__item[open] .faq__a p { animation: fade-in 200ms ease; }
  .menu:not([hidden]) { animation: fade-in 200ms ease both; }
}

/* ---------- textos legales y 404 ---------- */
.legal-page { background: var(--paper); color: var(--paper-ink); }
.legal-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; font-weight: 500; }
.legal-bar__mark { font-weight: 600; font-size: var(--step-body); }
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); padding-block: clamp(56px, 7vw, 112px) clamp(80px, 9vw, 140px); }
.legal .head { grid-column: 1 / span 5; align-self: start; position: sticky; top: 32px; }
.legal__body { grid-column: 7 / span 6; max-width: 66ch; }
.legal__body h2 { margin-top: 44px; font-size: var(--step-lead); font-weight: 600; line-height: 1.25; }
.legal__body p, .legal__body ul { margin-top: 14px; }
.legal__body ul { padding-left: 1.2em; list-style: square; }
.legal__body li + li { margin-top: 8px; }
.legal__body .legal__date { margin-top: 44px; color: var(--paper-muted); font-size: var(--step-small); }
.pending { background: var(--accent); color: var(--accent-ink); padding: 0 0.2em; font-weight: 600; }
.legal-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 28px; background: var(--paper-2); color: var(--paper-muted); font-size: var(--step-small); }
.legal-foot .link + .link { margin-left: 18px; }
@media (max-width: 900px) {
  .legal .head, .legal__body { grid-column: 1 / -1; }
  .legal .head { position: static; }
  .legal__body { margin-top: 40px; }
}
.nf { position: relative; min-height: 100svh; overflow: hidden; padding-top: clamp(96px, 14vh, 160px); }
.nf__say { position: relative; z-index: 2; }
.nf__say p { margin-top: 18px; max-width: 46ch; font-size: var(--step-lead); line-height: 1.35; }
.nf__say .nf__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; font-size: var(--step-body); }
.nf__word { position: absolute; z-index: 1; left: var(--m); bottom: -0.28em; font-family: var(--font-display); font-size: min(60vw, 80svh); line-height: 1.2; white-space: nowrap; pointer-events: none; user-select: none; }
