/* =====================================================================
   Ventaza — página de presentación
   Paleta: el verde azulado de la app + un acento cálido (ámbar) para invitar a la acción.
   ===================================================================== */

:root {
  --bg: #f6f3ee;            /* blanco cálido */
  --bg-2: #eef3f1;
  --ink: #0b1324;           /* azul noche (el de la barra de la app) */
  --ink-soft: #43506a;
  --mute: #6b7489;
  --brand: #0f766e;         /* verde azulado de Ventaza */
  --brand-2: #14b8a6;
  --brand-ink: #0b4f4a;
  --accent: #f59e0b;        /* ámbar */
  --accent-2: #fb7185;      /* coral suave, solo en el fondo */
  --line: rgba(11, 19, 36, 0.1);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-solid: rgba(255, 255, 255, 0.86);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(11, 19, 36, 0.06), 0 12px 32px -12px rgba(11, 19, 36, 0.18);
  --shadow-lg: 0 40px 80px -30px rgba(11, 19, 36, 0.45);
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
em { font-style: normal; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 8px; }

/* ---------- Revelado al hacer scroll ---------- */
/* Solo se esconde si hay JavaScript (clase .js en <html>), y aun así aparece solo a los 5 s
   si el script no llegara a correr: el contenido nunca queda invisible. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js:not(.js-ready) .reveal { animation: revealSafety 0.6s 5s forwards; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensa: nunca invisible */
@keyframes revealSafety { to { opacity: 1; transform: none; } }

/* ---------- Fondo de malla (gradiente que se mueve lento) ---------- */
.mesh { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.mesh i {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(80px); opacity: 0.55; mix-blend-mode: multiply;
  animation: drift 26s ease-in-out infinite;
}
.mesh i:nth-child(1) { background: #99f6e4; top: -25vmax; left: -15vmax; }
.mesh i:nth-child(2) { background: #fde68a; top: -10vmax; right: -25vmax; animation-delay: -9s; animation-duration: 32s; }
.mesh i:nth-child(3) { background: #fecdd3; bottom: -35vmax; left: 25%; animation-delay: -17s; animation-duration: 38s; opacity: 0.4; }
.mesh--soft i { opacity: 0.32; }
.pricing .mesh, .final .mesh { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.hero .mesh { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(6vmax, 4vmax) scale(1.08); }
  66% { transform: translate(-4vmax, 6vmax) scale(0.94); }
}

/* ---------- Botones ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer;
  padding: 13px 20px; border-radius: 14px; border: 1px solid transparent;
  transform: translate(var(--mx), var(--my));
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.btn--lg { padding: 17px 26px; font-size: 16px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, #0d9488 100%); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(15, 118, 110, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn--primary:hover { box-shadow: 0 16px 34px -12px rgba(15, 118, 110, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--ghost { background: var(--glass-solid); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: rgba(15, 118, 110, 0.45); color: var(--brand-ink); }
.btn .wa { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.btn:hover .wa { transform: none; }
.link-quiet { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.link-quiet:hover { color: var(--brand-ink); }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__logo {
  width: 40px; height: 40px; flex: none; border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.14), 0 6px 14px -6px rgba(15, 118, 110, 0.55);
}
.brand__name { font: 800 21px/1 var(--display); letter-spacing: -0.03em; }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 12px 12px auto; z-index: 50; }
.nav__inner {
  display: flex; align-items: center; gap: 24px;
  max-width: 1200px; margin: 0 auto; padding: 10px 12px 10px 18px;
  border-radius: 18px; border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav.is-scrolled .nav__inner {
  background: var(--glass-solid); border-color: rgba(255, 255, 255, 0.8); box-shadow: var(--shadow);
}
@supports (backdrop-filter: blur(10px)) {
  .nav.is-scrolled .nav__inner { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); }
}
.nav__links { position: relative; display: flex; gap: 6px; margin-left: auto; }
.nav__links a { position: relative; z-index: 1; padding: 8px 12px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-soft); transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__underline {
  position: absolute; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand);
  left: var(--ul-x, 0); width: var(--ul-w, 0); opacity: var(--ul-o, 0);
  transition: left 0.3s var(--ease), width 0.3s var(--ease), opacity 0.2s;
}
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; }
.nav__burger span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
.nav__burger[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__sheet {
  margin: 8px auto 0; max-width: 1200px; padding: 12px; display: grid; gap: 4px;
  background: var(--glass-solid); border-radius: 18px; box-shadow: var(--shadow); border: 1px solid #fff;
}
.nav__sheet[hidden] { display: none; }
.nav__sheet a:not(.btn) { padding: 12px 10px; text-decoration: none; font-weight: 600; border-radius: 10px; }
.nav__sheet .btn { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: var(--glass-solid); border: 1px solid #fff; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; color: var(--brand-ink);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2); }
.hero__title { margin-top: 22px; font-size: clamp(42px, 5.6vw, 76px); font-weight: 800; letter-spacing: -0.035em; }
.hero__title em, .section-title em, .final h2 em {
  background: linear-gradient(100deg, var(--brand) 10%, #0d9488 45%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin-top: 22px; max-width: 34em; font-size: 19px; color: var(--ink-soft); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--mute); font-size: 14px; font-weight: 500; }
.hero__chips li::before { content: '✓'; margin-right: 7px; color: var(--brand); font-weight: 800; }

.hero__stage { position: relative; perspective: 1400px; }
.device { margin: 0; }
.device--laptop {
  border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  transform: rotateY(var(--ry, -9deg)) rotateX(var(--rx, 4deg));
  transform-style: preserve-3d; transition: transform 0.6s var(--ease);
}
.device__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; }
.device__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.device__bar span:nth-child(1) { background: #fca5a5; }
.device__bar span:nth-child(2) { background: #fcd34d; }
.device__bar span:nth-child(3) { background: #86efac; }
.device__bar b { margin-left: 10px; font: 600 12px/1 var(--body); color: var(--mute); }
.device--phone {
  width: 31%; border-radius: 30px; overflow: hidden; background: #0b1324;
  border: 7px solid #0b1324; box-shadow: var(--shadow-lg);
}
.device--phone img { border-radius: 22px; }
.hero__stage .device--phone { position: absolute; right: -4%; bottom: -14%; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 16px; background: var(--glass-solid); border: 1px solid #fff; box-shadow: var(--shadow);
  font-size: 13px;
}
@supports (backdrop-filter: blur(10px)) {
  .float-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(14px) saturate(170%); -webkit-backdrop-filter: blur(14px) saturate(170%); }
}
.float-card small { display: block; color: var(--mute); }
.float-card strong { font-family: var(--display); font-size: 17px; }
.float-card__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; }
.float-card__icon--ok { background: #ccfbf1; color: var(--brand); }
.float-card--sale { left: -6%; bottom: 16%; animation: bob 8s -2s ease-in-out infinite; }
.float-card--net { left: 8%; top: -9%; animation: bob 9s -4s ease-in-out infinite; }
.net-dot { width: 12px; height: 12px; margin: 0 4px 0 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.22); transition: background 0.4s, box-shadow 0.4s; }
.float-card--net.is-online .net-dot { background: var(--brand-2); box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.22); }

/* ---------- Rubros (cinta) ---------- */
.rubros { display: flex; align-items: center; gap: 24px; padding: 18px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.5); }
.rubros__label { flex: none; padding-left: max(20px, calc((100vw - 1200px) / 2)); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { padding: 0 22px; font: 700 20px/1 var(--display); color: var(--ink-soft); white-space: nowrap; }
.marquee__track span::after { content: '•'; margin-left: 44px; color: var(--brand-2); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Títulos de sección ---------- */
section { position: relative; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.kicker--light { color: #5eead4; }
.section-title { margin-top: 12px; font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; max-width: 17em; }
.section-title--light { color: #fff; }

/* ---------- Dolor / antes y después ---------- */
.pains { padding: 110px 0 40px; }
.pains .section-title { max-width: 14em; }
.pains__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pain { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.pain h3 { font-size: 24px; }
.pain p { color: var(--ink-soft); }
.pain__before { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #b45309; background: #fef3c7; padding: 4px 10px; border-radius: 999px; }
.pain__after { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-weight: 600; color: var(--brand-ink); }

/* ---------- Funciones (bento) ---------- */
.features { padding: 110px 0; }
.bento { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; padding: 26px; border-radius: var(--radius); overflow: hidden;
  background: var(--glass-solid); border: 1px solid #fff; box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
@supports (backdrop-filter: blur(10px)) {
  .card { background: var(--glass); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); }
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow), 0 24px 50px -24px rgba(15, 118, 110, 0.45); }
.card h3 { margin-top: 18px; font-size: 22px; }
.card p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }
.card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--brand); background: linear-gradient(140deg, #ccfbf1, #f0fdfa); border: 1px solid #fff; }
.card__icon svg { width: 24px; height: 24px; }
.card--xl { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.card--xl h3 { font-size: 30px; }
.card__shot { margin-top: auto; padding-top: 22px; width: 118%; max-width: none; border-radius: 14px 14px 0 0; transform: translateX(-2%); filter: drop-shadow(0 20px 30px rgba(11, 19, 36, 0.18)); }
.card--offline { grid-column: span 2; background: linear-gradient(140deg, #0b1324, #12304a); color: #fff; border-color: rgba(255, 255, 255, 0.08); }
.card--offline p { color: #c7d2e0; }
.card--offline .card__icon { background: rgba(255, 255, 255, 0.08); color: #5eead4; border-color: rgba(255, 255, 255, 0.12); }
.queue { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.queue li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; }
.queue span { color: #c7d2e0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue b { color: #fff; font-variant-numeric: tabular-nums; }
.queue i { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; color: #fcd34d; background: rgba(245, 158, 11, 0.16); }
.queue i.queue__ok { color: #5eead4; background: rgba(20, 184, 166, 0.18); }
.ticks { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: 15.5px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: #ccfbf1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Recorrido por la app ---------- */
.tour { padding: 40px 0 120px; }
.tour__tabs { margin-top: 34px; display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tour__tabs button {
  position: relative; overflow: hidden; padding: 11px 18px; border: 0; border-radius: 11px; background: transparent; cursor: pointer;
  font: 600 15px/1 var(--body); color: var(--ink-soft); transition: background 0.25s, color 0.25s;
}
.tour__tabs button:hover { color: var(--ink); }
.tour__tabs button[aria-selected='true'] { background: var(--ink); color: #fff; }
.tour__tabs button i { position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px; background: #5eead4; transform-origin: left; transform: scaleX(0); }
.tour__tabs button[aria-selected='true'] i { animation: progress var(--tour-ms, 6500ms) linear forwards; }
.tour.is-paused .tour__tabs button i { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.tour__panel { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.tour__screen { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #fff; box-shadow: var(--shadow-lg); }
.tour__frames { position: relative; aspect-ratio: 16 / 10; background: #eef2f5; }
.tour__frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.015); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.tour__frames img.is-active { opacity: 1; transform: none; }
.tour__captions { position: relative; min-height: 210px; }
.tour__captions p { position: absolute; inset: 0 0 auto; font-size: 19px; color: var(--ink-soft); opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.tour__captions p strong { display: block; margin-bottom: 8px; font: 800 30px/1.1 var(--display); color: var(--ink); }
.tour__captions p.is-active { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Sin internet (banda oscura) ---------- */
.offline { padding: 120px 0; background: var(--ink); color: #dbe4ef; overflow: hidden; }
.offline__glow { position: absolute; width: 70vmax; height: 70vmax; right: -25vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(20, 184, 166, 0.35), transparent 60%); pointer-events: none; }
.offline__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.offline__text { margin-top: 22px; font-size: 18px; color: #b8c4d4; max-width: 34em; }
.offline__list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.offline__list li { padding-left: 28px; position: relative; color: #b8c4d4; }
.offline__list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 3px; background: #5eead4; }
.offline__list b { color: #fff; }

.sync { display: flex; align-items: center; gap: 0; padding: 44px 34px; border-radius: 26px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
.sync__device, .sync__cloud { flex: none; display: grid; justify-items: center; gap: 10px; padding: 22px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); min-width: 170px; text-align: center; }
.sync__label { font-weight: 700; color: #fff; }
.sync__pill { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(245, 158, 11, 0.16); color: #fcd34d; transition: background 0.4s, color 0.4s; }
.sync__pill.is-syncing { background: rgba(94, 234, 212, 0.14); color: #99f6e4; }
.sync__pill.is-online { background: rgba(20, 184, 166, 0.22); color: #5eead4; }
.sync__queue { font-size: 13px; color: #94a3b8; }
.sync__queue b { color: #fff; }
.sync__wire { flex: 1; height: 40px; min-width: 40px; }
.sync__wire path { stroke: rgba(255, 255, 255, 0.18); stroke-width: 2; stroke-dasharray: 6 8; }
.sync.is-flowing .sync__wire path { stroke: #5eead4; animation: flow 0.7s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -14; } }
.sync__cloud svg { width: 46px; height: 46px; color: #5eead4; }
.sync__cloud span { font-size: 13px; color: #b8c4d4; }

/* ---------- Celular ---------- */
.mobile { padding: 130px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mobile__phones { position: relative; display: flex; justify-content: center; gap: 4%; }
.mobile__phones .device--phone { width: 42%; }
/* rotate/translate sueltos: se suman al movimiento de aparición (que usa transform). */
.device--tilt-l { rotate: -5deg; translate: 0 18px; }
.device--tilt-r { rotate: 4deg; translate: 0 -18px; }
.mobile__copy > p:not(.kicker) { margin-top: 20px; font-size: 18px; color: var(--ink-soft); }
.facts { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fact { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.fact b { display: block; font: 800 40px/1 var(--display); color: var(--brand); }
.fact span { display: block; margin-top: 6px; font-size: 14px; color: var(--mute); }

/* ---------- Pasos ---------- */
.steps { padding: 30px 0 120px; }
.steps__list { margin: 44px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font: 800 20px/1 var(--display); color: #fff; background: linear-gradient(140deg, var(--brand-2), var(--brand)); }
.step h3 { margin-top: 18px; font-size: 24px; }
.step p { margin-top: 8px; color: var(--ink-soft); }
.step:not(:last-child)::after { content: ''; position: absolute; top: 52px; right: -14px; width: 10px; height: 10px; border-top: 2px solid var(--brand-2); border-right: 2px solid var(--brand-2); transform: rotate(45deg); z-index: 1; }

/* ---------- Planes ---------- */
.pricing { padding: 120px 0; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%); }
.pricing .wrap { position: relative; z-index: 1; text-align: center; }
.pricing .section-title { margin-inline: auto; }
.pricing__sub { margin: 18px auto 0; max-width: 38em; font-size: 18px; color: var(--ink-soft); }
.billing { position: relative; margin-top: 34px; display: inline-flex; padding: 5px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.billing button { position: relative; z-index: 1; padding: 10px 18px; border: 0; background: transparent; cursor: pointer; font: 600 15px/1 var(--body); color: var(--ink-soft); border-radius: 10px; transition: color 0.25s; display: inline-flex; align-items: center; gap: 8px; }
.billing button[aria-checked='true'] { color: #fff; }
.billing__thumb { position: absolute; top: 5px; bottom: 5px; left: var(--th-x, 5px); width: var(--th-w, 100px); border-radius: 10px; background: var(--ink); transition: left 0.35s var(--ease), width 0.35s var(--ease); }
.badge { padding: 3px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: 12px; font-weight: 700; }
.plans { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; text-align: left; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 26px;
  background: var(--glass-solid); border: 1px solid #fff; box-shadow: var(--shadow);
}
@supports (backdrop-filter: blur(10px)) {
  .plan { background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); }
}
.plan h3 { font-size: 26px; }
.plan__for { margin-top: 6px; color: var(--mute); font-size: 15px; min-height: 3em; }
.plan__price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan__amount { font: 800 46px/1 var(--display); letter-spacing: -0.03em; }
.plan__per { color: var(--mute); font-weight: 500; }
.plan__note { margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.4; color: #b45309; min-height: 2.8em; }
.plan .ticks { margin-bottom: 26px; }
.plan .btn { margin-top: auto; }
.plan--featured { background: linear-gradient(160deg, #0b1324 0%, #10324a 100%); color: #fff; border-color: rgba(255, 255, 255, 0.1); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
@supports (backdrop-filter: blur(10px)) { .plan--featured { background: linear-gradient(160deg, #0b1324 0%, #10324a 100%); } }
.plan--featured .plan__for, .plan--featured .plan__per { color: #a8b5c7; }
.plan--featured .plan__note { color: #fcd34d; }
.plan--featured .ticks li { color: #dbe4ef; }
.plan--featured .ticks li::before { background-color: rgba(94, 234, 212, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.plan__ribbon { position: absolute; top: -13px; left: 28px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #451a03; background: linear-gradient(90deg, #fcd34d, var(--accent)); box-shadow: 0 8px 18px -8px rgba(245, 158, 11, 0.9); }
.pricing__foot { margin: 30px auto 0; max-width: 40em; color: var(--mute); font-size: 15px; }

/* ---------- Comparación ---------- */
.compare { padding: 110px 0 40px; }
.compare__table { margin-top: 36px; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare__row { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); align-items: stretch; }
.compare__row > span { display: flex; align-items: center; }
.compare__row > span { padding: 16px 20px; border-top: 1px solid var(--line); }
.compare__row--head > span { border-top: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); }
.compare__row [role='rowheader'] { font-weight: 600; }
.compare__row .is-us { background: #f0fdfa; }
.compare__hint { display: none; margin-top: 10px; font-size: 13px; color: var(--mute); }
.compare__row--head .is-us { color: var(--brand); font-family: var(--display); font-size: 17px; text-transform: none; letter-spacing: 0; }
.yes, .no, .mid { font-weight: 600; font-size: 15px; }
.yes { color: var(--brand); }
.no { color: #be123c; }
.mid { color: #b45309; }
.yes::before { content: '✓  '; }
.no::before { content: '✕  '; }
.mid::before { content: '~  '; }

/* ---------- Preguntas ---------- */
.faq { padding: 110px 0; }
.faq__list { margin-top: 36px; display: grid; gap: 12px; max-width: 880px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: box-shadow 0.3s, border-color 0.3s; }
.faq details[open] { border-color: rgba(15, 118, 110, 0.35); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #f0fdfa; color: var(--brand); font: 600 22px/1 var(--body); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--ink-soft); max-width: 46em; }

/* ---------- CTA final ---------- */
.final { padding: 130px 0; overflow: hidden; text-align: center; }
.final__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 20px; }
.final h2 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 800; max-width: 12em; }
.final p { font-size: 19px; color: var(--ink-soft); }
.final .btn { margin-top: 8px; }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.final__actions .btn[hidden] { display: none; }
.final p.final__mail { font-size: 15px; color: var(--mute); }
.final__mail a { color: var(--brand-ink); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- Pie ---------- */
.footer { padding: 46px 0 34px; background: var(--ink); color: #b8c4d4; }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.footer .brand__name { color: #fff; }
.footer__brand p { margin-top: 12px; font-size: 15px; }
.footer__contact { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer__contact li[hidden] { display: none; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.footer__contact a:hover { color: #fff; }
.footer__contact .ic { width: 18px; height: 18px; flex: none; color: #5eead4; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 26px; }
.footer__links a { text-decoration: none; font-weight: 500; }
.footer__links a:hover { color: #fff; }
.footer__legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; color: #7d8aa0; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--xl { grid-row: auto; }
  .tour__panel { grid-template-columns: 1fr; }
  .tour__captions { min-height: 130px; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav .nav__inner { background: var(--glass-solid); border-color: #fff; box-shadow: var(--shadow); }
  .hero { padding: 116px 0 70px; }
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .hero__stage { margin: 0 4% 40px 0; }
  .float-card--sale { left: -2%; }
  .float-card--net { left: auto; right: 2%; top: -14%; }
  .pains__grid, .steps__list, .plans { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .offline__grid, .mobile { grid-template-columns: 1fr; gap: 48px; }
  .mobile__phones { order: 2; }
  .plan--featured { transform: none; }
  .compare__row { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); font-size: 14px; }
  .compare__row > span { padding: 12px 10px; }
  .compare__row--head > span { font-size: 11px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .hero__sub { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
  .float-card { padding: 9px 12px 9px 9px; font-size: 12px; }
  .float-card strong { font-size: 14px; }
  .float-card--net { top: -18%; }
  .bento { grid-template-columns: 1fr; }
  .card--xl, .card--offline { grid-column: auto; }
  .card__shot { width: 150%; }
  .rubros { flex-direction: column; align-items: stretch; gap: 10px; }
  .rubros__label { padding-left: 16px; }
  .tour__tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .tour__tabs button { flex: none; padding: 10px 14px; }
  .tour__captions p { font-size: 17px; }
  .tour__captions p strong { font-size: 24px; }
  .sync { flex-direction: column; padding: 20px; }
  .sync__wire { width: 40px; height: 60px; transform: rotate(90deg); flex: none; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .fact { padding: 14px 10px; }
  .fact b { font-size: 30px; }
  .fact span { font-size: 12.5px; }
  .billing button { padding: 10px 12px; font-size: 14px; }
  .compare__row [role='rowheader'] { font-size: 13px; }
  /* La tabla se desliza de costado; la primera columna queda fija. */
  .compare__table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare__row { min-width: 600px; grid-template-columns: 150px repeat(4, minmax(0, 1fr)); }
  .compare__row > span:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
  .compare__row--head > span { letter-spacing: 0; text-transform: none; font-size: 12px; }
  .compare__hint { display: block; }
  .yes::before, .no::before, .mid::before { content: ''; }
  .faq summary { font-size: 16px; padding: 18px; }
}

/* Solo lo que realmente puede molestar: el fondo en movimiento y la cinta. */
@media (prefers-reduced-motion: reduce) {
  .mesh i { animation: none; }
  .marquee__track { animation-duration: 90s; }
}
