/* MESAVERSO landing · brand manual 5B (Titanio + Luz Cálida), see BRAND-DIRECTION.md.
   Dark by default: Noche background, Niebla text, Titanio secondary. Light (Niebla) sections via
   .is-light, at most 1 in 3. Luz Cálida is scarce: the logo dot, the primary CTA and at most one
   detail per section; never as text on Niebla, never a large background.
   No brand red/orange/green (not even WhatsApp green), no gradients, glow or dramatic shadows.
   Components use ONLY the semantic tokens below. WCAG AA pairs: niebla/noche 16.9 · titanio/noche 11.3 ·
   titanio/grafito 8.2 · muted/grafito 5.2 · noche/luz 14 · grafito/niebla 12.3 · muted-light/niebla 5.7. */
/* Self-hosted fonts (Google Fonts, OFL; latin subset). Familjen Grotesk and Instrument Sans are
   variable (one file per family); IBM Plex Mono only in the two weights used. */
@font-face { font-family: "Familjen Grotesk"; src: url("/fonts/familjen-grotesk-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* palette 5B */
  --mv-noche: #0e1014;
  --mv-grafito: #2a2d33;
  --mv-titanio: #c3c8ce;
  --mv-niebla: #f1f2ee;
  --mv-luz-calida: #ffd6a5;
  /* tints of the palette (not new hues) */
  --mv-luz-hover: #ffd9ac;           /* Luz Cálida 8% lighter */
  --mv-titanio-apagado: #9a9fa7;     /* muted text on dark */
  --mv-grafito-apagado: #5b5f66;     /* muted text on light */
  --mv-borde-claro: #dad6cd;
  --mv-error: #f4a99f;               /* functional only (form errors), not a brand colour */
  --mv-error-claro: #a8322a;

  /* semantic (dark) */
  --bg: var(--mv-noche);
  --surface: var(--mv-grafito);      /* cards on Noche */
  --field: var(--mv-noche);          /* inputs inside cards */
  --text: var(--mv-niebla);
  --text-2: var(--mv-titanio);
  --text-3: var(--mv-titanio-apagado);
  --line: rgb(195 200 206 / .15);    /* card borders */
  --divider: var(--mv-grafito);      /* 1px rules on Noche */
  --icon: var(--mv-titanio);
  --cta-bg: var(--mv-luz-calida);    /* the ONE primary per view */
  --cta-hover: var(--mv-luz-hover);
  --cta-text: var(--mv-noche);
  --btn2-line: var(--mv-titanio);    /* secondary: 1px Titanio outline */
  --btn2-text: var(--mv-niebla);
  --accent: var(--mv-luz-calida);    /* one detail per section, as text on dark only */
  --logo-line: var(--mv-titanio);
  --logo-end: var(--mv-luz-calida);
  --focus: var(--mv-luz-calida);
  --error: var(--mv-error);
  /* line icons used as CSS masks (take the colour of --icon) */
  --ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --ico-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --ico-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

  /* type */
  --display: "Familjen Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  /* shape and rhythm (8px base) */
  --r-card: 6px;
  --r-screen: 14px;
  --r-pill: 999px;
  --gutter: 20px;
  --sec: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; --sec: 120px; } }

