/* Iguala — propuesta de rediseño del sitio público.
   Tokens del manual de marca (docs/brand/BRAND.md): 60 % superficie · 30 % tinta · 10 % acento.
   El degradado solo vive en el logo y en UN bloque decorativo (la franja del hero). */

:root {
  --logo-ink: #1E1B4B;
  --grad-blush: #F6A3A6;
  --grad-orchid: #9A6BB8;
  --grad-iris: #4A3FD0;
  --grad-indigo: #2E2A9E;
  --surface: #FFFFFF;
  --surface-alt: #F4F3F8;
  --ink: #1E1B4B;
  --ink-muted: #5B5876;
  --accent: #4A3FD0;
  --accent-hover: #3B32B0;
  --accent-soft: #ECEAFB;
  --on-accent: #FFFFFF;
  --border: #DCDAE8;
  --border-strong: #7E7A9C;
  --ok: #1B7F4D;
  --ok-soft: #E3F4EA;
  --warn: #9A5B00;
  --warn-soft: #FDF1DC;
  --danger: #B3261E;
  --danger-soft: #FBE6E4;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r-sm: 8px;
  --r-md: 16px;
  --r-pill: 999px;
  --wrap: 1180px;
}


*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 32px); margin: 0 auto; }
section { padding: 88px 0; }
section.alt { background: var(--surface-alt); }
@media (max-width: 720px) { section { padding: 60px 0; } }

.kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p.lede, .lede { font-size: 18px; color: var(--ink-muted); margin-top: 16px; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 20px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-alt); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* Píldoras y chips */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.pill-accent { background: var(--accent-soft); color: var(--accent); }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-danger { background: var(--danger-soft); color: var(--danger); }
.pill-muted { background: var(--surface-alt); color: var(--ink-muted); border: 1px solid var(--border); }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; }
.nav-links > a, .nav-links > .nav-item > button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-sm); color: var(--ink); font-weight: 500; font-size: 15px; background: none; border: 0; }
.nav-links > a:hover, .nav-links > .nav-item > button:hover { background: var(--surface-alt); text-decoration: none; }
.nav-item { position: relative; }
.nav-item > button svg, .nav-item > button .ms {width: 14px; height: 14px; transition: transform .15s;  font-size: 14px; }
.nav-item > button[aria-expanded="true"] svg, .nav-item > button[aria-expanded="true"] .ms {transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: -12px; width: 820px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: 0 24px 60px -24px rgba(30, 27, 75, .25); padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mega[hidden] { display: none; }
.mega h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin-bottom: 10px; }
.mega a { display: block; padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink); font-weight: 500; font-size: 14px; }
.mega a span { display: block; color: var(--ink-muted); font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.mega a:hover { background: var(--surface-alt); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 8px; }
.nav-toggle svg, .nav-toggle .ms {width: 20px; height: 20px; display: block;  font-size: 20px; }
.nav-panel, .nav-panel-in { display: contents; }
.nav-toggle .ico-close { display: none; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  /* Panel plegable: se despliega con altura (grid 0fr → 1fr) y opacidad; mismo fondo translúcido que la barra */
  .nav-panel { display: grid; grid-template-rows: 0fr; opacity: 0; flex: 0 0 100%; order: 3; transition: grid-template-rows .32s cubic-bezier(.2,.8,.2,1), opacity .22s ease; }
  .nav-panel-in { display: flex; flex-direction: column; min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .32s; }
  .nav.open .nav-panel { grid-template-rows: 1fr; opacity: 1; }
  .nav.open .nav-panel-in { visibility: visible; transition-delay: 0s; }
  .nav-links { display: flex; flex-direction: column; align-items: stretch; width: 100%; padding: 8px 0 4px; border-top: 1px solid var(--border); margin-top: 8px; gap: 2px; }
  .nav-links > a { padding: 12px 8px; font-size: 16px; border-radius: var(--r-sm); }
  .nav-cta { display: flex; flex-direction: column; width: 100%; gap: 10px; padding: 8px 0 16px; }
  .nav-cta .btn { width: 100%; padding: 13px 16px; font-size: 15px; }
  .nav-toggle[aria-expanded="true"] .ico-menu { display: none; }
  .nav-toggle[aria-expanded="true"] .ico-close { display: block; }
  @media (prefers-reduced-motion: reduce) { .nav-panel, .nav-panel-in { transition: none; } }
  .mega { position: static; width: auto; grid-template-columns: 1fr 1fr; box-shadow: none; border: 0; padding: 8px 0 8px 12px; }
}

/* Hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before { /* el único bloque decorativo con los tonos del degradado: rosa a la izquierda, índigo a la derecha */
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--grad-blush) 0%, var(--grad-orchid) 45%, var(--grad-iris) 85%, var(--grad-indigo) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero .lede { font-size: 19px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--ink-muted); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-muted); }
.hero-proof svg, .hero-proof .ms {width: 16px; height: 16px; color: var(--accent);  font-size: 16px; }

