/* Base */
@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/figtree-500.woff2?v=20261129b") format("woff2");
}
@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/figtree-600.woff2?v=20261129b") format("woff2");
}
@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/figtree-700.woff2?v=20261129b") format("woff2");
}

:root {
  --ink: #22313f;
  --muted: #5c6b78;
  --line: #e6ecf0;
  --paper: #f4f7f8;
  --white: #ffffff;
  --cta: #036f7f;
  --cta-press: #025a67;
  --detail: #3fb3c0;
  --shadow: 0 24px 60px rgba(34, 49, 63, 0.08);
  --max: 1120px;
  --nav: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Figtree, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { font-family: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 {
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.08;
}
/* Layout */
.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner, .wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 34px; width: auto; }
.nav-menu { display: none; }
.nav-panel { display: none; }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--cta);
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.12;
  text-align: left;
}
.btn-stack small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}
.btn:hover { background: var(--cta-press); }
.btn-line {
  background: #fff;
  color: var(--cta);
  box-shadow: inset 0 0 0 1.5px var(--cta);
}
.btn-line:hover { background: #f3fafb; color: var(--cta); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 48px; padding: 0 18px; }

/* Hero */
.hero {
  padding: 48px 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 40px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--cta);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(32px, 3vw, 44px);
  max-width: 14em;
}
.lead {
  margin-top: 20px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 18px;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.stage {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 8px 0 0;
}
.stage .phone { width: min(286px, 100%); }
.stage::before {
  content: "";
  position: absolute;
  inset: 24px 8% 0;
  background: radial-gradient(ellipse at center, rgba(63, 179, 192, 0.16), transparent 68%);
  pointer-events: none;
}
.phone {
  position: relative;
  width: min(268px, 100%);
  padding: 11px 8px 12px;
  border-radius: 36px;
  background: #1a242e;
  box-shadow: 0 28px 60px rgba(34, 49, 63, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone::before {
  content: "";
  display: block;
  width: 78px;
  height: 14px;
  margin: 0 auto 8px;
  border-radius: 10px;
  background: #0d141a;
}
.phone::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  background: white;
}

/* Componentes */
.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow .phone { width: min(228px, 100%); }
.flow-link {
  width: 1.5px;
  height: 22px;
  margin: 0;
  background: var(--detail);
  position: relative;
  z-index: 0;
}
.flow-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--detail);
  border-bottom: 1.5px solid var(--detail);
  transform: translateX(-50%) rotate(45deg);
}
.order-bridge {
  position: relative;
  z-index: 2;
  width: min(196px, 86%);
  margin: -8px 0;
  padding: 11px 13px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(34, 49, 63, 0.08);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.order-bridge p { font-weight: 600; letter-spacing: -0.02em; }
.order-bridge .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  color: var(--muted);
}
.order-bridge .sub {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}
.groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
  align-items: stretch;
}
.group {
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.group h3 {
  color: var(--cta);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.group > p {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 15px;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.checks li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: #e7f4f6 center / 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23036F7F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E");
}
.intel { display: block; }
.intel-copy h2 { max-width: 16em; }
.intel-copy .kicker { max-width: 62ch; margin-bottom: 22px; }
.dash { margin-top: 4px; }
.dash {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.dash-head, .kpis, .dash-body, .chart-axis, .bar {
  display: flex;
}
.dash-head { justify-content: space-between; align-items: flex-start; gap: 12px; }
.dash-title { font-weight: 600; letter-spacing: -0.03em; }
.dash-sub, .dash-note { color: var(--muted); font-size: 13px; }
.dash-note {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--paper);
}
.kpis {
  gap: 8px;
  margin-top: 14px;
}
.kpis article {
  flex: 1;
  min-width: 0;
  padding: 10px 10px 8px;
  border-radius: 12px;
  background: var(--paper);
}
.kpis span, .chart p, .ranks p { color: var(--muted); font-size: 12px; }
.kpis strong {
  display: block;
  margin-top: 2px;
  font-size: 22px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.kpis em {
  display: block;
  margin-top: 2px;
  color: var(--cta);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}
.kpis em::before { content: "↑ "; }
.dash-body { gap: 16px; margin-top: 14px; align-items: stretch; }
.chart, .ranks { flex: 1; min-width: 0; }
.chart p, .ranks p { margin: 0 0 8px; }
.ranks p + .bar, .bar + p { margin-top: 12px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart-axis { justify-content: space-between; color: var(--muted); font-size: 11px; }
.bar { align-items: center; gap: 8px; margin-top: 7px; font-size: 13px; }
.bar span { width: 72px; flex: none; }
.bar i {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: #e7eef0;
  position: relative;
}
.bar i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--cta);
}
.bar b {
  width: 48px;
  flex: none;
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.section { padding: 88px 0; scroll-margin-top: calc(var(--nav) + 8px); }
main:focus,
.section h2[tabindex="-1"]:focus { outline: none; }
.section h2[tabindex="-1"]:focus-visible { outline: 2px solid var(--cta); outline-offset: 6px; border-radius: 6px; }
.section h2 {
  font-size: clamp(32px, 4vw, 48px);
  max-width: 18ch;
}
#metricas h2 { max-width: 16em; }
#operacion h2 { max-width: 14em; }
.handoff-copy h2 { max-width: 12em; }
.kicker {
  margin-bottom: 28px;
  color: var(--muted);
  max-width: 46ch;
}
.proof-lead {
  margin: 0;
  font-size: 20px;
  color: var(--ink);
  max-width: 28em;
}

.proof { background: var(--paper); }
.slider { margin-top: 28px; padding-bottom: 12px; }
.slider-viewport { overflow: visible; }
.slider-track {
  display: flex;
  transition: transform 420ms ease;
}
.shot {
  flex: 0 0 33.333%;
  margin: 0;
  min-width: 0;
}
.shot .phone { width: min(232px, 100%); margin: 0 auto; }
.shot figcaption {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.slider-ui { display: none; }

.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.cols h3, .steps h3, .cap h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cols p, .steps p, .cap p, .faq p {
  margin-top: 8px;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  counter-reset: step;
}
.steps article {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.steps article::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  margin-bottom: 16px;
  color: var(--cta);
  font-weight: 600;
}

.handoff {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.handoff-copy .btn { margin-top: 24px; }

.cap-list { margin-top: 28px; }
.cap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.cap:last-child { border-bottom: 1px solid var(--line); }
.cap:nth-child(even) .cap-copy { order: 2; }
.frame {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.frame.inv img { object-position: left center; }
.frame.plain img {
  object-fit: contain;
  object-position: center;
  background: #fff;
}

/* FAQ */
.faq { max-width: 720px; margin-top: 8px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: none;
  border: 0;
  text-align: left;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}
.faq-item button span[aria-hidden] {
  color: var(--cta);
  font-weight: 500;
}
.faq-item .panel { display: none; padding: 0 0 18px; }
.faq-item.is-open .panel { display: block; }

.close {
  margin-top: 72px;
  padding: 48px;
  border-radius: 20px;
  background: var(--paper);
}
.close h2 { max-width: 14em; }
.close .btn { margin-top: 24px; }

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.footer img { height: 22px; width: auto; }
.footer p { max-width: 46ch; }
.footer-cta { flex: none; }

.dock {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 400ms ease both;
  }
  .phone-in {
    animation: rise 400ms ease 80ms both;
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 860px) {
  .nav-inner { gap: 16px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 14px; }
  .hero { padding: 16px 0 4px; }
  .hero-grid, .handoff, .cols, .steps, .cap, .groups, .intel, .dash-body {
    grid-template-columns: 1fr;
  }
  .kpis { display: grid; grid-template-columns: 1fr 1fr; }
  .dash-body { display: block; }
  .bar b { width: 46px; }
  .ranks { margin-top: 12px; }
  h1 { max-width: none; font-size: 30px; line-height: 1.12; letter-spacing: -0.04em; }
  .lead { margin-top: 10px; font-size: 16px; }
  .actions { margin-top: 12px; }
  .nav .btn { white-space: nowrap; font-size: 13px; padding: 0 10px; min-height: 40px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; }
  .stage { width: 100%; padding-top: 10px; }
  .stage .phone { width: min(230px, 74%); }
  .cols, .steps { margin-top: 16px; gap: 12px; }
  .cap { gap: 10px; padding: 12px 0; }
  .cap:nth-child(even) .cap-copy { order: 0; }
  .flow { margin-top: 14px; }
  .close { margin-top: 24px; padding: 18px 16px; }
  .footer { padding: 16px 0 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 32px 0; }
  .section h2 { font-size: 28px; }
  .group { padding: 16px 16px 12px; }
  .kicker { margin-bottom: 6px; }
  .slider { margin-top: 16px; padding-bottom: 8px; }
  .slider-viewport { overflow: hidden; }
  #whatsapp h2 .l,
  #operacion h2 .l { display: block; }
  .shot { flex-basis: 100%; }
  .shot .phone { width: min(228px, 68%); }
  .slider-ui {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
  }
  .slider-btn svg { width: 18px; height: 18px; }
  .slider-btn:disabled { opacity: 0.35; cursor: default; }
  .slider-dots { display: flex; gap: 8px; }
  .slider-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9d5da;
    cursor: pointer;
  }
  .slider-dots button[aria-selected="true"] { background: var(--cta); }
  body.has-dock { padding-bottom: 76px; }
  .dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 200ms ease;
  }
  .dock.is-on { transform: none; }
  .dock .btn { width: 100%; min-height: 48px; }
}

/* Precios: encabezado → tabla → calculadora (sin grid en .wrap) */
#precios .wrap {
  display: block;
}
#precios .price-head {
  max-width: 46rem;
  margin-bottom: 4px;
}
#precios .price-head h2 {
  max-width: 16em;
  margin: 0 0 12px;
}
#precios .price-head .kicker {
  margin: 0 0 8px;
  max-width: 40rem;
}
#precios .price-tool {
  margin-top: 8px;
}
#precios .price-tool-lead {
  margin: 0 0 18px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.price-calc {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
  margin-top: 0;
  /* /#precios scrollea a la calculadora; mismo aire bajo el nav sticky que .section */
  scroll-margin-top: calc(var(--nav) + 8px);
}
#priceMobile {
  scroll-margin-top: calc(var(--nav) + 8px);
}
.price-controls {
  min-width: 0;
  padding: 8px 8px 0 0;
}
.price-step + .price-step { margin-top: 36px; }
.price-k {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-now {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 18px;
  font-variant-numeric: tabular-nums;
}
.price-now strong {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.price-now span { color: var(--muted); font-size: 18px; }
.price-signal {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.price-plan-name {
  margin: 2px 0 16px;
  color: var(--muted);
  font-size: 15px;
}
.price-calc,
.price-calc[data-plan="emprende"],
.price-calc[data-plan="comercial"],
.price-calc[data-plan="negocio"],
.price-calc[data-plan="profesional"],
.price-calc[data-plan="corporativo"] {
  --plan: #036F7F;
  --plan-bg: #e6f3f4;
  --plan-line: #036F7F;
  --plan-check-bg: #cfe8eb;
  --plan-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23036F7F' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E");
}
.price-result-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}
.price-plan-title {
  margin: 0;
  color: #22313F;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.price-plan-meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}
.price-badge {
  display: inline-flex;
  align-self: center;
  margin: 0;
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: #036F7F;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.price-step input[type="range"] {
  --p: 28.57%;
  --thumb: 22px;
  width: 100%;
  height: 22px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}
.price-step input[type="range"]:focus { outline: none; }
.price-step input[type="range"]:focus-visible { outline: 2px solid var(--cta); outline-offset: 6px; border-radius: 8px; }
.price-step input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cta) var(--p), #e6ecf0 var(--p));
}
.price-step input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(34, 49, 63, 0.12), 0 4px 12px rgba(34, 49, 63, 0.16);
}
.price-step input[type="range"]::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: #e6ecf0;
}
.price-step input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 99px;
  background: var(--cta);
}
.price-step input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(34, 49, 63, 0.12), 0 4px 12px rgba(34, 49, 63, 0.16);
}
.price-ticks {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-top: 10px;
}
.price-ticks button {
  flex: 1;
  min-width: 0;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
}
.price-ticks button[aria-current="true"] { color: var(--ink); font-weight: 700; }
.price-ticks button:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; border-radius: 4px; }
.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--paper);
}
.seg label {
  position: relative;
  flex: 1;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.seg label:has(input:checked) {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(34, 49, 63, 0.06), 0 0 0 1px rgba(34, 49, 63, 0.06);
}
.seg label:has(input:focus-visible) { outline: 2px solid var(--cta); outline-offset: 2px; }
.price-summary {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.price-result {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  border: 2px solid var(--plan-line);
  border-radius: 20px;
  background: var(--plan-bg);
  box-shadow: var(--shadow);
}
.price-amount {
  margin: 0 0 18px;
  color: var(--plan);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-amount [data-price-currency] {
  font-size: 0.38em;
  letter-spacing: 0;
  margin-right: 4px;
}
.price-amount.is-ask { font-size: clamp(36px, 4vw, 44px); }
.price-amount.is-ask [data-price-currency] { display: none; }
.price-facts { margin: 0 0 22px; }
.price-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.price-facts div[hidden] { display: none; }
.price-facts dt { color: var(--muted); font-weight: 500; }
.price-facts dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.price-facts [data-plan-row] dd { color: var(--plan); font-size: 16px; }
.price-k.is-total { color: var(--plan); font-weight: 700; }
.price-amount.is-total { font-size: clamp(52px, 5.4vw, 68px); }
.price-flex {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}
.price-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
}
.price-includes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}
.price-includes small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.price-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
}
.price-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--cta);
}
.price-check:has(input:disabled) {
  color: var(--muted);
  cursor: not-allowed;
}
.price-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.price-includes li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: none;
  border-radius: 50%;
  background-color: var(--plan-check-bg);
  background-image: var(--plan-check);
  background-position: center;
  background-size: 10px 10px;
  background-repeat: no-repeat;
}
.price-result .btn { width: 100%; }

