/* OKTO Nexus · web de venta v3
   Sistema: blanco + tinta + índigo del producto. Bricolage Grotesque para la web,
   Montserrat solo dentro de las pantallas del producto (ui.css). */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('fonts/BricolageGrotesque-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Montserrat-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #ffffff;
  --paper-2: #f4f5f7;
  --paper-3: #e9ebef;
  --ink: #15181e;
  --ink-2: #4a5566;
  --ink-3: #5d6676;
  --line: #e2e5ea;
  --line-2: #cfd4dc;
  --accent: #4f46e5;
  --accent-2: #3f37c9;
  --accent-soft: #e6e5fb;
  --accent-ink: #312e81;
  --ok: #047857;
  --font: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --radius: 10px;
  --shadow-shot: 0 1px 2px rgba(15, 23, 42, .06), 0 24px 48px -24px rgba(15, 23, 42, .28);
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --hdr: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss02' 0;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 520; letter-spacing: -.022em; line-height: 1.04; font-stretch: 90%; text-wrap: balance; }
.h1 { font-size: clamp(40px, 5.1vw, 70px); font-weight: 500; letter-spacing: -.03em; line-height: .98; font-stretch: 88%; }
.h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 520; letter-spacing: -.026em; line-height: 1.04; font-stretch: 88%; }
.h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 540; letter-spacing: -.018em; line-height: 1.12; font-stretch: 92%; }
.h4 { font-size: 19px; font-weight: 580; letter-spacing: -.01em; line-height: 1.25; font-stretch: 96%; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 34em; }
.body { max-width: 36em; }
.small { font-size: 15px; line-height: 1.5; }
.fine { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }
.time {
  font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--accent); font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 8px;
}
.time::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
strong, b { font-weight: 600; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(56px, 6.6vw, 96px); }
.sec-tight { padding-block: clamp(48px, 6vw, 88px); }
.sec-alt { background: var(--paper-2); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; }
.c-4 { grid-column: span 4; }
.c-5 { grid-column: span 5; }
.c-6 { grid-column: span 6; }
.c-7 { grid-column: span 7; }
.c-8 { grid-column: span 8; }
.c-12 { grid-column: 1 / -1; }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head .lead { margin-top: 18px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  background: var(--accent); color: #fff; font-weight: 560; font-size: 16px; letter-spacing: -.005em;
  transition: background-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(79, 70, 229, .7); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .12s; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: #000; }
.link { font-weight: 560; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: var(--line-2); transition: text-decoration-color .18s; }
.link:hover { text-decoration-color: var(--ink); }
.link-accent { color: var(--accent); text-decoration-color: var(--accent-soft); }
.link-accent:hover { text-decoration-color: var(--accent); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 30px; }

/* ---------- Cabecera ---------- */
.top {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 640; font-size: 19px; letter-spacing: -.02em; font-stretch: 92%; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; font-family: 'Montserrat', var(--font); }
.nav { display: flex; gap: 6px; margin-left: 8px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.top-right .enter { font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.top-right .enter:hover { color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 8px; align-items: center; justify-content: center; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); position: relative; display: block; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.mnav { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(44px, 6vw, 84px); padding-bottom: clamp(48px, 5vw, 72px); overflow: hidden; }
.hero-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 72px; align-items: end; }
.hero .h1 { max-width: 30ch; }
.hero .lead { margin-top: 24px; max-width: 31em; }
.hero-facts { border-bottom: 1px solid var(--line); }
.hero-facts li { border-top: 1px solid var(--line); padding: 13px 0; }
.hero-facts b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.hero-facts span { display: block; font-size: 14.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.4; }
.hero-shot { margin-top: clamp(40px, 4.5vw, 64px); position: relative; }
.hero-cap { margin-top: 16px; display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--ink-2); }
.ring-swatch { flex: none; width: 30px; height: 18px; border: 2px solid var(--accent); border-radius: 6px; box-shadow: 0 0 0 3px rgba(79, 70, 229, .16); }

/* Marco de producto: la pantalla se diseña a un ancho fijo (data-w / data-wm) y se escala con zoom al marco. Nunca hay scroll interno. */
.shot {
  position: relative; border: 1px solid #d8dfe9; border-radius: 14px; overflow: hidden; background: #eef1f6;
  box-shadow: var(--shadow-shot); margin: 0;
}
.shot-scroll { overflow: hidden; }
.shot-scroll > .ui { min-width: 0; }

/* ---------- Cinta de conexiones ---------- */
.conn { border-bottom: 1px solid var(--line); }
.conn .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; padding-block: 18px; }
.conn-lbl { font-size: 14px; color: var(--ink-3); margin-right: 22px; }
.conn-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.conn-list li { font-weight: 600; font-size: 17px; letter-spacing: -.012em; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.conn-list .dim { color: var(--ink-2); font-weight: 500; }
.conn-sep { width: 1px; height: 22px; background: var(--line-2); margin-inline: 22px; }
.wm { font-family: 'Montserrat', var(--font); }
.wm-booking { color: #003580; font-weight: 700; }
.wm-airbnb { color: #ff5a5f; font-weight: 700; }
.wm-expedia { color: #1d2b4a; font-weight: 700; }
.wm-vrbo { color: #1668e3; font-weight: 700; }

/* ---------- Problema ---------- */
.prob { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 72px; align-items: start; }
.prob .lead { margin-top: 20px; }
.tools { border-top: 1px solid var(--line); }
.tools li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.tools li span:last-child { color: var(--ink-3); font-size: 14.5px; text-align: right; }
.tools li span:only-child { color: inherit; font-size: inherit; text-align: left; }
.tools-sum { margin-top: 18px; font-size: 17px; font-weight: 520; color: var(--ink); max-width: 30em; }

/* ---------- Recorrido de la reserva: acordeón (una pantalla a la vez) ---------- */
.ticket {
  display: inline-grid; grid-auto-flow: column; align-items: center; gap: 22px;
  border: 2px solid var(--accent); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); border-radius: 12px; padding: 12px 18px; background: var(--paper);
  font-size: 15px;
}
.ticket .k { color: var(--ink-3); font-size: 12.5px; display: block; }
.ticket .v { font-weight: 600; white-space: nowrap; }
.rt { margin-top: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line-2); }
.rt-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; align-items: center; padding-block: 40px; border-top: 1px solid var(--line-2); }
.rt-txt { min-width: 0; }
.rt-txt .time { font-size: 14px; }
.rt-h { font-size: clamp(22px, 2vw, 28px); font-weight: 540; line-height: 1.14; letter-spacing: -.018em; color: var(--ink); font-stretch: 90%; margin: 10px 0 16px; }
.rt-txt p { color: var(--ink-2); font-size: 16px; max-width: 32em; }
.rt-txt .fact { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.rt-shot { min-width: 0; }
.rt-rail { display: none; }
.phone-stage { display: grid; place-items: center; padding: 8px 0; }

/* ---------- Diferenciadores ---------- */
.dif3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gutter); margin-bottom: clamp(36px, 4vw, 56px); }
.dif3 > div { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; }
.dif3 p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.dif3 .link { margin-top: auto; padding-top: 6px; align-self: flex-start; font-size: 15.5px; }
.dif-cap { margin-top: 14px; max-width: 62em; }

/* ---------- Apps ---------- */
.apps-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px 72px; align-items: end; margin-bottom: clamp(36px, 4vw, 52px); }
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.app .phone { width: 100%; max-width: 290px; }
.app .h4 { margin-top: 18px; }
.app p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.app .who { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.photo { position: relative; border-radius: 14px; overflow: hidden; background: var(--paper-3); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.app-photo { aspect-ratio: 290 / 600; }
.app-photo img { object-position: 58% 50%; }
.photo::after { content: ''; position: absolute; inset: 55% 0 0 0; background: linear-gradient(to bottom, rgba(20, 24, 30, 0), rgba(20, 24, 30, .6)); pointer-events: none; }
.photo figcaption { position: absolute; left: 16px; bottom: 14px; right: 16px; font-size: 14px; line-height: 1.4; color: #fff; z-index: 1; }

.apps-hint { display: none; font-size: 13.5px; color: var(--ink-3); margin: -8px 0 14px; }

/* ---------- IA: pestañas ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { padding: 14px 18px 12px; font-size: 16px; font-weight: 540; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; border-radius: 0; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab:hover { color: var(--ink); }
.panel { display: none; padding-top: 32px; }
.panel.is-on { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px var(--gutter); align-items: start; }
.panel p { color: var(--ink-2); }
.panel .h3 { margin-bottom: 12px; }
.panel .fact { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* ---------- Precios ---------- */
.price-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px var(--gutter); align-items: start; }
.mods { border-top: 1px solid var(--line); }
.mods li { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mods .code { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mods .n { font-weight: 560; font-size: 16px; }
.mods .d { display: block; font-size: 13.5px; color: var(--ink-3); font-weight: 400; margin-top: 1px; }
.mods .p { font-weight: 560; font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mods .p small { font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.mods li.inc { padding: 7px 0; }
.mods li.inc .p { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.mods li.inc .n { font-weight: 500; }
.suite { margin-top: 18px; border: 1.5px solid var(--ink); border-radius: 14px; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; }
.suite .n { font-weight: 600; font-size: 18px; }
.suite .d { font-size: 14px; color: var(--ink-2); }
.suite .p { font-size: 34px; font-weight: 560; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.suite .p small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); margin-left: 4px; }
.suite .was { font-size: 13.5px; color: var(--ink-3); text-decoration: line-through; margin-right: 6px; }

.calc { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--paper); position: sticky; top: 100px; }
.calc .h3 { margin-bottom: 4px; }
.calc .hint { font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }
.calc-row { display: grid; grid-template-columns: 1fr 96px; gap: 16px; align-items: center; margin-bottom: 8px; }
.calc label { font-size: 14px; font-weight: 560; display: block; margin-bottom: 8px; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 32px; }
.calc input[type="number"] { width: 100%; min-height: 44px; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0 12px; font-size: 18px; font-weight: 560; text-align: right; font-variant-numeric: tabular-nums; }
.calc input[type="number"]:focus { border-color: var(--ink); outline: none; }
.seg { display: inline-grid; grid-auto-flow: column; border: 1.5px solid var(--line-2); border-radius: 9px; padding: 3px; margin: 14px 0 18px; }
.seg button { padding: 8px 14px; border-radius: 6px; font-size: 14.5px; font-weight: 540; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.calc-mods { display: none; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-bottom: 18px; }
.calc-mods.is-on { display: grid; }
.calc-mods label { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 450; margin: 0; padding: 6px 0; }
.calc-mods input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.calc-mods label span:last-child { margin-left: auto; color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.calc-out { border-top: 1px solid var(--line); padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-out .k { font-size: 13.5px; color: var(--ink-3); }
.calc-out .v { font-size: 34px; font-weight: 560; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-out .v small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.calc-out .sub { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.calc .fine { margin-top: 18px; }
.calc .btn { width: 100%; margin-top: 18px; }

/* ---------- Comparativa ---------- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 820px; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--paper-2); position: sticky; top: 0; }
.cmp thead th:first-child { background: var(--paper-2); }
.cmp th.okto { color: var(--ink); background: var(--accent-soft); }
.cmp tbody th { font-weight: 560; color: var(--ink); background: var(--paper); position: sticky; left: 0; min-width: 220px; }
.cmp td.okto { background: rgba(230, 229, 251, .35); font-weight: 520; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .no { color: var(--ink-3); }
.cmp .src { display: block; font-size: 12px; color: var(--ink-3); margin-top: 3px; font-weight: 400; }
.cmp-note { font-size: 13.5px; color: var(--ink-3); margin-top: 14px; max-width: 70em; }

/* ---------- Migración ---------- */
.mig { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); counter-reset: mig; }
.mig li { counter-increment: mig; border-top: 2px solid var(--ink); padding-top: 18px; }
.mig li::before { content: counter(mig, decimal-leading-zero); font-size: 14px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mig .h4 { margin-top: 8px; }
.mig p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.mig .out { margin-top: 14px; font-size: 14px; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.mig .out b { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-size: 18px; font-weight: 540; position: relative; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* ---------- CTA final + formulario ---------- */
.cta { background: var(--ink); color: #fff; }
.cta .grid { align-items: start; }
.cta .h2 { color: #fff; }
.cta .lead { color: rgba(255, 255, 255, .72); }
.cta .pts { margin-top: 28px; display: grid; gap: 12px; font-size: 15.5px; color: rgba(255, 255, 255, .85); }
.cta .pts li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.cta .pts li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #a5b4fc; margin-top: 8px; }
.form { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fl span { display: block; font-size: 14px; font-weight: 560; margin-bottom: 6px; }
.field { width: 100%; min-height: 46px; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0 12px; background: #fff; font-size: 16px; }
.field:focus { border-color: var(--ink); outline: none; }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315181e' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.fs { border: 0; padding: 0; margin: 0; }
.fs legend { font-size: 14px; font-weight: 560; margin-bottom: 8px; padding: 0; }
.fs .op { font-weight: 400; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 7px 11px; font-size: 14px; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.chip input { accent-color: var(--accent); margin: 0; }
.hp { position: absolute; left: -9999px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.chk input { margin-top: 3px; accent-color: var(--accent); }
.chk a { text-decoration: underline; text-underline-offset: 3px; }
.form .btn { width: 100%; }
.form .fine { text-align: center; }
.msg { font-size: 15px; font-weight: 540; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 8px; }
.msg[hidden] { display: none; }

/* ---------- Pie ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: 14.5px; color: var(--ink-2); }
.foot .grid { row-gap: 28px; }
.foot h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 12px; font-stretch: 100%; letter-spacing: 0; }
.foot ul { display: grid; gap: 8px; }
.foot a:hover { color: var(--ink); }
.foot-b { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- Frases a pantalla completa (estáticas por defecto) ---------- */
.stmt { padding-block: clamp(96px, 14vw, 200px); text-align: center; position: relative; }
.stmt-big {
  margin: 0 auto; max-width: 13ch; font-size: clamp(46px, 8.6vw, 138px); font-weight: 560; line-height: .94;
  letter-spacing: -.045em; font-stretch: 78%; text-wrap: balance; color: var(--ink);
}
.stmt-big .cnt { font-variant-numeric: tabular-nums; }
.stmt-sub { margin: clamp(22px, 3vw, 36px) auto 0; max-width: 34em; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.stmt-bg { display: none; }
.stmt-dark { background: #000; }
.stmt-dark .stmt-big { color: #fff; }
.stmt-dark .stmt-sub { color: #b4b8c0; }

/* ---------- Momento oscuro: IA ---------- */
.night { display: none; }
.sec-night { background: #000; color: #fff; }
.sec-night .h2, .sec-night .h3 { color: #fff; }
.sec-night .lead, .sec-night .panel p { color: #b4b8c0; }
.sec-night .panel .fact { color: #979ca6; }
.sec-night .tabs { border-bottom-color: #2a2d33; }
.sec-night .tab { color: #b4b8c0; }
.sec-night .tab:hover, .sec-night .tab[aria-selected="true"] { color: #fff; border-bottom-color: #fff; }
.sec-night .shot { border-color: #2a2d33; box-shadow: 0 40px 80px -40px rgba(79, 70, 229, .45); }
.sec-night :focus-visible { outline-color: #a5b4fc; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .rt-step { grid-template-columns: 1fr; row-gap: 24px; }
  .prob { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .calc { position: static; }
  .panel.is-on { grid-template-columns: 1fr; }
  .apps-intro { grid-template-columns: 1fr; }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; --hdr: 60px; }
  body { font-size: 16px; }
  .nav, .top-right .enter { display: none; }
  .menu-btn { display: inline-flex; }
  .top .wrap { height: 60px; gap: 14px; }
  .top .btn { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
  .mnav.is-open { display: block; border-bottom: 1px solid var(--line); background: #fff; }
  .mnav a { display: block; padding: 14px var(--gutter); border-top: 1px solid var(--line); font-size: 17px; font-weight: 540; }
  .grid { row-gap: 28px; }
  .c-4, .c-5, .c-6, .c-7, .c-8 { grid-column: 1 / -1; }
  .dif3 { grid-template-columns: 1fr; gap: 28px; }
  .apps { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .apps::-webkit-scrollbar { display: none; }
  .apps > * { flex: 0 0 78%; scroll-snap-align: start; }
  .app .phone { max-width: 270px; margin-inline: 0; }
  .app-photo { aspect-ratio: 270 / 558; max-width: 270px; }
  .apps-hint { display: block; }
  .mig { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .calc { padding: 22px 18px; }
  .calc-mods { grid-template-columns: 1fr; }
  .hero .lead { font-size: 17px; }
  .hero-top { grid-template-columns: 1fr; }
  .shot-hero .ui-side, .shot-hero .ui-top, .shot-hero .ui-ph .acts, .shot-hero .cal-bar .otas, .shot-hero .mx, .shot-hero .cal-props small { display: none; }
  .shot-hero .ui-shell.compact { grid-template-columns: minmax(0, 1fr); }
  .shot-hero .ui-main { padding: 12px; }
  .shot-hero .ui-ph { margin-bottom: 12px; }
  .shot-hero .ui-ph h1 { font-size: 18px; }
  .shot-hero .ui-ph .sub { font-size: 12.5px; }
  .shot-hero .ui-tile { width: 36px; height: 36px; border-radius: 11px; }
  .shot-hero .hero-work { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .shot-hero .cal { --dw: 34px; border-radius: 12px; }
  .shot-hero .cal-bar { padding: 8px 10px; gap: 6px; }
  .shot-hero .cal-grid { grid-template-columns: 98px minmax(0, 1fr); }
  .shot-hero .cal-row.dh, .shot-hero .cal-row.pr { translate: calc(var(--dw) * -2) 0; }
  .ticket { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .conn-sep { display: none; }
  .mods li { grid-template-columns: 1fr auto; }
  .mods .code { display: none; }
  .mods .p { text-align: right; white-space: normal; }
  .mods .p small { display: block; white-space: nowrap; }
  .tabs { flex-wrap: wrap; overflow: visible; }
  .tab { padding: 10px 12px 9px; font-size: 15px; }
  .ticket .v { white-space: normal; }
  .conn-lbl { width: 100%; margin: 0 0 4px; }
  .suite { grid-template-columns: 1fr; }
  .calc-out { grid-template-columns: 1fr; }
  .cmp tbody th { min-width: 132px; }
  .cmp { min-width: 700px; font-size: 14px; }
  .cmp th, .cmp td { padding: 12px 12px; }
}
@media (max-width: 480px) {
  .mig { grid-template-columns: 1fr; }
  .ctas .btn { width: 100%; }
}
.rt-txt { scroll-margin-top: 88px; }