/* Marco de app (mockups) */
.shot { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 80px -40px rgba(30, 27, 75, .35); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-alt); }
.shot-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); opacity: .5; }
.shot-bar .url { margin-left: 10px; font-size: 12px; color: var(--ink-muted); }
.shot img { width: 100%; }
.app { display: grid; grid-template-columns: 56px 1fr; min-height: 380px; }
.app-rail { border-right: 1px solid var(--border); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.app-rail span { width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--ink-muted); }
.app-rail span.active { background: var(--accent-soft); color: var(--accent); }
.app-rail svg, .app-rail .ms {width: 18px; height: 18px;  font-size: 18px; }
.app-main { padding: 18px; display: grid; gap: 14px; }
.app-title { display: flex; justify-content: space-between; align-items: baseline; }
.app-title strong { font-size: 15px; }
.app-title span { font-size: 12px; color: var(--ink-muted); }
.alerts { display: grid; gap: 8px; }
.alert { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 13px; }
.alert i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.alert .d { background: var(--danger); } .alert .w { background: var(--warn); } .alert .k { background: var(--accent); }
.alert div > span { display: block; color: var(--ink-muted); font-size: 12px; margin-top: 2px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 12px; }
.kpi b { display: block; font-size: 18px; }
.kpi span { font-size: 12px; color: var(--ink-muted); }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr 1fr; } .app { grid-template-columns: 1fr; } .app-rail { display: none; } }

/* Dolor → costo */
.pain-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pain-grid .pain { grid-column: span 2; }
.pain-grid .pain:nth-child(4), .pain-grid .pain:nth-child(5) { grid-column: span 3; }
@media (max-width: 980px) { .pain-grid { grid-template-columns: 1fr 1fr; } .pain-grid .pain, .pain-grid .pain:nth-child(4), .pain-grid .pain:nth-child(5) { grid-column: auto; } }
@media (max-width: 560px) { .pain-grid { grid-template-columns: 1fr; } }
.pain { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; display: grid; gap: 10px; }
.pain .q { font-size: 15px; font-style: italic; color: var(--ink-muted); }
.pain h3 { font-size: 17px; }
.pain .fix { display: block; font-size: 14px; color: var(--ink); padding-top: 10px; border-top: 1px solid var(--border); }
.pain .fix svg, .pain .fix .ms {width: 16px; height: 16px; color: var(--ok); vertical-align: -3px; margin-right: 6px;  font-size: 16px; }

/* Recorrido por etapas */
.stages { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .stages { grid-template-columns: 1fr; } }
.stage-nav { position: sticky; top: 92px; display: grid; gap: 4px; }
.stage-nav button { text-align: left; background: none; border: 0; border-left: 2px solid var(--border); padding: 10px 14px; color: var(--ink-muted); font-weight: 500; font-size: 15px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.stage-nav button small { display: block; font-size: 12px; font-weight: 400; margin-top: 2px; }
.stage-nav button.active, .stage-nav button:hover { color: var(--ink); border-left-color: var(--accent); background: var(--surface-alt); }
@media (max-width: 900px) { .stage-nav { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; } .stage-nav button { border: 1px solid var(--border); border-radius: var(--r-pill); white-space: nowrap; padding: 8px 14px; } .stage-nav button small { display: none; } .stage-nav button.active { border-color: var(--accent); } }
.stage { display: none; }
.stage.active { display: grid; gap: 28px; }
.stage-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 980px) { .stage-head { grid-template-columns: 1fr; } }
.stage-head h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
.stage-head p { color: var(--ink-muted); margin-top: 12px; font-size: 16px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 18px 16px; }
.feat h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.feat h4 svg, .feat h4 .ms {width: 18px; height: 18px; color: var(--accent); flex: none;  font-size: 18px; }
.feat p { font-size: 14px; color: var(--ink-muted); }
.feat .pill { margin-top: 10px; }
.alt .feat, .alt .pain, .alt .cmp-wrap, .alt .plan, .alt .faq details { background: var(--surface); }

/* Chat de WhatsApp (mockup) */
.chat { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; display: grid; gap: 10px; max-width: 420px; }
.chat .b { max-width: 86%; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.4; background: var(--surface); border: 1px solid var(--border); }
.chat .b.me { margin-left: auto; background: var(--accent-soft); border-color: transparent; }
.chat .b small { display: block; margin-top: 4px; font-size: 11px; color: var(--ink-muted); }
.chat .sys { text-align: center; font-size: 12px; color: var(--ink-muted); }