@media (min-width: 981px) {
  #precios { padding: 56px 0 48px; }
  #precios .price-head h2 { font-size: 40px; }
  #precios .price-calc {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 32px;
    align-items: start;
  }
  #precios .price-controls { padding: 4px 8px 0 0; }
  #precios .price-result {
    padding: 22px 20px 18px;
  }
  #precios .price-step + .price-step { margin-top: 22px; }
  #precios .price-k { margin-bottom: 8px; }
  #precios .price-now { margin-bottom: 6px; }
  #precios .price-now strong { font-size: 48px; }
  #precios .price-plan-name { margin-bottom: 8px; }
  #precios .price-badge { margin-bottom: 10px; padding: 6px 14px; }
  #precios .price-amount { font-size: 48px; margin-bottom: 6px; }
  #precios .price-amount.is-total { font-size: 52px; }
  #precios .price-facts { margin-bottom: 10px; }
  #precios .price-facts div { padding: 6px 0; }
  #precios .price-includes { gap: 4px; margin-bottom: 10px; }
  #precios .price-includes li { font-size: 13.5px; line-height: 1.28; }
  #precios .price-includes small { font-size: 12px; margin-top: 1px; }
  #precios .price-flex { margin: 0 0 10px; font-size: 12.5px; line-height: 1.35; }
  #precios .price-check { min-height: 36px; }
}