/* Light (Niebla) section: same components, inverted roles. No Luz Cálida as text here. */
.is-light {
  --bg: var(--mv-niebla);
  --surface: transparent;
  --field: #fff;
  --text: var(--mv-noche);
  --text-2: var(--mv-grafito);
  --text-3: var(--mv-grafito-apagado);
  --line: var(--mv-borde-claro);
  --divider: var(--mv-borde-claro);
  --icon: var(--mv-grafito);
  --cta-bg: var(--mv-noche);
  --cta-hover: var(--mv-grafito);
  --cta-text: var(--mv-niebla);
  --btn2-line: var(--mv-noche);
  --btn2-text: var(--mv-noche);
  --accent: var(--mv-noche);
  --logo-line: var(--mv-noche);
  --logo-end: var(--mv-noche);
  --focus: var(--mv-noche);
  --error: var(--mv-error-claro);
  color-scheme: light;
  background: var(--bg);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
@media (min-width: 768px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
svg { fill: currentColor; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -.02em; text-wrap: balance; font-weight: 700; }
h2 { font-size: clamp(32px, 7.4vw, 52px); }
h3 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
@media (min-width: 768px) { h3 { font-size: 26px; } }
p { margin: 0; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.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; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 780px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cta-bg); color: var(--cta-text); padding: 12px 16px; border-radius: var(--r-card); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- logo: [M]ESAVERSO (the isotype IS the M, cap height of Familjen Grotesk) ---------- */
.mv-wordmark { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 600; letter-spacing: .04em; line-height: 1; color: var(--text); white-space: nowrap; }
.mv-wordmark svg { height: .65em; width: .758em; margin-right: .05em; overflow: visible; flex: none; }
.mv-wordmark__rest::after { content: attr(data-text); }

/* ---------- buttons ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 26px; border-radius: var(--r-pill); border: 1px solid transparent; font-weight: 600; font-size: 16px; line-height: 1.1; text-decoration: none; text-align: center; transition: background-color .2s, border-color .2s, color .2s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--cta-bg); color: var(--cta-text); }
.btn--primary:hover { background: var(--cta-hover); }
.btn--secondary { background: transparent; border-color: var(--btn2-line); color: var(--btn2-text); }
.btn--secondary:hover { background: rgb(195 200 206 / .08); }
.is-light .btn--secondary:hover { background: rgb(14 16 20 / .05); }

/* ---------- labels (IBM Plex Mono, minimal use) ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.kicker svg { width: 16px; height: 16px; }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.sec-lead { color: var(--text-2); font-size: 18px; max-width: 60ch; }
.section { padding: var(--sec) 0; position: relative; border-top: 1px solid var(--divider); }
.section.is-light, .section.is-light + .section { border-top-color: transparent; }
.sec-cta { margin-top: 40px; display: grid; }
@media (min-width: 560px) { .sec-cta { justify-content: start; } }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); color: var(--text-2); }
.badge svg { width: 14px; height: 14px; }
.badge--promo { background: var(--mv-luz-calida); border-color: var(--mv-luz-calida); color: var(--mv-noche); }
.badge--off { letter-spacing: .04em; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--mv-noche); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--mv-grafito); }
.nav__in { display: flex; align-items: center; gap: 12px; height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; font-size: 22px; }
.nav__links { display: none; margin-left: auto; gap: 4px; }
.nav__links a { text-decoration: none; color: var(--text-2); font-weight: 500; font-size: 15px; padding: 10px 14px; border-radius: var(--r-pill); }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: none; }
.nav__toggle { margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; }
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .ico-close, .nav__toggle[aria-expanded="true"] .ico-open { display: none; }
.nav__toggle[aria-expanded="true"] .ico-close { display: block; }
.nav__sheet { border-top: 1px solid var(--divider); background: var(--bg); }
.nav__sheet nav { display: grid; gap: 4px; padding-top: 12px; padding-bottom: 20px; }
.nav__sheet a:not(.btn) { display: flex; align-items: center; min-height: 52px; padding: 0 6px; text-decoration: none; font-size: 20px; font-weight: 500; border-bottom: 1px solid var(--divider); }
.nav__sheet .btn { margin-top: 10px; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; margin-left: 8px; }
  .nav__toggle, .nav__sheet { display: none !important; }
}
/* The header CTA is secondary while the hero (with its own primary) is on screen. */
.nav.is-past-hero .nav__cta { background: var(--cta-bg); border-color: var(--cta-bg); color: var(--cta-text); }
.nav.is-past-hero .nav__cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); }

/* ---------- hero ---------- */
.hero { padding: 40px 0 72px; position: relative; overflow: clip; border-top: 0; }
.hero__grid { display: grid; gap: 56px; position: relative; }
.hero__copy { display: grid; gap: 22px; align-content: start; }
.hero__title { font-size: clamp(40px, 11.4vw, 78px); letter-spacing: -.025em; line-height: 1.02; }
/* The H1 starts with what the product is (for people and search engines), then the tagline. */
.hero__product { display: block; margin-bottom: 18px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; color: var(--text-2); }
.hero__lead { color: var(--text-2); font-size: 18px; max-width: 52ch; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__ctas { display: grid; gap: 12px; }
.hero__turnkey { color: var(--text-2); font-size: 16px; max-width: 52ch; }
.hero__turnkey strong { color: var(--text); font-weight: 600; }
.hero__facts { color: var(--text-3); font-size: 14px; }
.hero__facts strong { color: var(--text-2); font-weight: 600; }
@media (min-width: 520px) { .hero__ctas { grid-auto-flow: column; justify-content: start; } }
@media (min-width: 1024px) {
  .hero { padding: 72px 0 120px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 48px; }
  .hero__lead { font-size: 20px; }
}

/* Link → Menú → Pedido → WhatsApp: one titanium line, like the logo */
.journey { display: grid; gap: 14px; }
.journey__label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--text); }
.journey__label svg { width: 18px; height: 18px; color: var(--icon); flex: none; }
.journey__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.journey__steps::before { content: ""; position: absolute; top: 19px; left: 12.5%; right: 12.5%; height: 1px; background: var(--line); }
.journey__steps li { position: relative; display: grid; justify-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-2); text-align: center; }
.journey__steps li svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); color: var(--icon); }
.journey__steps li.is-end svg { border-color: var(--mv-titanio); }
@media (min-width: 520px) { .journey { justify-self: start; min-width: 420px; } .journey__steps li { font-size: 14px; } }

.hero__stage { position: relative; display: grid; justify-items: center; }
.demo-hint { margin-top: 16px; color: var(--text-3); font-size: 14px; text-align: center; }

/* ---------- phone: iPhone 18 Pro, front view (the MESAVERSO customer UI, dark theme) ----------
   Real proportions (71.9 × 150 mm), concentric corners, Silver aluminium frame drawn in Titanio,
   thin black border, smaller Dynamic Island, Action + volume (left), side button + Camera Control
   (right). Flat: no gradients, reflections or shadows (manual 5B). Device corners follow the
   hardware; the 12–18px mockup radius of the manual applies to the UI inside. */
