/* ChecaApp: portada "Claro y limpio". Un solo momento fuerte (el verificador); lo demás, calma y orden. */

:root {
  --bg: #f8fafc;
  --sky: #e0f2fe;
  --tint: #eef6fb;
  --ink: #0f172a;
  --ink-2: #475569;
  --line: #d5e2ec;
  --action: #0369a1;
  --action-hover: #075985;
  --brand: #0ea5e9;
  --emerald: #10b981;
  --emerald-ink: #047857;
  --emerald-soft: #d1fae5;
  --amber-soft: #fef3c7;
  --amber-ink: #92400e;
  --indigo: #4f46e5;
  --slate: #0f172a;
  --text-muted: #475569;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 Gabarito, system-ui, sans-serif; overflow-x: clip; accent-color: var(--action); caret-color: var(--action); }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -0.02em; font-weight: 800; }
h3 { font-size: 1.375rem; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { color: var(--action); text-underline-offset: 0.2em; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--brand); color: var(--slate); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--slate); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

/* Botones y enlaces */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.7rem 1.4rem; border: 2px solid transparent; border-radius: 12px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-sm { min-height: 44px; padding: 0.5rem 1.05rem; white-space: nowrap; }
.btn-lg { min-height: 58px; padding: 0.9rem 1.8rem; font-size: 1.1875rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-hover); }
.btn-outline, .btn-light-outline { background: transparent; border-color: var(--action); color: var(--action); }
.btn-outline:hover, .btn-light-outline:hover { background: var(--action); color: #fff; }
.btn-light { background: #fff; color: var(--slate); }
.btn-light:hover { background: var(--sky); }
.btn-whatsapp { background: var(--emerald-ink); color: #fff; }
.btn-whatsapp:hover { background: #065f46; }
.text-link { font-weight: 600; display: inline-block; padding: 0.6rem 0; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Navegación */
.navbar { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-container { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand-logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-wordmark { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.brand-wordmark span { color: #0f766e; }
.desktop-nav { display: flex; gap: 1.35rem; margin-left: auto; }
.desktop-nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 0.7rem 0; white-space: nowrap; }
.desktop-nav a:hover { color: var(--action); text-decoration: underline; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.btn-dark { background: var(--slate); color: #fff; }
.btn-dark:hover { background: var(--indigo); }
.nav-login { gap: 0.5rem; }
.nav-login svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mobile-menu-btn { display: none; width: 48px; height: 48px; padding: 10px; border: 0; background: none; cursor: pointer; }
.mobile-menu-btn svg { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.mobile-nav-drawer { padding: 0.5rem 1.25rem 1.25rem; border-top: 1px solid var(--line); }
.mobile-nav-drawer a { display: block; padding: 0.8rem 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.15rem; }
.mobile-nav-drawer a + a { border-top: 1px solid var(--line); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5.5rem); }
.hero h1 { font-size: clamp(3rem, 6.4vw, 5.5rem); line-height: 0.95; letter-spacing: -0.035em; font-weight: 800; }
.hero-anywhere { margin-top: 1.5rem; font-size: clamp(1.6rem, 2.7vw, 2.25rem); font-weight: 700; line-height: 1.12; color: var(--action); text-wrap: balance; }
.hero-lead { margin-top: 1rem; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; color: var(--ink-2); max-width: 33em; }
.hero-lead strong { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.6rem; margin-top: 2rem; }
.hero-note { margin-top: 1rem; color: var(--ink-2); }

/* Verificador */
.verifier { position: relative; display: flex; flex-direction: column; background: var(--sky); border-radius: 32px; padding: 1.25rem; transition: background-color 0.5s var(--ease); }
.verifier[data-phase='ok'] { background: #a7f3d0; }
.verifier[data-phase='fail'] { background: #fde68a; }
.verifier-top { display: flex; justify-content: space-between; gap: 0.75rem; }
.verifier-modes { flex: 1; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 14px; padding: 4px; }
.verifier-modes button { text-wrap: balance; border: 0; background: none; min-height: 44px; padding: 0.35rem 0.95rem; border-radius: 10px; font-weight: 600; cursor: pointer; line-height: 1.15; }
.verifier-modes button[aria-pressed='true'] { background: var(--slate); color: #fff; }
.verifier-pause { flex: none; width: 52px; border: 0; border-radius: 14px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.verifier-pause svg { width: 24px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.verifier .i-play, .verifier.is-paused .i-pause { display: none; }
.verifier.is-paused .i-play { display: block; }
.verifier-stage { position: relative; display: grid; place-items: center; height: clamp(300px, 33vw, 400px); margin-top: 1rem; }
.photo-frame { display: grid; place-items: center; transition: transform 0.6s var(--ease), padding 0.6s var(--ease); border-radius: 6px; }
.face { display: block; max-width: 100%; overflow: visible; }
.verifier .face { height: clamp(290px, 32vw, 385px); transition: height 0.6s var(--ease); }
.face .oval-bg { fill: #bae6fd; }
.face .shirt { fill: var(--indigo); }
.face .collar { fill: #fff; }
.face .skin { fill: #d99a6c; }
.face .skin-shade { fill: #bd7d50; }
.face .hair, .face .eye { fill: #1e1b2e; }
.face .line { fill: none; stroke: #1e1b2e; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.face .thin { stroke: #8f5731; stroke-width: 4.5; }
.face .lids { opacity: 0; }
.face .ring ellipse { fill: none; stroke-width: 12; }
.face .track { stroke: #fff; }
/* Radios intercambiados y giro de 90°: el progreso arranca arriba del óvalo */
.face .prog { rx: 152px; ry: 122px; transform: rotate(-90deg); transform-origin: 160px 168px; transform-box: view-box; stroke: var(--action); stroke-dasharray: 100 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s var(--ease), stroke 0.3s; }
[data-phase='look'] .prog { stroke-dashoffset: 72; }
[data-phase='blink'] .prog, [data-phase='wait'] .prog { stroke-dashoffset: 48; }
[data-phase='turn'] .prog { stroke-dashoffset: 25; }
[data-phase='ok'] .prog { stroke-dashoffset: 0; stroke: var(--emerald-ink); }
[data-phase='fail'] .prog { stroke-dashoffset: 48; stroke: #b45309; }
.face .features, .face .head { transition: transform 0.6s var(--ease); }
[data-phase='turn'][data-side='left'] .features { transform: translateX(-26px); }
[data-phase='turn'][data-side='right'] .features { transform: translateX(26px); }
[data-phase='turn'][data-side='left'] .head { transform: translateX(-8px) skewY(1.5deg); }
[data-phase='turn'][data-side='right'] .head { transform: translateX(8px) skewY(-1.5deg); }
[data-phase='blink'] .eyes { animation: eyes-shut 1.7s linear; }
[data-phase='blink'] .lids { animation: lids-in 1.7s linear; }
@keyframes eyes-shut { 0%, 34%, 64%, 100% { opacity: 1; } 40%, 58% { opacity: 0; } }
@keyframes lids-in { 0%, 34%, 64%, 100% { opacity: 0; } 40%, 58% { opacity: 1; } }
.verifier.is-paused .eyes, .verifier.is-paused .lids { animation-play-state: paused; }
.turn-arrow { position: absolute; top: calc(50% - 30px); width: 60px; fill: none; stroke: var(--slate); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 0.2s; }
[data-phase='turn'] .turn-arrow { opacity: 1; }
[data-side='left'] .turn-arrow { left: 4%; }
[data-side='right'] .turn-arrow { right: 4%; transform: scaleX(-1); }
.verifier[data-mode='foto'] .photo-frame { background: #fff; padding: 14px 14px 46px; transform: rotate(-5deg); box-shadow: 0 18px 34px -14px rgba(15, 23, 42, 0.4); }
.verifier[data-mode='foto'] .track { stroke: #cbd5e1; }
.verifier[data-mode='foto'] .face { height: clamp(220px, 23vw, 290px); filter: saturate(0.55); }
.verifier-status { margin-top: 1.1rem; background: #fff; border-radius: 20px; padding: 1.1rem 1.4rem; min-height: 118px; }
.verifier-title { font-size: 1.75rem; font-weight: 800; line-height: 1.15; }
.verifier-detail { color: var(--ink-2); line-height: 1.35; margin-top: 0.2rem; }
[data-phase='ok'] .verifier-title { color: var(--emerald-ink); }
[data-phase='fail'] .verifier-title { color: var(--amber-ink); }

/* Secciones */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-tint { background: var(--tint); }
.section-sky { background: var(--sky); }
.section-lead { margin-top: 0.9rem; font-size: 1.25rem; color: var(--ink-2); }
.ic-lg { width: 44px; flex: none; fill: none; stroke: var(--action); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fine { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-2); }

/* Un día */
.day { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; }
.day li { position: relative; padding: 2.4rem 1.75rem 0 0; border-top: 4px solid var(--brand); }
.day li:last-child { border-top-color: var(--emerald); padding-right: 0; }
.day li::before { content: ''; position: absolute; top: -14px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 6px solid var(--action); }
.day li:last-child::before { border-color: var(--emerald-ink); }
.day time { display: block; font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.day h3 { margin-top: 0.6rem; }
.day p { margin-top: 0.45rem; color: var(--ink-2); }
.report { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: 4.5rem; }
.report h3 { font-size: 1.875rem; }
.report-copy p { margin-top: 1rem; color: var(--ink-2); }
.report-sheet { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
.report-sheet caption { caption-side: bottom; text-align: left; padding: 0.8rem 1.2rem; color: var(--ink-2); font-size: 0.9375rem; }
.report-sheet th, .report-sheet td { text-align: left; padding: 0.95rem 1.2rem; white-space: nowrap; border-bottom: 1px solid var(--line); }
.report-sheet th { font-weight: 600; color: var(--ink-2); background: var(--bg); }
.tag { padding: 0.2rem 0.65rem; border-radius: 8px; font-weight: 600; }
.tag.ok { background: var(--emerald-soft); color: #065f46; }
.tag.wait { background: var(--amber-soft); color: var(--amber-ink); }
.tag.info { background: #e0e7ff; color: #3730a3; }

/* Kiosco o celular */
.modes { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 3rem; }
.mode h3 { margin-top: 1.6rem; font-size: 1.625rem; }
.mode p { margin-top: 0.5rem; color: var(--ink-2); max-width: 36em; }
.tablet { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1rem; height: 360px; padding: 1.5rem 2rem; background: var(--slate); color: #f8fafc; border-radius: 28px; border: 12px solid #cbd5e1; }
.tablet-face { display: grid; place-items: center; }
.tablet .face { height: 270px; }
.tablet .prog { stroke-dashoffset: 0; stroke: var(--emerald); }
.tablet .track { stroke: #334155; }
.tablet-ui b { display: block; font-size: 1.9rem; line-height: 1.1; }
.tablet-ui span { display: block; color: #cbd5e1; margin: 0.3rem 0 1.1rem; }
.tablet-ui i { display: block; font-style: normal; font-weight: 700; padding: 0.85rem 1rem; border-radius: 12px; background: var(--action); color: #fff; margin-top: 0.6rem; text-align: center; }
.tablet-ui i.alt { background: #334155; }
.phone { height: 360px; width: min(250px, 100%); margin-inline: auto; display: flex; flex-direction: column; background: #fff; border: 10px solid #cbd5e1; border-radius: 34px; overflow: hidden; text-align: center; }
.phone svg { display: block; width: 100%; flex: 1; min-height: 0; background: var(--sky); }
.phone .street { fill: none; stroke: #fff; stroke-width: 12; }
.phone .fence { fill: rgba(14, 165, 233, 0.25); stroke: var(--action); stroke-width: 3; stroke-dasharray: 7 6; }
.phone .pin { fill: var(--indigo); }
.phone .pin-dot { fill: #fff; }
.phone b { padding: 1rem 0.8rem 0; line-height: 1.2; font-size: 1.125rem; }
.phone span { padding: 0.25rem 0.8rem 1.3rem; color: var(--emerald-ink); font-weight: 600; line-height: 1.25; }
.offline { display: flex; gap: 1.25rem; align-items: center; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.offline p { max-width: 46em; font-size: 1.125rem; color: var(--ink-2); }
.offline strong { color: var(--ink); }
.industries { margin-top: 1.75rem; font-size: 1.1875rem; font-weight: 600; }

/* Geocerca */
.geo { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.geo-demo { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
#geo-map { height: 400px; background: var(--sky); z-index: 0; font-family: inherit; }
.geo-pin { border-radius: 50%; border: 4px solid #fff; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.4); }
.geo-pin-branch { background: var(--action); }
.geo-pin-person { background: var(--indigo); }
#geo-map .leaflet-tooltip { font: 600 0.9375rem Gabarito, sans-serif; color: var(--ink); }
.geo-control { padding: 1.25rem 1.5rem 1.5rem; }
.geo-control label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; }
.geo-control input { display: block; width: 100%; height: 44px; margin: 0; cursor: pointer; }
#geo-status { padding: 0.7rem 1rem; border-radius: 12px; font-weight: 600; line-height: 1.3; background: var(--amber-soft); color: var(--amber-ink); }
#geo-status[data-inside='true'] { background: var(--emerald-soft); color: #065f46; }
.geo dl { margin-top: 1.75rem; display: grid; gap: 1.15rem; }
.geo dt { font-size: 1.1875rem; font-weight: 700; line-height: 1.25; }
.geo dd { color: var(--ink-2); line-height: 1.45; }

/* Instalar */
.install { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.install-copy > p { margin: 1.2rem 0 1.6rem; font-size: 1.1875rem; }
.play-status { display: flex; gap: 1rem; margin-top: 2.2rem; align-items: flex-start; }
.play-status svg { width: 40px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; }
.play-status p { max-width: 26em; line-height: 1.45; }
.install-steps > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.25rem; padding: 1.6rem 0; border-top: 2px solid #7dcbef; }
.install-steps > div:first-child { border-top: 0; padding-top: 0.4rem; }
.install-steps ol { padding-left: 1.3rem; }
.install-steps li::marker { font-weight: 700; color: var(--action); }

/* Comparativa */
.table-wrap { margin-top: 2.5rem; }
.compare { table-layout: fixed; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1.05rem 1.25rem; border-bottom: 1px solid var(--line); line-height: 1.35; width: 26.6%; }
.compare thead td { width: 20%; }
.compare tbody th { font-weight: 600; padding-left: 0; width: 20%; }
.compare thead th { font-size: 1.1875rem; font-weight: 700; vertical-align: bottom; }
.compare td { color: var(--ink-2); }
.compare .is-bad { background: #fef2f2; }
.v { position: relative; display: block; padding-left: 1.9rem; }
.v::before { content: ''; position: absolute; left: 0; top: 0.1em; width: 1.25rem; height: 1.25rem; background: currentColor; mask: var(--icon) center / contain no-repeat; -webkit-mask: var(--icon) center / contain no-repeat; }
.v-ok { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12.5 5 5L20 7'/%3E%3C/svg%3E"); }
.v-bad { color: #b91c1c; font-weight: 600; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.v-warn { color: var(--amber-ink); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 21h20ZM12 10v5M12 18h.01'/%3E%3C/svg%3E"); }
.us .v-ok::before { background: var(--emerald-ink); }
.compare .us { background: var(--sky); color: var(--ink); font-weight: 600; }
.compare thead .us { border-radius: 16px 16px 0 0; font-size: 1.5rem; font-weight: 800; }
.compare tbody tr:last-child .us { border-radius: 0 0 16px 16px; border-bottom: 0; }

/* Seguridad */
.section-slate { background: var(--slate); color: #fff; }
.security { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.security-head p { margin-top: 1.1rem; font-size: 1.1875rem; color: #cbd5e1; }
.vault { width: 112px; margin-bottom: 1.5rem; fill: none; stroke-width: 11; stroke-linecap: round; }
.vault .v-arc { stroke: #cbd5e1; }
.vault .v-body { fill: var(--emerald); }
.vault .v-hole { fill: var(--slate); }
.vault .v-key { stroke: var(--slate); stroke-width: 9; }
.security dl { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.security dt { font-size: 1.25rem; font-weight: 700; line-height: 1.25; color: #6ee7b7; }
.security dd { margin-top: 0.35rem; color: #e2e8f0; line-height: 1.5; }
.security dl > :first-child { grid-column: 1 / -1; }
.security dl > :first-child dt { font-size: 1.875rem; }
.security dl > :first-child dd { font-size: 1.1875rem; max-width: 34em; }

/* Lo que no hace */
.limits dl { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem clamp(2rem, 6vw, 6rem); margin: 2.75rem 0 1.75rem; }
.limits dt { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.limits dd { margin-top: 0.4rem; color: var(--ink-2); max-width: 34em; }

/* Precios */
#precios { background: var(--bg); }
.section-header p { margin-top: 1rem; font-size: 1.1875rem; color: var(--ink-2); max-width: 42em; }
.section-header strong { color: var(--ink); }
.pricing-calculator-container { --pad: clamp(1.1rem, 4vw, 2.75rem); margin-top: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; padding: 0 var(--pad) 2.25rem; }
.calc-offer-bar { margin-inline: calc(var(--pad) * -1); padding: 0.8rem 1.5rem; background: var(--emerald-soft); color: #065f46; font-weight: 600; text-align: center; line-height: 1.35; }
.calc-heading { font-size: 1.875rem; margin-top: 2rem; }
.calc-lead { color: var(--ink-2); margin-top: 0.4rem; }
.calc-tiers-banner { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; margin-top: 1.6rem; }
.tier-pill { display: block; text-align: left; padding: 0.85rem 0.7rem; background: var(--bg); border: 2px solid var(--line); border-radius: 12px; cursor: pointer; line-height: 1.3; }
.tier-pill:hover { border-color: var(--action); }
.tier-pill.active { border-color: var(--action); background: var(--sky); }
.tier-pill span { display: block; }
.tier-rate { font-weight: 700; }
.tier-tag, .tier-discount-val { font-size: 0.9375rem; color: var(--ink-2); }
.tier-pill .tier-discount-val { color: var(--emerald-ink); font-weight: 600; }
.calc-controls-panel { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: center; margin-top: 2rem; }
.calc-manual-label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.calc-stepper-wrap { display: inline-flex; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; }
.calc-stepper-btn { width: 52px; height: 52px; border: 0; background: var(--bg); font-size: 1.5rem; cursor: pointer; }
.calc-stepper-btn:hover { background: var(--sky); }
.calc-stepper-wrap :focus-visible { outline-offset: -3px; }
.calc-num-field { width: 90px; border: 0; text-align: center; font-size: 1.375rem; font-weight: 700; appearance: textfield; background: #fff; }
.calc-num-field::-webkit-inner-spin-button { display: none; }
.calc-slider { display: block; width: 100%; height: 10px; border-radius: 5px; appearance: none; background: var(--line); cursor: pointer; margin: 1rem 0; }
.calc-slider::-webkit-slider-thumb { appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 7px solid var(--action); }
.calc-slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 7px solid var(--action); }
.slider-labels { position: relative; height: 52px; }
.slider-tick-label { position: absolute; left: calc(15px + (100% - 30px) * var(--at)); transform: translateX(-50%); min-width: 44px; min-height: 48px; padding: 0; border: 0; background: none; font-size: 0.9375rem; line-height: 1.2; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.slider-tick-label b { display: block; color: var(--ink); font-size: 1.0625rem; }
.slider-tick-label:hover b { color: var(--action); }
.calc-presets-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.presets-label { color: var(--ink-2); }
.preset-pill { min-height: 44px; padding: 0.3rem 1rem; border: 2px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; }
.preset-pill:hover, .preset-pill.active { border-color: var(--action); color: var(--action); }
.calc-result-box { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; margin-top: 2rem; border-top: 1px solid var(--line); }
.calc-stat-item { padding: 1.5rem 1rem 1.5rem 0; }
.calc-stat-label, .calc-sub-stat { color: var(--ink-2); line-height: 1.35; font-size: 0.975rem; }
.calc-stat-value { font-size: 1.625rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.text-discount { color: var(--emerald-ink); }
.highlight-box { padding: 1.5rem; background: var(--slate); color: #fff; border-radius: 0 0 16px 16px; }
.highlight-box .calc-stat-label, .highlight-box .calc-sub-stat { color: #cbd5e1; }
.highlight-box .calc-stat-value { font-size: 2.75rem; font-weight: 800; line-height: 1.15; }
.calc-enterprise-panel { margin-top: 1.5rem; padding: 1.6rem; background: var(--sky); border-radius: 16px; }
.calc-enterprise-panel p { margin: 0.6rem 0 1.2rem; max-width: 46em; }
.calc-incentive-banner { display: flex; gap: 0.6rem; align-items: center; margin-top: 1.5rem; color: var(--emerald-ink); line-height: 1.35; }
.calc-incentive-banner svg { flex: none; }
.calc-cta-row { margin-top: 1.4rem; }
.calc-whatsapp-bar { margin-top: 1.2rem; color: var(--ink-2); }
.pricing-cards-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3rem; border-top: 1px solid var(--line); }
.pricing-plan-card { display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem; padding: 2.25rem clamp(1.5rem, 4vw, 3.5rem) 2.25rem 0; }
.pricing-plan-card.featured { padding-inline: clamp(1.5rem, 4vw, 3.5rem) 0; }
.plan-top-strip { color: var(--emerald-ink); font-weight: 600; order: 1; margin-bottom: -0.75rem; }
.pricing-plan-card .btn { order: 2; }
.plan-title { font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.plan-sub { color: var(--ink-2); }
.plan-price-row { display: flex; align-items: baseline; gap: 0.6rem; margin: 1rem 0; }
.plan-price-num { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.plan-price-strike { font-size: 1.5rem; color: var(--ink-2); }
.plan-price-unit { color: var(--ink-2); }
.plan-features-list { list-style: none; }
.plan-features-list li { position: relative; padding: 0.3rem 0 0.3rem 2rem; }
.plan-features-list li::before { content: ''; position: absolute; left: 0.2rem; top: 0.72rem; width: 14px; height: 7px; border: solid var(--emerald-ink); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.mp-trust-card { margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.mp-trust-header { display: flex; gap: 1.75rem; align-items: center; }
.mp-logo-img { width: 120px; height: auto; flex: none; }
.mp-trust-title { font-size: 1.25rem; }
.mp-trust-sub { color: var(--ink-2); margin-top: 0.3rem; max-width: 50em; }

.pricing-cards-grid { display: block; }
.pricing-plan-card.trial { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem 2.5rem; padding: 2rem 0; }
.trial .plan-sub { max-width: 34em; }
.trial .plan-price-row { margin: 0; white-space: nowrap; }
.pricing-plan-card.featured { display: block; padding: 2.5rem clamp(1.25rem, 4vw, 2.75rem) 2.75rem; background: #fff; border: 2px solid var(--action); border-radius: 24px; }
.plan-head { display: grid; grid-template-columns: 1fr minmax(0, 340px); gap: 1.5rem 3rem; align-items: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.plan-cta .plan-top-strip { margin: 0.6rem 0 0; text-align: center; line-height: 1.35; }
.plan-groups { columns: 3; column-gap: 2.5rem; padding-top: 2rem; }
.plan-groups section { break-inside: avoid; padding-bottom: 1.9rem; }
.plan-groups h3 { font-size: 1.1875rem; color: var(--action); margin-bottom: 0.4rem; }
.plan-groups .plan-features-list li { padding: 0.2rem 0 0.2rem 1.75rem; line-height: 1.35; }
.plan-groups .plan-features-list li::before { top: 0.5rem; left: 0.1rem; }

/* A medida y preguntas */
#adaptacion { background: var(--sky); }
.adapt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.adapt p { font-size: 1.1875rem; margin-bottom: 1.6rem; }
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); position: sticky; top: 110px; }
.faq-item { border-bottom: 1px solid #c3d5e3; }
.faq-item summary { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 0; font-size: 1.1875rem; font-weight: 600; line-height: 1.3; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: 11px; height: 11px; margin: 4px 6px 0 0; border: solid var(--action); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.faq-item[open] summary::after { transform: translateY(6px) rotate(225deg); }
.faq-item summary:hover { color: var(--action); }
.faq-item p { padding-bottom: 1.5rem; color: var(--ink-2); max-width: 44em; }

/* Cierre y pie */
.closing { background: var(--slate); color: #fff; padding-block: clamp(4.5rem, 9vw, 8rem); }
.closing h2 { font-size: clamp(2.5rem, 6.4vw, 5.25rem); line-height: 1; max-width: 13em; letter-spacing: -0.03em; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.8rem; margin-top: 2.5rem; }
.closing .text-link { color: #bae6fd; }
.footer { padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.footer p { margin-top: 1rem; max-width: 26em; color: var(--ink-2); }
.footer ul { list-style: none; }
.footer li a { display: inline-block; padding: 0.35rem 0; color: var(--ink); text-decoration: none; }
.footer li a:hover { color: var(--action); text-decoration: underline; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.9375rem; }

/* Registro */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: 1rem; background: rgba(15, 23, 42, 0.6); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity 0.2s; }
.modal-overlay.active { visibility: visible; opacity: 1; }
.modal-container { position: relative; width: min(520px, 100%); margin-block: auto; background: #fff; border-radius: 24px; padding: clamp(1.4rem, 5vw, 2.25rem); box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.5); }
.modal-close-btn { position: absolute; top: 0.8rem; right: 0.8rem; width: 48px; height: 48px; border: 0; background: none; border-radius: 12px; cursor: pointer; }
.modal-close-btn:hover { background: var(--bg); }
.modal-head { margin-bottom: 1.4rem; padding-right: 2.5rem; }
.modal-head h3 { font-size: 1.75rem; margin-top: 0.75rem; }
.modal-head p { color: var(--ink-2); margin-top: 0.25rem; line-height: 1.4; }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-weight: 600; margin-bottom: 0.3rem; line-height: 1.3; }
.form-input { width: 100%; min-height: 48px; padding: 0.6rem 0.85rem; background: #fff; border: 2px solid #94a3b8; border-radius: 10px; }
.form-input:focus { outline: 3px solid #7dd3fc; outline-offset: 0; border-color: var(--action); }
.form-input::placeholder { color: #64748b; }
.modal-radio-row { display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; }
.modal-radio-opt { display: flex; align-items: center; gap: 0.5rem; min-height: 44px; cursor: pointer; }
.modal-legal-foot { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.4; }
.landing-toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 120; display: flex; gap: 0.7rem; align-items: center; width: max-content; max-width: calc(100% - 2rem); padding: 0.95rem 1.3rem; background: var(--slate); color: #fff; border-radius: 14px; visibility: hidden; transform: translate(-50%, 160%); transition: transform 0.3s var(--ease), visibility 0.3s; }
.landing-toast.active { visibility: visible; transform: translate(-50%, 0); }
.landing-toast svg { flex: none; }

/* WhatsApp flotante */
.whatsapp-floating-btn { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--emerald-ink); color: #fff; box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.5); }
.whatsapp-floating-btn:hover { background: #065f46; }
.whatsapp-floating-icon { display: grid; }
.whatsapp-floating-tooltip { display: none; position: absolute; right: 70px; white-space: nowrap; padding: 0.4rem 0.8rem; border-radius: 10px; background: var(--slate); color: #fff; font-size: 0.9375rem; }
.whatsapp-floating-btn:hover .whatsapp-floating-tooltip, .whatsapp-floating-btn:focus-visible .whatsapp-floating-tooltip { display: block; }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .nav-actions { margin-left: auto; }
  .mobile-menu-btn { display: block; }
  .calc-tiers-banner { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1181px) { .mobile-nav-drawer { display: none; } }

@media (max-width: 860px) {
  .hero, .report, .modes, .geo, .install, .adapt, .faq, .limits dl { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 1.75rem; }
  .geo-copy { order: -1; }
  .verifier-stage { height: 320px; }
  .verifier .face { height: 300px; }
  .verifier[data-mode='foto'] .face { height: 225px; }
  .faq h2 { position: static; }
  .day { grid-template-columns: 1fr; margin-left: 12px; }
  .day li { border-top: 0; border-left: 4px solid var(--brand); padding: 0 0 2.2rem 2rem; }
  .day li:last-child { border-left-color: transparent; padding-bottom: 0; }
  .day li::before { top: 8px; left: -14px; }
  .calc-controls-panel { grid-template-columns: minmax(0, 1fr); }
  .calc-result-box { grid-template-columns: 1fr 1fr; }
  .calc-stat-item:first-child { display: none; }
  .highlight-box { grid-column: 1 / -1; border-radius: 16px; }
  .security, .plan-head, .pricing-plan-card.trial { grid-template-columns: minmax(0, 1fr); }
  .plan-groups { columns: 2; }
  /* La tabla se lee por capacidad: cada fila es un bloque con las tres opciones */
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tbody th { width: auto; padding: 1.6rem 0 0.6rem; border: 0; font-size: 1.25rem; font-weight: 700; }
  .compare tbody td { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.75rem; border-radius: 12px; margin-top: 0.25rem; width: auto; padding: 0.7rem 0.9rem; border: 0; }
  .compare tbody td::before { content: attr(data-col); font-weight: 600; color: var(--ink-2); }
  .compare tbody tr .us, .compare tbody tr:last-child .us { border-radius: 12px; }
  .compare tbody td.us::before { color: var(--action-hover); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .nav-container { gap: 0.6rem; min-height: 64px; }
  .nav-actions { gap: 0.5rem; }
  .mobile-menu-btn { margin-right: -10px; }
  .nav-more, .nav-login svg { display: none; }
  .brand-wordmark { font-size: 1.3rem; }
  .hero-ctas .btn { width: 100%; }
  .verifier { padding: 0.9rem; border-radius: 24px; }
  .verifier-modes button { padding-inline: 0.4rem; font-size: 0.9375rem; }
  #geo-map { height: 300px; }
  .verifier-pause { width: 48px; }
  .tablet { height: 300px; padding: 1rem; gap: 0.75rem; }
  .tablet .face { height: 190px; }
  .tablet-ui b { font-size: 1.4rem; }
  .tablet-ui i { padding: 0.65rem 0.4rem; line-height: 1.2; }
  .install-steps > div { grid-template-columns: 1fr; gap: 0.5rem; }
  .security dl { grid-template-columns: 1fr; }
  .plan-groups { columns: 1; }
  .calc-tiers-banner { grid-template-columns: 1fr 1fr; }
  .calc-stat-value { font-size: 1.4rem; }
  .mp-trust-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .report-sheet th, .report-sheet td { padding: 0.75rem 0.45rem; font-size: 0.9375rem; }
  .report-sheet th:first-child, .report-sheet td:first-child { padding-left: 0.8rem; }
  .tag { padding-inline: 0.4rem; }
  .btn-lg { padding-inline: 1.2rem; }
  .calc-cta-row .btn { width: 100%; }
  .slider-tick-label { font-size: 0.8125rem; }
}

@media (max-width: 375px) {
  .nav-container { gap: 0.35rem; }
  .navbar .btn-sm.btn { padding-inline: 0.6rem; }
  .navbar .brand-wordmark { font-size: 1.05rem; }
}
@media (max-width: 400px) {
  .navbar .btn-sm { padding-inline: 0.8rem; }
  .navbar .brand-logo { gap: 0.4rem; }
  .navbar .brand-logo img { width: 32px; height: 32px; }
  .report-sheet th:nth-child(2), .report-sheet td:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