/* Comparativa */
.cmp-wrap { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; text-align: left; }
.cmp thead th { background: var(--surface-alt); font-size: 13px; font-weight: 600; }
.cmp thead th.ig { color: var(--accent); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 600; }
.cmp td small { display: block; font-weight: 400; color: var(--ink-muted); margin-top: 2px; }
.mark { display: inline-flex; align-items: center; gap: 6px; }
.mark svg, .mark .ms {width: 16px; height: 16px; flex: none;  font-size: 16px; }
.mark.yes { color: var(--ok); } .mark.no { color: var(--ink-muted); } .mark.part { color: var(--warn); }
.cmp-scroll { overflow-x: auto; }
@media (max-width: 760px) { .cmp { min-width: 720px; } }

/* Para quién */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; } }
.who { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.who img { aspect-ratio: 16/9; object-fit: cover; }
.who .body { padding: 20px; }
.who h3 { margin-bottom: 8px; }
.who p { color: var(--ink-muted); font-size: 15px; }
.who ul { margin-top: 12px; display: grid; gap: 6px; font-size: 14px; }
.who li { display: flex; gap: 8px; align-items: flex-start; }
.who li svg, .who li .ms {width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px;  font-size: 16px; }

/* Portal del cliente (dos columnas) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.checks { display: grid; gap: 10px; margin-top: 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checks svg, .checks .ms {width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px;  font-size: 18px; }
.tracker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0; }
.tracker span { height: 6px; border-radius: 3px; background: var(--border); }
.tracker span.done { background: var(--accent); }
.tracker-labels { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 11px; color: var(--ink-muted); }

/* Confianza */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }
.trust { padding: 20px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.trust svg, .trust .ms {width: 22px; height: 22px; color: var(--accent); margin-bottom: 10px;  font-size: 22px; }
.trust h3 { font-size: 16px; margin-bottom: 6px; }
.trust p { font-size: 14px; color: var(--ink-muted); }

/* Precios */
.price-toggle { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 3px; margin-top: 20px; }
.price-tab { border: 0; background: none; padding: 8px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--ink-muted); display: inline-flex; gap: 8px; align-items: center; }
.price-tab.active { background: var(--accent); color: var(--on-accent); }
.price-tab .badge { font-size: 11px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--ok-soft); color: var(--ok); }
.price-tab.active .badge { background: color-mix(in srgb, var(--on-accent) 20%, transparent); color: var(--on-accent); }
.plans { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--border); border-radius: var(--r-md); padding: 26px; display: grid; gap: 14px; align-content: start; background: var(--surface); }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan .tag { justify-self: start; }
.plan .name { font-size: 14px; font-weight: 600; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .05em; }
.plan .amount { display: flex; align-items: baseline; gap: 6px; }
.plan .amount b { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.plan .amount span { font-size: 14px; color: var(--ink-muted); }
.plan .per { font-size: 14px; color: var(--ink-muted); margin-top: -8px; }
.plan ul { display: grid; gap: 8px; font-size: 14px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg, .plan li .ms {width: 16px; height: 16px; flex: none; color: var(--accent); margin-top: 3px;  font-size: 16px; }
.plan .btn { margin-top: 6px; }
.calc { margin: 0 0 20px; border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 22px; background: var(--surface); width: max-content; max-width: 100%; }
@media (max-width: 720px) { .calc { grid-template-columns: 1fr; } }
.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 900px) { .addons { grid-template-columns: 1fr; } }
.tier-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.tier-table th, .tier-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.tier-table thead th { color: var(--ink-muted); font-weight: 600; font-size: 13px; }
details.more { margin-top: 20px; border: 1px solid var(--border); border-radius: var(--r-md); padding: 0 20px; background: var(--surface); }
details.more summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary svg, details.more summary .ms {width: 18px; height: 18px; transition: transform .15s;  font-size: 18px; }
details.more[open] summary svg, details.more[open] summary .ms {transform: rotate(180deg); }
details.more .inner { padding: 0 0 20px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }
.faq details { border: 1px solid var(--border); border-radius: var(--r-md); padding: 0 18px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg, .faq summary .ms {width: 18px; height: 18px; flex: none; color: var(--ink-muted); transition: transform .15s;  font-size: 18px; }
.faq details[open] summary svg, .faq details[open] summary .ms {transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--ink-muted); font-size: 15px; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form textarea { min-height: 110px; resize: vertical; }

/* Pie */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin-bottom: 10px; }
.site-footer ul { display: grid; gap: 6px; font-size: 14px; }
.site-footer ul a { color: var(--ink); }
.site-footer .copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--ink-muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Banda final (CTA) */
.cta-band { border: 1px solid var(--border); border-radius: var(--r-md); padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--surface-alt); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 28px; } }
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { color: var(--ink-muted); margin-top: 8px; }

