/* ==========================================================================
   CloroApp — Landing v2
   Identidad: Montserrat Alternates (títulos) + Montserrat (cuerpo)
   Paleta: #0C8FB0 · #ECF7FB · #A8DCEC · #D97706 · #134E7C
   ========================================================================== */

@font-face { font-family: 'Montserrat Alternates'; src: url('../fonts/montserrat-alternates-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat Alternates'; src: url('../fonts/montserrat-alternates-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat Alternates'; src: url('../fonts/montserrat-alternates-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat Alternates'; src: url('../fonts/montserrat-alternates-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-var.woff2') format('woff2-variations'), url('../fonts/montserrat-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Marca */
  --aqua-50:  #ecf7fb;
  --aqua-100: #d6eef6;
  --aqua-200: #a8dcec;
  --aqua-300: #6fc4dc;
  --aqua-400: #2aa7c6;
  --aqua-500: #0c8fb0;
  --aqua-600: #0a7593;
  --deep-500: #134e7c;
  --deep-600: #0e3d63;
  --deep-700: #0a2e4c;
  --deep-900: #061c30;
  --orange:   #d97706;
  --orange-50:#fff6e8;

  /* Texto y superficies */
  --ink:     #0a1b2e;
  --ink-2:   #152a44;
  --ink-3:   #2b4061;
  --muted:   #5a6b82;
  --muted-2: #8897aa;
  --line:    #dce6f0;
  --line-2:  #eaf1f8;
  --bg:      #f5f9fc;
  --white:   #ffffff;

  /* Semánticos (igual que la app) */
  --success: #2e8b6f; --success-bg: #ecfdf5;
  --warn:    #d97706; --warn-bg:    #fffbeb;
  --danger:  #c24a4a; --danger-bg:  #fef2f2;

  --font-display: 'Montserrat Alternates', 'Montserrat', system-ui, sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 27, 46, .06), 0 2px 8px rgba(10, 27, 46, .04);
  --shadow: 0 2px 4px rgba(10, 27, 46, .04), 0 12px 32px -8px rgba(10, 27, 46, .12);
  --shadow-lg: 0 30px 80px -20px rgba(6, 28, 48, .35), 0 12px 24px -12px rgba(6, 28, 48, .2);
  --brand-gradient: linear-gradient(160deg, #0a2e4c 0%, #134e7c 50%, #0c8fb0 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--aqua-400); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--aqua-200); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 13px; height: 13px; stroke-width: 2.4; }
.wordmark { display: block; height: 26px; width: auto; aspect-ratio: 2107.7 / 457.5; color: currentColor; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15.5px/1 var(--font-body); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--aqua-600) 0%, var(--deep-500) 100%);
  box-shadow: 0 6px 16px -8px rgba(10, 46, 76, .55), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(10, 46, 76, .6), inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn-white { background: #fff; color: var(--deep-700); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.btn-white:hover { transform: translateY(-1px); background: var(--aqua-50); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.btn-outline { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-outline:hover { border-color: var(--aqua-300); color: var(--aqua-600); }

/* ---------- Encabezados de sección ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 112px); }
.section.ends-cta { padding-bottom: clamp(56px, 6vw, 80px); }
.section-head { max-width: 740px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: block; margin-bottom: 16px;
  font: 600 13px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-600);
}
.h2 { font-size: clamp(30px, 4.4vw, 50px); color: var(--ink); text-wrap: balance; }
.h2 em, .h1 em { font-style: italic; font-weight: 500; }
.h2 em { color: var(--aqua-500); }
.lead { margin-top: 20px; font-size: clamp(16.5px, 1.5vw, 18.5px); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.section-head.center .lead { margin-inline: auto; max-width: 640px; }

.on-dark .eyebrow { color: var(--aqua-200); }
.on-dark .h2 { color: #fff; }
.on-dark .h2 em { color: var(--aqua-200); }
.on-dark .lead { color: rgba(255, 255, 255, .72); }

/* ---------- Saltar al contenido ---------- */
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:not(:focus) { opacity: 0; pointer-events: none; }
.skip-link:focus { transform: none; opacity: 1; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  color: #fff; transition: background-color .3s, color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav-logo { display: flex; align-items: center; color: #fff; transition: color .3s; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; opacity: .85; transition: opacity .2s, background-color .2s; }
.nav-links a:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.nav-links a.active { opacity: 1; }
.nav.scrolled .nav-links a.active { color: var(--aqua-600); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-login { padding: 10px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; opacity: .9; transition: opacity .2s, background-color .2s; }
.nav-login:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.nav.scrolled .nav-login:hover { background: var(--line-2); }
.nav .btn-primary { background: #fff; color: var(--deep-700); box-shadow: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; align-items: center; justify-content: center; color: inherit; }

.nav.scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(10, 27, 46, .2);
}
.nav.scrolled .nav-logo { color: var(--aqua-500); }
.nav.scrolled .nav-links a:hover { background: var(--line-2); }
.nav.scrolled .btn-primary { background: linear-gradient(135deg, var(--aqua-600), var(--deep-500)); color: #fff; }
.nav.scrolled .nav-toggle { border-color: var(--line); }

.mobile-menu {
  position: fixed; top: calc(var(--nav-h) + 8px); left: 12px; right: 12px; z-index: 49;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 12px;
  display: none; flex-direction: column; gap: 2px;
}
.mobile-menu a:not(.btn) { padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.mobile-menu a:not(.btn):hover { background: var(--bg); }
.mobile-menu .btn { margin-top: 8px; }
.mobile-menu.open { display: flex; animation: menuIn .25s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 88px));
  padding-bottom: 88px;
  /* El oscuro también va en el propio hero: el texto blanco se lee aunque la capa decorativa no cargue */
  background: linear-gradient(to bottom, var(--deep-700) calc(100% - var(--hero-cut, 300px)), var(--bg) 0);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0 0 var(--hero-cut, 300px) 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(42, 167, 198, .55), transparent 60%),
    radial-gradient(900px 560px at -5% 30%, rgba(19, 78, 124, .95), transparent 62%),
    linear-gradient(172deg, #061c30 0%, #0a2e4c 42%, #0d567f 78%, #0c7ea0 100%);
}
.hero-bg::before { /* rejilla sutil */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero-bg::after { /* transición suave hacia el fondo claro */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(12, 126, 160, .35));
}

/* Ondas: el concepto del logo (una gota cayendo en el agua) */
.ripples { position: absolute; left: 50%; top: 250px; width: 0; height: 0; pointer-events: none; }
.ripples span {
  position: absolute; left: 0; top: 0; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(236, 247, 251, var(--o));
  width: var(--d); height: var(--d);
}
.ripples .wave {
  background: none; border: 1px solid rgba(168, 220, 236, .28);
  width: 260px; height: 260px; opacity: 0;
  animation: ripple 9s cubic-bezier(.25, .6, .3, 1) infinite;
}
.ripples .wave:nth-of-type(6) { animation-delay: 3s; }
.ripples .wave:nth-of-type(7) { animation-delay: 6s; }
@keyframes ripple {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  12%  { opacity: .7; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(5.2); }
}

.hero-copy { position: relative; text-align: center; max-width: 900px; margin-inline: auto; }
.hero-eyebrow { margin-bottom: 22px; color: var(--aqua-200); }
.h1 { font-size: clamp(38px, 6.6vw, 78px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.h1 em {
  display: inline-block; padding-right: .06em;
  background: linear-gradient(100deg, #a8dcec 0%, #ecf7fb 45%, #6fc4dc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 26px auto 0; max-width: 660px; font-size: clamp(16.5px, 1.7vw, 19.5px); line-height: 1.6; color: rgba(255, 255, 255, .78); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--aqua-200); }

/* Escenario de producto */
.hero-visual { position: relative; max-width: 1200px; margin: clamp(56px, 7vw, 80px) auto 0; padding-inline: 24px; }
.stage-wrap { position: relative; width: 100%; height: calc(640px * var(--s, 1)); }
.stage { position: absolute; top: 0; left: 0; width: 1080px; height: 640px; transform: scale(var(--s, 1)); transform-origin: top left; }
.hero-visual .stage-wrap { width: calc(100% - 90px); }
.hero-visual .phone-slot { position: absolute; right: 24px; bottom: -48px; z-index: 3; }
.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-lg); color: var(--ink); font-size: 13.5px; line-height: 1.3;
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-weight: 600; font-size: 14px; }
.float-card span { color: var(--muted); font-size: 12.5px; }
.float-card .fc-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card.fc-route { left: -8px; top: 44%; }
.float-card.fc-route .fc-icon { background: var(--aqua-50); color: var(--aqua-500); }
.float-card.fc-report { right: 200px; top: -26px; animation-delay: -3s; }
.float-card.fc-report .fc-icon { background: var(--success-bg); color: var(--success); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Mock: ventana de app (dashboard) ---------- */
.app-window {
  width: 1080px; height: 640px; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 60px 120px -30px rgba(6, 28, 48, .6), 0 0 0 1px rgba(255, 255, 255, .15), 0 0 0 8px rgba(255, 255, 255, .06);
  display: grid; grid-template-rows: 42px 1fr; color: var(--ink); font-size: 13px; line-height: 1.4;
}
.aw-bar { display: flex; align-items: center; gap: 16px; padding: 0 16px; background: #eef3f8; border-bottom: 1px solid var(--line); }
.aw-dots { display: flex; gap: 7px; }
.aw-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d3dde8; }
.aw-dots i:nth-child(1) { background: #f4a19a; } .aw-dots i:nth-child(2) { background: #f5cf7a; } .aw-dots i:nth-child(3) { background: #8fd3a8; }
.aw-url { flex: 0 1 380px; margin-inline: auto; height: 26px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); }
.aw-url .icon { width: 11px; height: 11px; color: var(--success); }
.aw-body { display: grid; grid-template-columns: 206px 1fr; min-height: 0; }
.aw-side { background: var(--deep-700); color: rgba(255, 255, 255, .6); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.aw-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 18px; color: #fff; }
.aw-brand img { width: 26px; height: 26px; border-radius: 7px; }
.aw-brand .wordmark { height: 17px; }
.aw-nav { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; font-size: 13px; }
.aw-nav .icon { width: 16px; height: 16px; stroke-width: 1.8; }
.aw-nav.active { background: rgba(255, 255, 255, .1); color: #fff; }
.aw-nav .count { margin-left: auto; font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 600; }
.aw-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--aqua-300), var(--deep-500)); flex: none; }
.aw-user b { display: block; color: #fff; font-weight: 500; font-size: 12.5px; }
.aw-user small { font-size: 11px; color: rgba(255, 255, 255, .62); }
.aw-main { background: var(--bg); display: flex; flex-direction: column; min-width: 0; }
.aw-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.aw-top h4 { font-family: var(--font-body); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.aw-top p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.aw-actions { display: flex; align-items: center; gap: 10px; }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; }
.mini-btn .icon { width: 14px; height: 14px; }
.bell { width: 34px; height: 34px; border-radius: 50%; background: var(--line-2); display: grid; place-items: center; position: relative; color: var(--ink-3); }
.bell .icon { width: 16px; height: 16px; }
.bell::after { content: ""; position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); border: 1.5px solid var(--line-2); }
.aw-content { padding: 20px 24px; display: grid; gap: 16px; min-height: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stat-label { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat-value { margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.stat-value small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.delta { font-size: 11.5px; font-weight: 600; margin-top: 2px; }
.delta.up, .delta.down { color: #1f7a5f; } .delta.warn { color: #b45309; }
.panels { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; min-height: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; }
.panel-head b { font-size: 13.5px; font-weight: 600; }
.panel-head span { font-size: 11.5px; color: var(--muted); }
.route-map { border-radius: 10px; overflow: hidden; background: #e6f2f7; height: 150px; }
.route-map svg { width: 100%; height: 100%; }
.tech-row { display: grid; grid-template-columns: 30px 1fr 110px auto; align-items: center; gap: 10px; padding: 5px 0; }
.tech-row b { font-weight: 600; font-size: 12.5px; display: block; }
.tech-row small { font-size: 11px; color: var(--muted); }
.progress { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--aqua-400), var(--aqua-500)); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.no-dot::before { display: none; }
.b-green { background: var(--success-bg); color: #1f7a5f; }
.b-aqua { background: var(--aqua-50); color: var(--aqua-600); }
.b-warn { background: var(--warn-bg); color: #b45309; }
.b-red { background: var(--danger-bg); color: var(--danger); }
.b-muted { background: var(--line-2); color: var(--muted); }

.chart { height: 108px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.alert-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 12px; }
.alert-row b { font-weight: 600; }
.alert-row small { color: var(--muted); display: block; font-size: 11px; }

/* ---------- Mock: teléfono ---------- */
.phone-slot { width: calc(250px * var(--ps, 1)); height: calc(510px * var(--ps, 1)); }
.phone {
  width: 250px; height: 510px; border-radius: 42px; padding: 9px; background: #0b1522;
  transform: scale(var(--ps, 1)); transform-origin: top left;
  box-shadow: 0 50px 90px -25px rgba(6, 28, 48, .65), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
  color: var(--ink); font-size: 12px; line-height: 1.35;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 78px; height: 22px; border-radius: 20px; background: #0b1522; z-index: 3; }
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 11px 22px 0; height: 38px; font-size: 11px; font-weight: 600; flex: none; }
.phone-status .sig { display: flex; gap: 2px; align-items: flex-end; }
.phone-status .sig i { width: 3px; background: currentColor; border-radius: 1px; }
.p-head { padding: 8px 16px 14px; }
.p-head.brand { color: #fff; background: var(--brand-gradient); padding-top: 6px; margin-top: -38px; padding-top: 44px; }
.p-kicker { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.p-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }
.p-progress { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 10.5px; opacity: .9; }
.p-progress .progress { flex: 1; background: rgba(255, 255, 255, .2); }
.p-progress .progress i { background: #fff; }
.p-body { padding: 12px 12px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; overflow: hidden; }
.stop { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.stop b { display: block; font-size: 12px; font-weight: 600; }
.stop small { font-size: 10.5px; color: var(--muted); }
.stop > .badge { margin-left: auto; }
.stop .t { margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.stop-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; border: 1.5px solid var(--aqua-200); color: var(--aqua-600); background: #fff; }
.stop.done { background: #fbfdfe; }
.stop.done .stop-dot { background: var(--success); border-color: var(--success); color: #fff; }
.stop.current { border-color: var(--aqua-300); box-shadow: 0 0 0 3px var(--aqua-50); }
.stop.current .stop-dot { background: var(--aqua-500); border-color: var(--aqua-500); color: #fff; }
.p-tabbar { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 8px 16px; background: #fff; border-top: 1px solid var(--line); flex: none; }
.p-tabbar span { display: grid; justify-items: center; gap: 3px; font-size: 9.5px; color: var(--muted); font-weight: 500; }
.p-tabbar span.active { color: var(--aqua-600); font-weight: 600; }
.p-tabbar .icon { width: 18px; height: 18px; }
.p-btn { margin: 10px 12px 14px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 600; font-size: 12.5px; background: linear-gradient(135deg, var(--aqua-500), var(--deep-500)); flex: none; }
.p-btn .icon { width: 15px; height: 15px; }
.p-back { display: flex; align-items: center; gap: 8px; }
.p-back .icon { width: 16px; height: 16px; }
.measures { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.measure { padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.measure small { font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.measure b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-top: 2px; }
.measure b small { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 10.5px; }
.measure .ok { color: var(--success); font-size: 10px; font-weight: 600; }
.checklist { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 10px; }
.check-item { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 11.5px; border-bottom: 1px solid var(--line-2); }
.check-item:last-child { border-bottom: 0; }
.check-box { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; }
.check-item.on .check-box { background: var(--aqua-500); border-color: var(--aqua-500); color: #fff; }
.check-item.on span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--muted-2); }
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; flex: none; }
.photos i { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(145deg, #7fd0e6, #1a8fb3 60%, #0e5b82); position: relative; overflow: hidden; }
.photos i::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .0) 0 10px, rgba(255, 255, 255, .18) 10px 12px); }
.photos i:last-child { background: var(--line-2); display: grid; place-items: center; color: var(--muted); }
.photos i:last-child::after { display: none; }
.lang-pills { display: flex; gap: 6px; margin-top: 12px; }
.lang-pills span { padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 600; background: rgba(255, 255, 255, .14); }
.lang-pills span.on { background: #fff; color: var(--deep-700); }
.report-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.report-card .rc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.report-card .rc-head b { font-size: 12.5px; }
.report-card .rc-head small { font-size: 10px; color: var(--muted); font-weight: 600; }
.rc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rc-metrics div { background: var(--bg); border-radius: 10px; padding: 8px; text-align: center; }
.rc-metrics small { display: block; font-size: 9.5px; color: var(--muted); }
.rc-metrics b { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.p-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-actions span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 12px; font-size: 11px; font-weight: 600; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.p-actions span:first-child { background: var(--aqua-500); color: #fff; border-color: var(--aqua-500); }
.p-actions .icon { width: 14px; height: 14px; }

/* ---------- Franja de confianza ---------- */
.trust { padding: clamp(16px, 3vw, 32px) 0 0; }
#problema { padding-top: clamp(64px, 8vw, 104px); }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-3); }
.trust-list .icon { color: var(--aqua-500); width: 22px; height: 22px; }

/* ---------- Dolor → solución ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 20px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bubble { align-self: flex-start; position: relative; max-width: 92%; padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: var(--line-2); color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.45; }
.bubble-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: -8px; }
.bubble-meta .icon { width: 15px; height: 15px; }
.pain-card hr { border: 0; border-top: 1px dashed var(--line); margin: 0; }
.fix { display: flex; gap: 12px; align-items: flex-start; }
.fix-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, var(--aqua-400), var(--deep-500)); }
.fix-icon .icon { width: 18px; height: 18px; }
.fix b { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 2px; }
.fix p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Tour de producto (pestañas) ---------- */
.tour { background: #fff; border-block: 1px solid var(--line); }
.tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); width: max-content; max-width: 100%; margin: 0 auto 48px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: 14.5px; color: var(--muted); white-space: nowrap; transition: color .2s, background-color .2s, box-shadow .2s; }
.tab .icon { width: 18px; height: 18px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--aqua-600); box-shadow: 0 1px 2px rgba(10, 27, 46, .08), 0 4px 14px -4px rgba(10, 27, 46, .12); }
.tab-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel.entering .tp-copy, .tab-panel.entering .tp-visual { animation: panelIn .55s var(--ease) both; }
.tab-panel.entering .tp-visual { animation-delay: .06s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.tp-copy .eyebrow { margin-bottom: 12px; }
.tp-copy h3 { font-size: clamp(26px, 3vw, 36px); text-wrap: balance; }
.tp-copy > p { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.ticks { margin-top: 26px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink-2); }
.tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua-50); color: var(--aqua-500); flex: none; margin-top: 1px; }
.tp-visual {
  position: relative; border-radius: 28px; padding: clamp(24px, 4vw, 48px); min-height: 460px;
  display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, var(--aqua-100) 0%, var(--aqua-50) 45%, #f4fafd 100%);
  border: 1px solid var(--aqua-100);
}
.tp-visual > * { position: relative; }
.card-ui { width: 100%; max-width: 520px; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px; font-size: 13px; }
.card-ui .cu-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-ui .cu-head b { display: block; font-size: 15px; font-weight: 600; }
.card-ui .cu-head small { color: var(--muted); font-size: 12px; }
.chip-float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff;
  box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--ink-2); animation: bob 6s ease-in-out infinite;
}
.chip-float .icon { width: 16px; height: 16px; }
.chip-float.green .icon { color: var(--success); }
.chip-float.aqua .icon { color: var(--aqua-500); }
.chip-float.orange .icon { color: var(--orange); }

.big-map { border-radius: 12px; overflow: hidden; background: #e6f2f7; aspect-ratio: 520 / 270; }
.big-map svg { width: 100%; height: 100%; }
.stop-list { margin-top: 12px; display: grid; gap: 6px; }
.stop-list .stop { border-radius: 12px; padding: 8px 10px; }

.metric-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric-tile { border-radius: 12px; background: var(--bg); padding: 12px; }
.metric-tile small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.metric-tile b { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.metric-tile b span { font-family: var(--font-body); font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 3px; letter-spacing: 0; }
.metric-tile .badge { margin-top: 4px; }
.big-chart { margin-top: 14px; border-radius: 12px; border: 1px solid var(--line-2); padding: 12px 12px 6px; }
.big-chart .bc-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.big-chart .bc-head b { color: var(--ink); font-weight: 600; }
.big-chart svg { width: 100%; height: 130px; overflow: visible; }

.invoice { max-width: 440px; }
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.inv-top .inv-no { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.inv-top h5 { margin: 4px 0 0; font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.inv-top .wordmark { height: 18px; color: var(--aqua-500); }
.inv-to { font-size: 12px; color: var(--muted); margin: 12px 0; }
.inv-to b { color: var(--ink); font-weight: 600; }
.inv-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.inv-line span:last-child { font-variant-numeric: tabular-nums; font-weight: 500; }
.inv-line.muted { color: var(--muted); }
.inv-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; }
.inv-total span { font-size: 13px; color: var(--muted); }
.inv-total b { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.inv-foot { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.inv-actions { display: flex; gap: 6px; }
.inv-actions span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.inv-actions .icon { width: 13px; height: 13px; }

/* ---------- Perfiles ---------- */
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.role-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--aqua-600); background: var(--aqua-50); margin-bottom: 22px; }
.role-icon .icon { width: 24px; height: 24px; }
.role-where { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.role h3 { font-size: 26px; margin-top: 6px; }
.role > p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.role .ticks { margin-top: 22px; gap: 11px; font-size: 14.5px; }
.role.featured { background: var(--brand-gradient); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.role.featured .role-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.role.featured .role-where { color: var(--aqua-200); }
.role.featured > p { color: rgba(255, 255, 255, .75); }
.role.featured .ticks li { color: #fff; }
.role.featured .tick { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 26px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s, box-shadow .3s; }
.tile:hover { border-color: var(--aqua-200); box-shadow: var(--shadow); }
.tile-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--aqua-50); color: var(--aqua-500); }
.tile h3 { font-size: 19px; margin-top: 22px; }
.tile-new { display: block; margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-600); }
.tile-new + h3 { margin-top: 4px; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.tile.t-big { grid-column: span 2; grid-row: span 2; background: var(--brand-gradient); color: #fff; border: 0; padding: 34px; }
.tile.t-big h3 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 0; }
.tile.t-big p { color: rgba(255, 255, 255, .75); font-size: 16px; max-width: 420px; }
.tile.t-big .tile-icon { background: rgba(255, 255, 255, .14); color: #fff; margin-bottom: 22px; }
.sync-demo { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; max-width: 420px; }
.sync-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sync-row .avatar { width: 28px; height: 28px; font-size: 10.5px; background: rgba(255, 255, 255, .18); }
.sync-row .state { margin-left: auto; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.state.pending { background: rgba(217, 119, 6, .22); color: #fcd9a4; }
.state.synced { background: rgba(46, 139, 111, .28); color: #b6f0d9; }
.tile.t-lang { grid-column: span 2; }
.lang-demo { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.lang-demo span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; }
.lang-demo b { font-size: 11px; font-weight: 700; color: var(--aqua-600); letter-spacing: .06em; }

/* ---------- Comparativa ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.compare thead th { font-family: var(--font-display); font-size: 16px; font-weight: 600; padding-block: 22px; background: var(--bg); }
.compare thead th small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 2px; letter-spacing: 0; }
.compare tbody th { font-weight: 500; color: var(--ink-2); width: 34%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td { color: var(--muted); width: 22%; }
.compare .col-us { background: linear-gradient(180deg, var(--aqua-50), #f3fafd); color: var(--ink); font-weight: 600; }
.compare thead .col-us { background: var(--deep-700); color: #fff; }
.compare thead .col-us .wordmark { height: 20px; color: #fff; }
.compare thead .col-us small { color: var(--aqua-200); }
.yes, .no, .meh { display: inline-flex; align-items: center; gap: 8px; }
.yes .icon { color: var(--success); } .no .icon { color: var(--danger); } .meh .icon { color: var(--warn); }

/* ---------- Pasos ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 34px; z-index: 0; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--aqua-200) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #fff; background: var(--aqua-500); box-shadow: 0 10px 24px -10px rgba(12, 143, 176, .7); border: 6px solid var(--bg); }
.step h3 { font-size: 19px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.step .time { display: block; margin-top: 10px; color: var(--aqua-600); font-size: 13px; font-weight: 600; letter-spacing: .02em; }

/* ---------- Calculadora ROI ---------- */
.roi { background: var(--deep-900); color: #fff; overflow: hidden; isolation: isolate; }
.roi::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 500px at 90% 10%, rgba(12, 143, 176, .45), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(19, 78, 124, .8), transparent 60%); }
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.roi-card { border-radius: 28px; padding: clamp(24px, 4vw, 40px); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.control + .control { margin-top: 26px; }
.control-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.control-top output { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: #fff; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--aqua-300) 0 var(--p, 50%), rgba(255, 255, 255, .15) var(--p, 50%) 100%); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--aqua-400); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--aqua-400); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); cursor: grab; }
.roi-result { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.roi-result small { font-size: 14px; color: rgba(255, 255, 255, .7); }
.roi-big { font-family: var(--font-display); font-size: clamp(44px, 6vw, 68px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin-top: 4px; background: linear-gradient(100deg, #fff, var(--aqua-200)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.roi-big .unit { font-size: .42em; letter-spacing: 0; }
.roi-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.roi-extra div { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); }
.roi-extra b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.roi-extra span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.roi-cta { width: 100%; margin-top: 22px; }
.roi-note { margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.roi-copy .ticks li { color: rgba(255, 255, 255, .88); }
.roi-copy .tick { background: rgba(255, 255, 255, .12); color: var(--aqua-200); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 32px); }
.contact-card { margin-top: 32px; display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.contact-card .fix-icon { width: 44px; height: 44px; border-radius: 14px; }
.contact-card b { display: block; font-weight: 600; }
.contact-card a { color: var(--aqua-600); font-weight: 600; font-size: 14.5px; }
.contact-card a:hover { text-decoration: underline; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--aqua-200); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 16.5px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--aqua-600); flex: none; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--aqua-50); }
.faq details p { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* ---------- CTA + formulario ---------- */
.signup-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border-radius: 32px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.signup-side { position: relative; overflow: hidden; isolation: isolate; padding: clamp(32px, 5vw, 56px); background: var(--brand-gradient); color: #fff; display: flex; flex-direction: column; }
.signup-side .ripples { top: auto; bottom: 0; left: 100%; }
.signup-side .ripples span:not(.wave) { opacity: .8; }
.signup-side .h2 { font-size: clamp(30px, 3.6vw, 44px); }
.perks { margin-top: 32px; display: grid; gap: 20px; }
.perk { display: flex; gap: 14px; }
.perk-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .14); color: #fff; }
.perk b { display: block; font-weight: 600; font-size: 16px; }
.perk p { font-size: 14.5px; color: rgba(255, 255, 255, .72); margin-top: 2px; }
.signup-promise { margin-top: auto; padding-top: 36px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.signup-promise .live { width: 10px; height: 10px; border-radius: 50%; background: #5ee0b0; box-shadow: 0 0 0 0 rgba(94, 224, 176, .6); animation: live 2s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(94, 224, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 224, 176, 0); } }

.signup-form { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.signup-form h3 { font-size: 24px; }
.signup-form form > p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.form-grid { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--bg);
  font-size: 15.5px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6b82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input::placeholder { color: var(--muted-2); }
.field input:hover, .field select:hover { border-color: var(--aqua-200); }
.field input:focus, .field select:focus { outline: none; border-color: var(--aqua-500); background: #fff; box-shadow: 0 0 0 4px rgba(12, 143, 176, .14); }
.field input[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--aqua-500); flex: none; margin-top: 1px; }
.consent a { color: var(--aqua-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-error { grid-column: 1 / -1; display: none; padding: 12px 14px; border-radius: 12px; background: var(--danger-bg); color: var(--danger); font-size: 14px; font-weight: 500; }
.form-error.show { display: block; }
.submit { grid-column: 1 / -1; width: 100%; height: 56px; font-size: 16px; }
.submit[disabled] { opacity: .75; cursor: progress; transform: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); }
.form-foot .icon { width: 15px; height: 15px; color: var(--success); }
.success { display: none; text-align: center; padding: 40px 12px; }
.success.show { display: block; animation: panelIn .5s var(--ease); }
.success-icon { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--success); box-shadow: 0 0 0 10px var(--success-bg); }
.success-icon .icon { width: 38px; height: 38px; stroke-width: 2.4; }
.success h3 { font-size: 28px; }
.success p { margin: 10px auto 0; max-width: 380px; color: var(--muted); }

/* ---------- CTA intermedias ---------- */
.inline-cta { margin-top: clamp(36px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; text-align: center; }
.inline-cta span { font-size: 14.5px; color: var(--muted); }
.soon { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.cta-band-wrap { padding-bottom: clamp(72px, 9vw, 112px); }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 56px); border-radius: 28px; color: #fff;
  background: var(--brand-gradient); box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-band p { margin-top: 8px; max-width: 520px; color: rgba(255, 255, 255, .75); font-size: 16.5px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 60; width: min(440px, calc(100% - 24px));
  padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.55; color: var(--ink-3); animation: panelIn .4s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { white-space: nowrap; color: var(--aqua-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn { width: 100%; }
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover { color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--deep-900); color: rgba(255, 255, 255, .65); padding: 72px 0 32px; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .wordmark { height: 30px; color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.footer-title { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }

/* ---------- Páginas legales ---------- */
.legal-nav { position: sticky; }
.legal-nav .nav-inner { gap: 16px; }
.legal-nav .back { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.legal-nav .back:hover { color: var(--aqua-600); }
.legal-nav .back .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.legal-hero { padding: clamp(48px, 7vw, 80px) 0; color: #fff; background: var(--brand-gradient); }
.legal-hero .h2 { font-size: clamp(32px, 4.6vw, 50px); }
.legal-hero p { margin-top: 12px; color: rgba(255, 255, 255, .72); }
.legal-body { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 10vw, 112px); }
.legal-doc { max-width: 800px; margin: 0 auto; padding: clamp(24px, 5vw, 56px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.legal-doc h2 { font-size: 21px; margin: 40px 0 12px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 { font-size: 17px; margin: 24px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--ink-3); font-size: 16px; line-height: 1.7; }
.legal-doc p + p { margin-top: 12px; }
.legal-doc ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.legal-doc li + li { margin-top: 4px; }
.legal-doc a { color: var(--aqua-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.facts { display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 10px 24px; margin: 14px 0; padding: 18px 20px; border-radius: 16px; background: var(--bg); }
.facts dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; }
.legal-doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.legal-doc th, .legal-doc td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.legal-doc th { background: var(--bg); font-weight: 600; color: var(--ink); }
.legal-doc tr:last-child td { border-bottom: 0; }
.legal-doc td { color: var(--ink-3); }
.rights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.right { padding: 18px 20px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line-2); }
.right h2 { margin: 0 0 6px; font-size: 16.5px; }
.right p { font-size: 14.5px; line-height: 1.6; }
.consent-choice { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.consent-choice output { font-size: 14px; color: #1f6f56; font-weight: 600; }
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .rights { grid-template-columns: 1fr; }
  .legal-nav .back span { display: none; }
}

/* ---------- CTA móvil fija ---------- */
.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; transform: translateY(140%); transition: transform .35s var(--ease); }
.mobile-cta.show { transform: none; }
.has-cookie-banner .mobile-cta { display: none !important; }
.mobile-cta .btn { width: 100%; box-shadow: 0 14px 30px -8px rgba(6, 28, 48, .5); }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero-copy > * { animation: heroIn .9s var(--ease) both; }
.js .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.js .hero-copy > *:nth-child(5) { animation-delay: .32s; }
.js .hero-visual { animation: heroVisual 1.2s .3s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } }
@keyframes heroVisual { from { opacity: 0; transform: translateY(60px) scale(.98); } }
.route-line { stroke-dasharray: 6 7; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(3); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.t-big { grid-row: span 1; }
  .footer-top { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .pain-grid, .roles-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .tab-panel { grid-template-columns: 1fr; }
  .tp-visual { min-height: 0; }
  .roi-grid, .faq-grid, .signup-card { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
  .float-card.fc-report { right: 12%; }
}
@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .container { padding-inline: 16px; }
  .nav-cta .btn { height: 44px; padding: 0 16px; font-size: 14px; }
  .nav-login { display: none; }
  .hero { --hero-cut: 150px; padding-bottom: 72px; }
  .ripples { top: 180px; }
  .hero-visual { padding-inline: 16px; }
  .hero-visual .stage-wrap { width: 88%; }
  .hero-visual .phone-slot { --ps: .56; right: 8px; bottom: -40px; }
  .float-card.fc-route { display: none; }
  .float-card.fc-report { right: auto; left: 8px; top: auto; bottom: -56px; padding: 10px 14px 10px 10px; }
  .float-card.fc-report .fc-icon { width: 34px; height: 34px; }
  .trust { padding-top: 24px; }
  .trust-list { gap: 12px 22px; }
  .trust-list li { font-size: 13.5px; }
  .hero-ctas .btn { width: 100%; }
  .hero-eyebrow { font-size: 12px; letter-spacing: .1em; line-height: 1.5; }
  .tab-panel .tp-visual .phone-slot { --ps: .9; }
  .bento { grid-template-columns: 1fr; }
  .tile.t-big, .tile.t-lang { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .roi-extra { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .signup-card { border-radius: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: block; }
  .cookie-banner { left: 12px; bottom: 12px; }
  .cta-band-actions, .cta-band-actions .btn { width: 100%; }
  .footer { padding-bottom: 96px; }
  .chip-float { font-size: 12px; padding: 8px 12px; }
  .compare { min-width: 0; font-size: 13.5px; }
  .compare thead { display: none; }
  .compare tbody { display: block; }
  .compare tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { border: 0; }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding: 18px 16px 6px; font-weight: 600; color: var(--ink); }
  .compare td { width: auto; padding: 8px 6px 16px; display: flex; flex-direction: column; gap: 4px; }
  .compare td:nth-of-type(1) { padding-left: 16px; }
  .compare td.col-us { margin: 0 8px 12px 0; padding: 8px 8px 12px; border-radius: 12px; }
  .compare td::before { content: attr(data-label); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .compare td.col-us::before { color: var(--aqua-600); }
  .compare td { font-size: 12.5px; line-height: 1.4; }
  .yes, .no, .meh { flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
  .yes .icon, .no .icon, .meh .icon { width: 16px; height: 16px; }
}
@media (max-width: 420px) {
  .metric-tiles { grid-template-columns: 1fr 1fr; }
  .metric-tile:last-child { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ripples .wave { display: none; }
}
