/* =====================================================
   Altacod — sistema visual "galería blanca"
   Basado en DESIGN.md: lienzo blanco, bandas #f5f5f7, tipografía
   compacta en Ink, tarjetas planas de 28px y azul solo para enlaces
   y controles de conversión.
   ===================================================== */

:root {
  /* Colores */
  --color-gallery-white: #ffffff;
  --color-studio-mist: #f5f5f7;
  --color-paper-frost: #fafafc;
  --color-hairline-silver: #d6d6d6;
  --color-control-gray: #e6e6e8;
  --color-ink: #1d1d1f;
  --color-slate: #6e6e73;
  --color-steel: #86868b;
  --color-apple-blue: #0066cc;
  --color-pricing-blue: #0071e3;
  --color-pricing-blue-hover: #0077ed;
  --color-launch-orange: #b64400;

  /* Tipografía */
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;

  /* Espaciado y layout */
  --section-gap: 90px;
  --card-padding: 28px;
  --element-gap: 20px;
  --gutter: 22px;
  --w-text: 980px;
  --w-wide: 1200px;

  /* Radios */
  --radius-cards: 28px;
  --radius-images: 28px;
  --radius-links: 10px;
  --radius-pills: 36px;
  --radius-inputs: 980px;
  --radius-buttons: 9999px;
  --radius-navigation: 20px;

  /* Contornos (la única "elevación" permitida) */
  --shadow-subtle: rgb(230, 230, 232) 0 0 0 1px;
  --shadow-subtle-2: rgb(134, 134, 139) 0 0 0 1px;

  --ease: cubic-bezier(.28, .11, .32, 1);
  --nav-h: 60px;
  --localnav-h: 56px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--localnav-h) + 12px); }
body {
  margin: 0;
  background: var(--color-gallery-white);
  color: var(--color-ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-apple-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--color-pricing-blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--color-ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-buttons); font-size: 14px; }
.skip:focus { top: 8px; }
html.is-locked { overflow: hidden; }