.hero .lede strong { color: var(--ink); font-weight: 600; }


/* «Para <giro>»: el giro se escribe solo. Sin movimiento (o sin JS) se muestra la lista completa. */
.hero-for { font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 14px; min-height: 30px; }
.hero-for .rot { color: var(--accent); }
.hero-for .rot::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: var(--accent); margin-left: 3px; vertical-align: -3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-for .rot-static { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .hero-for { font-size: 16px; font-weight: 500; color: var(--ink-muted); }
  .hero-for .rot { display: none; }
  .hero-for .rot-static { position: static; width: auto; height: auto; clip: auto; white-space: normal; }
}





/* Invitación al final del hero */
.hero-cue { grid-column: 1 / -1; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 40px auto 0; font-weight: 500; font-size: 14px; color: var(--ink-muted); text-align: center; }
.hero-cue:hover { text-decoration: none; color: var(--accent); }
.hero-cue .chev { display: block; width: 40px; margin-top: 4px; }
.hero-cue .chev svg { width: 40px; height: 16px; display: block; color: var(--border-strong); animation: cue 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }
.hero-cue:hover .chev svg { color: var(--accent); }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(6px); opacity: .85; } }

/* Hoy / Con Iguala: una situación a la vez; el dolor se tacha y entra la respuesta */
.hc { --hc-ms: 7000ms; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.hc-stage { min-height: 330px; }
.hc-panel { display: none; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; padding: 28px 48px 44px; }
.hc-panel.active { display: grid; }
.hc-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.hc-label.con { color: var(--accent); text-align: left; margin-bottom: 4px; }
.hc-hoy { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 700; color: var(--ink); }
/* La línea que tacha el dolor: fondo degradado por línea (clone) para que cruce todas las líneas del texto. */
.hc-hoy span { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 56% / 0% 3px; padding: 0 2px; }
.hc-panel.active .hc-hoy { animation: hc-in .5s ease both; }
.hc-panel.active .hc-hoy span { animation: hc-strike .4s ease-out .8s both, hc-dim .35s ease .95s both; }
.hc-answer { display: flex; gap: 14px; align-items: center; text-align: left; margin: 24px 0 0; padding: 0; background: none; opacity: 0; }
.hc-panel.active .hc-answer { animation: hc-up .5s cubic-bezier(.2,.8,.2,1) 1.1s both; }
.hc-check { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; transform: scale(0); }
.hc-check svg, .hc-check .ms {width: 20px; height: 20px;  font-size: 20px; }
.hc-panel.active .hc-check { animation: hc-pop .45s cubic-bezier(.3,1.6,.4,1) 1.4s both; }
.hc-con { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 700; color: var(--accent); }
@keyframes hc-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hc-strike { from { background-size: 0% 3px; } to { background-size: 100% 3px; } }
@keyframes hc-dim { to { color: var(--ink-muted); } }
@keyframes hc-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hc-pop { from { transform: scale(0); } to { transform: scale(1); } }
@media (max-width: 760px) { .hc-panel { padding: 28px 20px 32px; }  .hc-answer { gap: 12px; padding: 16px 18px; } .hc-stage { min-height: 300px; } }
@media (prefers-reduced-motion: reduce) {
  .hc-bar b, .hero-cue .chev svg { animation: none !important; }
  .hc-panel.active .hc-hoy, .hc-panel.active .hc-hoy span, .hc-panel.active .hc-answer, .hc-panel.active .hc-check { animation: none !important; }
  .hc-answer { opacity: 1; } .hc-check { transform: none; } .hc-hoy { color: var(--ink-muted); }
}

/* Indicador discreto arriba y puntos abajo (sin pestañas) */
.hc-top { display: flex; align-items: baseline; gap: 10px; padding: 18px 48px 0; font-size: 13px; position: relative; }
.hc-name { font-weight: 600; color: var(--ink); }
.hc-count { color: var(--ink-muted); }
.hc-bar { display: block; height: 3px; background: var(--surface-alt); }
.hc-bar b { display: block; height: 100%; width: 0; background: var(--accent); animation: hc-progress var(--hc-ms) linear forwards; }
@keyframes hc-progress { from { width: 0; } to { width: 100%; } }
.hc-stage { min-height: 300px; }


/* Visual por situación */
.hc-visual { opacity: 0; }
.hc-panel.active .hc-visual { animation: hc-up .5s cubic-bezier(.2,.8,.2,1) 1.2s both; }
.hc-text { text-align: left; }
.mini-card { border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 20px; background: var(--surface); box-shadow: 0 24px 60px -36px rgba(30, 27, 75, .3); }
.mini-card .tier-table { margin-top: 8px; font-size: 13px; } .mini-card .tier-table td { padding: 7px 0; }
.mini-card .app-title + .app-title { margin-top: 10px; }
.mini-actions { display: flex; gap: 8px; margin-top: 14px; }
.chat.mini { max-width: none; }
@media (prefers-reduced-motion: reduce) { .hc-visual { opacity: 1; } .hc-panel.active .hc-visual { animation: none; } }

/* Situaciones: icono + nombre, para saltar entre ellas */
.hc-nav { display: flex; gap: 8px; padding: 18px 20px 6px; overflow-x: auto; justify-content: center; }
.hc-nav button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface); color: var(--ink-muted); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.hc-nav button svg, .hc-nav button .ms {width: 18px; height: 18px; flex: none;  font-size: 18px; }
.hc-nav button:hover { color: var(--ink); border-color: var(--border-strong); }
.hc-nav button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
@media (max-width: 760px) { .hc-nav { justify-content: flex-start; padding: 14px 16px 4px; } .hc-nav button { padding: 8px 12px; font-size: 13px; } }