@media (max-width: 980px) {
  .price-calc { grid-template-columns: 1fr; gap: 18px; }
  .price-controls { padding-right: 0; }
  .price-result { order: -1; }
}
@media (max-width: 860px) {
  .price-calc {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .price-controls,
  .price-result {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .price-result { order: -1; }
  .price-step { width: 100%; min-width: 0; }
  .price-ticks,
  .seg { width: 100%; }
  .seg label { min-width: 0; padding: 0 4px; white-space: nowrap; font-size: 14px; }
  .price-step + .price-step { margin-top: 16px; }
  .price-k { margin-bottom: 8px; }
  .price-now { margin-bottom: 8px; }
  .price-now strong { font-size: 36px; }
  .price-plan-name { margin-bottom: 8px; }
  .price-now strong { font-size: 32px; }
  .price-now span { font-size: 16px; }
  .price-signal,
  .price-plan-name { font-size: 13px; }
  .price-step:nth-child(3) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
  }
  .price-step:nth-child(3) > .price-k {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .price-step:nth-child(3) > .price-check {
    min-height: 32px;
    white-space: nowrap;
  }
  .price-step:nth-child(3) > .price-note {
    margin: 0;
    text-align: right;
    font-size: 12px;
    line-height: 1.25;
  }
  .price-amount { font-size: 42px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero .actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero .actions .btn { width: 100%; }
  .nav-menu {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-left: 8px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    flex: none;
  }
  .nav-menu span,
  .nav-menu span::before,
  .nav-menu span::after {
    display: block;
    width: 16px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    position: relative;
  }
  .nav-menu span::before,
  .nav-menu span::after { content: ""; position: absolute; left: 0; }
  .nav-menu span::before { top: -5px; }
  .nav-menu span::after { top: 5px; }
  .nav-menu[aria-expanded="true"] span { background: transparent; }
  .nav-menu[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .nav-menu[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .nav-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 4px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(34, 49, 63, 0.08);
  }
  .nav-panel[hidden] { display: none; }
  body.nav-open::before {
    content: "";
    position: fixed;
    z-index: 25;
    top: var(--nav);
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
  }
  .nav-panel a {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--ink);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-top: 1px solid var(--line);
  }
  .nav-panel .btn {
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    border: 0;
    justify-content: center;
    color: #fff;
  }
  .nav-panel .btn-stack { align-items: center; text-align: center; }
  .nav { min-height: 64px; }
  .nav-inner { min-height: 64px; align-items: center; }
  .brand img { height: 30px; }
  .nav-inner > .btn { display: none; }
  .nav-menu { margin-left: auto; }
  #prueba .slider-ui { display: none; }
  #prueba .slider-viewport { overflow: visible; }
  #prueba .slider-track {
    transform: none !important;
    width: 100%;
    gap: 10px;
    padding: 6px 2px 4px;
  }
  #prueba .shot {
    flex: 1 1 0;
    min-width: 0;
    overflow: visible;
  }
  #prueba .shot .phone {
    width: 100%;
    padding: 5px 4px 6px;
    border-radius: 14px;
    box-shadow: 0 8px 12px rgba(34, 49, 63, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
  #prueba .shot .phone::before {
    width: 28px;
    height: 6px;
    margin-bottom: 4px;
  }
  #prueba .shot .phone::after {
    width: 22px;
    height: 3px;
    margin-top: 4px;
  }
  #prueba .shot .phone img { border-radius: 8px; }
  #prueba .shot figcaption { margin-top: 6px; font-size: 11px; }
  .price-summary,
  .price-result > .btn,
  .price-flex,
  .price-includes,
  .price-result > .price-k {
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
  }
  .price-facts div { align-items: baseline; }
}
@media (max-width: 360px) {
  .price-step:nth-child(3) { grid-template-columns: 1fr; }
  .price-step:nth-child(3) > .price-note { text-align: left; }
  .price-step:nth-child(3) > .price-check { min-height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .phone-in { animation: none; }
  .slider-track { transition: none; }
  .dock { transition: none; }
  .btn { transition: none; }
}

/* Tabla de precios (fuente: plan-catalog.js) */
.price-table-wrap {
  margin: 20px 0 28px;
  padding: 4px 4px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(15, 35, 45, 0.08);
  border-radius: 16px;
  background: #fff;
}
.price-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
}
.price-table th:last-child,
.price-table td:last-child { width: 40%; }
.price-table th,
.price-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(15, 35, 45, 0.08);
  text-align: left;
  vertical-align: top;
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}
.price-table thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #5c6b78);
  background: #f7fafb;
}
.price-table tbody th {
  font-weight: 600;
  white-space: normal;
}
.price-table td strong { display: block; font-size: 15px; }
.price-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted, #5c6b78);
  font-size: 12.5px;
}
.price-calc .btn-line { margin-top: 8px; width: 100%; text-align: center; }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.showcase-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.showcase-card:hover {
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.showcase-logo {
  flex: none;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  display: block;
}
.showcase-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  border-radius: 0;
  padding: 0;
}
.showcase-fallback {
  font-size: 1.25rem;
  font-weight: 700;
  color: #5c6b78;
}
.showcase-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.showcase-copy strong {
  font-size: 0.98rem;
  line-height: 1.25;
}
.showcase-meta {
  color: var(--muted, #5c6b78);
  font-size: 0.82rem;
}

/* ===== Mobile-first precios + landing ===== */
html, body { overflow-x: clip; }
.price-desktop-only { display: none; }
.price-mobile-only { display: block; }
.price-desktop-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.price-term-block,
.price-qty-block { margin-bottom: 18px; }
.price-term-seg { flex-wrap: wrap; }
.price-term-seg label {
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  padding: 8px 6px;
}
.price-term-seg .seg-main { font-size: 14px; }
.price-term-seg .seg-save {
  color: var(--cta, #036f7f);
  font-size: 11px;
  font-weight: 700;
}

/* Slider por 5 pasos fijos: el pulgar y las etiquetas comparten el mismo eje. */
.price-qty-block,
#priceDesktopCalc .price-step:has(.price-step-range) {
  --thumb: 22px;
  --steps: 4;
}
.price-step-rail {
  position: relative;
  margin-top: 4px;
  padding: 0 calc(var(--thumb) / 2);
}
.price-step-range {
  --p: 25%;
  display: block;
  width: calc(100% + var(--thumb));
  margin: 0 calc(var(--thumb) / -2);
  height: var(--thumb);
  appearance: none;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}
.price-step-range:focus { outline: none; }
.price-step-range:focus-visible {
  outline: 2px solid var(--cta, #036f7f);
  outline-offset: 4px;
  border-radius: 8px;
}
.price-step-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cta, #036f7f) var(--p), #e6ecf0 var(--p));
}
.price-step-range::-webkit-slider-thumb {
  appearance: none;
  width: var(--thumb);
  height: var(--thumb);
  margin-top: calc((var(--thumb) / -2) + 2px);
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(34, 49, 63, 0.12), 0 4px 12px rgba(34, 49, 63, 0.16);
}
.price-step-range::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: #e6ecf0;
}
.price-step-range::-moz-range-progress {
  height: 4px;
  border-radius: 99px;
  background: var(--cta, #036f7f);
}
.price-step-range::-moz-range-thumb {
  width: var(--thumb);
  height: var(--thumb);
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(34, 49, 63, 0.12), 0 4px 12px rgba(34, 49, 63, 0.16);
}
.price-step-labels {
  position: relative;
  height: 34px;
  margin: 8px calc(var(--thumb) / 2) 0;
}
.price-step-label {
  position: absolute;
  top: 0;
  min-width: 2.6em;
  min-height: 28px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  text-align: center;
  transform: translateX(-50%);
  cursor: pointer;
}
.price-step-label.is-on {
  font-weight: 700;
  color: var(--ink);
}
.price-step-label:focus-visible {
  outline: 2px solid var(--cta, #036f7f);
  outline-offset: 2px;
  border-radius: 4px;
}

.price-card-single,
.price-card {
  width: 100%;
  min-height: 260px;
  padding: 20px;
  border: 2px solid #036F7F;
  border-radius: 18px;
  background: #f4fafb;
  box-sizing: border-box;
  transition: opacity 0.16s ease;
}
.price-card-single.is-fading { opacity: 0.35; }
.price-card-single.is-corp {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 180px;
}
.price-card-save,
.price-save {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f4f6;
  color: #036F7F;
  font-size: 12px;
  font-weight: 700;
}
.price-save[hidden],
.price-card-save[hidden] { display: none !important; }
.price-trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.price-trust-ico { flex: none; margin-top: 1px; color: #036F7F; }
.price-trust a { color: var(--ink); font-weight: 600; }
.price-card.is-active {
  border-color: #036F7F;
  box-shadow: 0 10px 28px rgba(3, 111, 127, 0.12);
}
.price-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 4px;
}
.price-card h3 { margin: 0; font-size: 1.7rem; font-weight: 700; color: #22313F; letter-spacing: -0.03em; }
.price-card .price-pill { margin: 0; font-size: 13px; background: #036F7F; color: #fff; }
.price-card-max { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.price-check.is-disabled { opacity: 0.55; }
.price-check.is-disabled input { cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  .price-card-single { transition: none; }
}
.price-card-amount {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-card-amount span { font-size: 0.45em; }
.price-card-amount.is-ask { font-size: 1.4rem; }
.price-card-term,
.price-term-label {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 600;
}
.price-card-month,
.price-signal { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.price-card-renew,
.price-renew {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 12.5px;
}
.price-card-month { margin-bottom: 0; }
.price-dock-summary strong { display: block; font-size: 15px; }
.price-dock-summary span { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.price-card-actions { display: grid; gap: 8px; }
.price-card-actions .btn { width: 100%; text-align: center; }
.price-pill {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #036f7f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.price-features {
  margin: 12px 0 8px;
  border: 1px solid rgba(15, 35, 45, 0.1);
  border-radius: 14px;
  background: #fff;
  padding: 4px 12px 10px;
}
.price-features summary {
  cursor: pointer;
  font-weight: 700;
  padding: 10px 0;
  list-style: none;
}
.price-features summary::-webkit-details-marker { display: none; }

.price-dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid rgba(15, 35, 45, 0.1);
  box-shadow: 0 -8px 24px rgba(15, 35, 45, 0.08);
  transform: translateY(110%);
  transition: transform 0.2s ease;
}
.price-dock.is-in { transform: translateY(0); }
.price-dock[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .price-dock { transition: none; }
}
.price-dock-summary {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.price-dock .btn { flex: none; min-height: 44px; white-space: nowrap; }
body.has-price-dock { padding-bottom: 76px; }
body.has-price-dock .dock { display: none !important; }

@media (min-width: 861px) {
  .price-desktop-only { display: block; }
  .price-desktop-only.price-calc {
    display: grid;
    margin-top: 28px;
  }
  .price-mobile-only,
  .price-dock { display: none !important; }
  body.has-price-dock { padding-bottom: 0; }
  .price-table tr.is-active th,
  .price-table tr.is-active td {
    background: color-mix(in srgb, var(--cta, #036f7f) 8%, #fff);
  }
  #priceDesktopCalc .price-step-label {
    font-size: 13px;
  }
  #priceDesktopCalc .seg label {
    flex-direction: column;
    gap: 2px;
    padding: 8px 6px;
  }
  #priceDesktopCalc .seg-save {
    color: var(--cta, #036f7f);
    font-size: 11px;
    font-weight: 700;
  }
  .price-includes-desk {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 18px 20px 12px;
    border: 1px solid rgba(15, 35, 45, 0.1);
    border-radius: 16px;
    background: #fff;
  }
  .price-includes-desk .price-includes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
    margin-bottom: 10px;
  }
}

/* Teléfonos + capturas + CTAs mid-page en mobile */
@media (max-width: 860px) {
  .section { padding: 36px 0; }
  .section h2 {
    font-size: clamp(1.4rem, 6vw, 1.75rem);
    line-height: 1.18;
    max-width: 18ch;
  }
  .section h2 .l { display: inline; }
  #prueba .slider-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  #prueba .slider-track {
    display: flex;
    gap: 14px;
    width: max-content;
    padding: 0 12px 8px;
  }
  #prueba .shot {
    flex: 0 0 min(72vw, 300px);
    scroll-snap-align: center;
  }
  #prueba .shot .phone {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  #prueba .shot figcaption {
    font-size: 14px;
    text-align: center;
  }
  .cap .frame,
  .frame img,
  .frame picture { max-width: 100%; }
  .frame {
    overflow: hidden;
    border-radius: 14px;
  }
  .frame.inv img,
  .frame.inv picture img {
    width: 100%;
    height: auto;
    min-height: 180px;
    object-fit: cover;
    object-position: left top;
    transform: scale(1.35);
    transform-origin: left top;
  }
  .cap:nth-child(3) .frame img,
  #metricas .dash {
    min-height: 0;
  }
  .cap:nth-child(3) .frame img {
    width: 100%;
    object-fit: cover;
    object-position: left center;
    transform: scale(1.25);
    transform-origin: left center;
  }
  #metricas .dash {
    font-size: 14px;
  }
  #metricas .kpis article strong { font-size: 1.35rem; }
  .wrap { overflow-x: clip; max-width: 100%; }
  .hero .actions { display: grid; gap: 10px; }
  .hero .actions .btn { width: 100%; }
  .mid-cta {
    display: grid;
    gap: 10px;
    margin: 8px 0 0;
  }
  .mid-cta .btn { width: 100%; text-align: center; }
  .price-dock { z-index: 35; }
  .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); }
  body.has-price-dock .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); }
  body:not(.has-price-dock) .wa-float { bottom: calc(72px + env(safe-area-inset-bottom)); }
}


