/* ==========================================================================
   UXBI — Estilos de las landings
   Sin frameworks ni build: edita este archivo directamente.
   Índice:
     1. Tokens (colores, tipografía, espacios)
     2. Base
     3. Utilidades y botones
     4. Header / navegación
     5. Hero y mockups de dispositivos
     6. Secciones de la landing general
     7. Planes
     8. FAQ, CTA final, footer
     9. Registro
    10. Animaciones
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Marca (muestreados del logo oficial) */
  --navy: #00426d;
  --navy-900: #062b4a;
  --navy-700: #0a3a61;
  --blue: #0081c6;
  --lime: #83c200;
  --lime-600: #6fa300;
  --cyan: #00ced4;

  /* WhatsApp: verde un poco más oscuro que el oficial para que el texto blanco sea legible */
  --wa: #1fa855;
  --wa-hover: #178c46;

  /* Texto y superficies */
  --ink: #0f2a43;
  --text: #3d5266;
  --muted: #6b7c8f;
  --line: #e1e9f1;
  --bg: #ffffff;
  --bg-soft: #f3f8fc;
  --bg-blue: #eaf4fb;
  --danger: #d64545;
  --ok: #22a35a;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(6, 43, 74, .06), 0 2px 8px rgba(6, 43, 74, .05);
  --shadow: 0 10px 30px -10px rgba(6, 43, 74, .18);
  --shadow-lg: 0 24px 60px -20px rgba(6, 43, 74, .30);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 8vw, 104px);
  --header-h: 72px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }

/* 3. Utilidades y botones -------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--soft { background: var(--bg-soft); }
.section--blue { background: linear-gradient(180deg, var(--bg-blue), #f7fbfe); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text); }
.hl { color: var(--blue); }
.hl-lime { color: var(--lime-600); }
.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; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 12px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font); cursor: pointer; text-decoration: none !important;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 66, 109, .6); }
.btn--primary:hover { background: var(--navy-700); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 168, 85, .6); }
.btn--wa:hover { background: var(--wa-hover); }
.btn--wa-outline { background: #fff; color: var(--wa-hover); border-color: var(--wa); }
.btn--wa-outline:hover { background: #eefaf2; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #eef5fb; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--sm { padding: .6em 1em; font-size: .9rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn .i { width: 1.15em; height: 1.15em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--blue); }
.link-arrow .i { width: 1em; height: 1em; transition: transform .2s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .i { transform: translateX(3px); }

.icon-badge {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--bg-blue); color: var(--blue); flex: none;
}
.icon-badge .i { width: 26px; height: 26px; }
.icon-badge--lime { background: #f1f8e3; color: var(--lime-600); }
.icon-badge--navy { background: var(--navy); color: #fff; }

/* 4. Header / navegación --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px;
  color: var(--ink); font: 600 .95rem var(--font); background: none; border: 0; cursor: pointer;
}
.nav > a:hover, .nav-drop > button:hover { background: var(--bg-soft); text-decoration: none; }
.nav-drop { position: relative; }
.nav-drop .i { width: 16px; height: 16px; transition: transform .2s; }
.nav-drop.is-open > button .i { transform: rotate(180deg); }
.nav-drop__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-drop.is-open .nav-drop__menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop__menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-drop__menu a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-drop__menu a small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.nav-drop__menu .i { width: 20px; height: 20px; color: var(--blue); }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: 8px; }
.menu-toggle .i { width: 28px; height: 28px; }
.menu-toggle .i-close { display: none; }

@media (max-width: 1080px) {
  .header-cta .btn--wa span { display: none; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav, .header-cta { display: none; }
  .site-header.menu-open .menu-toggle .i-open { display: none; }
  .site-header.menu-open .menu-toggle .i-close { display: block; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0;
    background: #fff; padding: 16px var(--gutter) 140px; overflow-y: auto;
  }
  .site-header.menu-open .nav > a, .site-header.menu-open .nav-drop > button { width: 100%; padding: 14px 8px; font-size: 1.05rem; justify-content: space-between; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-header.menu-open .nav-drop__menu { position: static; box-shadow: none; border: 0; padding: 0 0 8px; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none; }
  .site-header.menu-open .nav-drop.is-open .nav-drop__menu { display: block; }
  .site-header.menu-open .header-cta {
    display: flex; flex-direction: column; align-items: stretch; position: fixed; left: 0; right: 0; bottom: 0;
    padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); margin: 0;
  }
  .site-header.menu-open .header-cta .btn--wa span { display: inline; }
}

/* WhatsApp flotante (solo móvil) */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 10px 24px -6px rgba(31, 168, 85, .7);
}
.wa-float .i { width: 32px; height: 32px; }
@media (max-width: 760px) { .wa-float { display: grid; } }
.menu-open ~ .wa-float { display: none; }