/* ---------- Contenedores y secciones ---------- */
.wrap { width: min(var(--w-text), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--wide { width: min(var(--w-wide), 100% - var(--gutter) * 2); margin-inline: auto; }
.band { padding-block: var(--section-gap); overflow-x: clip; }
.band--mist { background: var(--color-studio-mist); }
.band--cont { padding-top: 0; }

/* ---------- Tipografía ---------- */
.kicker {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 600; line-height: 1.19; letter-spacing: 0.011em;
}
.kicker--sm { font-size: 17px; letter-spacing: -0.022em; }
.display {
  font-family: var(--font-display);
  font-size: 80px; font-weight: 600; line-height: 1.05; letter-spacing: -0.015em;
}
.headline {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 600; line-height: 1.08; letter-spacing: -0.003em;
}
.feature {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 600; line-height: 1.1; letter-spacing: 0;
}
.title {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600; line-height: 1.17; letter-spacing: 0.009em;
}
.subhead {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 400; line-height: 1.33; letter-spacing: 0.009em;
}
.body { font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; }
.small { font-size: 14px; line-height: 1.43; letter-spacing: -0.016em; }
.muted { color: var(--color-slate); }
.center { text-align: center; }
.balance { text-wrap: balance; }
.label-new { color: var(--color-launch-orange); font-size: 12px; font-weight: 600; line-height: 1.33; letter-spacing: -0.01em; }
.label-new--lg { font-size: 14px; }
.strong { font-weight: 600; color: var(--color-ink); }

/* Párrafo que destaca solo una parte en Ink (estilo editorial) */
.lede { font-family: var(--font-display); font-size: 21px; line-height: 1.38; letter-spacing: 0.011em; color: var(--color-slate); font-weight: 600; }
.lede strong { color: var(--color-ink); font-weight: 600; }

/* ---------- Enlaces y botones ---------- */
.link-more { display: inline-flex; align-items: center; gap: 2px; font-size: 17px; color: var(--color-apple-blue); }
.link-more::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); margin-left: 6px; }
.link-more--lg { font-size: 21px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px;
  border: 0; border-radius: var(--radius-buttons);
  font-family: var(--font-text); font-size: 17px; font-weight: 400; line-height: 1.18; letter-spacing: -0.022em;
  cursor: pointer; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn--blue { background: var(--color-pricing-blue); color: #fff; }
.btn--blue:hover { background: var(--color-pricing-blue-hover); }
.btn--ink { background: var(--color-ink); color: #fff; }
.btn--ink:hover { background: #333336; }
.btn--outline { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-steel); }
.btn--outline:hover { box-shadow: inset 0 0 0 1px var(--color-ink); }
.btn--outline-blue { background: transparent; color: var(--color-pricing-blue); box-shadow: inset 0 0 0 1px var(--color-pricing-blue); }
.btn--outline-blue:hover { background: var(--color-pricing-blue); color: #fff; }
/* Píldora compacta (12px) para barras de producto */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 28px; padding: 6px 14px;
  border-radius: var(--radius-buttons); border: 0;
  font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; cursor: pointer;
}
.pill:hover { text-decoration: none; }
.pill--blue { background: var(--color-pricing-blue); color: #fff; }
.pill--blue:hover { background: var(--color-pricing-blue-hover); }
.pill--outline { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-steel); }
.btn.is-soon, .btn[aria-disabled="true"] { background: var(--color-control-gray); color: var(--color-slate); cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.actions--center { justify-content: center; }

/* ---------- Navegación global ---------- */
.gnav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(250, 250, 252, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, .06);
}
body.has-localnav .gnav { position: relative; }
.gnav__inner { height: 100%; width: min(1100px, 100% - var(--gutter) * 2); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gnav__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--color-ink); font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.015em; min-height: 44px; }
.gnav__brand:hover { text-decoration: none; }
.mark { width: 28px; height: 25px; fill: currentColor; flex: none; }
.gnav__links { display: flex; align-items: center; gap: 4px; }
.gnav__links a {
  color: rgba(0, 0, 0, .8); font-size: 14px; line-height: 1; letter-spacing: -0.016em;
  padding: 12px 12px; border-radius: var(--radius-links); transition: color .2s;
}
.gnav__links a:hover { color: var(--color-ink); text-decoration: none; }
.gnav__links a[aria-current="page"] { color: var(--color-ink); font-weight: 600; }
.gnav__cta { margin-left: 12px; min-height: 38px; padding: 9px 20px; font-size: 14px; letter-spacing: -0.016em; }
.gnav__links .gnav__mobile-cta { display: none; }
.gnav__toggle { display: none; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer; position: relative; }
.gnav__toggle span { position: absolute; left: 13px; width: 22px; height: 1.6px; border-radius: 2px; background: var(--color-ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.gnav__toggle span:nth-child(1) { top: 19px; }
.gnav__toggle span:nth-child(2) { top: 28px; }
.gnav__toggle[aria-expanded="true"] span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.gnav__toggle[aria-expanded="true"] span:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }

/* ---------- Navegación local (páginas de producto) ---------- */
.lnav {
  position: sticky; top: 0; z-index: 40;
  height: var(--localnav-h);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 0 var(--color-hairline-silver);
}
.lnav__inner { height: 100%; width: min(1100px, 100% - var(--gutter) * 2); margin-inline: auto; display: flex; align-items: center; gap: 16px; }
.lnav__title { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.14; letter-spacing: 0.011em; color: var(--color-ink); margin-right: auto; }
.lnav__title:hover { text-decoration: none; }
.lnav__links { display: flex; align-items: center; gap: 2px; }
.lnav__links a { color: var(--color-ink); font-size: 13px; letter-spacing: -0.01em; padding: 12px 9px; opacity: .88; }
.lnav__links a:hover { color: var(--color-apple-blue); text-decoration: none; opacity: 1; }
.lnav__links a.is-current { opacity: 1; color: var(--color-slate); }
.lnav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; align-items: center; justify-content: center; }
.lnav__toggle svg { width: 16px; height: 16px; fill: none; stroke: var(--color-ink); stroke-width: 1.6; transition: transform .3s var(--ease); }
.lnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.lnav .pill { min-height: 36px; padding: 8px 18px; font-size: 14px; letter-spacing: -0.016em; }

/* ---------- Hero ---------- */
.hero { padding-top: 64px; text-align: center; overflow: hidden; }
.hero .kicker { margin-bottom: 8px; }
.hero .display { max-width: 15ch; margin-inline: auto; }
.hero__sub { max-width: 640px; margin: 20px auto 0; font-size: 21px; line-height: 1.38; letter-spacing: 0.011em; color: var(--color-slate); }
.hero__sub strong { color: var(--color-ink); font-weight: 600; }
.hero .actions { justify-content: center; margin-top: 32px; }
.hero__logo { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 16px; }

/* Escenario del producto: laptop + teléfono, sin tarjeta */
.stage { position: relative; width: min(1060px, 100% - var(--gutter) * 2); margin: 56px auto 0; padding-bottom: 8px; }
.stage .mac { width: 88%; margin-inline: auto; }
.stage .phone { position: absolute; right: 0; bottom: 0; width: 19%; }
.stage--solo .mac { width: 100%; }

/* Cápsula flotante de precio */
.callout {
  display: inline-flex; align-items: center; gap: 18px; text-align: left;
  margin-top: 40px; padding: 10px 10px 10px 24px;
  background: var(--color-gallery-white); border-radius: var(--radius-buttons);
  box-shadow: var(--shadow-subtle);
}
.callout p { font-size: 14px; line-height: 1.29; letter-spacing: -0.016em; }
.callout strong { font-weight: 600; display: block; }
.callout span { color: var(--color-slate); font-size: 12px; }
.callout .pill { min-height: 36px; padding-inline: 18px; font-size: 14px; }

/* ---------- Marcos de dispositivo (planos, sin sombras) ---------- */
.mac { position: relative; margin-inline: 3%; }
.mac__screen { background: #0b0b0d; border-radius: 18px 18px 6px 6px; padding: 2.2% 2.2% 3.2%; position: relative; }
.mac__screen::before { content: ""; position: absolute; top: 1%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2a2a2e; }
.mac__screen img { width: 100%; border-radius: 4px; background: #111; transition: opacity .2s var(--ease); }
.mac__screen img.is-fading { opacity: 0; }
.mac__base { height: 0; padding-bottom: 2.4%; margin-inline: -3%; background: #d2d2d7; border-radius: 0 0 14px 14px / 0 0 60% 60%; position: relative; }
.mac__base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 45%; transform: translateX(-50%); background: #b8b8bd; border-radius: 0 0 10px 10px; }

.phone { background: #0b0b0d; border-radius: 15% / 7.2%; container-type: inline-size; }
.phone > * { width: calc(100% - 7cqi) !important; margin: 3.5cqi; border-radius: 12cqi; }
.phone img { background: #111; }

.browser { background: var(--color-gallery-white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-subtle); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--color-paper-frost); box-shadow: 0 1px 0 var(--color-control-gray); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-control-gray); }
.browser__bar span { margin-left: 10px; font-size: 12px; color: var(--color-slate); }

/* ---------- Cabecera de sección ---------- */
.sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.sechead .link-more { flex: none; margin-bottom: 8px; }
.sechead--center { flex-direction: column; align-items: center; text-align: center; }
.sechead--center .lede, .sechead--center .body { max-width: 680px; }
.sechead > div > * + * { margin-top: 16px; }
.sechead--center > * + * { margin-top: 0; }
.sechead--center > div { text-align: center; }

/* ---------- Carrusel de destacados ---------- */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(780px, 82vw);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), (100% - var(--w-text)) / 2);
  scroll-padding-inline: max(var(--gutter), (100% - var(--w-text)) / 2);
  overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__track--narrow { grid-auto-columns: min(372px, 78vw); }
.carousel__track--phones { grid-auto-columns: min(260px, 64vw); }
.carousel__ctrl {
  display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 32px;
}
.carousel__dots {
  display: flex; align-items: center; gap: 4px; padding: 0 14px; min-height: 44px;
  background: rgba(210, 210, 215, .64); border-radius: var(--radius-pills);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.carousel__dots button { width: 18px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .42); transition: width .3s var(--ease), background .3s; }
.carousel__dots button[aria-current="true"] { width: 44px; }
.carousel__dots button[aria-current="true"]::before { width: 36px; background: rgba(0, 0, 0, .8); }
.carousel__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(210, 210, 215, .64); display: grid; place-items: center;
  transition: background .2s, opacity .2s;
}
.carousel__arrow:hover:not(:disabled) { background: rgba(223, 223, 227, .9); }
.carousel__arrow:disabled { opacity: .36; cursor: default; }
.carousel__arrow svg { width: 16px; height: 16px; fill: none; stroke: rgba(0, 0, 0, .56); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Tarjeta de destacado (blanca, 28px, sin sombra) */
.hcard {
  position: relative; background: var(--color-gallery-white); border-radius: var(--radius-cards);
  min-height: 540px; padding: 40px 40px 0; overflow: hidden;
  display: flex; flex-direction: column;
}
.hcard__text { max-width: 520px; }
.hcard__text .feature { font-size: 32px; line-height: 1.125; }
.hcard__text .feature span { color: var(--color-slate); }
.hcard__media { margin-top: auto; padding-top: 32px; display: flex; justify-content: center; align-items: flex-end; }
.hcard__media .mac { width: 92%; margin-bottom: -2px; }
.hcard__media .phone { width: 38%; margin-bottom: -24%; }
.hcard__media .browser { width: 96%; margin-bottom: -12%; border-radius: 14px 14px 0 0; }
.hcard__icon { width: 88px; height: 88px; margin: 0 auto 72px; }
.hcard__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--color-ink); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }

/* Chat de IA dentro de un teléfono (ilustración hecha con HTML) */
.chatui { background: var(--color-studio-mist); aspect-ratio: 9 / 19.5; padding: 16cqi 6cqi 8cqi; display: flex; flex-direction: column; gap: 4cqi; font-size: 4.6cqi; line-height: 1.35; letter-spacing: -0.01em; text-align: left; }
.chatui__head { text-align: center; font-weight: 600; color: var(--color-ink); margin-bottom: 4%; }
.chatui__head small { display: block; font-weight: 400; color: var(--color-slate); }
.chatui p { max-width: 82%; padding: .7em .95em; border-radius: 1.3em; }
.chatui .in { align-self: flex-end; background: var(--color-pricing-blue); color: #fff; }
.chatui .out { align-self: flex-start; background: var(--color-gallery-white); color: var(--color-ink); }
.chatui .typing { display: flex; gap: 4px; padding: 1em 1.1em; }
.chatui .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-steel); animation: blink 1.2s infinite; }
.chatui .typing i:nth-child(2) { animation-delay: .2s; }
.chatui .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