/* ===== Mil Catálogos 20261127b ===== */
[hidden] { display: none !important; }

.hero {
  background: radial-gradient(1000px 500px at 85% 40%, #E6F3F4 0, #fff 70%);
  padding: 40px 0 24px;
}
.hero-stack {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { max-width: 720px; }
.hero-copy h1 { max-width: 16em; }
.hero-accent { color: var(--cta); }
.hero-geo {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.hero-micro {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  background: #e7f4f6 center / 10px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23036F7F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E");
}
.cta-mob { display: none; }
.hero-stage {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 500 / 560;
  margin: 0 auto;
}
.hero-stage .phone {
  position: absolute;
  width: 50%;
  border-radius: 38px;
  background: #1d2a33;
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(3, 63, 73, 0.35);
}
.hero-stage .phone picture,
.hero-stage .phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
}
.hero-stage .phone img {
  object-fit: cover;
  border-radius: 30px;
}
.hero-stage .phone::before,
.hero-stage .phone::after { display: none; }
.phone-catalog { left: 0; top: 0; }
.phone-whatsapp { left: 50%; top: 16%; transform: rotate(3deg); }

@media (max-width: 980px) {
  .hero { padding: 22px 0 10px; background: radial-gradient(500px 400px at 70% 85%, #E6F3F4 0, #fff 70%); }
  .hero-stack { grid-template-columns: 1fr; gap: 12px; }
  .cta-desk { display: none; }
  .cta-mob { display: inline; }
  .hero-stage { width: min(100%, 340px); aspect-ratio: auto; height: 330px; max-height: 330px; margin-top: 8px; }
  .hero-stage .phone { width: 47%; border-radius: 26px; padding: 7px; }
  .hero-stage .phone img { border-radius: 20px; }
  .phone-catalog { left: 2%; top: 0; }
  .phone-whatsapp { left: 48%; top: 50px; }
}

.wall { padding: 18px 0 22px; }
.wall.clients-strip { max-height: 90px; }
.wall-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.wall-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.wall-counter { margin: -6px 0 14px; color: var(--muted); font-size: 14px; }
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.logo-wall > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
}
.logo-wall img {
  height: 32px;
  width: 32px;
  max-width: none;
  object-fit: contain;
  display: block;
  border-radius: 0;
}
.logo-wall:empty { display: none; }
@media (max-width: 860px) {
  .wall.clients-strip { max-height: 110px; padding: 14px 0 18px; }
  .wall-strip { gap: 10px 12px; }
  .logo-wall { gap: 10px 14px; justify-content: center; }
  .logo-wall img { height: 28px; width: 28px; }
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  counter-reset: none;
}
.how-steps article {
  padding: 8px 4px 0;
}
.how-steps article::before,
.steps.how-steps article::before {
  content: none !important;
}
.how-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #036F7F;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.how-steps h3 { margin-top: 0; font-size: 18px; }
.how-steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.how-cta { margin-top: 28px; }

.benefit-grid,
.benefit-grid-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  justify-items: stretch;
}
.benefit-grid-icons .benefit-card:nth-child(4) { grid-column: 1; }
.benefit-grid-icons .benefit-card:nth-child(5) { grid-column: 2; }
@media (min-width: 981px) {
  .benefit-grid-icons {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .benefit-grid-icons .benefit-card { grid-column: span 2; }
  .benefit-grid-icons .benefit-card:nth-child(4) { grid-column: 2 / span 2; }
  .benefit-grid-icons .benefit-card:nth-child(5) { grid-column: 4 / span 2; }
}
.benefit-card {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.benefit-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}
.benefit-icon svg { display: block; }
.benefit-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.benefit-card p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.faq-item h3 { margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: normal; }
.faq-item button:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; border-radius: 6px; }
.faq-item .panel p { margin-top: 0; }

.close-section { padding-top: 24px; }
.close-section .close { margin-top: 0; text-align: left; }
.close-section .lead { max-width: 46ch; }

.footer { padding: 18px 0 20px; }
.footer-logo { display: inline-flex; flex: none; }
.footer .footer-logo img { height: 40px; width: auto; }
.footer-erp {
  grid-column: 1 / -1;
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.footer-erp a { color: var(--muted); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.footer-erp a:hover { color: var(--cta); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

.price-compare {
  margin-top: 20px;
  border: 0;
  background: transparent;
  padding: 0;
}
.price-compare summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid #036F7F;
  border-radius: 12px;
  background: #fff;
  color: #036F7F;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.price-compare summary::-webkit-details-marker { display: none; }
.price-compare summary:hover { background: #E6F3F4; }
.price-compare summary:focus-visible {
  outline: 2px solid #036F7F;
  outline-offset: 2px;
}
.price-compare-chev { transition: transform .2s ease; margin-left: 4px; }
.price-compare[open] .price-compare-chev { transform: rotate(180deg); }
.price-compare .price-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.price-notes { margin-top: 16px; }
.price-notes .price-flex { margin: 0 0 6px; }

/* "5.000+" legible a 360px: etiquetas de los extremos no se salen del carril */
.price-step-labels .price-step-label { min-width: 0; padding-left: 2px; padding-right: 2px; white-space: nowrap; }
.price-step-labels .price-step-label:first-child { transform: translateX(-20%); }
.price-step-labels .price-step-label:last-child { transform: translateX(-80%); }
@media (max-width: 400px) {
  .price-step-labels { margin-left: 8px; margin-right: 8px; }
  .price-step-labels .price-step-label { font-size: 11px; letter-spacing: -0.02em; }
}

/* Dock de precios: solo con la sección de precios visible (hero ya superado); sin hueco si no está activo */
body:not(.has-price-dock) .price-dock { display: none; }

@media (max-width: 980px) {
  .how-steps { grid-template-columns: 1fr; gap: 16px; }
  .benefit-grid,
  .benefit-grid-icons { grid-template-columns: 1fr; }
  .benefit-grid-icons .benefit-card:nth-child(4),
  .benefit-grid-icons .benefit-card:nth-child(5) { grid-column: auto; }
  .section { padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 560px) {
  .hero-stack { gap: 20px; }
  .footer-logo { margin-bottom: 4px; }
  .section { padding-top: 48px; padding-bottom: 52px; }
}

.signup-warning {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid #f0d9a8;
  border-radius: 12px;
  background: #fff8e6;
  color: var(--ink);
  font-size: 15px;
}
.legal { max-width: 760px; }
.legal h2 { margin-top: 32px; font-size: 22px; max-width: none; }
.legal h3 { margin-top: 20px; font-size: 18px; }
.legal p, .legal li { margin-top: 8px; color: var(--muted); }
.legal mark.todo { background: #fff3cd; color: #7a5b00; padding: 0 4px; border-radius: 4px; }

/* #clientes: 5 en una fila desde 1440px; antes, 3+2 centrados */
.showcase-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.showcase-grid .showcase-card {
  flex: 0 1 calc((100% - 28px) / 3);
  min-width: 0;
  display: grid;
  gap: 12px;
  align-items: start;
  padding: 12px;
}
.showcase-phone {
  display: block;
  width: 100%;
  max-width: 216px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.showcase-phone picture,
.showcase-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 0;
  transform: none;
}
.showcase-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.showcase-brand > div { min-width: 0; display: grid; gap: 2px; }
.showcase-card .showcase-copy strong { overflow-wrap: anywhere; }
.showcase-qty { margin: 0; color: var(--muted); font-size: 12px; }
.showcase-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e7f4f6;
  color: #036F7F;
  font-size: 11px;
  font-weight: 700;
}
.showcase-cta { color: var(--cta); font-size: 0.875rem; font-weight: 600; }
.showcase-logo {
  flex: none;
  width: 48px;
  height: 48px;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.showcase-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  border-radius: 0;
}
@media (min-width: 981px) {
  #clientes .wrap { width: min(1280px, calc(100% - 80px)); }
  .showcase-grid .showcase-card {
    flex-basis: calc((100% - 56px) / 5);
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  #clientes .showcase-grid { max-height: none; overflow: visible; }
  .showcase-grid .showcase-card {
    flex-basis: 100%;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
  }
  .showcase-phone { width: 96px; max-width: 96px; border-radius: 14px; margin: 0; }
}

.price-step-labels .price-step-label.is-active,
.price-step-labels .price-step-label[aria-current="true"] {
  font-weight: 700;
  color: var(--ink);
}
.price-calc[data-plan="comercial"] .price-badge,
.price-card.is-featured .price-pill,
.price-pill {
  background: #036F7F !important;
}
.price-card.is-featured {
  border-color: #036F7F;
  background: #f3fbfc;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px 20px;
  align-items: center;
}
.footer-contact {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  line-height: 1.3;
}
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--cta); }
.footer-links { justify-content: flex-end; }
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; gap: 12px; justify-items: start; }
  .footer-contact { text-align: left; }
  .footer-links { justify-content: flex-start; }
}

body.has-price-dock,
body.has-price-dock-summary { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
.price-dock {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.price-dock-summary { margin: 0; flex: 1; min-width: 0; font-size: 13px; font-weight: 600; }
.price-card-single { margin: 4px 0 12px; }

#precios .price-table tr.is-featured th .price-pill,
#precios .price-pill {
  background: #036F7F;
  color: #fff;
  border: 0;
  font-size: 13px;
}
/* E7: pastilla debajo del nombre; no tapa «hasta 500». */
#precios .price-table tbody th .price-pill {
  display: block;
  width: fit-content;
  margin: 6px 0 0;
  white-space: nowrap;
}
#precios,
#precios a,
#precios .btn-line {
  --plan: #036F7F;
}
#precios .price-card,
#precios .price-result {
  border-color: rgba(3, 111, 127, 0.22);
}
#precios .price-card.is-active,
#precios .price-calc .price-result {
  border-color: #036F7F;
}

@media (max-width: 980px) {
  .hero-stage {
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
  }
  .phone-catalog { left: 4%; }
  .phone-whatsapp { left: 49%; }
}

/* r4: tabla mobile solo plan · productos · término activo */
@media (max-width: 860px) {
  .price-table th .price-pill {
    display: block;
    width: fit-content;
    margin: 6px 0 0;
  }
  .price-table-wrap { overflow-x: hidden; }
  .price-table td[data-term][hidden],
  .price-table thead th[hidden] { display: none !important; }
  .price-card-month { margin-bottom: 8px; }
}