/* 5. Hero y mockups -------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(0, 129, 198, .12), transparent 60%),
    radial-gradient(600px 400px at 100% 90%, rgba(131, 194, 0, .10), transparent 60%),
    linear-gradient(180deg, #f6fafd, #fff);
}
.hero .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 .thin { display: block; font-weight: 500; color: var(--navy); }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.modules { display: flex; flex-wrap: wrap; gap: 8px 6px; margin: 0 0 30px; }
.modules li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink);
}
.modules .i { width: 16px; height: 16px; color: var(--blue); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; font-size: .88rem; color: var(--muted); font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .i { width: 18px; height: 18px; color: var(--lime-600); }

.hero-visual { position: relative; min-height: 440px; }

/* Laptop */
.device-laptop { position: relative; width: 88%; margin: 40px 0 0 6%; }
.device-laptop__screen {
  position: relative; aspect-ratio: 16 / 10; background: #0c1b2b; border-radius: 14px 14px 0 0;
  padding: 2.2% 2.2% 2.6%; box-shadow: var(--shadow-lg);
}
.device-laptop__screen > * { width: 100%; height: 100%; border-radius: 4px; overflow: hidden; object-fit: cover; object-position: top left; }
.device-laptop__base {
  position: relative; height: 16px; margin: 0 -7%; border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #d9e1e8, #aab6c2);
}
.device-laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #95a3b1; }

/* Celular */
.device-phone {
  position: absolute; right: 0; bottom: -10px; width: 26%; aspect-ratio: 9 / 19;
  background: #0c1b2b; border-radius: 26px; padding: 8px; box-shadow: var(--shadow-lg);
}
.device-phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 30%; height: 6px; border-radius: 6px; transform: translateX(-50%); background: #0c1b2b; z-index: 2; }
.device-phone > * { width: 100%; height: 100%; border-radius: 19px; overflow: hidden; object-fit: cover; object-position: top center; }