/* ---------- Mosaico de productos ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(var(--w-wide), 100% - 24px); margin-inline: auto; }
.tile {
  background: var(--color-studio-mist); border-radius: var(--radius-cards); overflow: hidden;
  text-align: center; padding: 56px 32px 0; display: flex; flex-direction: column; min-height: 640px;
}
.tile--white { background: var(--color-gallery-white); }
.tile .headline { font-size: 40px; }
.tile .subhead { font-size: 21px; margin-top: 6px; }
.tile .actions { justify-content: center; margin-top: 20px; gap: 12px 24px; }
.tile__media { margin-top: auto; padding-top: 40px; }
.tile__media .mac { width: 96%; margin-inline: auto; margin-bottom: -4px; }
.tile__logo { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 14px; }

/* Tarjetas de demos (Ideas) */
.idea { min-height: 560px; padding: 44px 36px 0; text-align: left; color: var(--color-ink); gap: 12px; transition: background-color .3s var(--ease); }
.idea:hover { text-decoration: none; background: #efeff2; }
.idea .feature { font-size: 32px; line-height: 1.125; }
.idea .link-more { margin-top: 4px; }
.idea:hover .link-more { text-decoration: underline; }
.idea__art { margin-top: auto; align-self: center; width: 140px; height: 140px; margin-bottom: 48px; transition: transform .5s var(--ease); }
.idea:hover .idea__art { transform: scale(1.05); }
.idea__art svg { width: 100%; height: 100%; fill: none; stroke: var(--color-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Bloque editorial ---------- */
.editorial { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.editorial--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.editorial--flip > .editorial__media { order: -1; }
.editorial__text > * + * { margin-top: 20px; }
.editorial__text .kicker { margin-bottom: -8px; }
.editorial__media { min-width: 0; }
.editorial__media .phone { width: 52%; margin-inline: auto; }

/* Lista con marca de verificación */
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.41; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px;
  border: solid var(--color-ink); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg) translate(1px, -1px);
}
.checks--sm li { font-size: 14px; line-height: 1.43; padding-left: 24px; }
.checks--sm li::before { width: 11px; height: 6px; top: .45em; }
.checks strong { font-weight: 600; }

/* Lista numerada editorial */
.numbered { display: grid; gap: 0; counter-reset: n; }
.numbered li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 20px 0; box-shadow: 0 -1px 0 var(--color-hairline-silver); }
.numbered li:first-child { box-shadow: none; padding-top: 4px; }
.numbered li::before { counter-increment: n; content: counter(n, decimal-leading-zero); font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--color-steel); padding-top: 2px; }
.numbered h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.numbered p { font-size: 17px; color: var(--color-slate); margin-top: 2px; }

/* ---------- Rejilla de tarjetas ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--color-gallery-white); border-radius: var(--radius-cards); padding: var(--card-padding); }
.band:not(.band--mist) .card { background: var(--color-studio-mist); }
.card > * + * { margin-top: 10px; }
.card .title { font-size: 21px; }
.card p { color: var(--color-slate); font-size: 17px; }
.card__icon { width: 40px; height: 40px; margin-bottom: 20px; }
.card__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--color-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.card__meta { font-size: 12px !important; color: var(--color-slate); letter-spacing: -0.01em; padding-top: 6px; }
.card__meta b { font-weight: 600; color: var(--color-ink); }
.card.is-hidden { display: none; }
.step__n { font-family: var(--font-display); font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; color: var(--color-ink); margin-bottom: 28px !important; display: block; }

/* Flujo de 4 pasos con capturas */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.flow li { background: var(--color-gallery-white); border-radius: var(--radius-cards); padding: 28px 24px 28px; display: flex; flex-direction: column; }
.band:not(.band--mist) .flow li { background: var(--color-studio-mist); }
.flow .phone { width: 78%; margin: 0 auto 28px; }
.flow__n { font-size: 12px; font-weight: 600; color: var(--color-slate); letter-spacing: -0.01em; }
.flow h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.19; margin-top: 4px; }
.flow p { font-size: 14px; line-height: 1.43; color: var(--color-slate); margin-top: 8px; }
.flow__ticket { display: flex; justify-content: center; margin: 0 auto 28px; width: 78%; aspect-ratio: 720 / 1480; overflow: hidden; border-radius: 14px; background: var(--color-gallery-white); box-shadow: var(--shadow-subtle); }
.flow__ticket img { width: 70%; object-fit: cover; object-position: top; }

/* Ventajas en línea (3 columnas con divisores) */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 48px; text-align: center; }
.perks li { padding: 4px 24px; box-shadow: -1px 0 0 var(--color-hairline-silver); }
.perks li:first-child { box-shadow: none; }
.perks strong { display: block; font-size: 17px; font-weight: 600; }
.perks span { display: block; font-size: 14px; color: var(--color-slate); margin-top: 2px; }