/* Última situación: «Y mucho más» → listado de módulos */
.hc-more .hc-hoy .no-strike { background: none; padding: 0; }
.hc-panel.active.hc-more .hc-hoy span { animation: none; color: var(--ink); }
.hc-panel.active.hc-more .hc-visual { animation-delay: .3s; }
.hc-chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.hc-chips .pill { font-size: 13px; padding: 7px 12px; font-weight: 500; }
.hc-more .lede { font-size: 16px; }

/* Funciones compactas: icono, nombre y una línea */
.feat-grid.compact { grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 980px) { .feat-grid.compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feat-grid.compact { grid-template-columns: 1fr; } }
.feat-grid.compact .feat { padding: 16px 16px 14px; }
.feat-grid.compact .feat h4 { font-size: 15px; align-items: flex-start; }
.feat-grid.compact .feat h4 svg, .feat-grid.compact .feat h4 .ms {margin-top: 1px; }
.feat-grid.compact .feat p { font-size: 13.5px; }
.feat-grid.compact .feat .pill { margin-top: 8px; font-size: 11px; }

/* Embudo de leads con todos los canales (mockup) */
.funnel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; background: var(--surface-alt); min-height: 300px; }
.funnel .col { min-width: 0; }
.funnel .col h5 { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); display: flex; justify-content: space-between; }
.funnel .col h5 span { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 0 6px; font-size: 10px; }
.lead-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 9px 10px; margin-bottom: 8px; display: grid; gap: 4px; font-size: 12px; }
.lead-card b { font-size: 12.5px; overflow-wrap: anywhere; }
.lead-card small { color: var(--ink-muted); font-size: 11px; }
.lead-card em { font-style: normal; font-size: 10.5px; color: var(--ink-muted); }
.lead-card em::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 5px; vertical-align: -1px; opacity: .7; }
.lead-src { display: inline-block; width: max-content; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: var(--r-pill); border: 1px solid transparent; }
.lead-src.ig { background: #FBE7F3; color: #9D2267; } .lead-src.fb { background: #E6EEFB; color: #1E4FA3; } .lead-src.wa { background: #E3F4EA; color: #1B7F4D; }
.lead-src.web { background: var(--accent-soft); color: var(--accent); } .lead-src.man { background: var(--surface-alt); color: var(--ink-muted); border-color: var(--border); } .lead-src.imp { background: #FDF1DC; color: #9A5B00; }
@media (max-width: 560px) { .funnel { grid-template-columns: 1fr 1fr; } }

.channels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.channels .lead-src { font-size: 12px; padding: 4px 10px; }
.compact-checks { margin-top: 22px; }
.compact-checks li { font-size: 14.5px; }

/* Funciones de la etapa como iconos con nombre */
.icon-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 22px; }
.icon-row li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.icon-row li svg, .icon-row li .ms {width: 20px; height: 20px; flex: none; color: var(--accent); background: var(--accent-soft); border-radius: var(--r-sm); padding: 4px; box-sizing: content-box;  font-size: 20px; }
@media (max-width: 480px) { .icon-row { grid-template-columns: 1fr; } }

/* Beneficios por etapa: resultado + tres consecuencias con su prueba */
.benefits { display: grid; gap: 14px; margin-top: 22px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; }
.benefits li svg, .benefits li .ms {width: 20px; height: 20px; flex: none; color: var(--accent); background: var(--accent-soft); border-radius: 50%; padding: 8px; box-sizing: content-box;  font-size: 20px; }
.benefits strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.benefits small { display: block; font-size: 13px; color: var(--ink-muted); margin-top: 2px; }

/* Teléfono con WhatsApp abierto (mockup) */
.iphone { width: 320px; margin: 0 auto; background: #0B0B0F; border-radius: 44px; padding: 10px; box-shadow: 0 30px 80px -36px rgba(30, 27, 75, .5); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #111; }
.ip-screen { border-radius: 34px; overflow: hidden; background: #F6F6F6; display: flex; flex-direction: column; }
.ip-status { position: relative; display: flex; justify-content: space-between; align-items: center; background: #F6F6F6; padding: 12px 22px 4px; font-size: 13px; font-weight: 600; color: #111; }
.ip-island { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 96px; height: 26px; background: #0B0B0F; border-radius: 20px; }
.ip-icons { font-size: 11px; letter-spacing: -1px; }
.wa-head { display: flex; align-items: center; gap: 10px; background: #F6F6F6; padding: 8px 12px 10px; border-bottom: 1px solid #E2E2E2; }
.wa-back { font-size: 26px; line-height: 1; color: #007AFF; margin-right: -2px; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.wa-who { flex: 1; line-height: 1.15; } .wa-who b { display: block; font-size: 15px; } .wa-who small { font-size: 11px; color: #6B6B6B; }
.wa-actions { font-size: 16px; color: #007AFF; letter-spacing: 4px; }
.wa-body { background: #EFEAE2; padding: 12px 10px 14px; display: grid; gap: 8px; min-height: 300px; }
.wa-day { text-align: center; font-size: 11.5px; line-height: 1.3; max-width: 86%; color: #5B5B5B; background: #FFFFFFB8; border-radius: 8px; padding: 4px 10px; justify-self: center; }
.wa-msg { position: relative; max-width: 86%; padding: 8px 10px 16px; border-radius: 10px; font-size: 13.5px; line-height: 1.35; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-msg.in { border-top-left-radius: 2px; justify-self: start; }
.wa-msg.out { background: #DCF8C6; border-top-right-radius: 2px; justify-self: end; min-width: 56px; }
.wa-msg a { color: #027EB5; text-decoration: underline; }
.wa-time { position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: #7A7A7A; }
.wa-input { display: flex; align-items: center; gap: 8px; background: #F6F6F6; padding: 8px 12px; font-size: 18px; color: #007AFF; }
.wa-input div { flex: 1; background: #fff; border: 1px solid #DADADA; border-radius: 18px; padding: 6px 12px; font-size: 13px; color: #9A9A9A; }
.ip-home { height: 5px; width: 120px; margin: 8px auto 2px; background: #111; border-radius: 3px; background: #F6F6F6; }
.ip-home::after { content: ""; display: block; height: 5px; width: 120px; border-radius: 3px; background: #111; }
.iphone .ip-home { background: #F6F6F6; width: auto; margin: 0; padding: 8px 0 10px; display: grid; place-items: center; height: auto; }
.wa-input svg, .wa-input .ms {width: 22px; height: 22px; color: #555;  font-size: 22px; }

/* Otros módulos */
.feat-grid.mods { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .feat-grid.mods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid.mods { grid-template-columns: 1fr; } }

/* Comparativa: icono por fila y celdas cortas */
.cmp-what { display: flex; gap: 12px; align-items: flex-start; }
.cmp-what svg, .cmp-what .ms {width: 18px; height: 18px; flex: none; color: var(--accent); background: var(--accent-soft); border-radius: var(--r-sm); padding: 6px; box-sizing: content-box;  font-size: 18px; }
.cmp-what small { display: block; font-weight: 400; color: var(--ink-muted); margin-top: 2px; }
.cmp td { padding: 14px 16px; }
.cmp td:first-child { font-weight: 600; width: 40%; }
.mark { font-weight: 600; white-space: nowrap; }
.cmp-brand { height: 22px; width: auto; display: block; }
.cmp-what { align-items: center; }
.cmp thead th { vertical-align: middle; }

/* «Un <herramienta> <carencia>.» escrito en vivo */
.cmp-rot { min-height: 28px; }
.cmp-rot .cr-tool { color: var(--ink); font-weight: 600; }
.cmp-rot .cr-gap { color: var(--ink-muted); }
.cmp-rot .cr-gap::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 2px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
.cmp-yes { margin-top: 4px; font-size: 22px; font-weight: 700; color: var(--accent); }
.rot-static { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .cmp-rot { display: none; }
  #comparativa .rot-static { position: static; width: auto; height: auto; clip: auto; white-space: normal; font-size: 18px; color: var(--ink-muted); margin-top: 16px; }
}

/* Seguridad: foto de fondo con desplazamiento lento (parallax) y velo Noche */
.parallax { position: relative; color: #FFFFFF; background: #15132F url("img/seguridad.jpg") center / cover no-repeat; background-attachment: fixed; isolation: isolate; }
.parallax::before { content: ""; position: absolute; inset: 0; background: rgba(21, 19, 47, .84); z-index: -1; }
.parallax .kicker { color: #B3AEFF; }
.parallax h2 { color: #FFFFFF; }
.parallax .trust { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.parallax .trust svg, .parallax .trust .ms {color: #B3AEFF; }
.parallax .trust h3 { color: #FFFFFF; }
.parallax .trust p { color: #C9C6E2; }
@media (max-width: 980px), (prefers-reduced-motion: reduce) { .parallax { background-attachment: scroll; } }
.plan-total { font-size: 14px; color: var(--ink-muted); margin-top: -4px; padding: 10px 12px; background: var(--surface-alt); border-radius: var(--r-sm); }
.plan-total b { color: var(--ink); font-size: 16px; }

/* Contador de usuarios */
.calc-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 6px; }
.calc-row label { font-weight: 600; font-size: 16px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-pill); overflow: hidden; background: var(--surface); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; color: var(--accent); }
.stepper button:hover { background: var(--accent-soft); }
.stepper button svg, .stepper button .ms {width: 18px; height: 18px;  font-size: 18px; }
.stepper input { width: 64px; height: 44px; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font: inherit; font-size: 18px; font-weight: 700; color: var(--ink); background: var(--surface); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: var(--accent-soft); }
.addons-head { margin-top: 40px; }
.addons-head .kicker { margin-bottom: 4px; }
.addons { margin-top: 14px; }

/* Complementos: icono · descripción · precio */
.addon { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.addon-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.addon-icon svg, .addon-icon .ms {width: 24px; height: 24px;  font-size: 24px; }
.addon-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.addon-body p { font-size: 14px; color: var(--ink-muted); line-height: 1.4; }
.addon-body .addon-note { font-size: 12px; margin-top: 6px; }
.addon-price { text-align: right; padding-left: 18px; border-left: 1px solid var(--border); line-height: 1.1; white-space: nowrap; }
.addon-price b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.addon-price span { display: block; font-size: 12px; font-weight: 600; color: var(--ink-muted); margin-top: 3px; }
.addon-price small { display: block; font-size: 11px; color: var(--ink-muted); margin-top: 2px; }
@media (max-width: 560px) { .addon { grid-template-columns: 44px 1fr; } .addon-price { grid-column: 2; text-align: left; border-left: 0; padding-left: 0; } }
.feat-grid.mods .feat.main h4 { font-size: 17px; }
.feat-grid.mods .feat.main { border-color: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent-soft); }

/* Aparición al hacer scroll: los bloques entran con un leve desplazamiento cuando llegan a la vista */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Iconos: Material Symbols Rounded (Google Fonts). El tamaño lo da font-size = ancho del svg que sustituye. */
.ms { font-family: 'Material Symbols Rounded'; font-weight: 400; font-style: normal; font-size: 20px; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; word-wrap: normal; direction: ltr; display: inline-block; width: 1em; height: 1em; overflow: hidden; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; user-select: none; }
.ms.fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.hc-check .ms, .plan li .ms, .checks .ms, .pain .fix .ms { font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 24; }

/* ===== Móvil: menú, situaciones, embudo, comparativa ===== */
body { overflow-x: clip; }
@media (max-width: 980px) {
  .nav { height: auto; min-height: 68px; flex-wrap: wrap; row-gap: 0; }
  .nav .brand { flex: 1; }
}
@media (max-width: 760px) {
  .hero { padding: 40px 0 28px; }
  .hero .lede { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .hero-for { font-size: 18px; }
  .hc-nav { flex-wrap: wrap; justify-content: center; overflow: visible; padding: 14px 12px 4px; gap: 6px; }
  .hc-nav button { padding: 8px 11px; font-size: 13px; min-width: 0; }
  .hc-panel.active { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 20px 18px 24px; }
  .hc-hoy, .hc-con { font-size: 22px; }
  .hc-visual { max-width: 100%; overflow: hidden; }
  .chat.mini .b { max-width: 100%; }
  .hc-stage { min-height: 0; }
  .funnel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px; min-height: 0; }
  .funnel .col h5 { font-size: 9.5px; }
  .funnel .col h5 span { display: none; }
  .lead-card { padding: 7px 8px; font-size: 11px; gap: 3px; }
  .lead-card b { font-size: 11px; }
  .lead-card small, .lead-card em { display: none; }
  .lead-card:nth-child(n+4) { display: none; }
  .lead-src { font-size: 9px; padding: 1px 6px; }
  /* Comparativa: cada fila = título + tira de tres celdas (columna · respuesta); de la fila 6 en adelante, «Ver más» */
  .cmp-scroll { overflow: visible; }
  .cmp { min-width: 0; display: block; }
  .cmp thead { display: none; }
  .cmp tbody { display: block; }
  .cmp tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 12px 12px 12px; border-bottom: 1px solid var(--border); }
  .cmp tr:last-child { border-bottom: 0; }
  .cmp td { padding: 0; border: 0; width: auto; }
  .cmp td:first-child { grid-column: 1 / -1; margin-bottom: 6px; width: auto; font-size: 15px; }
  .cmp-what { align-items: flex-start; gap: 10px; }
  .cmp-what svg, .cmp-what .ms { padding: 5px; }
  .cmp-what small { font-size: 12px; }
  .cmp td:not(:first-child) { display: flex; flex-direction: column; gap: 3px; padding: 8px 8px; border-radius: var(--r-sm); background: var(--surface-alt); font-size: 12px; min-width: 0; }
  .cmp td:not(:first-child)::before { content: attr(data-col); color: var(--ink-muted); font-weight: 500; font-size: 10.5px; line-height: 1.2; letter-spacing: .01em; text-transform: uppercase; }
  .cmp td:last-child { background: var(--accent-soft); }
  .cmp td:last-child::before { color: var(--accent); }
  .cmp .mark { white-space: normal; text-align: left; font-size: 12.5px; line-height: 1.25; gap: 3px; align-items: flex-start; }
  .cmp:not(.expanded) tbody tr:nth-child(n+6) { display: none; }
  .cmp-more { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 12px; padding: 13px 16px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
  .cmp-more .ms { font-size: 20px; transition: transform .15s; }
  .cmp-more[aria-expanded="true"] .ms { transform: rotate(180deg); }
  .iphone { width: min(320px, 100%); }
  .plan .amount b { font-size: 38px; }
  .trust { padding: 16px; }
}
@media (max-width: 980px) { .nav .brand { order: 1; } .nav-toggle { order: 2; margin-left: auto; } }
@media (max-width: 760px) {
  .hero-for { min-height: 52px; line-height: 1.4; }
  .kpi:last-child { grid-column: 1 / -1; }
  /* Etapas: se desplazan a los lados; el degradado avisa que hay más */
  .stage-nav { scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 40px; }
  .stage-nav::-webkit-scrollbar { display: none; }
  .stage-nav button { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  /* En móvil sobra el aviso de «sigue abajo»: el contenido continúa a la vista */
  .hero-cue { display: none; }
  .hero { padding-bottom: 28px; }
  section { padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 760px) { .section-head { margin-bottom: 28px; } }

/* Pantalla de inicio del hero: en móvil no se muestra */
@media (max-width: 760px) { .hero-grid > .shot { display: none; } }

/* Módulos en móvil: los cuatro que más venden a la vista; el resto detrás de «Ver más» */
.mods-more { display: none; }
@media (max-width: 760px) {
  .mods:not(.expanded) .feat:not(.top) { display: none; }
  .mods-more { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 14px; padding: 13px 16px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
  .mods-more .ms { font-size: 20px; transition: transform .15s; }
  .mods-more[aria-expanded="true"] .ms { transform: rotate(180deg); }
}

/* Comparativa: el botón «Ver más» solo existe en móvil */
@media (min-width: 761px) { .cmp-more { display: none; } }

/* Contacto: campo trampa invisible y estado «recibido» */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form { position: relative; }
.form-ok { text-align: center; padding: 40px 24px; }
.form-ok .ok-ico { justify-self: center; font-size: 44px; color: var(--ok); margin-bottom: 12px; font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48; }
.form-ok h3 { font-size: 22px; margin-bottom: 8px; }
.form-ok p { color: var(--ink-muted); max-width: 420px; margin: 0 auto; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #B42318; }
.form input[aria-invalid="true"]:focus { outline-color: #B42318; }
.form .field-error { font-size: 13px; font-weight: 500; color: #B42318; }
.form-alert { display: grid; gap: 6px; justify-items: start; padding: 14px 16px; border: 1px solid #F3C7C3; border-radius: var(--r-sm); background: #FEF3F2; color: var(--ink); font-size: 14px; }
.form-alert strong { color: #B42318; }
.form-alert p { margin: 0; color: var(--ink-muted); }
.form-alert .btn { margin-top: 4px; }
