/* Landing y acceso de El Cotizador. Mismo lenguaje que la app: cobalto, menta, Manrope. */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-latin-ext.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --ink: #121b2e;
  --ink-2: #46526e;
  --muted: #7b879e;
  --line: #e3e8f2;
  --primary: #3a5bf0;
  --primary-ink: #ffffff;
  --primary-soft: #e8edff;
  --mint: #19c8a0;
  --shadow: 0 6px 20px rgb(18 27 46 / 8%);
  --shadow-lg: 0 24px 56px rgb(18 27 46 / 18%);
  --page: 1080px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b101d;
    --surface: #141c30;
    --surface-2: #1b2540;
    --ink: #eef2fb;
    --ink-2: #b4bfd8;
    --muted: #8591ad;
    --line: #243050;
    --primary: #6f88ff;
    --primary-ink: #0b101d;
    --primary-soft: #1c2a5a;
    --shadow: 0 6px 20px rgb(0 0 0 / 35%);
    --shadow-lg: 0 24px 56px rgb(0 0 0 / 55%);
    color-scheme: dark;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--primary); color: var(--primary-ink); font-weight: 800; text-decoration: none; transition: top 0.2s ease; }
.skip:focus { top: 12px; }

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 16px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 32%, transparent); }
.btn--ghost { color: var(--ink); border: 1.5px solid var(--line); background: var(--surface); }
.btn--light { background: #fff; color: #1f2f8f; box-shadow: 0 10px 28px rgb(0 0 0 / 22%); }
.btn--block { width: 100%; }


/* ── Encabezado ── */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top__bar { position: relative; display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.top__end { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.top__link { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink-2); padding: 10px 4px; }
.top__link:hover { color: var(--primary); }

/* Menú de secciones: en computadora va en la barra; en el celular es una hamburguesa con un panel chico */
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 9px 14px; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--ink-2); transition: color 0.2s ease, background-color 0.2s ease; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current='true'] { color: var(--primary); background: var(--primary-soft); }
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 14px; background: transparent; color: var(--ink); cursor: pointer; align-content: center; justify-items: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Portada ── */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.hero__lead { margin-top: 22px; max-width: 31em; font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.trust li { position: relative; padding-left: 20px; }
.trust li::before { content: ''; position: absolute; left: 2px; top: 4px; width: 6px; height: 11px; border: solid var(--mint); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }

.phones { position: relative; display: flex; justify-content: center; min-height: 600px; }
.phone { width: min(250px, 58%); border-radius: 30px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.phone img { width: 100%; }
.phone--back { position: absolute; left: 50%; top: 0; transform: translateX(-98%) rotate(-3deg); }
.phone--front { position: absolute; left: 50%; top: 56px; transform: translateX(-2%) rotate(2.5deg); }

/* ── Secciones ── */
section { padding: 84px 0; }
.section-head { max-width: 660px; margin-bottom: 44px; }
h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--ink-2); font-size: 19px; }
h3 { font-size: 19px; letter-spacing: -0.015em; }