.phone {
  --pw: min(300px, 82vw);
  --frame: calc(var(--pw) * .012);   /* aluminium band */
  --bezel: calc(var(--pw) * .02);    /* black border around the display */
  --r-body: calc(var(--pw) * .16);
  position: relative; width: var(--pw); aspect-ratio: 71.9 / 150; border-radius: var(--r-body);
  padding: var(--frame); background: var(--mv-titanio);
}
.phone__bezel { height: 100%; padding: var(--bezel); border-radius: calc(var(--r-body) - var(--frame)); background: #000; box-shadow: inset 0 0 0 1px var(--mv-grafito); }
.phone__btn { position: absolute; width: 3px; border-radius: 2px; background: var(--mv-titanio); }
.phone__btn--action { left: -2px; top: 19%; height: 4.6%; }
.phone__btn--vol-up { left: -2px; top: 27%; height: 7.4%; }
.phone__btn--vol-down { left: -2px; top: 36.4%; height: 7.4%; }
.phone__btn--side { right: -2px; top: 29%; height: 11.5%; }
.phone__btn--camera { right: -1px; top: 62%; height: 6.6%; width: 2px; background: var(--mv-titanio-apagado); }
.screen { position: relative; height: 100%; border-radius: calc(var(--r-body) - var(--frame) - var(--bezel)); overflow: hidden; background: var(--mv-noche); display: flex; flex-direction: column; padding: 46px 12px 30px; font-size: 13px; line-height: 1.3; }
.phone--hero { z-index: 2; }
/* status bar + Dynamic Island (≈ 24% of the display width on the 18 Pro) */
.phone__island { position: absolute; z-index: 6; top: 9px; left: 50%; translate: -50% 0; width: 24%; height: 25px; border-radius: var(--r-pill); background: #000; pointer-events: none; }
.phone__status { position: absolute; z-index: 6; top: 12px; left: 0; right: 0; height: 19px; padding: 0 22px 0 28px; display: flex; align-items: center; justify-content: space-between; color: var(--mv-niebla); font: 600 13px/1 var(--body); letter-spacing: .01em; font-variant-numeric: tabular-nums; pointer-events: none; }
.phone__status span { display: flex; align-items: center; gap: 5px; }
.phone__status svg { height: 11px; width: auto; }
.phone__home { position: absolute; z-index: 6; bottom: 7px; left: 50%; translate: -50% 0; width: 36%; height: 4px; border-radius: var(--r-pill); background: var(--mv-niebla); pointer-events: none; }
.app-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.app-brand { display: flex; align-items: center; gap: 10px; }
.app-brand strong { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; }
.app-brand small { color: var(--text-3); font-size: 12px; }
.app-logo, .chat__avatar { width: 36px; height: 36px; border-radius: var(--r-card); display: grid; place-items: center; background: var(--mv-niebla); color: var(--mv-noche); font-family: var(--display); font-weight: 700; font-size: 13px; flex: none; }
.app-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); background: var(--mv-grafito); margin-bottom: 10px; }
.app-search svg { width: 16px; height: 16px; color: var(--text-3); flex: none; }
.app-search input { border: 0; background: transparent; outline: none; width: 100%; min-width: 0; font-size: 14px; color: var(--text); padding: 0; }
.app-search input::placeholder { color: var(--text-3); }
.app-search:focus-within { box-shadow: inset 0 0 0 1px var(--mv-titanio); }
.app-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px 4px; padding: 0 12px 2px; }
.app-cats::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 13px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; font-size: 13px; font-weight: 500; color: var(--text-2); }
.chip.is-on { background: var(--mv-niebla); color: var(--mv-noche); border-color: var(--mv-niebla); }
.app-list { list-style: none; margin: 0; padding: 0 0 56px; display: grid; overflow-y: auto; scrollbar-width: none; flex: 1; align-content: start; }
.app-list::-webkit-scrollbar { display: none; }
/* Items are typographic rows (name, short description, price, +). Only the real 3D dish has a picture. */
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--mv-grafito); }
.item.just-added .item__txt strong { color: var(--mv-luz-calida); }
.item[hidden] { display: none; }
/* Featured dish: the real 3D model, first and biggest. Food in its real colour, no filters. */
.item--feature { padding-top: 2px; row-gap: 10px; }
.feature__media { grid-column: 1 / -1; position: relative; aspect-ratio: 5 / 4; border-radius: 12px; overflow: hidden; background: var(--mv-grafito); display: grid; place-items: center; }
.feature__poster { width: 80%; height: auto; translate: 0 -9%; }
.feature__media model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; --progress-bar-color: var(--mv-titanio); --progress-bar-height: 2px; background: transparent; }
.feature__media.is-live .feature__poster, .feature__media.is-live .feature__3d { display: none; }
.feature__tag { position: absolute; top: 10px; left: 10px; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); background: var(--mv-noche); color: var(--mv-titanio); }
.feature__3d { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--mv-titanio); background: var(--mv-noche); color: var(--mv-niebla); font-weight: 600; font-size: 13px; white-space: nowrap; }
.feature__3d svg { width: 15px; height: 15px; }
.feature__3d:disabled { opacity: .8; cursor: progress; }
.item__txt { display: grid; gap: 2px; min-width: 0; }
.item__txt strong { font-size: 14px; font-weight: 600; transition: color .3s; }
.item__txt small { color: var(--text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item__txt b { font-size: 13px; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.qty { display: flex; align-items: center; gap: 2px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: transparent; color: var(--text); }
.qty button svg { width: 15px; height: 15px; }
.qty button.add { background: var(--mv-grafito); border-color: var(--mv-grafito); }
.qty output { min-width: 20px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.app-empty { color: var(--text-3); text-align: center; padding: 20px 0; }
.app-bar { position: absolute; left: 12px; right: 12px; bottom: 22px; height: 50px; border: 0; border-radius: var(--r-pill); background: var(--mv-niebla); color: var(--mv-noche); display: flex; align-items: center; gap: 10px; padding: 0 16px 0 8px; font-weight: 600; font-size: 14px; }
.app-bar b { margin-left: auto; font-variant-numeric: tabular-nums; }
.app-bar__count { min-width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mv-noche); color: var(--mv-niebla); font-weight: 600; }
.app-bar[data-empty] { opacity: .5; pointer-events: none; }
.sheet { position: absolute; inset: auto 0 0; z-index: 4; background: var(--mv-grafito); border-radius: var(--r-screen) var(--r-screen) 0 0; padding: 16px 14px 24px; display: grid; gap: 10px; }
.sheet[hidden], .waiter-view[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .sheet:not([hidden]) { animation: sheet-up .3s var(--ease); } @keyframes sheet-up { from { transform: translateY(16px); opacity: 0; } } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; }
.sheet__head strong { font-family: var(--display); font-size: 18px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; }
.icon-btn svg { width: 18px; height: 18px; }
.sheet__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 150px; overflow-y: auto; }
.sheet__list li { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.sheet__list li span { color: var(--text-2); }
.sheet__total { display: flex; justify-content: space-between; border-top: 1px solid rgb(195 200 206 / .2); padding-top: 8px; font-weight: 700; font-size: 15px; }
.app-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: var(--r-pill); border: 1px solid var(--mv-titanio); background: transparent; color: var(--text); font-weight: 600; font-size: 14px; padding: 0 12px; }
.app-btn svg { width: 17px; height: 17px; flex: none; }
.app-btn--wa { background: var(--mv-luz-calida); color: var(--mv-noche); border-color: var(--mv-luz-calida); }
.waiter-view { position: absolute; inset: 0; z-index: 5; background: var(--mv-noche); padding: 52px 18px 26px; display: flex; flex-direction: column; gap: 4px; }
.waiter-view__who { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.waiter-view__mesa { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1.05; margin: 2px 0 10px; }
.waiter-view ul { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.waiter-view li { display: grid; grid-template-columns: 2.2ch 1fr; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--mv-grafito); font-size: 19px; font-weight: 600; line-height: 1.2; }
.waiter-view li b { color: var(--text-2); font-variant-numeric: tabular-nums; }
.waiter-view__tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-weight: 700; font-size: 18px; }
.waiter-view .app-btn { margin-top: auto; }

/* chips beside the phone: only where there is room */
.phone-wrap { position: relative; }
.float { display: none; }
@media (min-width: 768px) {
  .float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: var(--r-card); background: var(--mv-grafito); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
  .float span { display: grid; }
  .float small { font-weight: 400; color: var(--text-2); font-size: 12px; }
  .src-icons { display: flex !important; gap: 4px; }
  .src-icons svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; border: 1px solid var(--line); color: var(--icon); }
  .float--src { top: 13%; left: -200px; }
  .float--wa { top: 7%; right: -206px; transition: border-color .3s; }
  .float--wa > svg { width: 32px; height: 32px; padding: 7px; border-radius: 50%; border: 1px solid var(--mv-titanio); color: var(--icon); flex: none; }
  .float--wa.is-ping { border-color: var(--mv-luz-calida); }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .float { scale: .88; }
  .float--src { left: -150px; } .float--wa { right: auto; top: auto; left: -168px; bottom: 58%; }
}

/* ---------- sin comisiones: delivery app vs MESAVERSO (text only, no third-party logos) ---------- */
.compare { display: grid; gap: 16px; }
.compare__col { padding: 28px 24px; border-radius: var(--r-card); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.compare__col h3 { font-size: 22px; display: flex; align-items: baseline; min-height: 30px; }
.compare__col h3 .mv-wordmark { font-size: 24px; }
.compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare__col li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text-2); }
.compare__col li::before { content: ""; width: 16px; height: 16px; margin-top: 5px; background: var(--text-3); -webkit-mask: var(--ico-plus) center / contain no-repeat; mask: var(--ico-plus) center / contain no-repeat; transform: rotate(45deg); }
.compare__col--us { border-color: var(--text); }
.compare__col--us li { color: var(--text); }
.compare__col--us li::before { background: var(--text); -webkit-mask-image: var(--ico-check); mask-image: var(--ico-check); transform: none; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; gap: 20px; } .compare__col { padding: 36px; } }