/* ---------- Controles segmentados y filtros ---------- */
.segmented {
  display: inline-flex; flex-wrap: nowrap; gap: 2px; padding: 4px; margin: 0 auto;
  background: var(--color-control-gray); border-radius: var(--radius-buttons);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.segmented::-webkit-scrollbar { display: none; }
.segmented button {
  flex: none; min-height: 36px; padding: 8px 18px; border: 0; border-radius: var(--radius-buttons);
  background: transparent; font-size: 14px; letter-spacing: -0.016em; color: var(--color-ink); cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.segmented button:hover { background: rgba(255, 255, 255, .5); }
.segmented button[aria-selected="true"], .segmented button[aria-pressed="true"] { background: var(--color-gallery-white); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .04); font-weight: 600; }
.segmented svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.segwrap { display: flex; justify-content: center; margin-bottom: 40px; }
.band--mist .segmented { background: rgba(0, 0, 0, .06); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filters button {
  min-height: 36px; padding: 7px 16px; border: 0; border-radius: var(--radius-buttons);
  background: transparent; box-shadow: inset 0 0 0 1px var(--color-hairline-silver);
  font-size: 14px; letter-spacing: -0.016em; color: var(--color-ink); cursor: pointer;
  transition: background .2s, box-shadow .2s, color .2s;
}
.filters button:hover { box-shadow: inset 0 0 0 1px var(--color-steel); }
.filters button[aria-pressed="true"] { background: var(--color-ink); color: #fff; box-shadow: none; }

/* ---------- Galería de pantallas (laptop + selector) ---------- */
.screens { display: grid; gap: 32px; }
.screens .mac { width: min(900px, 100%); margin-inline: auto; }
.screens__caption { text-align: center; min-height: 3em; }
.screens__caption strong { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.screens__caption span { color: var(--color-slate); font-size: 17px; }
.picker { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px var(--gutter); margin-inline: calc(-1 * var(--gutter)); scroll-snap-type: x proximity; }
.picker::-webkit-scrollbar { display: none; }
@media (min-width: 834px) { .picker { flex-wrap: wrap; justify-content: center; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.picker button {
  flex: none; min-height: 36px; padding: 7px 16px; border: 0; border-radius: var(--radius-buttons);
  background: transparent; box-shadow: inset 0 0 0 1px var(--color-hairline-silver);
  font-size: 14px; letter-spacing: -0.016em; cursor: pointer; scroll-snap-align: center;
  transition: background .2s, box-shadow .2s, color .2s;
}
.picker button:hover { box-shadow: inset 0 0 0 1px var(--color-steel); }
.picker button.is-active { background: var(--color-ink); color: #fff; box-shadow: none; }
.tabpanel[hidden] { display: none; }

/* Teléfonos en carrusel */
.phonecard { text-align: center; }
.phonecard .phone { width: 100%; }
.phonecard figcaption { margin-top: 20px; font-size: 14px; color: var(--color-slate); }
.phonecard figcaption strong { display: block; color: var(--color-ink); font-size: 17px; font-weight: 600; }

/* Documentos para el cliente */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.docs figure { background: var(--color-gallery-white); border-radius: var(--radius-cards); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.docs figure:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 40px; }
.docs figure:first-child figcaption { margin: 0 0 8px; font-size: 17px; }
.docs figure:first-child figcaption strong { font-family: var(--font-display); font-size: 28px; margin-bottom: 6px; }
.docs figcaption { font-size: 14px; color: var(--color-slate); margin-top: auto; }
.docs figcaption strong { display: block; color: var(--color-ink); font-size: 17px; font-weight: 600; }
.docs__ticket { height: 420px; overflow: hidden; border-radius: 10px; box-shadow: var(--shadow-subtle); background: #fff; display: flex; justify-content: center; }
.docs__ticket img { width: 62%; object-fit: cover; object-position: top; }
.docs__paper img { border-radius: 10px; box-shadow: var(--shadow-subtle); }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
.plan { background: var(--color-gallery-white); border-radius: var(--radius-cards); padding: 40px 32px 36px; text-align: center; display: flex; flex-direction: column; height: 100%; }
.band:not(.band--mist) .plan { background: var(--color-studio-mist); }
.plan__label { min-height: 16px; }
.plan__icon { width: 44px; height: 44px; margin: 12px auto 16px; }
.plan__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--color-ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.plan h3 { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.14; letter-spacing: .007em; }
.plan__platform { font-size: 14px; color: var(--color-slate); margin-top: 4px; }
.plan__price { font-family: var(--font-display); font-size: 17px; margin-top: 20px; }
.plan__price strong { display: block; font-size: 32px; font-weight: 600; letter-spacing: 0; line-height: 1.1; }
.plan__price span { color: var(--color-slate); font-size: 14px; }
.plan__desc { font-size: 14px; color: var(--color-slate); margin: 16px auto 0; max-width: 32ch; min-height: 5.8em; }
.plan .actions { justify-content: center; margin: 24px 0 28px; gap: 12px 20px; }
.plan .checks { text-align: left; padding-top: 28px; box-shadow: 0 -1px 0 var(--color-hairline-silver); }
.plan__note { font-size: 12px; color: var(--color-slate); margin-top: 24px; text-align: left; }
.plan__note a { font-size: 12px; }

/* ---------- Tabla comparativa ---------- */
.compare-wrap { position: relative; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; letter-spacing: -0.016em; }
.compare th, .compare td { padding: 14px 12px; text-align: center; box-shadow: 0 1px 0 var(--color-hairline-silver); vertical-align: middle; }
.compare thead th { font-family: var(--font-display); font-size: 21px; font-weight: 600; padding-bottom: 20px; position: sticky; top: 0; }
.compare tbody th { text-align: left; font-weight: 400; color: var(--color-ink); padding-left: 0; width: 40%; }
.compare td { color: var(--color-slate); }
.compare .y::before { content: ""; display: inline-block; width: 12px; height: 7px; border: solid var(--color-ink); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg) translateY(-2px); }
.compare .n { color: var(--color-steel); }

/* ---------- Descargas ---------- */
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.downloads--2 { grid-template-columns: 1.3fr 1fr; }
.dl { background: var(--color-gallery-white); border-radius: var(--radius-cards); padding: 40px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.band:not(.band--mist) .dl { background: var(--color-studio-mist); }
.dl .plan__icon { margin-top: 0; }
.dl h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.dl p { font-size: 14px; color: var(--color-slate); }
.dl .btn { margin-top: 20px; }
.dl--left { text-align: left; align-items: stretch; }
.specs { display: grid; margin-top: 12px; }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; box-shadow: 0 1px 0 var(--color-hairline-silver); font-size: 14px; color: var(--color-slate); }
.specs li b { color: var(--color-ink); font-weight: 600; text-align: right; }

/* ---------- Video / marcador ---------- */
.video { aspect-ratio: 16 / 10; background: var(--color-gallery-white); border-radius: var(--radius-images); display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; }
.band:not(.band--mist) .video { background: var(--color-studio-mist); }
.video__play { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--color-ink); }
.video__play svg { width: 22px; height: 22px; fill: var(--color-ink); margin-left: 3px; }
.video p { font-size: 17px; font-weight: 600; }
.video small { display: block; font-weight: 400; color: var(--color-slate); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { box-shadow: 0 1px 0 var(--color-hairline-silver); }
.faq details:first-child { box-shadow: 0 -1px 0 var(--color-hairline-silver), 0 1px 0 var(--color-hairline-silver); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.24; letter-spacing: .011em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background: linear-gradient(var(--color-ink), var(--color-ink)) center / 100% 1.5px no-repeat,
              linear-gradient(var(--color-ink), var(--color-ink)) center / 1.5px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 28px 0; color: var(--color-slate); }

/* ---------- Código / terminal ---------- */
.cmds { display: flex; flex-wrap: wrap; gap: 6px; }
.cmds code { font: 500 13px/1 var(--font-mono); padding: 8px 12px; border-radius: var(--radius-links); background: var(--color-studio-mist); color: var(--color-ink); }
.band--mist .cmds code { background: var(--color-gallery-white); }
.kbd { font: 600 14px/1 var(--font-mono); padding: 2px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--color-steel); }

/* ---------- Conteo por categorías ---------- */
.counts { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 auto 56px; max-width: 860px; }
.counts li { text-align: center; padding: 4px 8px; box-shadow: -1px 0 0 var(--color-hairline-silver); }
.counts li:first-child { box-shadow: none; }
.counts strong { display: block; font-family: var(--font-display); font-size: 48px; font-weight: 600; line-height: 1.05; }
.counts span { font-size: 14px; color: var(--color-slate); }
.tag-beta { font-size: 12px; font-weight: 600; color: var(--color-launch-orange); margin-left: 6px; vertical-align: 2px; }

/* ---------- Soporte ---------- */
.support { margin-top: 28px; padding-top: 28px; box-shadow: 0 -1px 0 var(--color-hairline-silver); display: grid; gap: 16px; justify-items: start; }
.support p { font-size: 14px; color: var(--color-slate); }
.support strong { color: var(--color-ink); font-weight: 600; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact__text > * + * { margin-top: 20px; }
.contact__direct { display: grid; gap: 12px; justify-items: start; padding-top: 12px; }
.form { display: grid; gap: 14px; }
.field { position: relative; }
.field label { display: block; font-size: 12px; color: var(--color-slate); margin: 0 0 6px 20px; letter-spacing: -0.01em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 20px;
  font: 17px/1.3 var(--font-text); letter-spacing: -0.022em; color: var(--color-ink);
  background: var(--color-gallery-white); border: 0; border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--color-steel); appearance: none;
  transition: box-shadow .2s;
}
.field select { 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='%231d1d1f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 14px; }
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--color-pricing-blue); }
.form .btn { justify-self: start; margin-top: 6px; }
.form__note { font-size: 14px; color: var(--color-slate); min-height: 1.4em; }

/* ---------- Cierre ---------- */
.closing { text-align: center; }
.closing .headline { max-width: 18ch; margin-inline: auto; }
.closing .lede { margin-top: 16px; }
.closing .actions { justify-content: center; margin-top: 32px; }

/* ---------- Pie de página ---------- */
.footer { background: var(--color-studio-mist); color: var(--color-slate); font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; padding: 40px 0 24px; }
.footer a { color: var(--color-slate); }
.footer a:hover { color: var(--color-ink); text-decoration: underline; }
.footer__note { padding-bottom: 16px; box-shadow: 0 1px 0 var(--color-hairline-silver); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 24px 0; }
.footer__cols h3 { font-size: 12px; font-weight: 600; color: var(--color-ink); margin-bottom: 10px; }
.footer__cols li + li { margin-top: 8px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 16px; box-shadow: 0 -1px 0 var(--color-hairline-silver); }
.footer__social { display: inline-flex; align-items: center; gap: 6px; }
.footer__social svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Diálogo de compra ---------- */
dialog.buy {
  width: min(440px, calc(100% - 32px)); padding: 40px 32px 32px; border: 0; border-radius: var(--radius-cards);
  background: var(--color-gallery-white); color: var(--color-ink); text-align: center;
}
dialog.buy::backdrop { background: rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
dialog.buy[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.buy h3 { padding-inline: 32px; font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.14; }
.buy > p { color: var(--color-slate); font-size: 14px; margin: 10px auto 24px; max-width: 32ch; }
.buy__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--color-studio-mist); cursor: pointer; display: grid; place-items: center; }
.buy__close svg { width: 12px; height: 12px; stroke: var(--color-slate); stroke-width: 2; }
.buy__opts { display: grid; gap: 10px; }
.buy__opt { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--color-studio-mist); color: var(--color-ink); text-align: left; transition: background .2s; }
.buy__opt:hover { background: var(--color-control-gray); text-decoration: none; }
.buy__opt svg { width: 26px; height: 26px; flex: none; fill: var(--color-ink); }
.buy__opt svg.stroke { fill: none; stroke: var(--color-ink); stroke-width: 1.5; }
.buy__opt strong { display: block; font-size: 17px; font-weight: 600; }
.buy__opt small { color: var(--color-slate); font-size: 14px; }
.buy__opt::after { content: ""; margin-left: auto; width: 7px; height: 7px; border: solid var(--color-steel); border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); }

/* ---------- Texto legal ---------- */
.legal { max-width: 720px; margin-inline: auto; padding: 72px var(--gutter) var(--section-gap); }
.legal .headline { margin-bottom: 8px; }
.legal .lede { font-weight: 400; color: #424245; }
.legal__date { color: var(--color-slate); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.17; margin: 48px 0 14px; }
.legal p, .legal li { color: #424245; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 14px 0; display: grid; gap: 8px; }
.legal strong { color: var(--color-ink); font-weight: 600; }
.legal section { scroll-margin-top: 80px; }

/* ---------- Página 404 ---------- */
.nf__hero { padding-top: 72px; }
.nf__code {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  margin-bottom: 24px;
  font-family: var(--font-display); font-size: 160px; font-weight: 600; line-height: 1; letter-spacing: -0.04em;
}
.nf__mark { width: .82em; height: .7em; fill: var(--color-pricing-blue); margin-inline: .06em; animation: nf-float 4s var(--ease) infinite alternate; }
.nf__path {
  display: inline-block; max-width: 100%; margin-top: 18px; padding: 6px 14px;
  border-radius: var(--radius-buttons); background: var(--color-studio-mist);
  font-family: var(--font-mono); color: var(--color-slate);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nf__path[hidden] { display: none; }
.nf__actions { margin-top: 32px; }
.nf__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--element-gap); margin-top: 36px; }
.nf__grid a {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: var(--card-padding); border-radius: var(--radius-cards);
  background: var(--color-gallery-white); color: var(--color-ink);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.nf__grid a:hover { text-decoration: none; box-shadow: var(--shadow-subtle-2); transform: translateY(-2px); }
.nf__name { font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.19; }
.nf__name::after { content: ""; display: inline-block; width: 7px; height: 7px; border: solid var(--color-apple-blue); border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); margin: 0 0 2px 8px; }
.nf__desc { font-size: 15px; line-height: 1.4; color: var(--color-slate); }
@keyframes nf-float { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@media (max-width: 833px) {
  .nf__hero { padding-top: 48px; }
  .nf__code { font-size: 112px; }
  .nf__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nf__code { font-size: 88px; }
  .nf__grid { grid-template-columns: 1fr; gap: 12px; }
  .nf__grid a { padding: 20px 22px; }
}

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1068px) {
  :root { --section-gap: 80px; }
  .display { font-size: 64px; }
  .headline { font-size: 40px; }
  .feature { font-size: 32px; }
  .editorial, .editorial--flip { gap: 40px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs figure:first-child { grid-template-columns: 1fr; gap: 20px; }
  .lnav__links a { padding-inline: 6px; }
}

@media (max-width: 833px) {
  :root { --section-gap: 64px; --gutter: 16px; }
  /* Navegación global: menú a pantalla completa */
  .gnav__toggle { display: block; }
  .gnav__cta { display: none; }
  .gnav__links {
    position: fixed; inset: var(--nav-h) 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px 40px 40px; overflow-y: auto;
    background: var(--color-paper-frost);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .gnav:has(.gnav__links.is-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--color-paper-frost); }
  .gnav__links.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .gnav__links a { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.14; padding: 12px 0; color: var(--color-ink); }
  .gnav__links .gnav__mobile-cta { display: inline-flex; margin-top: 24px; align-self: flex-start; font-family: var(--font-text); font-size: 17px; font-weight: 400; padding: 11px 22px; color: #fff; }
  body.has-localnav .gnav { position: sticky; }
  .lnav { top: var(--nav-h); }

  /* Navegación local plegable */
  .lnav__toggle { display: inline-flex; }
  .lnav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--color-hairline-silver);
    display: none;
  }
  .lnav__links.is-open { display: flex; }
  .lnav__links a { font-size: 17px; padding: 12px 0; box-shadow: 0 1px 0 var(--color-control-gray); }
  .lnav__title { font-size: 19px; }
  html { scroll-padding-top: calc(var(--nav-h) + var(--localnav-h) + 8px); }

  .display { font-size: 48px; line-height: 1.08; }
  .headline { font-size: 32px; line-height: 1.125; }
  .feature { font-size: 28px; }
  .hero { padding-top: 40px; }
  .hero__sub, .lede { font-size: 19px; }
  .stage { margin-top: 40px; }
  .stage .mac { width: 100%; }
  .stage .phone { width: 24%; right: -2%; bottom: -6%; }
  .callout { margin-top: 48px; }

  .sechead { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .sechead--center { align-items: center; }
  .hcard { min-height: 460px; padding: 32px 28px 0; }
  .hcard__text .feature { font-size: 24px; }

  .tiles { grid-template-columns: 1fr; width: 100%; gap: 12px; }
  .tile { min-height: 0; border-radius: 0; padding-top: 48px; }
  .tile .headline { font-size: 32px; }

  .editorial, .editorial--flip { grid-template-columns: 1fr; }
  .editorial--flip > .editorial__media { order: 0; }
  .editorial__media .phone { width: 56%; }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .plans, .plans--2 { grid-template-columns: 1fr; max-width: 480px; }
  .plan__desc { min-height: 0; }
  .downloads, .downloads--2 { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; gap: 16px; }
  .perks li, .perks li:first-child { box-shadow: none; padding: 0 0 0 16px; border-left: 2px solid var(--color-hairline-silver); }
  .counts { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .counts li:nth-child(4) { box-shadow: none; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .flow, .grid--4 { grid-template-columns: 1fr; }
  .flow .phone, .flow__ticket { width: 62%; }
  .docs { grid-template-columns: 1fr; }
  .display { font-size: 40px; }
  .callout { flex-direction: column; gap: 10px; border-radius: var(--radius-cards); padding: 18px 22px; text-align: center; }
  .hcard__media .phone { width: 50%; }
  .faq summary { font-size: 19px; }
  .faq details p { padding-right: 0; }
}

/* ---------- Menú desplegable de productos ---------- */
.gnav__drop { position: relative; }
.gnav__drop-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer; color: rgba(0, 0, 0, .8); font-size: 14px; letter-spacing: -0.016em; padding: 12px; min-height: 44px; }
.gnav__drop-btn:hover { color: var(--color-ink); }
.gnav__drop-btn svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .25s var(--ease); }
.gnav__drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.gnav__drop-panel {
  position: absolute; top: calc(100% + 2px); right: 0; min-width: 200px; padding: 8px;
  background: var(--color-paper-frost); border-radius: 14px; box-shadow: var(--shadow-subtle);
  display: none;
}
.gnav__drop.is-open .gnav__drop-panel { display: grid; }
.gnav__links .gnav__drop-panel a { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--color-ink); padding: 12px 14px; border-radius: var(--radius-links); }
.gnav__links .gnav__drop-panel a:hover { background: var(--color-control-gray); }
@media (max-width: 833px) {
  .gnav__drop-btn { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--color-ink); padding: 12px 0; gap: 10px; }
  .gnav__drop-btn svg { width: 16px; height: 16px; }
  .gnav__drop-panel { position: static; box-shadow: none; background: none; padding: 0 0 8px 16px; min-width: 0; }
  .gnav__links .gnav__drop-panel a { font-size: 21px; color: var(--color-slate); padding: 8px 0; }
}

/* ---------- Maquetas de interfaz (ejemplos ilustrativos) ---------- */
.ui { aspect-ratio: 16 / 10; background: var(--color-gallery-white); border-radius: 4px; overflow: hidden; container-type: inline-size; }
.ui--wide { aspect-ratio: 16 / 9; border-radius: 0; }
.ui__in { height: 100%; display: flex; font-size: 1.45cqi; line-height: 1.3; letter-spacing: -0.01em; color: var(--color-ink); text-align: left; }
.ui__in p, .ui__in small, .ui__in b, .ui__in em { margin: 0; font-style: normal; }
.ui small { display: block; color: var(--color-slate); font-size: .85em; }
.ui-li { display: flex; align-items: center; gap: .6em; padding: .55em 0; box-shadow: 0 1px 0 var(--color-control-gray); font-size: .95em; }
.ui-li span { width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--color-control-gray); flex: none; }
.ui-li em { margin-left: auto; font-weight: 600; }
.ui-top { display: flex; align-items: center; gap: 1em; }
.ui-top b { font-size: 1.35em; font-weight: 600; margin-right: auto; }
.ui-search { color: var(--color-steel); background: var(--color-studio-mist); border-radius: 99px; padding: .5em 1.2em; min-width: 12em; font-size: .9em; }
.ui-av { width: 2em; height: 2em; border-radius: 50%; background: #d9d4cc; }

.ui-dash .ui-side { width: 17%; background: var(--color-studio-mist); padding: 1.6em 1em; display: flex; flex-direction: column; gap: .3em; }
.ui-logo { display: flex; align-items: center; gap: .5em; font-weight: 600; margin-bottom: 1.2em; }
.ui-logo svg { width: 1.3em; height: 1.2em; fill: var(--color-ink); }
.ui-side i { font-style: normal; color: var(--color-slate); padding: .45em .7em; border-radius: .6em; font-size: .95em; }
.ui-side i.is-on { background: var(--color-gallery-white); color: var(--color-ink); font-weight: 600; }
.ui-dash .ui-main { flex: 1; padding: 1.6em 2em; display: flex; flex-direction: column; gap: 1.4em; }
.ui-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; }
.ui-kpis div { background: var(--color-studio-mist); border-radius: 1em; padding: 1em 1.1em; }
.ui-kpis b { display: block; font-size: 1.9em; font-weight: 600; letter-spacing: -0.02em; margin: .2em 0 .1em; }
.ui-kpis em { color: #1a7f37; font-size: .85em; font-weight: 600; }
.ui-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1em; flex: 1; min-height: 0; }
.ui-card { border-radius: 1em; padding: 1.1em 1.2em; box-shadow: inset 0 0 0 1px var(--color-control-gray); display: flex; flex-direction: column; }
.ui-bars { flex: 1; display: flex; align-items: flex-end; gap: 6%; padding-top: 1em; }
.ui-bars i { flex: 1; height: var(--h); background: var(--color-control-gray); border-radius: .4em .4em .15em .15em; }
.ui-bars i.is-on { background: var(--color-pricing-blue); }
.ui-days { display: flex; gap: 6%; color: var(--color-steel); font-size: .8em; padding-top: .5em; }
.ui-days span { flex: 1; text-align: center; }

.ui-store { flex-direction: column; padding: 1.4em 2.4em; gap: 1.4em; }
.ui-store__nav { display: flex; gap: 2em; align-items: center; font-size: 1.05em; color: var(--color-slate); }
.ui-store__nav b { color: var(--color-ink); margin-right: auto; font-size: 1.2em; }
.ui-store__nav em { color: var(--color-ink); font-weight: 600; }
.ui-store__hero { background: var(--color-studio-mist); border-radius: 1em; padding: 2em; text-align: center; }
.ui-store__hero b { display: block; font-size: 2.6em; font-weight: 600; letter-spacing: -0.02em; }
.ui-store__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2em; flex: 1; }
.ui-store__grid span, .ui-pos__grid span { display: block; aspect-ratio: 4 / 3; border-radius: .9em; background: var(--c); margin-bottom: .5em; }
.ui-store__grid b { font-weight: 600; }

.ui-pos .ui-pos__cat { flex: 1; padding: 1.6em 2em; display: flex; flex-direction: column; gap: 1.4em; }
.ui-pos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.ui-pos__grid div { background: var(--color-studio-mist); border-radius: 1em; padding: .7em; font-size: .95em; color: var(--color-slate); }
.ui-pos__grid b { display: block; color: var(--color-ink); font-weight: 600; }
.ui-pos__ticket { width: 30%; background: var(--color-studio-mist); padding: 1.6em 1.4em; display: flex; flex-direction: column; }
.ui-pos__ticket > small { font-size: 1.2em; color: var(--color-ink); font-weight: 600; margin-bottom: .6em; }
.ui-pos__ticket .ui-li { box-shadow: 0 1px 0 var(--color-hairline-silver); }
.ui-pos__total { display: flex; justify-content: space-between; margin-top: auto !important; padding-top: 1em; font-size: 1.1em; }
.ui-pos__total b { font-size: 1.6em; font-weight: 600; }
.ui-pos__pay { margin-top: 1em !important; background: var(--color-pricing-blue); color: #fff; text-align: center; border-radius: 99px; padding: .8em; font-weight: 600; }

/* App móvil de ejemplo */
.appui { background: var(--color-gallery-white); aspect-ratio: 9 / 19.5; overflow: hidden; }
.appui > div { padding: 16cqi 6cqi 6cqi; display: flex; flex-direction: column; gap: 4cqi; font-size: 4.4cqi; line-height: 1.3; text-align: left; color: var(--color-ink); }
.appui p { margin: 0; }
.appui__top { display: flex; justify-content: space-between; align-items: center; font-size: 1.3em; }
.appui__top span { width: 1.6em; height: 1.6em; border-radius: 50%; background: #d9d4cc; }
.appui__hero { background: var(--color-ink); color: #fff; border-radius: 1.1em; padding: 1.1em; }
.appui__hero small { display: block; opacity: .7; font-size: .85em; }
.appui__hero b { display: block; font-size: 2em; font-weight: 600; letter-spacing: -0.02em; margin: .1em 0 .5em; }
.appui__hero i { display: block; height: .4em; border-radius: 9px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.appui__hero i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: #fff; border-radius: inherit; }
.appui__cap { font-weight: 600; margin-top: .4em !important; }
.appui__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqi; }
.appui__grid span { aspect-ratio: 1; border-radius: 1em; background: var(--c); }
.appui__btn { background: var(--color-pricing-blue); color: #fff; text-align: center; border-radius: 99px; padding: .8em; font-weight: 600; }


/* =====================================================
   Móvil
   ===================================================== */
html { -webkit-tap-highlight-color: transparent; }
.btn:active, .pill:active, .filters button:active, .picker button:active, .segmented button:active { transform: scale(.97); }
.btn, .pill { transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .12s var(--ease); }
.gnav, .lnav { padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); }
.footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }

@media (max-width: 833px) {
  :root { --section-gap: 56px; --gutter: 20px; --nav-h: 56px; --localnav-h: 52px; }
  .gnav__brand { font-size: 21px; }
  .mark { width: 26px; height: 23px; }

  /* Menú a pantalla completa */
  .gnav__links { padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
  .gnav__links > a, .gnav__links .gnav__drop-btn { width: 100%; justify-content: space-between; box-shadow: 0 1px 0 var(--color-control-gray); padding: 14px 0; }
  .gnav__links > a.gnav__mobile-cta { width: 100%; justify-content: center; box-shadow: none; margin-top: 28px; padding: 14px 22px; align-self: stretch; font-size: 17px; }
  .gnav__links.is-open > * { animation: menu-in .45s var(--ease) both; }
  .gnav__links.is-open > *:nth-child(2) { animation-delay: .03s; }
  .gnav__links.is-open > *:nth-child(3) { animation-delay: .06s; }
  .gnav__links.is-open > *:nth-child(4) { animation-delay: .09s; }
  .gnav__links.is-open > *:nth-child(5) { animation-delay: .12s; }
  .gnav__links.is-open > *:nth-child(6) { animation-delay: .15s; }
  .gnav__links.is-open > *:nth-child(7) { animation-delay: .18s; }
  .gnav__links.is-open > *:nth-child(8) { animation-delay: .21s; }
  .gnav__drop-panel { padding: 4px 0 8px; }
  .gnav__drop.is-open .gnav__drop-panel { display: grid; }
  .gnav__links .gnav__drop-panel a { padding: 12px 0 12px 4px; }

  /* Barra local: lista desplegable cómoda */
  .lnav__title { font-size: 21px; }
  .lnav__inner { gap: 4px; }
  .lnav .pill { margin-left: 4px; }
  .lnav__links { padding: 4px var(--gutter) 16px; }
  .lnav__links a { padding: 14px 0; font-size: 17px; opacity: 1; }

  /* Tipografía fluida */
  .display { font-size: clamp(38px, 11vw, 52px); line-height: 1.06; letter-spacing: -0.02em; }
  .headline { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.1; }
  .feature { font-size: clamp(24px, 6.6vw, 28px); }
  .kicker { font-size: 19px; }
  .hero__sub, .lede { font-size: 18px; line-height: 1.4; }
  .body { font-size: 17px; }

  /* Títulos de sección siempre centrados */
  .sechead, .sechead--center { flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 32px; }
  .sechead > div { display: flex; flex-direction: column; align-items: center; }
  .sechead .link-more { margin: 0; }
  .sechead .lede { max-width: 100% !important; }

  /* Hero */
  .hero { padding-top: 32px; }
  .hero .actions { flex-direction: column; gap: 16px; margin-top: 28px; }
  .hero .actions .btn { width: min(100%, 340px); min-height: 50px; font-size: 17px; }
  .stage { width: calc(100% - var(--gutter) * 2); margin-top: 36px; padding-bottom: 10%; }
  .stage .mac { width: auto; margin-inline: 3%; }
  .stage .phone { width: 27%; right: 0; bottom: 0; }
  .stage--solo { padding-bottom: 0; }
  .callout { width: calc(100% - var(--gutter) * 2); max-width: 400px; margin-top: 32px; justify-content: space-between; }

  /* Botones de ancho completo donde ayudan */
  .plan .actions .btn, .dl .btn, .contact__direct .btn, .form .btn, .support .btn, .closing .actions .btn, .editorial__text > .btn { width: 100%; min-height: 50px; }
  .contact__direct, .support { justify-items: stretch; }
  .contact__direct .link-more, .support .link-more { justify-content: center; }
  .closing .actions { flex-direction: column; gap: 16px; }

  /* Carrusel */
  .carousel__track { grid-auto-columns: calc(100% - var(--gutter) * 2 - 16px); gap: 12px; }
  .carousel__track--phones { grid-auto-columns: 62%; }
  .carousel__ctrl { margin-top: 24px; }
  .hcard { min-height: 470px; padding: 28px 24px 0; }
  .hcard__text .feature { font-size: 22px; }
  .hcard__media .phone { width: 52%; }
  .hcard__media .mac { width: 100%; }

  /* Filtros y selectores: una sola fila deslizable */
  .filters, .picker {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter);
    scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters button, .picker button { flex: none; min-height: 44px; padding: 10px 18px; scroll-snap-align: start; }
  .filters { margin-bottom: 28px; }
  .segwrap { margin-bottom: 28px; }
  .segmented { max-width: 100%; }
  .segmented button { min-height: 40px; padding: 9px 16px; }
  .screens { gap: 20px; }

  /* Flujos de 4 pasos: carrusel horizontal en vez de una columna larga */
  .flow {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .flow::-webkit-scrollbar { display: none; }
  .flow li { scroll-snap-align: start; padding: 24px 20px; }
  .flow .phone, .flow__ticket { width: 80%; }

  /* Tarjetas más compactas */
  .card { padding: 24px; border-radius: 22px; }
  .card .title { font-size: 19px; }
  .card p { font-size: 16px; }
  .grid { gap: 12px; }
  .plan { padding: 32px 24px 28px; }
  .dl { padding: 32px 24px; }
  .docs figure { padding: 20px; }

  .grid--4 > .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: baseline; }
  .grid--4 > .card > * { grid-column: 2; margin-top: 0; }
  .grid--4 > .card > .step__n { grid-column: 1; grid-row: 1 / span 2; font-size: 32px; margin: 0 !important; }
  .grid--4 > .card > p { margin-top: 4px; }

  /* Ventajas */
  .perks { gap: 0; text-align: left; margin-bottom: 32px; }
  .perks li, .perks li:first-child { border: 0; padding: 14px 0; box-shadow: 0 1px 0 var(--color-hairline-silver); }
  .perks li:last-child { box-shadow: none; }

  /* Cifras */
  .counts { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .counts li, .counts li:nth-child(4) { box-shadow: none; }
  .counts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .counts strong { font-size: 36px; }

  /* Tabla comparativa: primera columna fija */
  .compare { min-width: 540px; font-size: 13px; }
  .compare thead th { font-size: 17px; }
  .compare tbody th { position: sticky; left: 0; z-index: 1; background: var(--color-gallery-white); width: 42%; padding-right: 12px; }
  .compare th, .compare td { padding: 12px 8px; }

  /* Editorial */
  .editorial, .editorial--flip { gap: 32px; }
  .editorial__text > * + * { margin-top: 16px; }
  .editorial__media .phone { width: 62%; }

  /* Ideas: conservan sus esquinas redondeadas */
  .idea { border-radius: 22px; min-height: 0; padding: 32px 24px 0; }
  .idea .feature { font-size: 26px; }
  .idea__art { width: 110px; height: 110px; margin: 28px auto 36px; }

  /* FAQ */
  .faq summary { padding: 20px 0; font-size: 18px; min-height: 44px; }

  /* Pie de página */
  .footer { padding-top: 32px; }
  .footer__cols { gap: 24px 16px; }
  .footer__cols a { display: inline-block; padding: 4px 0; font-size: 14px; }
  .footer__cols h3 { font-size: 14px; }
  .footer__bottom { flex-direction: column; }
  .footer__social { font-size: 14px; }

  /* Diálogo como hoja inferior */
  dialog.buy { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: 28px 28px 0 0; padding: 36px 20px calc(24px + env(safe-area-inset-bottom)); }
  dialog.buy[open] { animation: sheet-up .35s var(--ease); }
  .buy__opt { min-height: 64px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes sheet-up { from { transform: translateY(100%); } }

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .gnav__brand { font-size: 19px; }
  .lnav__title { font-size: 19px; }
  .lnav .pill { padding-inline: 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