/* Placeholder de dashboard (se sustituye por <img> con captura real; ver PENDIENTES.md) */
.ph-dash { display: grid; grid-template-columns: 18% 1fr; background: #f4f7fb; }
.ph-dash__side { background: var(--navy); padding: 10% 12%; display: flex; flex-direction: column; gap: 9%; }
.ph-dash__side span { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .28); }
.ph-dash__side span:first-child { height: 10px; width: 70%; background: #fff; margin-bottom: 20%; }
.ph-dash__main { padding: 4%; display: grid; grid-template-rows: auto auto 1fr; gap: 5%; }
.ph-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.ph-kpis div { background: #fff; border-radius: 6px; padding: 8% 10%; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.ph-kpis b { display: block; height: 4px; width: 50%; background: #c9d6e2; border-radius: 2px; margin-bottom: 8%; }
.ph-kpis i { display: block; height: 9px; width: 75%; background: var(--navy); border-radius: 3px; }
.ph-kpis div:nth-child(2) i { background: var(--blue); }
.ph-kpis div:nth-child(3) i { background: var(--lime); }
.ph-charts { display: grid; grid-template-columns: 1.6fr 1fr; gap: 4%; min-height: 0; }
.ph-card { background: #fff; border-radius: 6px; padding: 6%; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); display: flex; align-items: flex-end; gap: 5%; }
.ph-card span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--blue), #62b5e3); }
.ph-donut { display: grid; place-items: center; }
.ph-donut i { width: 70%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--navy) 0 45%, var(--blue) 0 72%, var(--lime) 0 88%, var(--cyan) 0); -webkit-mask: radial-gradient(circle, transparent 42%, #000 43%); mask: radial-gradient(circle, transparent 42%, #000 43%); }
.ph-table { display: grid; gap: 6px; }
.ph-table span { height: 5px; background: #dde6ee; border-radius: 3px; }
.ph-table span:nth-child(odd) { width: 85%; }

.ph-mobile { background: #f4f7fb; display: flex; flex-direction: column; }
.ph-mobile__top { background: var(--navy); padding: 22% 10% 10%; }
.ph-mobile__top b { display: block; height: 6px; width: 45%; background: rgba(255, 255, 255, .5); border-radius: 3px; margin-bottom: 8%; }
.ph-mobile__top i { display: block; height: 12px; width: 70%; background: #fff; border-radius: 3px; }
.ph-mobile__body { padding: 10%; display: grid; gap: 7%; }
.ph-mobile__body div { background: #fff; border-radius: 8px; height: 38px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); position: relative; }
.ph-mobile__body div::after { content: ""; position: absolute; left: 12%; top: 40%; width: 55%; height: 6px; border-radius: 3px; background: #c9d6e2; }
.ph-mobile__body div:first-child { height: 70px; background: linear-gradient(135deg, var(--blue), var(--navy)); }
.ph-mobile__body div:first-child::after { background: rgba(255, 255, 255, .5); }

/* Notificaciones flotantes */
.notif {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  font-size: .82rem; line-height: 1.25; color: var(--ink); font-weight: 700; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.notif small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.notif .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-blue); color: var(--blue); flex: none; }
.notif .ico .i { width: 18px; height: 18px; }
.notif .ico--lime { background: #f1f8e3; color: var(--lime-600); }
.notif .ico--wa { background: #e7f8ee; color: var(--wa); }
.notif--1 { top: 0; left: 4%; }
.notif--2 { top: 4%; right: 2%; animation-delay: -1.5s; }
.notif--3 { top: 42%; left: -4%; animation-delay: -3s; }
.notif--4 { bottom: 4%; left: 8%; animation-delay: -4.5s; }
.notif--5 { top: 40%; right: -2%; animation-delay: -2s; }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; max-width: 620px; margin: 8px auto 0; width: 100%; }
}
@media (max-width: 560px) {
  .notif { font-size: .72rem; padding: 7px 10px 7px 7px; gap: 7px; }
  .notif small { font-size: .66rem; }
  .notif .ico { width: 26px; height: 26px; border-radius: 8px; }
  .notif--3, .notif--5 { display: none; }
  .notif--1 { top: -6px; left: 0; }
  .notif--2 { top: -6px; right: 0; }
  .notif--4 { bottom: -4px; left: 0; }
  .device-laptop { margin-top: 44px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* 6. Secciones ------------------------------------------------------------- */

/* ¿Y si tu sistema hiciera más por ti? */
.more .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tasks { display: grid; gap: 10px; margin: 20px 0 24px; }
.tasks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.tasks .i { color: var(--muted); width: 18px; height: 18px; }
.statement { border-left: 4px solid var(--lime); padding: 4px 0 4px 18px; font-size: 1.1rem; }
.statement strong { display: block; }
.statement strong:last-child { color: var(--blue); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: start; text-align: center; }
.steps .step { display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.steps .step .icon-badge { width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.steps .step .icon-badge .i { width: 34px; height: 34px; }
.steps .sep { color: var(--blue); margin-top: 26px; }
.auto-callout { margin-top: 32px; background: #fff; border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.auto-callout h3 { margin: 0; font-size: 1.15rem; }
@media (max-width: 860px) {
  .more .container { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .steps { gap: 6px; }
  .steps .step { font-size: .8rem; }
  .steps .step .icon-badge { width: 60px; height: 60px; }
  .steps .step .icon-badge .i { width: 28px; height: 28px; }
  .steps .sep { margin-top: 20px; width: 16px; }
}

/* Tarjetas con foto (Sección 3) */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.photo-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.photo-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-blue); }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.photo-card__body p { font-size: .95rem; }
.photo-card__body .punch { color: var(--ink); font-weight: 700; margin-top: auto; }
@media (max-width: 1024px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-4 { grid-template-columns: 1fr; } }

/* Todo tu negocio, conectado (diagrama circular) */
.connected .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.checks { display: grid; gap: 12px; margin: 22px 0 28px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checks .i { color: var(--lime-600); width: 22px; height: 22px; margin-top: 1px; }
.ring-wrap { container-type: inline-size; max-width: 540px; width: 100%; margin: 0 auto; }
.ring { position: relative; aspect-ratio: 1; }
.ring::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  border: 2px dashed rgba(0, 129, 198, .35); animation: spin 60s linear infinite;
}
.ring__center {
  position: absolute; inset: 33%; display: grid; place-items: center; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow);
}
.ring__center img { width: 62%; }
.ring__node {
  --r: 38cqi;
  position: absolute; left: 50%; top: 50%; width: 24cqi; margin: -7cqi 0 0 -12cqi;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
  font-size: clamp(.68rem, 2.6cqi, .9rem); font-weight: 700; color: var(--ink); line-height: 1.15;
}
.ring__node .icon-badge { width: 11cqi; height: 11cqi; min-width: 38px; min-height: 38px; border-radius: 28%; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.ring__node .icon-badge .i { width: 50%; height: 50%; }
.ring__node small { font-weight: 500; color: var(--muted); font-size: .85em; }
.ring__node .num { position: absolute; top: -4px; left: calc(50% + 3.5cqi); width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: #fff; font-size: 11px; display: grid; place-items: center; }
.tagline { margin-top: 20px; text-align: center; font-weight: 800; color: var(--navy); font-size: 1.1rem; }
@media (max-width: 900px) { .connected .container { grid-template-columns: 1fr; } }

/* Soluciones (8 módulos) */
.solutions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.solution {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.solution:hover { border-color: rgba(0, 129, 198, .4); box-shadow: var(--shadow); transform: translateY(-3px); }
.solution h3 { margin: 6px 0 0; }
.solution .claim { color: var(--ink); font-weight: 600; font-size: .95rem; margin: 0; }
.solution p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 1024px) { .solutions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .solutions { grid-template-columns: 1fr; } }

/* Desde donde estés */
.anywhere { position: relative; overflow: hidden; }
.anywhere .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.places { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 28px 0; }
.places li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.places li small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.places .icon-badge { width: 54px; height: 54px; background: #fff; box-shadow: var(--shadow-sm); }
.online-note { font-weight: 800; color: var(--navy); font-size: 1.1rem; margin: 0 0 4px; }
.anywhere__photo { position: relative; }
.anywhere__photo > img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.kpi-card {
  position: absolute; left: -28px; bottom: 28px; width: min(270px, 70%); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px; font-size: .82rem;
}
.kpi-card header { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--ink); margin-bottom: 10px; font-size: .88rem; }
.kpi-card header span { font-size: .7rem; font-weight: 700; color: var(--wa-hover); background: #e7f8ee; padding: 2px 8px; border-radius: 99px; }
.kpi-card li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.kpi-card li .ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--bg-blue); color: var(--blue); }
.kpi-card li .ico .i { width: 16px; height: 16px; }
.kpi-card li b { margin-left: auto; color: var(--ink); }
@media (max-width: 900px) {
  .anywhere .container { grid-template-columns: 1fr; }
  .kpi-card { position: relative; left: auto; bottom: auto; margin: -56px 0 0 16px; }
}
@media (max-width: 560px) {
  .places { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
}

/* Antes / Con UXBI */
.compare { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 20px; align-items: stretch; }
.compare__col { border-radius: var(--radius); padding: 26px; }
.compare__col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.compare__col li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: .95rem; line-height: 1.4; }
.compare__col li .i { width: 20px; height: 20px; margin-top: 1px; }
.compare__before { background: #f5f7f9; border: 1px solid var(--line); }
.compare__before li { color: var(--muted); }
.compare__before li .i { color: var(--danger); }
.compare__after { background: #fff; border: 2px solid rgba(131, 194, 0, .5); box-shadow: var(--shadow); }
.compare__after li { color: var(--ink); }
.compare__after li .i { color: var(--ok); }
.compare__claim { display: flex; flex-direction: column; justify-content: center; padding: 10px 6px 10px 16px; }
.compare__claim p { font-size: 1.15rem; margin: 0 0 .3em; }
.compare__claim h2 { margin: 0; }
@media (max-width: 960px) {
  .compare { grid-template-columns: 1fr 1fr; }
  .compare__claim { grid-column: 1 / -1; order: -1; padding: 0 0 8px; text-align: center; }
}
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

/* Testimonios (carrusel con scroll-snap, sin librerías) */
.testimonials { position: relative; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 2px 24px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.quote-card {
  scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.quote-card > .i { width: 32px; height: 32px; color: var(--lime); margin-bottom: 12px; }
.quote-card blockquote { margin: 0 0 20px; color: var(--ink); font-size: .98rem; line-height: 1.6; }
.quote-card footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; flex: none; }
.quote-card footer b { display: block; color: var(--ink); }
.quote-card footer small { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.carousel-nav { display: flex; justify-content: center; gap: 10px; }
.carousel-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s;
}
.carousel-nav button:hover { border-color: var(--navy); }
.carousel-nav button:disabled { opacity: .4; cursor: default; }
@media (max-width: 960px) { .carousel { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .carousel { grid-auto-columns: 88%; } }

/* Se adapta a tu empresa */
.adapt {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
  background: linear-gradient(120deg, var(--navy-900), var(--navy)); color: #cfe1ef;
  border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden;
}
.adapt::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(131, 194, 0, .35), transparent 70%); }
.adapt > * { position: relative; z-index: 1; }
.adapt h2, .adapt strong { color: #fff; }
.adapt p { margin-bottom: .8em; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; z-index: 1; }
.sizes li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); padding: 18px 8px; text-align: center; }
.sizes b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; line-height: 1; }
.sizes small { font-size: .8rem; }
.adapt .btn { margin-top: 12px; }
@media (max-width: 860px) { .adapt { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .sizes { grid-template-columns: repeat(2, 1fr); } }

/* 7. Planes ---------------------------------------------------------------- */
.plans-wrap { display: grid; grid-template-columns: repeat(3, 1fr) 0.85fr; gap: 20px; align-items: start; }
.plan {
  position: relative; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px 24px; display: flex; flex-direction: column; text-align: center; height: 100%;
}
.plan--lite { border-color: rgba(0, 206, 212, .45); }
.plan--go { border-color: var(--lime); box-shadow: var(--shadow); }
.plan--pro { border-color: rgba(0, 129, 198, .45); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--lime); color: #fff; font-size: .75rem; font-weight: 800; padding: 4px 14px; border-radius: 99px; letter-spacing: .03em; text-transform: uppercase; }
.plan__logo { height: 84px; width: auto; margin: 0 auto 14px; object-fit: contain; }
.plan__for { font-size: .9rem; color: var(--muted); min-height: 4.2em; margin-bottom: 16px; }
.plan__features { display: grid; gap: 8px; margin: 0 0 18px; text-align: left; }
.plan__features li { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; color: var(--ink); line-height: 1.4; }
.plan__features .i { width: 18px; height: 18px; color: var(--lime-600); margin-top: 1px; }
.plan__features .note { color: var(--muted); font-size: .82rem; font-style: italic; }
.plan__features .note .i { visibility: hidden; }
.plan__price { border-radius: 12px; padding: 12px; margin: auto 0 16px; font-size: .88rem; color: #fff; }
.plan--lite .plan__price { background: #00a9ae; }
.plan--go .plan__price { background: var(--lime-600); }
.plan--pro .plan__price { background: var(--blue); }
.plan__price b { display: block; font-size: 1.3rem; color: #fff; }
.plan__price span { opacity: .9; }
.plan details { margin-top: 12px; text-align: left; font-size: .88rem; }
.plan summary { cursor: pointer; text-align: center; font-weight: 700; color: var(--blue); list-style: none; padding: 6px; }
.plan summary::-webkit-details-marker { display: none; }
.plan details[open] summary { margin-bottom: 8px; }
.plan details ul { display: grid; gap: 6px; padding: 14px; background: var(--bg-soft); border-radius: 12px; }
.plan details li { padding-left: 14px; position: relative; }
.plan details li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.plans-side { display: grid; gap: 18px; background: var(--bg-soft); border-radius: var(--radius-lg); padding: 26px 22px; }
.plans-side li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.plans-side .icon-badge { width: 40px; height: 40px; border-radius: 12px; background: #fff; }
.plans-side .icon-badge .i { width: 20px; height: 20px; }
.plans-note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 24px; }
@media (max-width: 1100px) {
  .plans-wrap { grid-template-columns: repeat(3, 1fr); }
  .plans-side { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .plans-wrap { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 28px; }
  .plans-side { grid-template-columns: 1fr; }
  .plan__for { min-height: 0; }
}

/* 8. FAQ, CTA final, footer ------------------------------------------------ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(0, 129, 198, .4); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none;
  padding: 18px 22px; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 20px; height: 20px; color: var(--blue); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p:last-child { margin: 0; }

.cta-final {
  position: relative; overflow: hidden; color: #cfe1ef;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 70%, #005a8f 100%);
  padding: clamp(56px, 8vw, 88px) 0;
}
.cta-final::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 129, 198, .5), transparent 70%); }
.cta-final .container { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.cta-final h2 { color: #fff; }
.cta-final p { margin: 0; font-size: 1.08rem; }
.cta-final .btn-row { justify-content: flex-end; }
.cta-final .small { margin-top: 12px; font-size: .88rem; opacity: .85; text-align: right; }
@media (max-width: 860px) {
  .cta-final .container { grid-template-columns: 1fr; }
  .cta-final .btn-row { justify-content: flex-start; }
  .cta-final .small { text-align: left; }
}
@media (max-width: 560px) { .cta-final .btn { flex: 1 1 100%; white-space: normal; } }

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a { color: var(--ink); }
.footer-grid .contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-grid .contact .i { width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); max-width: 280px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* 9. Registro -------------------------------------------------------------- */
.site-header--simple .container { justify-content: space-between; }
.site-header--simple .header-cta { display: flex; position: static; flex-direction: row; padding: 0; border: 0; }
.site-header--simple .header-cta .btn--wa span { display: inline; }
@media (max-width: 520px) { .site-header--simple .header-cta .btn--wa span { display: none; } }

.register { padding: clamp(32px, 6vw, 72px) 0 var(--section-y); background: linear-gradient(180deg, #f6fafd, #fff); }
.register .container { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.register__pitch .checks { margin-bottom: 24px; }
.register__pitch .note { font-size: .92rem; color: var(--muted); }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: clamp(22px, 4vw, 36px); }
.form-card h2 { font-size: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field input, .field select {
  width: 100%; font: 500 1rem var(--font); color: var(--ink); padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 129, 198, .15); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field .hint { font-size: .78rem; color: var(--muted); }
.form-legal { font-size: .8rem; color: var(--muted); margin: 14px 0 18px; }
.form-msg { display: none; margin-bottom: 16px; padding: 12px 14px; border-radius: 10px; font-size: .92rem; font-weight: 600; }
.form-msg.is-error { display: block; background: #fdeeee; color: #9b2c2c; }
.form-msg.is-ok { display: block; background: #e7f8ee; color: #176b3a; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@media (max-width: 900px) { .register .container { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* 10. Animaciones ---------------------------------------------------------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Aparición al hacer scroll: solo si JS está activo (clase .js en <html>) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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