/* ---------- how it works (3 steps) ---------- */
.story { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.chapter { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 14px; }
.chapter__n { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--mv-titanio); color: var(--text-2); font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .04em; }
.chapter__txt p { color: var(--text-2); font-size: 16px; margin-top: 4px; }
.chapter__vis { padding: 14px; border-radius: var(--r-screen); background: var(--surface); display: grid; gap: 8px; font-size: 14px; align-content: center; }
.vb { max-width: 88%; padding: 8px 12px; border-radius: 12px; font-size: 14px; }
.vb--in { justify-self: start; background: var(--mv-noche); color: var(--text-2); border-radius: 4px 12px 12px 12px; }
.vb--out { justify-self: end; background: var(--mv-noche); border: 1px solid var(--line); border-radius: 12px 4px 12px 12px; padding: 6px; }
.vb__card { display: grid; gap: 4px; padding: 8px 12px; }
.vb__card .mv-wordmark { font-size: 14px; }
.vb__card small { color: var(--text-3); font-size: 12px; }
.vi { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgb(195 200 206 / .12); font-size: 14px; font-weight: 600; }
.vi small { display: block; color: var(--text-3); font-weight: 400; font-size: 12px; }
.vi b { font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.vo { display: grid; gap: 4px; color: var(--text-2); }
.vo__tot { display: flex; justify-content: space-between; font-weight: 700; color: var(--text); border-top: 1px solid rgb(195 200 206 / .2); padding-top: 8px; }
.vo__btn, .vo__alt { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; padding: 6px 12px; text-align: center; }
.vo__btn { background: var(--mv-luz-calida); color: var(--mv-noche); }
.vo__alt { border: 1px solid var(--mv-titanio); color: var(--text); }
.vo__btn svg, .vo__alt svg { width: 17px; height: 17px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .chapter { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i) * .1s); }
  .js .story.is-in .chapter { opacity: 1; transform: none; }
}
@media (min-width: 900px) {
  .story { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .chapter { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; row-gap: 16px; }
  .chapter__n { grid-row: auto; }
  .chapter__txt { min-height: 104px; }
}

/* ---------- whatsapp ---------- */
.wa__grid { display: grid; gap: 40px; }
.wa__copy { display: grid; gap: 16px; align-content: center; }
.nocom { margin-top: 6px; padding: 16px 18px; border-radius: var(--r-card); background: var(--surface); color: var(--text-2); }
.nocom strong { color: var(--text); }
/* The business's WhatsApp, drawn neutral: no WhatsApp green anywhere on the page. */
.chat { width: min(420px, 100%); justify-self: center; border-radius: var(--r-screen); overflow: hidden; background: var(--mv-grafito); border: 1px solid var(--line); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgb(195 200 206 / .15); }
.chat__head strong { display: block; font-size: 16px; }
.chat__head small { color: var(--text-3); font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }
.chat__head small svg { width: 13px; height: 13px; }
.chat__body { padding: 18px 14px 20px; display: grid; gap: 12px; background: var(--mv-noche); }
.chat__stamp { justify-self: center; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); text-align: center; }
.bubble { justify-self: end; max-width: 92%; background: var(--mv-grafito); color: var(--text); border-radius: 12px 4px 12px 12px; padding: 10px 12px 12px; font-size: 15px; line-height: 1.45; display: grid; gap: 8px; }
@media (prefers-reduced-motion: no-preference) { .bubble.flash { animation: bubble-in .45s var(--ease); } @keyframes bubble-in { from { opacity: 0; transform: translateY(10px); } } }
.chat__note { color: var(--text-3); font-size: 14px; }
@media (min-width: 900px) { .wa__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; } }