/* Demo: la frase dicha y la cotización que sale */
.demo { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.demo__label { margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
/* Índice de oficios: una lista numerada, no botones. El elegido se marca con una barra y se corre hacia la derecha. */
.trades { border-top: 1px solid var(--line); }
.trade { position: relative; display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 13px 4px 13px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); font: inherit; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; text-align: left; cursor: pointer; transition: color 0.25s ease, padding-left 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.trade::before { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 3px; background: var(--primary); transform: translateY(-50%); transition: height 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.trade__n { font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; opacity: 0.7; }
.trade:hover { color: var(--ink); }
.trade[aria-pressed='true'] { padding-left: 16px; color: var(--ink); }
.trade[aria-pressed='true']::before { height: 60%; }
.trade[aria-pressed='true'] .trade__n { color: var(--primary); opacity: 1; }
.demo__stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 640px; }
.demo__stage > * { min-width: 0; }

.say { padding: 20px 22px 24px; border-radius: 24px; color: #eaf0ff; background: radial-gradient(120% 90% at 50% 0%, #1f2f8f 0%, #0c1233 70%); box-shadow: var(--shadow); }
.say__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #b9c6ff; }
.say__orb { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(from 200deg, #6a4cff, #2d7bff, #22d3ee, #34f0b8, #6a4cff); box-shadow: 0 0 0 4px rgb(34 211 238 / 22%); animation: orb-pulse 2.2s ease-in-out infinite; }
.say__text { min-height: 7.2em; font-size: 19px; line-height: 1.5; font-weight: 600; }
.say__text.is-typing::after { content: ''; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: text-bottom; background: #34f0b8; animation: caret 0.9s steps(1) infinite; }
.demo__note { font-size: 15.5px; color: var(--ink-2); }

.paper { padding: 26px 26px 22px; border-radius: 12px; background: #fff; color: #1a2236; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.4; }
.paper small { display: block; font-size: 10.5px; letter-spacing: 0.06em; font-weight: 800; color: #3a5bf0; }
.paper__head { display: flex; align-items: center; gap: 14px; }
.paper__logo { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 12px; border: 1.5px dashed #b9c4e6; font-size: 11px; font-weight: 700; color: #8a97b8; text-align: center; line-height: 1.1; }
.paper__business { flex: 1; min-width: 0; }
.paper__business b { display: block; font-size: 16px; }
.paper__business span { display: block; font-size: 12px; color: #6b7690; }
.paper__title { text-align: right; font-size: 18px; font-weight: 800; color: #3a5bf0; letter-spacing: -0.01em; }
.paper__title small { color: #7b879e; font-weight: 600; letter-spacing: 0; font-size: 12px; }
.paper__rule { height: 2px; margin: 16px 0; background: #3a5bf0; border-radius: 2px; }
.paper__meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.paper__meta b { display: block; font-size: 16px; }
.paper__meta div:last-child { text-align: right; }
.paper__table { width: 100%; border-collapse: collapse; }
.paper__table th { padding: 8px 6px; text-align: left; font-size: 11.5px; font-weight: 800; border-bottom: 2px solid #3a5bf0; }
.paper__table th:not(:first-child), .paper__table td:not(:first-child) { text-align: right; white-space: nowrap; }
.paper__table td { padding: 9px 6px; border-bottom: 1px solid #e6ebf5; }
.paper__table td:last-child { font-weight: 800; }
.paper__table tbody tr.is-new { animation: row-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.paper__total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 0 auto; padding: 10px 6px; width: 62%; border-top: 2px solid #3a5bf0; font-weight: 800; }
.paper__total b { font-size: 22px; color: #3a5bf0; letter-spacing: -0.02em; }
.paper__sign { display: flex; justify-content: flex-end; margin-top: 14px; }
.paper__sign span { width: 38%; padding-top: 6px; border-top: 1px solid #9aa6c3; text-align: center; font-size: 11px; color: #8a97b8; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 64px; counter-reset: step; }
.steps3 li { position: relative; padding-top: 52px; }
.steps3 li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--primary-soft); color: var(--primary); }
.steps3 h3 { margin-bottom: 6px; }
.steps3 p { color: var(--ink-2); }

/* Qué incluye */
.includes { background: var(--surface); border-block: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
.section-head + .feature { border-top: 0; padding-top: 0; }
.feature--flip .feature__text { order: 2; }
.feature h3 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.025em; margin-bottom: 18px; }
.bullets { display: grid; gap: 12px; }
.bullets li { position: relative; padding-left: 30px; color: var(--ink-2); }
.bullets li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 8px; height: 14px; border: solid var(--mint); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.shots { display: flex; justify-content: center; gap: 18px; }
.shots .phone { width: min(240px, 46%); box-shadow: var(--shadow); }
.shots .phone:nth-child(2) { margin-top: 36px; }

.designs { display: grid; gap: 18px; justify-items: center; width: 100%; }
.designs__head { text-align: center; }
.designs__title { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.designs__num { display: inline-block; min-width: 1.35em; padding: 0 0.2em; margin-right: 0.12em; border-radius: 0.3em; background: var(--primary); color: var(--primary-ink); text-align: center; box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 32%, transparent); }
.designs__lead { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.designs__bar { display: flex; align-items: baseline; justify-content: center; gap: 14px; flex-wrap: wrap; }
.designs__pause { min-height: 44px; padding: 10px 12px; border: 0; background: none; color: var(--primary); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.designs__strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 520px; }
/* Cada formato se elige tocando su miniatura real: el PDF en chico, con su nombre abajo. */
.design { display: grid; gap: 7px; justify-items: center; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 11.5px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; transition: color 0.25s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.design img { width: 100%; height: auto; border-radius: 4px; border: 2px solid transparent; background: #fff; box-shadow: var(--shadow); opacity: 0.72; transition: opacity 0.25s ease, border-color 0.25s ease; }
.design:hover { color: var(--ink); transform: translateY(-3px); }
.design:hover img { opacity: 1; }
.design[aria-pressed='true'] { color: var(--primary); transform: translateY(-4px); }
.design[aria-pressed='true'] img { opacity: 1; border-color: var(--primary); }
.designs__stage { position: relative; width: min(100%, 460px); aspect-ratio: 520 / 589; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.designs__img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: translateY(28px) scale(0.96); transition: opacity 0.4s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.designs__img.is-on { opacity: 1; transform: none; }
.designs__img.is-out { opacity: 0; transform: translateY(-22px) scale(0.985); transition-duration: 0.35s; }
.designs__caption { font-size: 15px; color: var(--ink-2); text-align: center; }

.extras { margin-top: 24px; padding: 40px 0 0; border-top: 1px solid var(--line); }
.extras h3 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.025em; margin-bottom: 22px; }
.extras ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 40px; }
.extras li { color: var(--ink-2); font-size: 16px; }
.extras b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }

/* Antes y ahora */
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { padding: 30px 30px 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.compare__col h3 { font-size: 20px; margin-bottom: 16px; }
.compare__col ul { display: grid; gap: 12px; }
.compare__col li { position: relative; padding-left: 30px; color: var(--ink-2); }
.compare__col--before h3 { color: var(--muted); }
.compare__col--before li::before { content: '✕'; position: absolute; left: 2px; top: 0; color: var(--muted); font-weight: 800; }
.compare__col--after { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); box-shadow: 0 14px 36px color-mix(in srgb, var(--primary) 14%, transparent); }
.compare__col--after h3 { color: var(--primary); }
.compare__col--after li { color: var(--ink); font-weight: 600; }
.compare__col--after li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 8px; height: 14px; border: solid var(--mint); border-width: 0 3px 3px 0; transform: rotate(40deg); }

/* Precio */
.price { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.price__amount { margin-top: 18px; font-size: clamp(56px, 10vw, 92px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.price__amount small { font-size: 0.26em; letter-spacing: -0.01em; color: var(--muted); font-weight: 700; margin-left: 6px; }
.price__once { margin-top: 12px; font-weight: 700; color: var(--ink-2); max-width: 28em; }
.price__list { margin-top: 24px; display: grid; gap: 12px; }
.price__list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.price__list li::before { content: ''; position: absolute; left: 3px; top: 5px; width: 9px; height: 15px; border: solid var(--mint); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.price__list b { color: var(--ink); }
.price__box { padding: 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.price__steps { display: grid; gap: 10px; counter-reset: s; }
.price__steps li { position: relative; padding-left: 38px; color: var(--ink-2); }
.price__steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; background: var(--primary-soft); color: var(--primary); }
.price__note { padding: 12px 14px; border-radius: 12px; background: var(--primary-soft); font-size: 14.5px; font-weight: 600; }
.price__login { font-weight: 700; color: var(--primary); text-decoration: none; text-align: center; font-size: 15px; }

/* Preguntas */
.faq { background: var(--surface); border-block: 1px solid var(--line); }
.faq__wrap { max-width: 820px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { position: relative; display: block; padding: 20px 44px 20px 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border: solid var(--ink-2); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.faq__item[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq__item p { padding: 0 44px 22px 0; color: var(--ink-2); animation: faq-in 0.35s ease both; }
.faq__more { margin-top: 28px; color: var(--ink-2); }
.faq__more a { color: var(--primary); font-weight: 700; }

/* Cierre */
.closing { padding: 88px 0; text-align: center; color: #fff; background: radial-gradient(90% 140% at 50% 0%, #2f48d6 0%, #1a2470 60%, #0c1233 100%); }
.closing h2 { max-width: 14em; margin: 0 auto; }
.closing p { margin: 16px auto 30px; max-width: 30em; font-size: 19px; color: #c8d2ff; }

/* Pie */
.foot { padding: 40px 0 56px; text-align: center; color: var(--muted); }
.credit { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--muted); }
.credit__by { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.credit__name { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.credit:hover .credit__name { color: var(--primary); }

/* Barra de compra del celular: aparece después de la portada y se esconde en el precio */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 12; display: none; align-items: center; justify-content: center; min-height: 54px; border-radius: 18px; background: var(--primary); color: var(--primary-ink); font-weight: 800; text-decoration: none; box-shadow: 0 14px 34px color-mix(in srgb, var(--primary) 42%, transparent); transform: translateY(140%); transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sticky-cta.is-on { transform: none; }

/* Aparecer al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.34, 1.3, 0.64, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes orb-pulse { 50% { box-shadow: 0 0 0 8px rgb(34 211 238 / 10%); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes row-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ── Acceso ── */
.gate { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.gate__card { width: 100%; max-width: 420px; padding: 32px 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
.gate__card h1 { font-size: 30px; letter-spacing: -0.03em; }
.gate__card p { color: var(--ink-2); font-size: 16px; }
.field { display: grid; gap: 8px; }
.field span { font-weight: 700; font-size: 14px; }
.field input { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; }
.field input:focus { outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent); border-color: var(--primary); }
.gate__error { padding: 12px 14px; border-radius: 12px; background: #fdeaeb; color: #b42329; font-weight: 700; font-size: 15px; }
@media (prefers-color-scheme: dark) { .gate__error { background: #3d1a1d; color: #ff7a7f; } }
.gate__note { padding: 12px 14px; border-radius: 12px; background: var(--primary-soft); color: var(--ink); font-size: 14.5px; font-weight: 600; }
.gate__back { text-align: center; font-size: 15px; }
.gate__back a { color: var(--primary); font-weight: 700; text-decoration: none; }

/* ── Pantallas chicas ── */
@media (max-width: 860px) {
  /* Sin desenfoque en la barra: así el panel del menú puede desenfocar de verdad lo que tiene detrás. */
  .top { backdrop-filter: none; background: var(--bg); }
  .burger { display: grid; }
  .top__end { margin-left: auto; }
  .nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 20;
    flex-direction: column;
    gap: 2px;
    min-width: 210px;
    margin: 0;
    padding: 8px;
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    transform-origin: top right;
    transform: translateY(-10px) scale(0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease, visibility 0s linear 0.45s;
  }
  .nav[data-open='true'] { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease, visibility 0s; }
  .nav a { padding: 13px 16px; font-size: 16px; opacity: 0; transform: translateY(-8px); transition: opacity 0.15s ease, transform 0.25s ease, color 0.2s ease, background-color 0.2s ease; }
  .nav[data-open='true'] a { opacity: 1; transform: none; transition: opacity 0.25s ease calc(var(--i) * 45ms + 60ms), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--i) * 45ms), color 0.2s ease, background-color 0.2s ease; }

  .demo { gap: 28px; }
  .demo__index, .demo__stage { min-width: 0; }
  .trades { display: flex; gap: 22px; margin: 0 -24px; padding: 0 24px; border-top: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .trades::-webkit-scrollbar { display: none; }
  .trades li { flex: none; scroll-snap-align: start; }
  .trade { width: auto; padding: 10px 2px 11px; border-bottom: 2.5px solid transparent; font-size: 17px; white-space: nowrap; }
  .trade__n, .trade::before { display: none; }
  .trade[aria-pressed='true'] { padding-left: 2px; border-bottom-color: var(--primary); }
  .designs { justify-items: stretch; }
  .designs__stage { justify-self: center; }
  .designs__strip { display: flex; gap: 12px; margin: 0 -24px; padding: 6px 24px 8px; width: auto; max-width: none; overflow-x: auto; scrollbar-width: none; }
  .designs__strip::-webkit-scrollbar { display: none; }
  .design { flex: none; width: 78px; }
  .hero__grid, .demo, .price, .feature, .compare__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .phones { min-height: 600px; order: 2; }
  .feature--flip .feature__text { order: 0; }
  .steps3 { grid-template-columns: 1fr; gap: 28px; }
  .extras ul { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: flex; }
  .foot { padding-bottom: 96px; }
}
@media (max-width: 560px) {
  .extras ul { grid-template-columns: 1fr; }
  .paper { padding: 20px 16px 18px; font-size: 13px; }
  .paper__total { width: 80%; }
}
@media (max-width: 520px) { .top__long { display: none; } }
@media (max-width: 380px) {
  .paper { padding: 16px 12px 14px; font-size: 12px; }
  .paper__title { font-size: 15px; }
  .paper__logo { width: 44px; height: 44px; }
  .paper__table th, .paper__table td { padding-inline: 3px; }
  .paper__total { width: 88%; }
  .paper__total b { font-size: 19px; }
  .say { padding: 16px 16px 18px; }
  .say__text { font-size: 16px; }
}
/* Celular acostado: poca altura, así que barra más baja y sin la barra de compra flotante. */
@media (max-height: 520px) and (orientation: landscape) {
  .top__bar { min-height: 52px; }
  .nav { max-height: calc(100dvh - 64px); }
  .sticky-cta { display: none; }
  .foot { padding-bottom: 40px; }
}
@media (max-height: 520px) and (orientation: landscape) and (min-width: 640px) {
  .hero { padding: 28px 0 56px; }
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px; }
  .phones { order: 0; min-height: 440px; }
  .phone { width: min(190px, 52%); }
  .phone--front { top: 36px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .trades, .designs__strip { margin-inline: -18px; padding-inline: 18px; }
  .hero__cta .btn { width: 100%; }
  .phones { min-height: 440px; }
  .phone { width: 52%; }
  .say__text { font-size: 17px; }
  .compare__col { padding: 24px 22px 26px; }
}

/* Con "reducir movimiento": sin rebotes ni escalas; el menú solo aparece y desaparece suavemente. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .trade, .trade::before, .design, .design img, .nav a, .burger span, .faq__item summary::after, .sticky-cta { transition-duration: 0.01s !important; transition-delay: 0s !important; }
  .designs__img, .designs__img.is-on, .designs__img.is-out { transform: none !important; transition: opacity 0.6s ease !important; }
  .nav { transform: none !important; transition: opacity 0.18s ease, visibility 0s linear 0.18s !important; }
  .nav[data-open='true'] { transition: opacity 0.18s ease, visibility 0s !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .say__orb, .say__text.is-typing::after, .paper__table tbody tr.is-new, .faq__item p { animation: none; }
}