/* ---------- 3D: the dish is the protagonist, in its real colour (no tint, glow or filter) ---------- */
.three { overflow: clip; }
.three__grid { display: grid; gap: 40px; }
.three__stage { position: relative; display: grid; justify-items: center; gap: 16px; }
.three__viewer { position: relative; width: min(500px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.three__viewer model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; --progress-bar-color: var(--mv-titanio); --progress-bar-height: 2px; background: transparent; }
.three__poster { width: 90%; height: auto; }
.three__load { position: absolute; bottom: 4%; left: 50%; translate: -50% 0; background: var(--mv-noche); }
.three__viewer.is-live .three__poster, .three__viewer.is-live .three__load { display: none; }
.three__caption { display: flex; gap: 8px; align-items: flex-start; color: var(--text-3); font-size: 14px; max-width: 42ch; }
.three__caption svg { width: 17px; height: 17px; flex: none; color: var(--icon); margin-top: 2px; }
@media (hover: none) { .hide-touch { display: none; } }
.three__copy { display: grid; gap: 18px; align-content: center; }
.three__copy .btn { justify-self: start; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text-2); }
.ticks svg { width: 18px; height: 18px; color: var(--icon); margin-top: 4px; }
@media (min-width: 1024px) { .three__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; } }

/* ---------- desde casa o en la mesa ---------- */
.paths__grid { display: grid; gap: 16px; }
.path { display: grid; gap: 12px; align-content: start; padding: 28px 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.path > p:not(.path__tag):not(.pill-note):not(.route) { color: var(--text-2); }
.path__tag { justify-self: start; }
.route { font-size: 15px; font-weight: 600; line-height: 1.8; padding: 12px 14px; border-radius: var(--r-card); background: var(--bg); }
.route span { color: var(--text-3); margin: 0 4px; font-weight: 400; }
.route b { font-weight: 600; }
.pill-note { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.pill-note svg { width: 17px; height: 17px; color: var(--icon); }
@media (min-width: 900px) { .paths__grid { grid-template-columns: 1fr 1fr; gap: 20px; } .path { padding: 36px; } }

/* ---------- pricing (light section): 1 one-time → 2 monthly plan → 3 optional extras ---------- */
.price-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.pstep { display: grid; gap: 14px; }
.pstep__n { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.pstep__n span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--text); color: var(--text); font-family: var(--mono); font-weight: 500; font-size: 13px; flex: none; }
.pstep__n strong { color: var(--text); }
.impl-card, .plan, .extra, .example { border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); padding: 26px 22px; }
.impl-card { display: grid; gap: 12px; }
.impl-card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.impl-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-variant-numeric: tabular-nums; }
.impl-card__price s { color: var(--text-3); font-size: 20px; text-decoration-thickness: 2px; }
.impl-card__price strong { font-family: var(--display); font-size: clamp(38px, 10vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.impl-card__txt { color: var(--text-2); font-size: 16px; }
.plans__grid { display: grid; gap: 16px; }
.plan { display: grid; gap: 14px; align-content: start; }
.plan__name { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.plan__amount { font-family: var(--display); font-size: clamp(38px, 10vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__per { color: var(--text-2); font-size: 18px; }
.plan__for { color: var(--text); font-weight: 600; }
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--text-2); font-size: 16px; }
.plan__list li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; background: var(--icon); -webkit-mask: var(--ico-check) center / contain no-repeat; mask: var(--ico-check) center / contain no-repeat; }
.plan__list--plus li { color: var(--text); }
.plan__list--plus li::before { -webkit-mask-image: var(--ico-plus); mask-image: var(--ico-plus); }
.plan__more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.plan__more summary::-webkit-details-marker { display: none; }
.plan__more summary::after { content: "+"; font-size: 18px; line-height: 1; }
.plan__more[open] summary::after { content: "−"; }
.plan__more[open] summary { margin-bottom: 8px; }
.plan__more[open] ~ .plan__list, .plan:has(.plan__more[open]) > .plan__list { display: none; }
.plan--featured { border-color: var(--text); }
.plan > .badge { justify-self: start; }
.plan .btn { margin-top: 6px; }
.extra { display: grid; gap: 16px; }
.extra h3 { font-size: 22px; margin-bottom: 8px; }
.extra__price { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.extra__price small { display: block; font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.extra__txt { color: var(--text-2); font-size: 16px; margin-top: 8px; }
.extra .btn { justify-self: start; }
.example { margin-top: 40px; display: grid; gap: 14px; background: transparent; border-style: dashed; }
.example h3 { font-size: 20px; }
.example__rows { margin: 0; display: grid; gap: 12px; }
.example__rows div { display: grid; gap: 2px; }
.example__rows dt { color: var(--text-3); font-size: 14px; }
.example__rows dd { margin: 0; font-size: 17px; color: var(--text-2); }
.example__rows dd strong { color: var(--text); font-variant-numeric: tabular-nums; }
.example__note { color: var(--text-3); font-size: 14px; }
@media (min-width: 860px) {
  .plans__grid { grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .impl-card, .plan, .extra, .example { padding: 36px; }
  .extra { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- kinds ---------- */
.kinds .sec-head { max-width: 860px; margin-bottom: 28px; }
.kinds h2 { font-size: clamp(28px, 6.4vw, 44px); }
.plans__guarantee { margin-top: 16px; color: var(--text-2); font-size: 15px; max-width: 70ch; }
.plans__guarantee strong { color: var(--text); }
.kinds__cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds__cloud li { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.kinds__cloud li.is-quiet { border-color: transparent; color: var(--text-3); padding: 0 12px; }

/* ---------- calculadora de comisión ---------- */
.calc .sec-head { max-width: 640px; margin-bottom: 32px; }
.calc-card { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.calc-inputs { display: grid; gap: 24px; padding: 28px 28px 0; }
@media (min-width: 600px) { .calc-inputs { grid-template-columns: 1fr 1fr; align-items: start; } }

.calc-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--text); }
.calc-hint { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.calc-input-wrap { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--field); overflow: hidden; }
.calc-prefix { padding: 0 12px; font-weight: 600; font-size: 15px; color: var(--text-2); white-space: nowrap; border-right: 1px solid var(--line); }
.calc-input { flex: 1; border: 0; background: transparent; padding: 11px 14px; font-size: 17px; font-weight: 600; color: var(--text); min-width: 0; }
.calc-input:focus { outline: none; }
.calc-input-wrap:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-card); }

.calc-rate-wrap { display: flex; gap: 6px; flex-wrap: wrap; }
.calc-rate-btn { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: transparent; color: var(--text-2); font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.calc-rate-btn:hover { border-color: var(--mv-noche); color: var(--text); }
.calc-rate-btn--active, .calc-rate-btn[aria-pressed="true"] { border-color: var(--mv-noche); background: var(--mv-noche); color: var(--mv-niebla); }

.calc-result { padding: 24px 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; margin-top: 20px; background: var(--bg); }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 32px; }
.calc-row__label { font-size: 15px; color: var(--text-2); }
.calc-row__val { font-size: 16px; font-weight: 600; color: var(--text); white-space: nowrap; }
.calc-row__val--fixed { color: var(--text-3); font-weight: 500; }
.calc-row--bad .calc-row__label { color: var(--text-2); }
.calc-row--bad .calc-row__val { color: var(--mv-error); }
.calc-row--save .calc-row__label { color: var(--text); font-weight: 600; }
.calc-row--save .calc-row__val { color: var(--mv-luz-calida); }
.calc-row__val--big { font-size: 22px; }
.calc-row--annual { opacity: .75; }
.calc-divider { height: 1px; background: var(--divider); margin: 4px 0; }
.calc-note { font-size: 13px; color: var(--text-3); padding-top: 4px; }
.calc-note[hidden] { display: none; }
.calc-cta { padding: 20px 28px 28px; display: flex; justify-content: center; }
.calc-cta[hidden] { display: none; }

/* ---------- aperturas E2 ---------- */
.aperturas .sec-head { max-width: 820px; margin-bottom: 40px; }

.ap-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.ap-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: transparent; color: var(--text-2); cursor: pointer; text-align: left; transition: border-color .2s, background .2s, color .2s; min-height: 44px; }
.ap-tab:hover { border-color: var(--mv-titanio-apagado); color: var(--text); }
.ap-tab--active, .ap-tab[aria-selected="true"] { border-color: var(--mv-luz-calida); background: rgb(255 214 165 / .08); color: var(--text); }
.ap-tab__label { font-weight: 600; font-size: 15px; }
.ap-tab__sub { font-size: 13px; color: var(--text-3); line-height: 1.3; }
.ap-tab--active .ap-tab__sub, .ap-tab[aria-selected="true"] .ap-tab__sub { color: var(--mv-titanio-apagado); }

.ap-panel[hidden] { display: none; }
.ap-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 768px) { .ap-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.ap-copy { display: grid; gap: 20px; align-content: start; }
.ap-copy h3 { font-size: clamp(22px, 4vw, 28px); }
.ap-copy p { color: var(--text-2); font-size: 17px; }

/* DM window (Instagram-style frame) */
.dm-window { border-radius: var(--r-card); border: 1px solid var(--line); overflow: hidden; }
.dm-window__bar { display: flex; align-items: center; gap: 6px; background: var(--surface); padding: 10px 16px; border-bottom: 1px solid var(--line); }
.dm-window__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mv-grafito-apagado); flex: none; }
.dm-window__title { font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: .04em; margin-left: 8px; }
.dm-body { padding: 20px 16px; display: grid; gap: 10px; background: var(--bg); }
.dm-stamp { font-size: 12px; color: var(--text-3); text-align: center; }
.dm-time { font-size: 11px; color: var(--text-3); text-align: right; }
.dm-bubble { max-width: 90%; border-radius: 14px; padding: 12px 16px; display: grid; gap: 6px; }
.dm-bubble p { font-size: 15px; line-height: 1.5; }
.dm-bubble--out { background: var(--mv-grafito); color: var(--text); justify-self: start; border-bottom-left-radius: 4px; }
.dm-bubble--in { background: rgb(255 214 165 / .15); border: 1px solid rgb(255 214 165 / .2); color: var(--mv-luz-calida); justify-self: end; border-bottom-right-radius: 4px; font-weight: 500; }

/* ---------- lead form ---------- */
.lead__grid { display: grid; gap: 32px; }
.lead__copy { display: grid; gap: 16px; align-content: start; }
.lead__alt { margin-top: 8px; display: grid; gap: 10px; justify-items: start; }
.lead__alt p { color: var(--text-2); }
.form { display: grid; gap: 18px; padding: 26px 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 16px; }
.field .opt { color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-card); border: 1px solid rgb(195 200 206 / .25); background: var(--field); color: var(--text); font-size: 16px; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c3c8ce' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
.field input::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.check { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; row-gap: 4px; align-items: start; }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--focus); cursor: pointer; }
.check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.check label { font-size: 15px; line-height: 1.45; padding-top: 1px; cursor: pointer; }
.check label a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.check .opt { color: var(--text-3); }
.check .field__err { grid-column: 2; }
.check [aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.field__help { color: var(--text-3); font-size: 14px; }
.field__err { color: var(--error); font-size: 14px; font-weight: 500; }
.field__err:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__summary { padding: 14px 16px; border-radius: var(--r-card); border: 1px solid var(--error); color: var(--error); font-size: 15px; }
.form__summary:focus { outline: none; }
.form__summary strong { display: block; margin-bottom: 4px; color: var(--text); }
.form__summary ul { margin: 0; padding-left: 18px; }
.form__summary a { color: var(--error); }
.form__privacy { color: var(--text-3); font-size: 14px; text-align: center; }
.form__status:empty { display: none; }
.form__status { padding: 16px; border-radius: var(--r-card); font-size: 16px; display: grid; gap: 10px; border: 1px solid var(--line); }
.form__status.is-ok { border-color: var(--mv-titanio); color: var(--text-2); }
.form__status.is-err { border-color: var(--error); color: var(--error); }
.form__status strong { color: var(--text); }
.form__status .btn { justify-self: start; }
.btn__spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(14 16 20 / .25); border-top-color: var(--cta-text); }
.form.is-sending .btn__spin { display: block; animation: spin .8s linear infinite; }
.form.is-sending [data-form-submit] { opacity: .85; cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 560px) { .form { padding: 36px; } }
@media (min-width: 960px) { .lead__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }

/* ---------- faq ---------- */
.faq .sec-head { margin-bottom: 24px; }
.faq__list { display: grid; }
.faq__item { border-bottom: 1px solid var(--divider); }
.faq__h { font-family: var(--body); font-size: 17px; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 2px; border: 0; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.faq__q::after { content: ""; flex: none; width: 18px; height: 18px; background: var(--icon); -webkit-mask: var(--ico-plus) center / contain no-repeat; mask: var(--ico-plus) center / contain no-repeat; transition: transform .25s var(--ease); }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a[hidden] { display: none; }
.faq__a { padding: 0 2px 20px; color: var(--text-2); font-size: 16px; }
.faq__a s { color: var(--text-3); }
.faq__a strong { color: var(--text); }

/* ---------- internal links and inner pages ---------- */
.more-link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.more-link svg { width: 16px; height: 16px; flex: none; }
.kinds__lead { margin: -8px 0 24px; }
.kinds__lead a, .prose a, .final .sec-lead a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.crumbs { font-size: 14px; color: var(--text-3); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--text-3); }
.crumbs a { color: var(--text-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs [aria-current] { display: inline-flex; align-items: center; min-height: 44px; }
.prose { display: grid; gap: 16px; max-width: 68ch; color: var(--text-2); }
.prose strong { color: var(--text); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--mv-titanio); color: var(--text-2); font-family: var(--mono); font-size: 13px; font-weight: 500; }
.steps h3 { font-size: 20px; margin-bottom: 4px; }
.steps p { color: var(--text-2); }
.cards2 { display: grid; gap: 16px; }
.cards2 > * { padding: 26px 22px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; align-content: start; }
.cards2 h3 { font-size: 22px; }
.cards2 p { color: var(--text-2); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps li { grid-template-columns: 1fr; } .cards2 { grid-template-columns: 1fr 1fr; gap: 20px; } .cards2 > * { padding: 36px; } }
.page-hero { padding: 24px 0 64px; border-top: 0; }
.page-hero__in { display: grid; gap: 22px; }
.page-hero__in > * { max-width: 820px; }
.page-hero h1 { font-size: clamp(38px, 9.6vw, 68px); letter-spacing: -.025em; line-height: 1.04; }
@media (min-width: 1024px) { .page-hero { padding: 40px 0 96px; } }

/* ---------- final ---------- */
.final__sign { color: var(--text-3); font-size: 14px; letter-spacing: .02em; }
.final__in { display: grid; justify-items: center; text-align: center; gap: 20px; }
.final h1, .final h2 { font-size: clamp(34px, 8.6vw, 64px); max-width: 15ch; }
.final__ctas { display: grid; gap: 12px; width: 100%; max-width: 420px; margin-top: 8px; }
@media (min-width: 560px) { .final__ctas { grid-auto-flow: column; max-width: none; width: auto; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--divider); padding: 40px 0 calc(96px + env(safe-area-inset-bottom, 0px)); }
.foot__in { display: grid; gap: 14px; }
.foot .brand { font-size: 20px; }
.foot__tag { color: var(--text-2); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-left: -10px; }
.foot__nav a { color: var(--text-2); text-decoration: none; padding: 10px; min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; }
.foot__nav a:hover { color: var(--text); }
.foot__copy { color: var(--text-3); font-size: 14px; }
@media (min-width: 900px) { .foot { padding-bottom: 48px; } .foot__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; } .foot__nav { justify-content: center; } }

/* ---------- floating WhatsApp (functional exception to "one primary per view") ---------- */
.wa-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--mv-luz-calida); color: var(--mv-noche); transition: opacity .25s, transform .25s var(--ease); }
.wa-fab:hover { background: var(--mv-luz-hover); }
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }

/* ---------- reveal: 12px fade/slide, no bounce ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
