/* ==========================================================================
   Salo · Landing
   Un solo CSS escrito a mano. Orden: tokens, base, utilidades, nav, hero,
   canales y luego cada grupo de secciones.
   ========================================================================== */

:root {
  --blue: #2e5bff;
  --blue-strong: #1b3fd1;
  --blue-soft: #e8eeff;
  --navy: #111a2e;
  --navy-surface: #212c48;
  --navy-text: #c9d1e6;
  --bg: #f1f4fb;
  --surface: #ffffff;
  --ink: #0d1526;
  --muted: #616b86;
  --ink-soft: #46658a;
  --line: #d8e0f0;
  --line-soft: #e6ebf5;
  --green: #22c55e;
  --amber: #f5b301;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --r-pill: 999px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 2px rgba(13, 21, 38, .04), 0 4px 14px rgba(27, 63, 209, .06);
  --shadow-md: 0 2px 6px rgba(13, 21, 38, .05), 0 16px 40px rgba(27, 63, 209, .10);
  --shadow-lg: 0 6px 16px rgba(13, 21, 38, .08), 0 40px 80px rgba(17, 26, 46, .22);

  --nav-top: 20px;
  --nav-h: 60px;
  --gutter: 24px;
  --section-y: 120px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-feature-settings: "cv11", "ss01";
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.011em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
}
h1 { letter-spacing: -.045em; line-height: 1.02; }
h2 { letter-spacing: -.035em; line-height: 1.08; }
h3 { letter-spacing: -.02em; line-height: 1.2; }

p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; letter-spacing: inherit; }

[id] { scroll-margin-top: calc(var(--nav-top) + var(--nav-h) + 16px); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink); color: #fff;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--navy {
  background: var(--navy);
  color: #fff;
}
.section--navy .lead,
.section--navy .micro { color: var(--navy-text); }

.section--soft { background: var(--blue-soft); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid #d3ddff;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-strong);
}
.section--navy .eyebrow { border-color: rgba(169, 188, 255, .25); background: rgba(46, 91, 255, .16); color: #c3d0ff; }

.title {
  font-size: clamp(34px, 4.6vw, 54px);
}
.title + .lead { margin-top: 20px; }

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.micro {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 32px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  padding-block: 8px;
  padding-right: 8px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(46, 91, 255, .28);
}
.btn--primary:hover { background: var(--blue-strong); }

.btn__arrow {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform .18s ease;
}
.btn__arrow svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn:hover .btn__arrow { transform: rotate(45deg); }

.btn--outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--ink); }
.section--navy .btn--outline { border-color: rgba(255, 255, 255, .28); color: #fff; }
.section--navy .btn--outline:hover { border-color: #fff; }

.btn--light { background: #fff; color: var(--ink); }

.btn--lg { font-size: 16px; padding: 16px 28px; }
.btn--lg.btn--primary { padding: 8px 8px 8px 26px; }
.btn--lg .btn__arrow { width: 40px; height: 40px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--blue-soft);
  color: var(--blue-strong);
}
.badge--live { background: #dcfce7; color: #166534; }
.badge--live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: pulse 2s infinite;
}
.badge--soon { background: #fef3c7; color: #7a5200; }

@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- Tarjeta y lista con check ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .2em;
  width: 20px; height: 20px;
  background: currentColor;
  opacity: .9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Animación de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Nav flotante en píldora
   ========================================================================== */
.site-header {
  position: fixed;
  top: var(--nav-top);
  left: 50%;
  z-index: 100;
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  transform: translateX(-50%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--nav-h);
  padding: 8px 8px 8px 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-pill);
  background: rgba(17, 26, 46, .92);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(13, 21, 38, .22);
  transition: box-shadow .3s ease;
}
.is-scrolled .nav { box-shadow: 0 14px 40px rgba(13, 21, 38, .32); }

.logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -.05em;
  text-decoration: none;
  color: #fff;
}
.logo span { color: #8fa8ff; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__links {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  color: var(--navy-text);
  transition: background-color .18s ease, color .18s ease;
}
.nav__links a:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.nav__dropdown { position: relative; }
.nav__drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--navy-text);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.nav__drop-btn svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 2;
  transition: transform .2s ease;
}
.nav__drop-btn:hover,
.nav__dropdown:hover .nav__drop-btn { background: rgba(255, 255, 255, .08); color: #fff; }
.nav__dropdown:hover .nav__drop-btn svg,
.nav__dropdown.is-open .nav__drop-btn svg { transform: rotate(180deg); }

.nav__drop {
  position: absolute;
  top: 100%;
  left: 50%;
  display: grid;
  gap: 2px;
  width: 280px;
  margin-top: 14px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  background: var(--navy);
  box-shadow: 0 24px 50px rgba(13, 21, 38, .35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
/* Puente invisible para que el cursor no pierda el menú al bajar */
.nav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__dropdown:hover .nav__drop,
.nav__dropdown:focus-within .nav__drop,
.nav__dropdown.is-open .nav__drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.nav__links .nav__drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  transition: background-color .18s ease;
}
.nav__links .nav__drop-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav__drop-item b { display: block; font-weight: 600; font-size: 14px; }
.nav__drop-item small { display: block; font-size: 12.5px; color: #a3aecb; }
.nav__drop-icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex: none;
  border-radius: 10px;
  background: rgba(46, 91, 255, .18);
  color: #a9bcff;
}
.nav__drop-icon svg { width: 18px; height: 18px; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__login {
  padding: 8px 12px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
}
.nav__cta { padding: 11px 20px; font-size: 14px; background: var(--blue); color: #fff; }
.nav__cta:hover { background: var(--blue-strong); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s ease, background-color .25s ease;
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before,
.nav__toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.menu-open .nav__toggle span { background: transparent; }
.menu-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero oscuro
   ========================================================================== */
.hero { padding: 12px; }

.hero__frame {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-top) + var(--nav-h) + 72px) 0 56px;
  border-radius: var(--r-xl);
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  z-index: -2;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .42;
  filter: blur(120px);
  pointer-events: none;
}
.hero__glow--one { top: -260px; left: -180px; }
.hero__glow--two { right: -200px; bottom: -300px; opacity: .36; }

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 80%);
          mask: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 80%);
}

.hero__content {
  max-width: 1180px;
  margin-inline: auto;
  text-align: center;
}


.hero__title {
  font-size: clamp(52px, 9vw, 112px);
  letter-spacing: -.055em;
  line-height: .98;
}
.hero__title span { display: block; }
.hero__title span + span { color: #8e9bbb; }
.hero__title--narrative { max-width: 1080px; margin-inline: auto; font-size: clamp(42px, 6.2vw, 82px); line-height: 1.04; text-wrap: balance; }

.hero__lead {
  max-width: 720px;
  margin: 28px auto 0;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--navy-text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.hero__actions .btn--outline {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.hero__actions .btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.hero__micro {
  margin-top: 18px;
  font-size: 13px;
  color: #a3aecb;
}

/* ---------- Riel de anuncios con perspectiva ---------- */
.hero-rail {
  --card-w: 228px;
  --gap: 24px;
  position: relative;
  margin-top: 64px;
  padding-block: 24px 40px;
  overflow: hidden;
  perspective: 1400px;
  transform-style: preserve-3d;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.hero-rail__track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  transform-style: preserve-3d;
  will-change: transform;
  /* Sin JS: marquesina plana. Con JS, main.js mueve el riel y da la inclinación. */
  animation: rail 70s linear infinite;
}
.hero-rail.is-js .hero-rail__track { animation: none; }

@keyframes rail {
  to { transform: translateX(-50%); }
}

/* ---------- Tarjetas de anuncio (Instagram y Facebook, interfaz clara) ---------- */
.ad {
  position: relative;
  flex: none;
  align-self: center;
  width: var(--card-w);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  color: #0c1014;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
  transform-origin: 50% 50%;
  will-change: transform;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0;
}
.ad svg { display: block; flex: none; }

.ad__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
}
.ad__avatar {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  padding: 2px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
}
.ad--fb .ad__avatar { padding: 0; background: none; }
.ad__avatar span {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: -.02em;
}
.ad--fb .ad__avatar span { border: 0; font-size: 10.5px; }
.ad__who { min-width: 0; flex: 1; }
.ad__name {
  display: flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  font-weight: 600;
  font-size: 11.5px;
  white-space: nowrap;
}
.ad__verified { width: 12px; height: 12px; }
.ad__sponsored {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: #65676b;
}
.ad__globe { width: 9px; height: 9px; }
.ad__more {
  width: 16px; height: 4px;
  flex: none;
  background: radial-gradient(circle, #0c1014 1.4px, transparent 1.8px) 0 0 / 5.33px 4px repeat-x;
}

/* Creativo */
.ad__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eef1f6;
}
.ad__media picture,
.ad__media img {
  display: block;
  width: 100%;
  height: 100%;
}
.ad__media img { object-fit: cover; object-position: center; }

.cr {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 14px;
  color: #fff;
  letter-spacing: -.01em;
}
.cr__kicker {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .92;
}
.cr__headline {
  margin-top: 4px;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.cr__sub {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  opacity: .95;
}
.cr__logo {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.cr__pill {
  align-self: flex-start;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--c);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Titular arriba sobre degradado, logo abajo */
.cr--titular {
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .1) 45%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .35) 100%);
}
.cr--titular .cr__headline { font-size: 24px; }

/* Etiqueta de precio */
.cr--precio {
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .65) 100%);
}
.cr--precio .cr__price {
  position: absolute;
  top: 12px; right: 12px;
  display: grid;
  place-items: center;
  align-content: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: -.03em;
  text-align: center;
  transform: rotate(-10deg);
}
.cr__price small { display: block; font-size: 8px; font-weight: 600; letter-spacing: .04em; }
.cr--precio .cr__logo { margin-top: 8px; }

/* Botón dentro del creativo */
.cr--boton {
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .6) 100%);
}

/* Oferta en panel de color */
.cr--oferta { justify-content: flex-end; }
.cr__panel {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 12px;
  background: var(--c);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.cr__offer {
  font-weight: 800;
  font-size: 40px;
  line-height: .9;
  letter-spacing: -.05em;
}
.cr--oferta .cr__headline { margin-top: 2px; font-size: 15px; }
.cr--oferta .cr__logo {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  color: var(--c);
}

/* Diseño gráfico sin foto */
.cr--grafico {
  justify-content: center;
  padding: 18px;
  background: var(--bg);
  color: var(--ink);
}
.cr--grafico .cr__headline { font-size: 26px; margin-top: 8px; }
.cr--grafico .cr__pill { background: var(--ink); color: var(--bg); }
.cr__fine { margin-top: 10px; font-size: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.cr--grafico .cr__logo { position: absolute; left: 18px; bottom: 16px; font-size: 13px; letter-spacing: -.02em; text-transform: none; }

/* Señales de formato: video y carrusel */
.ad__mute {
  position: absolute;
  right: 8px; bottom: 10px;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: #fff;
}
.ad__mute svg { width: 12px; height: 12px; }
.ad__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .35);
}
.ad__progress span { display: block; width: 38%; height: 100%; background: #fff; }
.ad__count {
  position: absolute;
  top: 10px; right: 10px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
}

/* Instagram: barra de acción en el color de la marca */
.ad__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  background: var(--c);
  color: #fff;
  font-weight: 600;
  font-size: 11px;
}
.ad__bar span { flex: 1; }
.ad__bar-wa,
.ad__bar-chev { width: 13px; height: 13px; }
.ad__dots {
  display: flex;
  justify-content: center;
  gap: 3px;
  padding-top: 7px;
}
.ad__dots i { width: 4px; height: 4px; border-radius: 50%; background: #c7cdd6; }
.ad__dots i:first-child { background: #0095f6; }
.ad__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px 4px;
}
.ad__actions svg { width: 17px; height: 17px; }
.ad__actions b { margin-right: 8px; font-weight: 600; font-size: 10.5px; }
.ad__save { margin-left: auto; }
.ad__caption {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 10px 11px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 10.5px;
  color: #0c1014;
}
.ad__caption b { font-weight: 600; }

/* Facebook: texto arriba, barra de enlace, reacciones y acciones */
.ad__text {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 10px 8px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: 11px;
  color: #050505;
}
.ad__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f0f2f5;
}
.ad__link-copy { min-width: 0; flex: 1; }
.ad__link-copy small { display: block; font-size: 8.5px; color: #65676b; letter-spacing: .03em; }
.ad__link-copy b {
  display: block;
  overflow: hidden;
  font-weight: 600;
  font-size: 10.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ad__link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 6px 8px;
  border-radius: 6px;
  background: #e4e6eb;
  font-weight: 600;
  font-size: 10px;
}
.ad__link-btn svg { width: 12px; height: 12px; color: #1fa855; }
.ad__reactions {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  font-size: 10px;
  color: #65676b;
}
.ad__emoji { display: flex; }
.ad__emoji i {
  width: 14px; height: 14px;
  border: 1.5px solid #fff;
  border-radius: 50%;
}
.ad__emoji i + i { margin-left: -4px; }
.ad__emoji-like { background: #0866ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M7 10v10H4V10Zm2 0 3.5-6c1.4 0 2.2 1.1 1.9 2.5L13.6 9H19a1.8 1.8 0 0 1 1.8 2.2l-1.3 6.6A2.7 2.7 0 0 1 16.8 20H9Z'/%3E%3C/svg%3E") center / 9px no-repeat; }
.ad__emoji-love { background: #f33e58 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 20s-7.5-4.6-9.3-9.2C1.4 7.4 3.6 4 7 4c2 0 3.4 1.1 5 3 1.6-1.9 3-3 5-3 3.4 0 5.6 3.4 4.3 6.8C19.5 15.4 12 20 12 20Z'/%3E%3C/svg%3E") center / 8px no-repeat; }
.ad__reactions-right { margin-left: auto; white-space: nowrap; }
.ad__fbactions {
  display: flex;
  justify-content: space-around;
  margin: 0 10px;
  padding: 7px 0 9px;
  border-top: 1px solid #e4e6eb;
  font-weight: 600;
  font-size: 10px;
  color: #65676b;
}
.ad__fbactions span { display: inline-flex; align-items: center; gap: 4px; }
.ad__fbactions svg { width: 13px; height: 13px; }

/* ==========================================================================
   Canales
   ========================================================================== */
.channels { padding: 48px 0 0; text-align: center; }

.channels__label {
  font-size: 14px;
  color: var(--muted);
}

.marquee {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
  margin: 0;
  list-style: none;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.02em;
  color: #3a4258;
  white-space: nowrap;
}
.marquee__item svg {
  width: auto;
  height: 22px;
  fill: currentColor;
  opacity: .55;
  /* Alineación óptica: el centro visual del texto queda algo más arriba de su caja */
  transform: translateY(-1px);
  transition: opacity .2s ease, fill .2s ease;
}
.marquee__item:hover svg { opacity: 1; fill: var(--brand); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Responsive de base
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav__links a { padding-inline: 9px; font-size: 13.5px; }
}

@media (max-width: 960px) {
  .site-header { width: calc(100% - 2 * var(--gutter)); }
  .nav { padding-left: 20px; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: var(--r-lg);
    background: var(--navy);
    box-shadow: var(--shadow-lg);
  }
  .menu-open .nav__menu { display: flex; }
  .nav__links { flex-direction: column; }
  .nav__links a { padding: 14px 12px; font-size: 15px; }
  .nav__drop-btn { display: none; }
  .nav__drop {
    position: static;
    width: auto;
    margin: 0;
    padding: 0 0 8px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__drop::before { display: none; }
  .nav__links .nav__drop-item { padding: 10px; }
  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .nav__login { text-align: center; padding: 12px; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; --section-y: 72px; --nav-top: 12px; --nav-h: 56px; }
  .hero { padding: 8px; }
  .hero__frame { border-radius: var(--r-lg); padding-top: calc(var(--nav-top) + var(--nav-h) + 48px); }
  .hero__glow { width: 380px; height: 380px; filter: blur(90px); }
  .hero-rail { --card-w: 200px; --gap: 16px; margin-top: 44px; }
  .marquee__group { gap: 48px; padding-right: 48px; }
  .marquee__item { font-size: 17px; }
}

@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
    .hero-rail { --card-w: 196px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-rail__track,
  .marquee__track { animation: none !important; }
}


/* Salo · Grupo A · Contrato v2. Solo estilos de estas cuatro secciones. */
#problema, #cual-necesitas, #pauta { background: var(--bg); }
#pauta { position: relative; z-index: 2; overflow: visible; }

.problema__heading, .problema__title,
.que-es__heading, .que-es__title,
.cual-necesitas__heading, .cual-necesitas__question,
.pauta__heading, .pauta__step-title, .pauta__plan-title {
  font-family: var(--font-body);
  font-weight: 600;
  text-wrap: balance;
}

/* Problema: tres tarjetas con espacio para leer. */
.problema__head { max-width: 800px; }
.problema__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.problema__item {
  min-width: 0; padding: 36px 30px 40px;
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.problema__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 32px;
  border-radius: var(--r-md); background: var(--blue-soft); color: var(--blue);
}
.problema__title { margin-bottom: 16px; font-size: 23px; line-height: 1.3; }
.problema__copy { color: var(--muted); line-height: 1.75; }

/* Qué es: una explicación sencilla y tres garantías. */
.que-es__head { max-width: 860px; }
.que-es__head .lead { max-width: 740px; }
.que-es__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.que-es__item { min-width: 0; }
.que-es__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 24px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); color: var(--blue); box-shadow: var(--shadow-sm);
}
.que-es__title { margin-bottom: 14px; font-size: 22px; line-height: 1.35; }
.que-es__copy { max-width: 34ch; color: var(--muted); line-height: 1.75; }

/* Elige: mismo espacio y estructura para los dos productos. */
.cual-necesitas__head { max-width: 900px; }
.cual-necesitas__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.cual-necesitas__card {
  display: flex; flex-direction: column; align-items: flex-start;
  min-width: 0; padding: 44px;
  border: 1px solid rgb(255 255 255 / 12%); border-radius: var(--r-xl);
  color: var(--surface); box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cual-necesitas__card--pauta { background: radial-gradient(ellipse at 100% 0%, rgb(255 255 255 / 12%), transparent 60%), var(--blue); }
.cual-necesitas__card--vendedor { background: var(--navy); }
.cual-necesitas__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; margin-bottom: 32px; }
.cual-necesitas__live { background: #dcfce7; color: #166534; }
.cual-necesitas__icon {
  display: grid; place-items: center; width: 64px; height: 64px;
  border: 1px solid rgb(255 255 255 / 20%); border-radius: var(--r-md);
  background: rgb(255 255 255 / 8%);
}
.cual-necesitas__icon svg { width: 32px; height: 32px; }
.cual-necesitas__card--vendedor .cual-necesitas__icon { color: var(--green); }
.cual-necesitas__question { min-height: 3.48em; margin-bottom: 24px; font-size: clamp(28px, 2.7vw, 36px); line-height: 1.16; }
.cual-necesitas__name { margin-bottom: 16px; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.cual-necesitas__card--vendedor .cual-necesitas__name { color: var(--green); }
.cual-necesitas__copy { margin-bottom: 32px; line-height: 1.75; }
.cual-necesitas__card--vendedor .cual-necesitas__copy { color: var(--navy-text); }
.cual-necesitas__checks { width: 100%; margin-top: auto; margin-bottom: 36px; font-size: 15px; }
.cual-necesitas__card--vendedor .cual-necesitas__checks { color: var(--navy-text); }
.cual-necesitas__card--vendedor .cual-necesitas__checks li::before { color: var(--green); }
.cual-necesitas__link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; min-height: 48px; padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 24%);
  font-size: 15px; font-weight: 600; line-height: 1.5; text-decoration: none;
}
.cual-necesitas__link svg { flex: 0 0 24px; transition: transform .25s ease; }
.cual-necesitas__link:hover svg, .cual-necesitas__link:focus-visible svg { transform: translateX(4px); }
.cual-necesitas__link:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; box-shadow: 0 0 0 5px var(--surface); border-radius: 4px; }
.cual-necesitas__note { max-width: 760px; margin: 30px auto 0; color: var(--muted); font-size: 15px; line-height: 1.7; text-align: center; }

/* Pauta: el proceso y un plan que continúa sobre la sección siguiente. */
.pauta__head { max-width: 840px; }
.pauta__head .lead { max-width: 760px; }
.pauta__layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 64px; }
.pauta__process { min-width: 0; }
.pauta__steps { margin: 0; padding: 0; list-style: none; }
.pauta__step { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 24px; padding-bottom: 32px; }
.pauta__step:not(:last-child)::before { content: ""; position: absolute; top: 52px; bottom: 0; left: 25px; width: 1px; background: var(--line); }
.pauta__step:last-child { padding-bottom: 0; }
.pauta__number {
  display: grid; place-items: center; width: 52px; height: 52px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--blue-soft); color: var(--blue);
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
}
.pauta__body { min-width: 0; padding-top: 3px; }
.pauta__step-title { margin-bottom: 10px; font-size: 22px; line-height: 1.3; }
.pauta__copy { max-width: 49ch; color: var(--muted); line-height: 1.75; }
.pauta__cta { margin-top: 36px; }
.pauta__button { max-width: 100%; font-family: var(--font-body); font-weight: 500; white-space: normal; text-align: left; }
.pauta__button .btn__arrow { flex-shrink: 0; }
.pauta__button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.pauta__micro { margin-top: 14px; }
.pauta__plan {
  min-width: 0; padding: 38px;
  border: 1px solid var(--line-soft); border-radius: var(--r-xl);
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.pauta__caption { margin-bottom: 36px; color: var(--ink-soft); font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.pauta__plan-title { margin-bottom: 16px; font-size: 20px; line-height: 1.4; }
.pauta__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; color: var(--blue); font-family: var(--font-body); font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; }
.pauta__currency { font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.pauta__daily { margin-top: 12px; color: var(--muted); font-size: 14px; }
.pauta__footer { padding-top: 24px; }
.pauta__assurance { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.pauta__assurance svg { flex: 0 0 24px; color: var(--blue); }
.pauta__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; margin-top: 24px; }
.pauta__action { display: grid; place-items: center; min-height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14px; font-weight: 500; text-align: center; }
.pauta__action--outline { color: var(--ink); }
.pauta__action--primary { border-color: var(--blue); background: var(--blue); color: var(--surface); box-shadow: var(--shadow-sm); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cual-necesitas__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
}
@media (min-width: 1024px) {
  .pauta__plan { margin-bottom: -180px; }
}
@media (max-width: 1024px) {
  .problema__item { padding: 28px 24px 32px; }
  .que-es__grid { gap: 28px; }
  .cual-necesitas__card { padding: 32px; }
  .pauta__layout { gap: 32px; }
  .pauta__plan { padding: 28px; }
}
@media (max-width: 768px) {
  .problema__grid, .que-es__grid, .cual-necesitas__grid, .pauta__layout { grid-template-columns: minmax(0, 1fr); }
  .problema__grid { gap: 20px; }
  .problema__icon { margin-bottom: 24px; }
  .que-es__grid { gap: 36px; }
  .que-es__copy { max-width: 52ch; }
  .cual-necesitas__grid { gap: 24px; }
  .cual-necesitas__question { min-height: 0; font-size: 32px; }
  .pauta__layout { gap: 48px; }
  .pauta__plan { margin-bottom: 0; }
}
@media (max-width: 480px) {
  .problema__item { padding: 28px 24px; }
  .cual-necesitas__card { padding: 28px 24px; }
  .cual-necesitas__top { margin-bottom: 28px; }
  .cual-necesitas__question { font-size: 28px; }
  .cual-necesitas__icon { width: 56px; height: 56px; }
  .cual-necesitas__checks { font-size: 14px; }
  .pauta__step { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .pauta__number { width: 44px; height: 44px; font-size: 14px; }
  .pauta__step:not(:last-child)::before { top: 44px; left: 21px; }
  .pauta__step-title { font-size: 20px; }
  .pauta__button { width: 100%; justify-content: space-between; padding-left: 20px; font-size: 15px; }
  .pauta__plan { padding: 28px 24px; }
  .pauta__caption { margin-bottom: 28px; }
  .pauta__amount { font-size: 40px; }
  .pauta__action { padding-inline: 8px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  #problema .reveal, #que-es .reveal, #cual-necesitas .reveal, #pauta .reveal { opacity: 1; transform: none; transition: none; }
  .cual-necesitas__card, .cual-necesitas__link svg, .pauta__button, .pauta__button .btn__arrow { transition: none; }
  .cual-necesitas__card:hover, .cual-necesitas__link:hover svg, .cual-necesitas__link:focus-visible svg, .pauta__button:hover, .pauta__button:hover .btn__arrow { transform: none; }
  .cual-necesitas__live::before { animation: none; }
}

/* Qué es Salo: texto + comparación con una agencia */
.que-es__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 64px; }
.que-es__layout .que-es__head { margin-bottom: 0; }
.que-es__fit { margin-top: 28px; }
.que-es__fit-title { margin-bottom: 12px; color: var(--ink); font-weight: 600; font-size: 15px; }
.que-es__fit-list { color: var(--ink); font-size: 15px; }
.que-es__fit-list li::before { color: var(--blue); background: var(--blue); }
.que-es__compare { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-lg); }
.que-es__compare-head,
.que-es__compare-row { display: grid; grid-template-columns: 1fr 1fr 1.15fr; }
.que-es__compare-head span,
.que-es__compare-row span { padding: 16px 18px; font-size: 14px; line-height: 1.4; }
.que-es__compare-head span { font-weight: 600; color: var(--muted); font-size: 13px; }
.que-es__compare-row { border-top: 1px solid var(--line-soft); }
.que-es__compare-row span[role="rowheader"] { color: var(--ink); font-weight: 600; }
.que-es__compare-row span[role="cell"]:not(.que-es__compare-salo) { color: #5b6478; }
.que-es__compare-salo { background: var(--blue-soft); color: var(--blue-strong); font-weight: 600; }
.que-es__compare-head .que-es__compare-salo { background: var(--blue); color: #fff; }
.que-es__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023.98px) {
  .que-es__layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .que-es__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .que-es__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479.98px) {
  .que-es__compare-head span, .que-es__compare-row span { padding: 12px 10px; font-size: 12.5px; }
}

/* Tarjeta de estrategia de Pauta: números del diagnóstico, 4 ángulos y compromiso */
.pauta__plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pauta__plan-top .pauta__caption { margin: 0; }
.pauta__biz { padding: 4px 10px; border-radius: var(--r-pill); background: var(--blue-soft); color: var(--blue-strong); font-size: 12px; font-weight: 500; }
.pauta__block-label { margin: 0 0 10px; color: var(--ink); font-weight: 600; font-size: 13px; }
.pauta__numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 22px; }
.pauta__numbers div { padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--bg); }
.pauta__numbers dt { color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.pauta__numbers dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -.02em; }
.pauta__numbers .pauta__numbers-key { border-color: #bfe8cf; background: #effcf4; }
.pauta__numbers .pauta__numbers-key dd { color: #15803d; }
.pauta__angles { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pauta__angle { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); font-size: 13px; line-height: 1.4; color: var(--muted); }
.pauta__angle b { display: block; color: var(--ink); font-weight: 600; font-size: 12.5px; }
.pauta__angle-n { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-strong); font-weight: 600; font-size: 11.5px; }
.pauta__plan .pauta__daily { margin-bottom: 22px; }
.pauta__result { margin-top: 20px; padding: 18px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--blue), var(--blue-strong)); color: #fff; box-shadow: 0 16px 34px rgba(46, 91, 255, .28); }
.pauta__result-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.pauta__result-title svg { width: 18px; height: 18px; }
.pauta__result-big { margin-top: 8px; font-weight: 600; font-size: 34px; letter-spacing: -.04em; line-height: 1.1; }
.pauta__result-big span { font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.pauta__result-note { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: #dbe4ff; }
.pauta__heads-up { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.pauta__heads-up svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--amber); }

/* Qué es Salo: comparación visual con una agencia (proporción, sin cifras) */
.vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.vs__card { padding: 22px; border-radius: var(--r-xl); }
.vs__card--agency { border: 1px solid var(--line); background: rgba(255, 255, 255, .6); color: #5b6478; }
.vs__card--salo { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-strong) 100%); color: #fff; box-shadow: 0 24px 50px rgba(46, 91, 255, .3); transform: translateY(-10px); }
.vs__who { margin-bottom: 18px; font-weight: 600; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.vs__card--salo .vs__who { color: #fff; }
.vs__row-label { margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.vs__cost { display: flex; align-items: center; gap: 10px; height: 26px; margin-bottom: 20px; }
.vs__bar { display: block; width: var(--w); height: 12px; border-radius: 999px; background: #c3cad8; }
.vs__card--salo .vs__bar { background: var(--green); }
.vs__cost b { font-size: 13px; white-space: nowrap; }
.vs__weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.vs__week { display: grid; place-items: center; height: 34px; border-radius: 10px; border: 1px dashed #c3cad8; font-size: 12px; font-weight: 600; }
.vs__week.is-on { border: 0; background: #c3cad8; color: #3f4860; }
.vs__card--salo .vs__week { border-color: rgba(255, 255, 255, .35); }
.vs__card--salo .vs__week.is-on { background: #fff; color: var(--blue-strong); }
.vs__weeks-note { margin: 8px 0 18px; font-size: 13px; }
.vs__list { display: grid; gap: 10px; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(97, 107, 134, .2); list-style: none; font-size: 14px; line-height: 1.4; }
.vs__card--salo .vs__list { border-top-color: rgba(255, 255, 255, .25); }
.vs__list li { display: flex; gap: 8px; align-items: flex-start; }
.vs__ico { flex: none; width: 18px; height: 18px; margin-top: 1px; background: currentColor; }
.vs__ico--no { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 9 6 6m0-6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 9 6 6m0-6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.vs__ico--yes { color: var(--green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.vs__card--salo .vs__ico--yes { color: #86efac; }
@media (max-width: 479.98px) {
  .vs { grid-template-columns: minmax(0, 1fr); }
  .vs__card--salo { transform: none; }
}

/* El sistema completo, antes de los productos por separado. */
.que-es__steps { display: grid; gap: 0; margin: 0; padding: 12px 28px; list-style: none; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-sm); }
.que-es__steps li { display: flex; align-items: flex-start; gap: 20px; padding: 24px 0; }
.que-es__steps li + li { border-top: 1px solid var(--line-soft); }
.que-es__step-number { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-strong); font-size: 14px; font-weight: 600; }
.que-es__steps h3 { margin-bottom: 5px; font-size: 20px; }
.que-es__steps p { color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (min-width: 768px) and (max-width: 1024px) { .problema__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .que-es__steps { padding: 8px 20px; } }


/* Grupo B: vendedor, resultados, confianza y lo que viene. */
/* La base anterior aún conserva otra tipografía en títulos y botones. */
#vendedor :is(h2, h3, .btn), #resultados :is(h2, h3),
#confianza :is(h2, h3), #lo-que-viene :is(h2, h3) { font-family: var(--font-body); font-weight: 600; }
#resultados, #lo-que-viene { background: var(--bg); }
#vendedor .title, #resultados .title, #confianza .title, #lo-que-viene .title { text-wrap: balance; }

/* Vendedor */
.vendedor__head { max-width: 800px; }
.vendedor__head .lead { max-width: 680px; }
.vendedor__layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 48px; }
.vendedor__summary { min-width: 0; width: 100%; max-width: 540px; margin-inline: auto; }
.vendedor__panel { padding: 32px; background: var(--navy-surface); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-lg); box-shadow: 0 20px 60px rgba(0, 0, 0, .15); }
.vendedor__panel-title { margin-bottom: 32px; font-size: 20px; line-height: 1.4; }
.vendedor__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; margin: 0; }
.vendedor__metric { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vendedor__metric dt { color: var(--navy-text); font-size: 13px; line-height: 1.5; }
.vendedor__metric dd { order: -1; margin: 0; font-family: var(--font-body); font-size: 44px; line-height: 1.15; }
.vendedor__metric .vendedor__growth { color: var(--green); }
.vendedor__progress { height: 6px; margin-top: 32px; overflow: hidden; border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); }
.vendedor__progress span { display: block; width: 70%; height: 100%; background: var(--green); border-radius: inherit; }
.vendedor__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; padding: 0; list-style: none; }
.vendedor__chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 9px 13px; border: 1px solid rgba(201, 209, 230, .16); border-radius: var(--r-pill); background: var(--navy-surface); color: var(--navy-text); font-size: 12px; line-height: 1.5; }
.vendedor__chip svg { flex: none; width: 16px; height: 16px; color: #91e7b2; }
.vendedor__cta { max-width: 100%; white-space: normal; text-align: center; }
.vendedor__cta .btn__arrow { flex: none; }
.vendedor__micro { margin-top: 14px; }
.vendedor__device {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  isolation: isolate;
}
.vendedor__device::before {
  content: "";
  position: absolute;
  inset: 8% 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(46, 91, 255, .22), transparent 70%);
  pointer-events: none;
}
.vendedor__phone {
  position: relative;
  width: min(320px, 100%);
  padding: 10px;
  border: 2px solid #485168;
  border-radius: 44px;
  background: #0a0e16;
  box-shadow: 0 2px 1px rgba(255, 255, 255, .16) inset, 0 32px 64px rgba(0, 0, 0, .48), 0 8px 20px rgba(0, 0, 0, .3);
}
.vendedor__phone::before,
.vendedor__phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: #485168;
}
.vendedor__phone::before { left: -4px; top: 114px; height: 54px; box-shadow: 0 66px 0 #485168; }
.vendedor__phone::after { right: -4px; top: 152px; height: 76px; }
.vendedor__screen {
  display: flex;
  flex-direction: column;
  min-height: 608px;
  overflow: hidden;
  border-radius: 32px;
  background: #efeae2;
  color: var(--ink);
}
.vendedor__status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 37px;
  padding: 0 20px;
  background: #075e54;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
}
.vendedor__status > svg { width: 25px; height: 19px; }
.vendedor__notch {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 88px;
  height: 23px;
  border-radius: var(--r-pill);
  transform: translateX(-50%);
  background: #0a0e16;
}
.vendedor__notch::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #172b45;
  box-shadow: 0 0 0 2px #101823;
}
.vendedor__chat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px 14px;
  background: #075e54;
  color: #fff;
}
.vendedor__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d7ede2;
  color: #075e54;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
}
.vendedor__contact { min-width: 0; flex: 1; }
.vendedor__contact-line { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.vendedor__contact strong { font-size: 13px; font-weight: 500; }
.vendedor__contact p { margin-top: 3px; font-size: 9px; line-height: 1.5; color: #d3ebe4; }
.vendedor__agent { padding: 2px 7px; border-radius: var(--r-pill); background: #c6f6d3; color: #075e54; font-size: 9px; font-weight: 500; }
.vendedor__conversation {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 12px 20px;
  background-color: #efeae2;
  background-image: radial-gradient(circle at 5px 5px, rgba(116, 102, 79, .08) 1px, transparent 1.5px), repeating-linear-gradient(45deg, transparent 0 27px, rgba(116, 102, 79, .025) 27px 28px, transparent 28px 55px);
  background-size: 23px 23px, 55px 55px;
}
.vendedor__day { align-self: center; padding: 3px 11px; margin-bottom: 2px; border-radius: 6px; background: rgba(255, 255, 255, .82); color: #59665d; font-size: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.vendedor__msg {
  position: relative;
  max-width: 91%;
  padding: 9px 10px 5px;
  border-radius: 0 10px 10px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(30, 42, 32, .12);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.vendedor__msg::before { content: ""; position: absolute; top: 0; left: -6px; border-top: 7px solid var(--surface); border-left: 7px solid transparent; }
.vendedor__msg--out { align-self: flex-end; border-radius: 10px 0 10px 10px; background: #d9fdd3; }
.vendedor__msg--out::before { left: auto; right: -6px; border-left: 0; border-right: 7px solid transparent; border-top-color: #d9fdd3; }
.vendedor__time { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 3px; color: #526057; font-size: 9px; line-height: 1; }
.vendedor__time svg { width: 15px; height: 15px; color: #168ac1; }
#vendedor .vendedor__msg { opacity: 0; }
#vendedor .reveal.is-visible .vendedor__msg { animation: vendedorChatIn .4s both; animation-delay: calc(var(--i) * .6s + .3s); }
@keyframes vendedorChatIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.vendedor__composer { display: flex; align-items: center; gap: 6px; padding: 7px 8px; background: #efeae2; }
.vendedor__input { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; padding: 8px 10px; border-radius: var(--r-pill); background: var(--surface); color: #59665d; font-size: 12px; }
.vendedor__input span { flex: 1; }
.vendedor__input svg { width: 18px; height: 18px; flex: none; }
.vendedor__mic { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #075e54; color: #fff; }
.vendedor__mic svg { width: 19px; height: 19px; }
.vendedor__home { height: 17px; background: #efeae2; }
.vendedor__home::after { content: ""; display: block; width: 95px; height: 4px; margin: 5px auto 0; border-radius: var(--r-pill); background: #171d23; }


/* Marco de laptop en CSS puro (se descartó el PNG para evitar desalineación). */
#resultados { position: relative; z-index: 2; }
.resultados__head { max-width: 850px; }
.resultados__head .lead { max-width: 650px; margin-inline: auto; }
.resultados__laptop { position: relative; isolation: isolate; width: 100%; max-width: 980px; margin-inline: auto; }
.resultados__laptop::after { content: ""; position: absolute; inset: auto 7% -18px; height: 40px; z-index: -1; border-radius: 50%; background: rgba(17, 26, 46, .24); filter: blur(22px); }
.resultados__screen { position: relative; width: 92%; margin-inline: auto; padding: 10px; border-radius: 18px 18px 4px 4px; background: #0a0e16; box-shadow: 0 0 0 1px #3b4250, var(--shadow-lg); container-type: inline-size; }
.resultados__camera { position: absolute; top: 3px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: #53657b; }
.resultados__panel { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 8px 8px 2px 2px; background: var(--bg); }
.resultados__panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, transparent 25%, rgba(255, 255, 255, .05) 48%, transparent 70%); }
.resultados__toolbar { display: flex; align-items: center; justify-content: space-between; padding: 1.5cqw 3.6cqw; border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.resultados__logo { font-family: var(--font-body); font-weight: 600; font-size: 2.5cqw; color: var(--ink); }
.resultados__logo span { color: var(--blue); }
.resultados__selector { display: flex; align-items: center; gap: .8cqw; padding: .6cqw 1.2cqw; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 1.4cqw; color: var(--muted); }
.resultados__selector svg { width: 1.8cqw; height: 1.8cqw; }
.resultados__content { padding: 2.8cqw 3.6cqw; }
.resultados__period { margin-bottom: 2.2cqw; font-size: 2.6cqw; line-height: 1.3; }
.resultados__metrics { display: grid; grid-template-columns: .7fr 1fr 1.25fr; gap: 1.4cqw; margin-bottom: 2.2cqw; }
.resultados__metric { min-width: 0; padding: 1.8cqw; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-sm); }
.resultados__label { margin-bottom: .8cqw; color: var(--muted); font-size: 1.5cqw; }
.resultados__value { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5cqw; font-family: var(--font-body); font-size: 2.5cqw; font-weight: 500; line-height: 1.3; }
.resultados__unit { font-family: var(--font-body); font-size: 1.2cqw; color: var(--muted); }
.resultados__metric--sales { background: #f0fcf4; border-color: #c6e8d0; }
.resultados__metric--sales .resultados__value, .resultados__metric--sales .resultados__unit { color: #15803d; }
.resultados__value svg { align-self: center; flex: none; width: 1.8cqw; height: 1.8cqw; }
.resultados__chart { margin: 0; padding: 2cqw 2.4cqw 1.4cqw; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--surface); }
.resultados__chart-title { margin-bottom: 1.5cqw; font-size: 1.65cqw; font-weight: 600; }
.resultados__plot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3cqw; height: 20cqw; padding-top: 3cqw; background: repeating-linear-gradient(to top, transparent 0 4.9cqw, var(--line-soft) 4.9cqw 5cqw); }
.resultados__column { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; }
.resultados__bar { position: relative; width: 54%; height: calc(var(--v) / 19 * 13cqw); border-radius: 6px 6px 0 0; background: #9bb2ff; transform: scaleY(0); transform-origin: bottom; transition: transform .9s cubic-bezier(.2, .7, .2, 1) .25s; }
.resultados__column--current .resultados__bar { background: var(--blue); }
.resultados__bar-value { position: absolute; top: -2.8cqw; left: 0; width: 100%; text-align: center; font-family: var(--font-body); font-size: 1.5cqw; color: var(--ink-soft); }
.resultados__column--current .resultados__bar-value { color: var(--blue-strong); }
.resultados__month { width: 100%; padding-top: .8cqw; border-top: 1px solid var(--line); background: var(--surface); text-align: center; color: var(--muted); font-size: 1.4cqw; }
.resultados__laptop.reveal.is-visible .resultados__bar { transform: scaleY(1); }
.resultados__note { margin-top: 1.6cqw; color: var(--muted); font-size: 1.3cqw; line-height: 1.6; }
.resultados__base { position: relative; height: 32px; overflow: hidden; background: linear-gradient(180deg, #d5d9e2, #b9bfcb); clip-path: polygon(4% 0, 96% 0, 100% 70%, 99% 100%, 1% 100%, 0 70%); border-radius: 0 0 12px 12px; }
.resultados__base::after { content: ""; position: absolute; bottom: 0; left: 43%; width: 14%; height: 7px; border-radius: 6px 6px 0 0; background: #9199a8; }

/* Confianza */
.confianza__head { max-width: 850px; }
.confianza__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.confianza__item { min-width: 0; padding: 32px; background: var(--surface); }
.confianza__check { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 24px; border-radius: 50%; background: var(--blue); color: var(--surface); box-shadow: 0 5px 14px rgba(46, 91, 255, .16); }
.confianza__title { margin-bottom: 12px; font-size: 21px; line-height: 1.3; }
.confianza__copy { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Lo que viene. Las clases notify-form son el contrato del JS existente. */
.lo-que-viene__head { max-width: 780px; }
.lo-que-viene__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lo-que-viene__card { display: flex; flex-direction: column; min-width: 0; padding: 40px; border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.lo-que-viene__card--cuentas { background: var(--blue-soft); border-color: var(--line); }
.lo-que-viene__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.lo-que-viene__icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--blue-soft); color: var(--blue); }
.lo-que-viene__card--cuentas .lo-que-viene__icon { background: var(--surface); }
.lo-que-viene__title { margin-bottom: 18px; font-size: 30px; line-height: 1.2; }
.lo-que-viene__copy { margin-bottom: 32px; color: var(--muted); line-height: 1.75; }
#lo-que-viene .notify-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; width: 100%; margin-top: auto; }
#lo-que-viene .notify-form__input { width: 100%; min-width: 0; min-height: 50px; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 15px; }
#lo-que-viene .notify-form__input::placeholder { color: var(--muted); opacity: 1; }
#lo-que-viene .notify-form__btn { min-height: 50px; padding: 12px 22px; border: 0; border-radius: var(--r-pill); background: var(--blue); color: var(--surface); font-family: var(--font-body); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s ease; }
#lo-que-viene .notify-form__btn:hover { background: var(--blue-strong); }
#lo-que-viene .notify-form__msg { grid-column: 1 / -1; min-height: 1.5em; color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
#lo-que-viene .notify-form__msg.is-ok { color: #15803d; }
#lo-que-viene .notify-form__msg.is-error { color: #b42318; }
#vendedor .vendedor__cta:focus-visible, #lo-que-viene :is(.notify-form__input, .notify-form__btn):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (min-width: 1024px) {
  #vendedor { padding-top: 300px; }
  .vendedor__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
  .resultados__laptop { margin-bottom: -200px; }
  #confianza { padding-top: 320px; }
}
@media (max-width: 1023.98px) {
  .confianza__item { padding: 24px; }
  .confianza__title { font-size: 19px; }
  .lo-que-viene__card { padding: 30px; }
}
@media (max-width: 767.98px) {
  .vendedor__head { max-width: 600px; }
  .vendedor__device { width: 100%; max-width: 400px; margin-inline: auto; }
  .resultados__laptop::after, .resultados__camera, .resultados__base { display: none; }
  .resultados__screen { width: 100%; padding: 0; border-radius: var(--r-lg); background: transparent; box-shadow: var(--shadow-md); }
  .resultados__panel { aspect-ratio: auto; border-radius: var(--r-lg); background: var(--surface); }
  .resultados__toolbar { padding: 18px 20px; }
  .resultados__logo { font-size: 22px; }
  .resultados__selector { gap: 8px; padding: 6px 12px; font-size: 13px; }
  .resultados__selector svg { width: 18px; height: 18px; }
  .resultados__content { padding: 24px 20px; }
  .resultados__period { margin-bottom: 20px; font-size: 22px; }
  .resultados__metrics { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 24px; }
  .resultados__metric { padding: 18px; }
  .resultados__label { margin-bottom: 8px; font-size: 13px; }
  .resultados__value { gap: 6px; font-size: 26px; }
  .resultados__unit { font-size: 12px; }
  .resultados__value svg { width: 20px; height: 20px; }
  .resultados__chart { padding: 20px 14px 12px; }
  .resultados__chart-title { margin-bottom: 18px; font-size: 14px; line-height: 1.5; }
  .resultados__plot { gap: 12px; height: 210px; padding-top: 30px; background: repeating-linear-gradient(to top, transparent 0 44px, var(--line-soft) 44px 45px); }
  .resultados__bar { height: calc(var(--v) / 19 * 150px); width: 58%; }
  .resultados__bar-value { top: -26px; font-size: 13px; }
  .resultados__month { padding-top: 10px; font-size: 11px; }
  .resultados__note { margin-top: 20px; font-size: 12px; }
  .confianza__items, .lo-que-viene__grid { grid-template-columns: minmax(0, 1fr); }
  .confianza__item { padding: 28px; }
  .lo-que-viene__card { padding: 32px; }
}
@media (max-width: 479.98px) {
  .vendedor__panel { padding: 24px; }
  .vendedor__metrics { gap: 24px 16px; }
  .vendedor__metric dd { font-size: 36px; }
  .vendedor__chip { font-size: 11px; }
  .vendedor__cta { width: 100%; padding-left: 16px; gap: 10px; font-size: 14px; }
  .vendedor__phone { width: min(320px, calc(100% - 8px)); }
  .resultados__toolbar { padding-inline: 16px; }
  .resultados__content { padding: 22px 16px; }
  .resultados__value { font-size: 24px; }
  .resultados__plot { gap: 6px; }
  .lo-que-viene__card { padding: 24px; border-radius: var(--r-lg); }
  .lo-que-viene__title { font-size: 26px; }
  #lo-que-viene .notify-form { gap: 8px; }
  #lo-que-viene .notify-form__input { padding-inline: 14px; font-size: 14px; }
  #lo-que-viene .notify-form__btn { padding-inline: 16px; font-size: 14px; }
}
.no-js #vendedor .vendedor__msg { opacity: 1; animation: none; }
.no-js #resultados .resultados__bar { transform: scaleY(1); transition: none; }
@media (prefers-reduced-motion: reduce) {
  #vendedor .reveal, #resultados .reveal, #confianza .reveal, #lo-que-viene .reveal { opacity: 1; transform: none; transition: none; }
  #vendedor .vendedor__msg, #vendedor .reveal.is-visible .vendedor__msg { opacity: 1; transform: none; animation: none; }
  #resultados .resultados__bar { transform: scaleY(1); transition: none; }
  #lo-que-viene .notify-form__btn, #vendedor .vendedor__cta, #vendedor .vendedor__cta .btn__arrow { transition: none; }
}

/* Marco del laptop: PNG transparente (assets/img/mockups/laptop.webp, 1774 x 887).
   La pantalla vacía ocupa x 276..1499 y y 113..741 de la imagen; el panel HTML
   se coloca encima con esas coordenadas en porcentaje para que escale exacto. */
@media (min-width: 768px) {
  .resultados__laptop {
    max-width: 1080px;
    aspect-ratio: 1774 / 887;
    background: url("../img/mockups/laptop.webp") center / 100% 100% no-repeat;
  }
  .resultados__laptop::after { inset: auto 5% -14px; }
  .resultados__screen {
    position: absolute;
    left: 15.558%;
    top: 12.74%;
    width: 68.94%;
    height: 70.8%;
    margin: 0;
    padding: 0;
    border-radius: 2px;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    container-type: inline-size;
  }
  .resultados__camera,
  .resultados__base { display: none; }
  .resultados__panel { height: 100%; aspect-ratio: auto; border-radius: 2px; }
  .resultados__content { padding: 2.2cqw 3.6cqw; }
  .resultados__period { margin-bottom: 1.6cqw; }
  .resultados__metrics { margin-bottom: 1.6cqw; }
  .resultados__metric { padding: 1.5cqw 1.8cqw; }
  .resultados__chart { padding: 1.6cqw 2.4cqw 1.2cqw; }
  .resultados__chart-title { margin-bottom: 1cqw; }
  .resultados__plot { height: 12.5cqw; padding-top: 2.6cqw; }
  .resultados__bar { height: calc(var(--v) / 19 * 8.4cqw); }
  .resultados__bar-value { top: -2.4cqw; }
  .resultados__note { margin-top: 1.2cqw; }
}

/* Resultados: conversión, retorno y proyección a 12 meses */
.resultados__metric--extra { background: var(--blue-soft); border-color: #d3ddff; }
.resultados__metric--extra .resultados__value { color: var(--blue-strong); }
.resultados__hint { margin-top: .5cqw; color: var(--muted); font-size: 1.05cqw; line-height: 1.3; }
.resultados__row { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.4cqw; align-items: stretch; }
.resultados__proj {
  display: flex;
  flex-direction: column;
  padding: 1.8cqw;
  border-radius: var(--r-sm);
  background: linear-gradient(150deg, var(--navy) 0%, #1f3a9e 100%);
  color: #fff;
}
.resultados__proj-label { color: #a9bcff; font-size: 1.25cqw; font-weight: 600; }
.resultados__proj-value { margin-top: .4cqw; font-size: 3cqw; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.resultados__proj-copy { color: #c9d1e6; font-size: 1.2cqw; }
.resultados__recs { display: grid; gap: .6cqw; margin: 1.2cqw 0 0; padding: 0; list-style: none; }
.resultados__recs li { position: relative; padding-left: 1.8cqw; color: #e6ebf8; font-size: 1.15cqw; line-height: 1.35; }
.resultados__recs li::before { content: ""; position: absolute; left: 0; top: .35cqw; width: 1cqw; height: 1cqw; border-radius: 50%; background: var(--green); }
.resultados__proj-btn { margin-top: auto; align-self: flex-start; padding: .7cqw 1.4cqw; border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: 1.2cqw; font-weight: 600; }

@media (min-width: 768px) {
  .resultados__metrics { grid-template-columns: .6fr .95fr 1.2fr .95fr .95fr; }
  .resultados__plot { height: 10cqw; padding-top: 2.4cqw; }
  .resultados__bar { height: calc(var(--v) / 19 * 6.8cqw); }
  .resultados__metric { padding: 1.2cqw 1.4cqw; }
  .resultados__value { font-size: 2.2cqw; }
}

@media (max-width: 767.98px) {
  .resultados__hint { margin-top: 6px; font-size: 12px; }
  .resultados__row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .resultados__proj { padding: 20px; gap: 4px; }
  .resultados__proj-label { font-size: 13px; }
  .resultados__proj-value { font-size: 28px; }
  .resultados__proj-copy { font-size: 13px; }
  .resultados__recs { gap: 8px; margin-top: 14px; }
  .resultados__recs li { padding-left: 18px; font-size: 13px; }
  .resultados__recs li::before { top: 6px; width: 8px; height: 8px; }
  .resultados__proj-btn { margin-top: 16px; padding: 9px 16px; font-size: 13px; }
}

/* Salo Ventas: qué hace y propuestas cada 7 días */
.vendedor__features { display: grid; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; }
.vendedor__feature { display: flex; gap: 12px; align-items: flex-start; color: var(--navy-text); font-size: 14px; line-height: 1.45; }
.vendedor__feature b { display: block; color: #fff; font-weight: 600; font-size: 15px; }
.vendedor__feature-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(46, 91, 255, .22); color: #a9bcff; }
.vendedor__feature-ico svg { width: 18px; height: 18px; }
.vendedor__props { margin-top: 16px; padding: 18px; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); }
.vendedor__props-title { margin-bottom: 12px; color: #fff; font-weight: 600; font-size: 14px; }
.vendedor__props-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vendedor__prop { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--navy-surface); color: var(--navy-text); font-size: 13px; line-height: 1.4; }
.vendedor__prop-btn { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 5px 10px; border-radius: var(--r-pill); background: var(--green); color: #052e16; font-weight: 600; font-size: 12px; }
.vendedor__prop-btn svg { width: 13px; height: 13px; }

/* Resultados: resumen y comparativa contra el mes anterior */
.resultados__summary { margin: -1cqw 0 1.6cqw; color: var(--muted); font-size: 1.35cqw; }
.resultados__summary b { color: var(--ink); font-weight: 600; }
.resultados__cmp { display: flex; align-items: center; gap: .3cqw; margin-top: .5cqw; color: var(--muted); font-size: 1.05cqw; }
.resultados__cmp.is-good { color: #15803d; }
.resultados__cmp svg { width: 1.1cqw; height: 1.1cqw; flex: none; }
.resultados__proj-copy { margin-top: .4cqw; }
@media (min-width: 768px) {
  .resultados__metrics { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .resultados__value { font-size: 2cqw; }
}
@media (max-width: 767.98px) {
  .resultados__summary { margin: -8px 0 16px; font-size: 14px; }
  .resultados__cmp { gap: 4px; margin-top: 6px; font-size: 12px; }
  .resultados__cmp svg { width: 13px; height: 13px; }
}
@media (min-width: 768px) {
  .resultados__content { padding-top: 1.8cqw; padding-bottom: 1.4cqw; }
  .resultados__period { margin-bottom: .8cqw; }
  .resultados__summary { margin: 0 0 1.2cqw; }
  .resultados__metrics { margin-bottom: 1.2cqw; }
  .resultados__metric { padding: 1cqw 1.2cqw; }
  .resultados__label { margin-bottom: .4cqw; }
  .resultados__plot { height: 7.6cqw; padding-top: 2.2cqw; }
  .resultados__bar { height: calc(var(--v) / 19 * 5cqw); }
  .resultados__chart { padding: 1.2cqw 2cqw 1cqw; }
  .resultados__chart-title { margin-bottom: .6cqw; }
  .resultados__proj { padding: 1.4cqw; }
  .resultados__note { margin-top: .8cqw; }
}
@media (min-width: 768px) { .resultados__note { display: none; } }

/* Panel del laptop: réplica del inicio real de Salo (saludo, periodo, pendientes,
   5 números, campañas y vendedor). En desktop escala con el ancho de la pantalla (cqw). */
.dash { display: flex; flex-direction: column; background: var(--bg); color: var(--ink); letter-spacing: -.01em; }
.dash__top { display: flex; align-items: center; gap: 2cqw; padding: 1.1cqw 2.4cqw; border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.dash__logo { font-weight: 600; font-size: 2cqw; letter-spacing: -.05em; }
.dash__logo span { color: var(--blue); }
.dash__nav { display: flex; gap: .4cqw; margin-left: 1cqw; }
.dash__nav span { padding: .5cqw 1.1cqw; border-radius: 999px; color: var(--muted); font-size: 1.15cqw; font-weight: 500; }
.dash__nav .is-on { background: var(--blue-soft); color: var(--blue-strong); }
.dash__avatar { display: grid; place-items: center; width: 2.8cqw; height: 2.8cqw; margin-left: auto; border-radius: 50%; background: #be185d; color: #fff; font-size: 1.05cqw; font-weight: 600; }
.dash__body { padding: 1.8cqw 2.4cqw; }
.dash__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2cqw; margin-bottom: 1.4cqw; }
.dash__hello { font-weight: 600; font-size: 2.3cqw; letter-spacing: -.03em; }
.dash__sub { margin-top: .2cqw; color: var(--muted); font-size: 1.15cqw; }
.dash__period { display: flex; padding: .3cqw; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--surface); }
.dash__period span { padding: .45cqw 1.1cqw; border-radius: 999px; color: var(--muted); font-size: 1.05cqw; font-weight: 500; }
.dash__period .is-on { background: var(--blue); color: #fff; }
.dash__metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1cqw; margin: 0 0 1.3cqw; }
.dash__metric { padding: 1.1cqw 1.2cqw; border: 1px solid var(--line-soft); border-radius: 1cqw; background: var(--surface); box-shadow: 0 1px 2px rgba(13, 21, 38, .04); }
.dash__metric dt { color: var(--muted); font-size: 1.02cqw; line-height: 1.25; }
.dash__metric dd { margin: .3cqw 0 0; font-weight: 600; font-size: 1.95cqw; letter-spacing: -.03em; }
.dash__cmp { display: flex; align-items: center; gap: .3cqw; margin-top: .3cqw; color: var(--muted); font-size: .92cqw; }
.dash__cmp.is-good { color: #15803d; }
.dash__cmp svg { flex: none; width: 1cqw; height: 1cqw; }
.dash__grid { display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 1cqw; }
.dash__card { padding: 1.2cqw; border: 1px solid var(--line-soft); border-radius: 1cqw; background: var(--surface); }
.dash__card-title { display: flex; align-items: center; justify-content: space-between; gap: .6cqw; margin-bottom: .8cqw; font-weight: 600; font-size: 1.25cqw; }
.dash__count { padding: .1cqw .7cqw; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 1cqw; }
.dash__list { display: grid; gap: .5cqw; margin: 0; padding: 0; list-style: none; }
.dash__att { display: flex; align-items: center; gap: .8cqw; padding: .5cqw 0; border-top: 1px solid var(--line-soft); font-size: 1.05cqw; }
.dash__att:first-child { border-top: 0; }
.dash__att-ico { display: grid; place-items: center; flex: none; width: 2.4cqw; height: 2.4cqw; border-radius: .8cqw; }
.dash__att-ico svg { width: 1.3cqw; height: 1.3cqw; }
.dash__att-ico--warn { background: #fef3c7; color: #7a5200; }
.dash__att-ico--info { background: var(--blue-soft); color: var(--blue); }
.dash__att-ico--ok { background: #dcfce7; color: #15803d; }
.dash__att-text { flex: 1; min-width: 0; font-weight: 500; }
.dash__att-act { color: var(--blue-strong); font-weight: 600; }
.dash__camp { display: flex; align-items: center; gap: .9cqw; padding: .4cqw 0; border-top: 1px solid var(--line-soft); }
.dash__camp:first-child { border-top: 0; }
.dash__camp img { flex: none; width: 3.2cqw; height: 3.8cqw; border-radius: .6cqw; object-fit: cover; }
.dash__camp b { display: block; font-weight: 600; font-size: 1.1cqw; }
.dash__camp small { display: block; color: var(--muted); font-size: .95cqw; line-height: 1.35; }
.dash__camp .dash__state { color: #15803d; font-weight: 500; }
.dash__ok { color: #15803d; font-weight: 500; font-size: .95cqw; }
.dash__mode { display: flex; padding: .3cqw; border: 1px solid var(--line-soft); border-radius: .8cqw; }
.dash__mode span { flex: 1; padding: .4cqw .5cqw; border-radius: .6cqw; color: var(--muted); font-size: .95cqw; text-align: center; }
.dash__mode .is-on { background: var(--blue-soft); color: var(--blue-strong); font-weight: 600; }
.dash__mini { display: grid; grid-template-columns: 1fr 1fr; gap: .6cqw; margin: .8cqw 0 0; }
.dash__mini div { padding: .7cqw .8cqw; border-radius: .8cqw; background: var(--bg); }
.dash__mini dt { color: var(--muted); font-size: .9cqw; line-height: 1.2; }
.dash__mini dd { margin: .2cqw 0 0; font-weight: 600; font-size: 1.8cqw; }
.dash__mini p { color: #15803d; font-size: .85cqw; }
.dash__improve { margin-top: .7cqw; color: var(--muted); font-size: .95cqw; line-height: 1.35; }

/* Celular: sin marco, el panel como tarjeta con tamaños fijos */
@media (max-width: 767.98px) {
  .dash { border-radius: var(--r-lg); }
  .dash__top { gap: 12px; padding: 12px 16px; }
  .dash__logo { font-size: 18px; }
  .dash__nav { display: none; }
  .dash__avatar { width: 30px; height: 30px; font-size: 11px; }
  .dash__body { padding: 16px; }
  .dash__head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
  .dash__hello { font-size: 20px; }
  .dash__sub { font-size: 13px; }
  .dash__period span { padding: 5px 12px; font-size: 12px; }
  .dash__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
  .dash__metric { padding: 10px 12px; border-radius: 12px; }
  .dash__metric dt { font-size: 12px; }
  .dash__metric dd { font-size: 19px; }
  .dash__cmp { gap: 3px; font-size: 11px; }
  .dash__cmp svg { width: 11px; height: 11px; }
  .dash__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dash__card { padding: 14px; border-radius: 14px; }
  .dash__card-title { margin-bottom: 8px; font-size: 14px; }
  .dash__count { font-size: 12px; padding: 1px 8px; }
  .dash__att { gap: 10px; padding: 8px 0; font-size: 13px; }
  .dash__att-ico { width: 30px; height: 30px; border-radius: 9px; }
  .dash__att-ico svg { width: 16px; height: 16px; }
  .dash__camp { gap: 10px; padding: 6px 0; }
  .dash__camp img { width: 40px; height: 48px; border-radius: 8px; }
  .dash__camp b { font-size: 13px; }
  .dash__camp small, .dash__ok, .dash__improve { font-size: 12px; }
  .dash__mode span { padding: 6px; font-size: 12px; border-radius: 8px; }
  .dash__mode { border-radius: 10px; padding: 3px; }
  .dash__mini { gap: 8px; margin-top: 10px; }
  .dash__mini div { padding: 8px 10px; border-radius: 10px; }
  .dash__mini dt { font-size: 11.5px; }
  .dash__mini dd { font-size: 20px; }
  .dash__mini p { font-size: 11px; }
}

/* Salo Ventas: tarjeta "Tu vendedor" igual a la del producto */
.seller__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.seller__head .vendedor__panel-title { margin: 0; }
.seller__ok { display: inline-flex; align-items: center; gap: 6px; color: #86efac; font-size: 13px; font-weight: 500; }
.seller__ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.seller__mode { display: flex; padding: 4px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; }
.seller__mode span { flex: 1; padding: 8px 6px; border-radius: 9px; color: var(--navy-text); font-size: 13px; text-align: center; }
.seller__mode .is-on { background: rgba(46, 91, 255, .3); color: #fff; font-weight: 600; }
.seller__note { margin: 16px 0 8px; color: #a3aecb; font-size: 12.5px; }
.seller__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.seller__stats div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.seller__stats dt { color: var(--navy-text); font-size: 12.5px; }
.seller__stats dd { margin: 4px 0 0; color: #fff; font-weight: 600; font-size: 34px; letter-spacing: -.03em; line-height: 1.1; }
.seller__stats p { margin-top: 4px; color: #86efac; font-size: 12px; }
.seller__usage { margin: 16px 0 0; color: #a3aecb; font-size: 12.5px; }
.seller .vendedor__progress span { width: 64%; }
.dash__propose { display: flex; align-items: center; gap: 1.2cqw; margin-top: 1.2cqw; padding: 1.1cqw 1.4cqw; border-radius: 1cqw; background: linear-gradient(135deg, var(--navy), #1f3a9e); color: #fff; }
.dash__propose-ico { display: grid; place-items: center; flex: none; width: 2.8cqw; height: 2.8cqw; border-radius: .8cqw; background: rgba(255, 255, 255, .12); color: #a9bcff; }
.dash__propose-ico svg { width: 1.5cqw; height: 1.5cqw; }
.dash__propose-text { flex: 1; min-width: 0; color: #c9d1e6; font-size: 1.05cqw; line-height: 1.35; }
.dash__propose-text b { display: block; color: #fff; font-size: 1.25cqw; }
.dash__propose-btn { flex: none; padding: .6cqw 1.4cqw; border-radius: 999px; background: var(--green); color: #052e16; font-weight: 600; font-size: 1.05cqw; }
@media (max-width: 767.98px) {
  .dash__propose { flex-wrap: wrap; gap: 10px; margin-top: 10px; padding: 14px; border-radius: 14px; }
  .dash__propose-ico { width: 34px; height: 34px; border-radius: 10px; }
  .dash__propose-ico svg { width: 18px; height: 18px; }
  .dash__propose-text { font-size: 12.5px; }
  .dash__propose-text b { font-size: 14px; }
  .dash__propose-btn { padding: 8px 14px; font-size: 13px; }
}
.dash__metric dd.dash__cmp { margin: .3cqw 0 0; font-weight: 400; font-size: .92cqw; letter-spacing: 0; }
.dash__mini dd.dash__delta { margin: 0; color: #15803d; font-weight: 400; font-size: .85cqw; }
.seller__stats dd.seller__delta { margin: 4px 0 0; color: #86efac; font-weight: 400; font-size: 12px; letter-spacing: 0; line-height: 1.4; }
@media (max-width: 767.98px) {
  .dash__metric dd.dash__cmp { font-size: 11px; }
  .dash__mini dd.dash__delta { font-size: 11px; }
}


﻿/* Grupo C: planes, preguntas, CTA final y footer. */

/* Inter también en las secciones que conviven con la base anterior. */
.planes__head .title,
.preguntas__head .title,
.cta-final__content .title,
.planes__panel-title,
.planes__name {
  font-family: var(--font-body);
  font-weight: 600;
  text-wrap: balance;
}

.planes__selector { margin-inline: auto; }
.planes__tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 6px;
  margin-inline: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.planes__tab {
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.planes__tab:hover { background: var(--blue-soft); color: var(--ink); }
.planes__tab[aria-selected="true"]#tab-pauta { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.planes__tab[aria-selected="true"]#tab-vendedor { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.planes__tab[aria-selected="true"]#tab-combo { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; box-shadow: var(--shadow-sm); }
.no-js .planes__tabs { display: none; }
.planes__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 720px;
  margin: 24px auto 0;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.planes__note svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--blue); }
.planes__note p { margin: 0; }
.planes__panel { --planes-accent: var(--blue); margin-top: 56px; }
.planes__panel#panel-vendedor { --planes-accent: var(--navy); }
.planes__panel#panel-combo { --planes-accent: var(--blue-strong); }
.planes__panel[hidden] { display: none; }
.planes__panel-title { margin-bottom: 32px; font-size: 28px; text-align: center; }
html:not(.no-js) .planes__panel-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.no-js .planes__panel + .planes__panel { margin-top: 72px; }
.planes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.planes__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 64px 28px 28px;
  overflow: hidden;
}
.planes__top { min-height: 128px; }
.planes__product {
  margin: 0 0 16px;
  color: var(--planes-accent);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.planes__name { margin: 0 0 12px; color: var(--ink); font-size: 28px; }
.planes__description { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.planes__price { margin: 28px 0; }
.planes__price strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(36px, 3.6vw, 48px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.planes__price span { display: block; margin-top: 8px; color: var(--muted); font-family: var(--font-body); font-size: 11px; }
.planes__list { gap: 14px; margin: 0 0 32px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.planes__list li::before { color: var(--planes-accent); }
.planes__button { width: 100%; margin-top: auto; padding-inline: 16px; font-family: var(--font-body); font-weight: 500; }
.planes__button.btn--primary { padding-right: 6px; }
.planes__button .btn__arrow { flex: 0 0 36px; }
.planes__button .btn__arrow svg,
.cta-final__content .btn__arrow svg { stroke: currentColor; stroke-width: 1.8; }
.planes__card--featured { top: -16px; border: 2px solid var(--planes-accent); box-shadow: var(--shadow-lg); }
.planes__ribbon {
  position: absolute;
  inset: 0 0 auto;
  margin: 0;
  padding: 10px 20px;
  background: var(--planes-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}
.planes__panel#panel-vendedor .planes__button.btn--primary { background: var(--navy); box-shadow: 0 8px 24px rgba(17, 26, 46, .2); }
.planes__panel#panel-vendedor .planes__button.btn--primary:hover { background: var(--navy-surface); }
.planes__panel#panel-combo .planes__button.btn--primary { background: linear-gradient(135deg, var(--blue), var(--navy)); }

.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 2px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
/* La pregunta es un título (h3) para buscadores e IAs, pero se ve igual que antes. */
.faq__qt { margin: 0; font: inherit; color: inherit; letter-spacing: inherit; }
.faq__icon {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .25s ease, border-color .25s ease;
}
.faq__icon::before,
.faq__icon::after { position: absolute; top: 50%; left: 50%; width: 10px; height: 1.8px; background: var(--blue); content: ""; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { border-color: var(--blue); transform: rotate(45deg); }
.faq__q:hover .faq__icon { border-color: var(--blue); }
.faq__a { max-width: 704px; padding: 0 48px 26px 2px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.faq__a p { margin: 0; }
.faq__a a { color: var(--blue-strong); text-decoration-thickness: 1px; text-underline-offset: 4px; }

.cta-final__panel { position: relative; isolation: isolate; overflow: hidden; padding: 88px 56px; border-radius: var(--r-xl); background: var(--blue-soft); text-align: center; }
.cta-final__content { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.cta-final__content .lead { max-width: 600px; margin: 24px auto 32px; }
.cta-final__content .btn { font-family: var(--font-body); font-weight: 500; }
.cta-final__content .micro { margin: 16px 0 0; }
.cta-final__orb { position: absolute; z-index: 0; width: 320px; height: 320px; border-radius: 50%; background: rgba(46, 91, 255, .1); filter: blur(28px); pointer-events: none; }
.cta-final__orb--one { top: -160px; left: -110px; }
.cta-final__orb--two { right: -130px; bottom: -180px; width: 380px; height: 380px; background: rgba(46, 91, 255, .08); }

.site-footer { padding: 72px 0 0; background: var(--navy); color: var(--navy-text); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 64px; }
.site-footer__brand { max-width: 280px; }
.site-footer__logo { display: inline-flex; align-items: baseline; gap: 6px; margin-bottom: 20px; color: #fff; font-family: var(--font-body); font-size: 36px; font-weight: 600; letter-spacing: -.05em; line-height: 1.2; text-decoration: none; }
.site-footer__logo b { color: #8fa8ff; font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.site-footer__brand p { margin: 0; color: var(--navy-text); font-size: 14px; line-height: 1.8; }
.site-footer__column { display: grid; align-content: start; gap: 14px; }
.site-footer__column h2 { margin: 0 0 10px; color: #fff; font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.site-footer__column a { width: fit-content; color: var(--navy-text); font-size: 14px; line-height: 1.6; text-decoration: none; transition: color .2s ease; }
.site-footer__column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom { padding-block: 24px; border-top: 1px solid rgba(201, 209, 230, .16); }
.site-footer__bottom p { margin: 0; color: var(--navy-text); font-family: var(--font-body); font-size: 11px; line-height: 1.7; }

.planes__tab:focus-visible,
.planes__panel:focus-visible,
.planes__button:focus-visible,
.faq__q:focus-visible,
.faq__a a:focus-visible,
.cta-final__content .btn:focus-visible,
.site-footer a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

@media (max-width: 1024px) {
  .planes__grid { gap: 16px; }
  .planes__card { padding: 60px 18px 24px; }
  .planes__top { min-height: 152px; }
  .planes__button { gap: 6px; padding-inline: 10px; font-size: 13px; }
  .site-footer__grid { gap: 28px; }
  .cta-final__panel { padding: 72px 40px; }
}

@media (max-width: 768px) {
  .planes__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 520px; margin-inline: auto; }
  .planes__panel { margin-top: 36px; }
  .planes__card { padding: 32px 28px; }
  .planes__card--featured { top: 0; padding-top: 68px; }
  .planes__top { min-height: 0; }
  .planes__price strong { font-size: 44px; }
  .planes__button { gap: 12px; padding-inline: 16px; font-size: 15px; }
  .planes__button.btn--primary { padding-right: 6px; }
  .planes__note { padding: 18px 20px; }
  .faq__q { gap: 18px; font-size: 16px; }
  .cta-final__panel { padding: 60px 28px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .site-footer__brand { max-width: 380px; grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .planes__tabs { width: 100%; gap: 4px; }
  .planes__tab { flex: 1 1 0; min-width: 0; padding: 10px 12px; font-size: 12px; }
  .planes__note { align-items: flex-start; gap: 10px; padding: 16px; text-align: left; font-size: 13px; }
  .planes__card { padding-inline: 24px; }
  .planes__product { font-size: 10px; }
  .faq__q { padding-block: 20px; font-size: 15px; }
  .faq__a { padding-right: 6px; font-size: 14px; }
  .cta-final__panel { padding: 48px 20px; }
  .cta-final__content .lead { font-size: 16px; }
  .cta-final__content .btn { width: 100%; gap: 8px; padding-left: 16px; font-size: 15px; }
  .site-footer { padding-top: 56px; }
  .site-footer__grid { gap: 32px 20px; padding-bottom: 44px; }
  .site-footer__column a { font-size: 13px; display: inline-flex; align-items: center; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .planes__tab,
  .planes__button,
  .planes__button .btn__arrow,
  .faq__icon,
  .cta-final__content .btn,
  .cta-final__content .btn__arrow,
  .site-footer__column a { transition: none; }
  .planes__button:hover,
  .planes__button:hover .btn__arrow,
  .cta-final__content .btn:hover,
  .cta-final__content .btn:hover .btn__arrow { transform: none; }
}

/* Ola de entrada del footer: dos capas, la de atrás en azul translúcido y la del frente en navy */
.site-footer { position: relative; margin-top: 120px; }
.site-footer__wave {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(100% - 1px);
  height: 120px;
  overflow: hidden;
  pointer-events: none;
}
.site-footer__wave svg {
  position: absolute;
  bottom: 0; left: 0;
  width: 200%;
  max-width: none;
  height: 100%;
}
.site-footer__wave-back { fill: var(--blue); opacity: .22; animation: footerWave 18s linear infinite; }
.site-footer__wave-front { fill: var(--navy); animation: footerWave 26s linear infinite reverse; }
@keyframes footerWave { to { transform: translateX(-50%); } }
@media (max-width: 767.98px) {
  .site-footer { margin-top: 64px; }
  .site-footer__wave { height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer__wave svg { animation: none; }
}

/* Combo destacado en la pestaña */
.planes__tab-sub { font-weight: 400; opacity: .8; }

/* Funciones bloqueadas: se ven con candado para dar curiosidad */
.check-list li.planes__locked { color: #8a93a8; }
.check-list li.planes__locked::before {
  opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.planes__locked span { color: #6b7489; }
.planes__locked small {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: #5b6478;
  font-size: 11px;
  font-weight: 600;
  vertical-align: 1px;
}

/* Plan recomendado por el test */
.planes__card.is-recommended {
  outline: 3px solid var(--green);
  outline-offset: 4px;
  overflow: visible;
}
.planes__card--featured.is-recommended::after { top: auto; bottom: -14px; }
.planes__card.is-recommended::after {
  content: "Tu plan recomendado";
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #052e16;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Test de 2 preguntas */
.quiz {
  max-width: 920px;
  margin: 0 auto 56px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.no-js .quiz { display: none; }
.quiz__head { margin-bottom: 20px; text-align: center; }
.quiz__kicker { color: var(--blue); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.quiz__title { margin-top: 6px; font-size: clamp(20px, 2.2vw, 26px); }
.quiz__q { margin: 0 0 18px; padding: 0; border: 0; }
.quiz__q legend { margin-bottom: 10px; padding: 0; color: var(--ink); font-weight: 600; font-size: 15px; }
.quiz__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.quiz__opt { position: relative; cursor: pointer; }
.quiz__opt input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__opt span {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  transition: border-color .18s ease, background-color .18s ease;
}
.quiz__opt:hover span { border-color: var(--blue); }
.quiz__opt input:checked + span { border-color: var(--blue); background: var(--blue-soft); font-weight: 600; }
.quiz__opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.quiz__result:empty { display: none; }
.quiz__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
}
.quiz__result p { font-size: 15px; }
.quiz__result b { font-size: 18px; }
.quiz__result small { display: block; color: #c9d1e6; font-size: 13px; }
.quiz__go {
  padding: 10px 18px;
  border: 0;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
@media (max-width: 767.98px) {
  .quiz { padding: 20px 16px; border-radius: var(--r-lg); }
  .quiz__opts { grid-template-columns: minmax(0, 1fr); }
}

/* Planes v3: tres planes sin pestañas, datos de cobro y demostración */
.planes__grid { margin-top: 8px; }
.quiz__opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.planes__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 40px;
  color: var(--ink);
  font-size: 14.5px;
}
.planes__facts p { display: inline-flex; align-items: center; gap: 8px; }
.planes__facts svg { width: 18px; height: 18px; color: var(--green); }
.planes__demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 920px;
  margin: 32px auto 0;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.planes__demo-title { color: var(--ink); font-weight: 600; font-size: 17px; }
.planes__demo-copy { margin-top: 2px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 767.98px) {
  .quiz__opts--2 { grid-template-columns: minmax(0, 1fr); }
  .planes__facts { justify-content: flex-start; }
  .planes__demo-btn { width: 100%; }
}
.cta-final__demo { margin-left: 10px; }
@media (max-width: 767.98px) {
  .cta-final__demo { margin: 12px 0 0; }
}
.planes__grid { --planes-accent: var(--blue); }

/* Planes v4: promesa, precio por día, "ideal si" y tabla comparativa */
.planes__card .planes__product { color: var(--planes-accent); }
.planes__promise { margin-top: 10px; color: var(--ink); font-weight: 500; font-size: 15.5px; line-height: 1.45; }
.planes__price span { text-transform: none; letter-spacing: 0; }
.planes__ideal {
  margin: 4px 0 18px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--bg);
  color: #3f4860;
  font-size: 13.5px;
  line-height: 1.45;
}
.planes__card--featured .planes__ideal { background: var(--blue-soft); color: var(--blue-strong); }
.planes__meta-note {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 14.5px;
  text-align: center;
}
.planes__compare {
  margin-top: 64px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.planes__compare-title { margin-bottom: 18px; font-size: 22px; text-align: center; }
.planes__table-wrap { overflow-x: auto; }
.planes__table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14.5px; }
.planes__table thead th {
  padding: 12px 10px 16px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  vertical-align: bottom;
}
.planes__table thead th small { display: block; margin-top: 2px; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.planes__table thead th.is-featured { border-radius: 14px 14px 0 0; background: var(--blue-soft); color: var(--blue-strong); }
.planes__table tbody th { padding: 13px 12px 13px 0; color: var(--ink); font-weight: 500; text-align: left; }
.planes__table td { padding: 13px 10px; color: var(--ink); font-weight: 500; font-size: 13.5px; text-align: center; }
.planes__table tbody tr { border-top: 1px solid var(--line-soft); }
.planes__table tbody td:nth-child(3) { background: rgba(232, 238, 255, .55); }
.planes__yes,
.planes__no { display: inline-block; width: 22px; height: 22px; vertical-align: middle; }
.planes__yes {
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.planes__no {
  background: #aab2c4;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / 18px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / 18px no-repeat;
}
@media (max-width: 767.98px) {
  .planes__compare { padding: 18px 12px; border-radius: var(--r-lg); }
  .planes__table { font-size: 13px; }
}
.planes__price span { font-size: 13px; }
.planes__launch { display: inline-block; margin-top: 14px; padding: 5px 12px; border-radius: 999px; background: #dcfce7; color: #166534; font-weight: 600; font-size: 13px; }

/* Planes v5: dos Sistemas al frente, Salo Pauta aparte, precios de fundador */
.planes__grid--main { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.planes__founders {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 12px 18px;
  border: 1px solid #f5d27a;
  border-radius: var(--r-pill);
  background: #fffbeb;
  color: #5c4100;
  font-size: 14.5px;
}
.planes__founders b { color: #3d2b00; }
.planes__founders-badge { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--amber); color: #fff; }
.planes__founders-badge svg { width: 16px; height: 16px; }
.planes__solo {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: center;
  gap: 28px;
  max-width: 900px;
  margin: 28px auto 0;
  padding: 26px 28px;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.planes__solo-q { color: var(--muted); font-size: 14px; }
.planes__solo .planes__name { margin: 4px 0 10px; font-size: 22px; }
.planes__solo .planes__price strong { font-size: 34px; }
.planes__solo .planes__list { gap: 8px; font-size: 14px; }
.planes__solo-note { margin-top: 10px; color: var(--muted); font-size: 12.5px; }
@media (max-width: 860px) {
  .planes__grid--main { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .planes__solo { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 520px; }
}
@media (max-width: 767.98px) {
  .planes__founders { border-radius: var(--r-md); align-items: flex-start; }
}
.planes__solo { position: relative; }
.planes__solo.is-recommended { outline: 3px solid var(--green); outline-offset: 4px; }
.planes__solo.is-recommended::after { content: "Tu plan recomendado"; position: absolute; left: 50%; top: -14px; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--green); color: #052e16; font-size: 12px; font-weight: 600; white-space: nowrap; }

/* Solicitud del plan a medida: el contacto continúa en WhatsApp. */
.planes__custom { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 900px; margin: 32px auto; padding: 40px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--blue-soft); }
.planes__custom .title { margin: 10px 0 20px; font-size: clamp(28px, 3vw, 38px); }
.planes__custom .lead { font-size: 16px; }
.planes__custom .micro { margin-top: 14px; }
.planes__custom-form { display: grid; gap: 16px; min-width: 0; }
.planes__custom-form label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 500; }
.planes__custom-form input, .planes__custom-form select, .planes__custom-form textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.planes__custom-form textarea { resize: vertical; }
.planes__custom-form :is(input, select, textarea):focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.planes__custom-form .btn { text-align: center; white-space: normal; font-size: 14px; }
.planes__custom.is-recommended { outline: 3px solid var(--green); outline-offset: 4px; }
.planes__table { min-width: 820px; }
@media (max-width: 767px) { .planes__custom { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 20px; } }

/* La oferta principal compara dos niveles del mismo Dúo. */
.planes__trial { margin-top: 18px; color: var(--blue-strong); font-size: 16px; font-weight: 500; }
.planes__together { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px 32px; align-items: center; max-width: 900px; margin: 0 auto 24px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--blue-soft); }
.planes__together > div > span { color: var(--blue-strong); font-size: 12px; font-weight: 600; }
.planes__together h3 { margin: 7px 0; font-size: 23px; }
.planes__together p { color: #46566d; font-size: 15px; line-height: 1.6; }
.planes__together-plus { color: #5479bd; font-size: 30px; font-weight: 400; }
.planes__together .planes__together-caption { grid-column: 1 / -1; margin-top: 8px; font-size: 13px; }
.planes__founder-line { max-width: 900px; margin: 0 auto 16px; color: var(--muted); font-size: 13px; }
.planes__grid--main .planes__card { padding-top: 32px; }
.planes__grid--main .planes__name { font-size: clamp(26px, 3vw, 32px); }
.planes__grid--main .planes__promise { min-height: 3em; }
.planes__grid--main .planes__button { white-space: normal; text-align: center; font-size: 14px; }
.planes__compare--duo { max-width: 900px; margin: 32px auto 0; }
.planes__compare-lead { max-width: 600px; margin: -4px auto 24px; color: var(--muted); text-align: center; font-size: 15px; }
.planes__table--duo { min-width: 0; width: 100%; table-layout: fixed; }
.planes__table--duo :is(th,td) { width: 32%; overflow-wrap: break-word; }
.planes__table--duo :is(th,td):first-child { width: 36%; }
.planes__table--duo thead th { font-size: 16px; }
.planes__table--duo tbody td:nth-child(3) { background: var(--blue-soft); }
.planes__compare-note { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: #46566d; font-size: 14px; line-height: 1.7; }
.planes__individuals { max-width: 900px; margin: 32px auto 40px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.planes__individuals > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; }
.planes__individuals > summary::-webkit-details-marker { display: none; }
.planes__individuals summary b { display: block; font-weight: 500; font-size: 17px; }
.planes__individuals summary small { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; }
.planes__disclosure-icon { flex: none; color: var(--blue); font-size: 28px; line-height: 1; }
.planes__individuals[open] .planes__disclosure-icon { transform: rotate(45deg); }
.planes__single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 26px 26px; }
.planes__single { min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: #fafbfe; }
.planes__single h4 { font-size: 22px; }
.planes__single .planes__price { margin: 0; }
.planes__single .planes__price strong { font-size: 32px; }
.planes__single .check-list { margin: 0; font-size: 14px; }
.planes__retained { padding-top: 16px; border-top: 1px solid var(--line); color: #46566d; font-size: 13px; line-height: 1.65; }
.planes__retained b { display: block; color: var(--ink); font-weight: 500; }
.planes__single .btn { margin-top: auto; font-size: 13px; white-space: normal; text-align: center; }
.planes__single.is-recommended { outline: 3px solid var(--green); outline-offset: 3px; }
.planes__individuals summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: var(--r-lg); }
@media (max-width: 767px) {
  .planes__together { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 24px; }
  .planes__together-plus { font-size: 24px; }
  .planes__grid--main .planes__promise { min-height: 0; }
  .planes__single-grid { grid-template-columns: minmax(0, 1fr); padding: 0 18px 18px; }
  .planes__individuals > summary { padding: 20px 18px; }
  .planes__table--duo thead th { padding: 10px 5px 14px; font-size: 14px; }
  .planes__table--duo tbody th { padding-right: 10px; font-size: 12px; }
  .planes__table--duo td { padding: 12px 7px; font-size: 12px; }
  .planes__table--duo thead th small { font-size: 11px; }
}
.planes__grid--main .planes__card--featured { top: 0; }
.planes__grid--main .planes__button.btn--primary { padding-right: 16px; }
/* En pantallas pequeñas, cada diferencia conserva sus dos opciones lado a lado. */
@media (max-width: 480px) {
  .planes__table--duo thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .planes__table--duo tbody { display: block; }
  .planes__table--duo tbody tr { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; }
  .planes__table--duo tbody :is(th,td) { width: auto; }
  .planes__table--duo tbody th { grid-column: 1 / -1; padding: 14px 0 10px; font-size: 13px; }
  .planes__table--duo tbody td { padding: 12px 10px; text-align: left; border-radius: 10px; line-height: 1.6; }
  .planes__table--duo td::before { content: attr(data-label); display: block; margin-bottom: 6px; color: var(--ink); font-size: 12px; font-weight: 600; }
}

/* Continuidad entre los planes, las preguntas y el cierre. */
#planes { padding-bottom: 72px; }
#preguntas { padding-block: 72px; }
#cta-final { padding-top: 72px; }
@media (max-width: 767px) {
  #planes { padding-bottom: 48px; }
  #preguntas { padding-block: 48px; }
  #cta-final { padding-top: 48px; }
}


/* Oferta configurable. Reutiliza Inter, colores, botones y superficies de Salo. */
.pricing { --pricing-soft: #f4f7ff; }
.pricing-heading { max-width: 850px; }
.pricing-demo-notice { margin: 0 auto 28px; max-width: 960px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fafbff; color: #46566d; font-size: 14px; line-height: 1.6; }
.pricing-demo-notice b { font-weight: 600; color: var(--ink); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.pricing-card { min-width: 0; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 8px 24px -18px #2944743d; }
.pricing-card--duo { border: 2px solid #638ae1; padding: 23px; background: linear-gradient(180deg,#f2f6ff 0%,#fff 42%); }
.pricing-card__badge { min-height: 28px; margin-bottom: 14px; align-self: flex-start; color: #3155a1; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.pricing-card--duo .pricing-card__badge { padding: 5px 10px; border-radius: 999px; background: #e1eaff; }
.pricing-card__need { margin-bottom: 15px; color: #5d6a83; font-size: 13px; line-height: 1.55; min-height: 3.1em; }
.pricing-card h3 { font-size: 27px; line-height: 1.2; }
.pricing-card__outcome { margin-top: 9px; color: #3155a1; font-size: 16px; font-weight: 500; min-height: 2.7em; }
.pricing-card__description { margin: 14px 0 20px; color: var(--muted); line-height: 1.65; font-size: 14px; min-height: 5em; }
.pricing-price { margin-bottom: 24px; }
.pricing-price__label { color: #616b86; font-size: 12px; }
.pricing-price p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; margin-top: 6px; }
.pricing-price strong { color: var(--ink); font-size: clamp(28px,3.1vw,40px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; }
.pricing-price p > span { color: #616b86; font-size: 12px; }
.pricing-capacity { margin-bottom: 22px; }
.pricing-capacity label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 13px; font-weight: 500; }
.pricing-capacity select { width: 100%; min-width: 0; min-height: 48px; padding: 11px 30px 11px 11px; border: 1px solid #cbd7eb; border-radius: 10px; background: #fff; color: #263b60; font-family: inherit; font-size: 12px; cursor: pointer; }
.pricing-capacity select:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.pricing-capacity__hint { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.pricing-card__saving { padding: 11px 12px; margin-bottom: 18px; border-radius: 10px; background: #eaf1ff; color: #2e5199; font-size: 13px; line-height: 1.6; font-weight: 500; }
.pricing-card__saving[hidden] { display: none; }
.pricing-card__features { display: grid; gap: 13px; padding: 0; margin: 0 0 22px; list-style: none; font-size: 14px; line-height: 1.6; }
.pricing-card__features li { display: flex; align-items: flex-start; gap: 9px; }
.pricing-inclusion { display: inline-flex; justify-content: center; color: #5478bd; }
.pricing-inclusion svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.pricing-inclusion.is-excluded { color: #8d97a8; }
.pricing-card__boundary { margin: auto 0 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); color: #5a667e; font-size: 12px; line-height: 1.65; }
.pricing-card__cta { width: 100%; font-size: 13px; padding-inline: 12px; text-align: center; white-space: normal; }
.pricing-card__trial { margin-top: 10px; color: var(--muted); text-align: center; font-size: 12px; }
.pricing-help { max-width: 760px; margin: 28px auto 0; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: #46566d; font-size: 14px; line-height: 1.75; }
.pricing-help summary { color: #3155a1; font-weight: 500; cursor: pointer; }
.pricing-help p { margin-top: 12px; }
.pricing-value { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin: 72px 0; }
.pricing-value__story h3 { margin: 15px 0 20px; font-size: clamp(28px,3vw,38px); line-height: 1.16; text-wrap: balance; }
.pricing-value__story > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); line-height: 1.8; font-size: 15px; }
.pricing-savings { padding: 30px; border-radius: 24px; border: 1px solid #cfdcf2; background: #fff; }
.pricing-savings h4 { font-size: 20px; }
.pricing-savings__scope { margin: 10px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.pricing-savings dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; font-size: 14px; }
.pricing-savings dt { color: #46566d; }
.pricing-savings dd { flex: none; font-weight: 500; }
.pricing-savings__total { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-savings__result { margin-top: 12px; padding: 20px; border-radius: 14px; background: #edf3ff; color: #3155a1; }
.pricing-savings__result > p:first-child { font-size: 13px; }
.pricing-savings__result strong { display: inline-block; margin: 6px 8px 6px 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.pricing-savings__result [data-percent-saving] { font-size: 14px; }
.pricing-savings__annual { font-size: 12px; line-height: 1.6; }
.pricing-savings__disclaimer { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.pricing-comparison > header { text-align: center; margin-bottom: 28px; }
.pricing-comparison h3 { font-size: clamp(25px,3vw,34px); }
.pricing-comparison > header p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.pricing-comparison__desktop { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.pricing-comparison table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.pricing-comparison th { font-weight: 500; text-align: left; }
.pricing-comparison th:first-child { width: 49%; }
.pricing-comparison thead th { text-align: center; font-size: 15px; padding-bottom: 20px; }
.pricing-comparison td { text-align: center; padding: 13px 8px; }
.pricing-comparison tbody th { padding: 13px 14px 13px 0; }
.pricing-comparison tbody tr { border-top: 1px solid var(--line-soft); }
.pricing-comparison small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.6; }
.pricing-comparison .pricing-comparison__group th { padding-top: 24px; color: #3155a1; font-size: 12px; font-weight: 600; }
.pricing-comparison td:last-child { background: #f4f7ff; }
.pricing-comparison__mobile { display: none; }
.pricing-costs { margin-top: 36px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fafbfe; }
.pricing-costs h3 { margin-bottom: 12px; font-size: 18px; }
.pricing-costs p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.pricing-tail { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.pricing-tail a { display: inline-block; margin-top: 8px; color: #3155a1; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.pricing :is(summary,button,a):focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.pricing-nojs { margin-top: 20px; color: var(--muted); }
@media (max-width: 1024px) {
  .pricing-grid { gap: 14px; }
  .pricing-card { padding: 20px; }
  .pricing-card--duo { padding: 19px; }
  .pricing-card h3 { font-size: 24px; }
  .pricing-price strong { font-size: 30px; }
  .pricing-value { gap: 28px; }
}
@media (max-width: 767px) {
  .pricing-grid { grid-template-columns: minmax(0,1fr); max-width: 490px; margin-inline: auto; gap: 22px; }
  .pricing-card { padding: 24px; }
  .pricing-card--duo { padding: 23px; }
  .pricing-card__badge { min-height: 0; margin-bottom: 10px; }
  .pricing-card:not(.pricing-card--duo) .pricing-card__badge { display: none; }
  .pricing-card__need, .pricing-card__outcome, .pricing-card__description { min-height: 0; }
  .pricing-card__outcome { margin-top: 6px; }
  .pricing-price strong { font-size: 36px; }
  .pricing-value { grid-template-columns: minmax(0,1fr); gap: 28px; margin: 48px 0; }
  .pricing-savings { padding: 24px; }
  .pricing-comparison__desktop { display: none; }
  .pricing-comparison__mobile { display: block; }
  .pricing-comparison [role=tablist] { display: flex; gap: 5px; padding: 5px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
  .pricing-comparison [role=tab] { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: #46566d; font: inherit; font-size: 14px; cursor: pointer; }
  .pricing-comparison [role=tab][aria-selected=true] { background: #e6eeff; color: #3155a1; font-weight: 600; }
  .pricing-feature-group { margin-top: 10px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .pricing-feature-group summary { font-weight: 500; font-size: 15px; cursor: pointer; }
  .pricing-feature-group ul { padding: 0; margin: 14px 0 0; list-style: none; }
  .pricing-feature-group li { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
  .pricing-costs { padding: 22px; }
}
@media (prefers-reduced-motion: no-preference) {
  .pricing-card { transition: box-shadow .25s ease, border-color .25s ease; }
  .pricing-card:hover { box-shadow: 0 12px 30px -22px #345eaa66; border-color: #91abdc; }
  .pricing-card__cta { transition: background-color .2s ease; }
}

/* Planes con precio fijo: costo por día, capacidad y plan recomendado por el test. */
.pricing .quiz { margin-bottom: 40px; }
.pricing-price__day { margin-top: 4px; color: #3155a1; font-size: 14px; font-weight: 500; }
.pricing-card__capacity { margin: -8px 0 20px; padding: 10px 12px; border-radius: 10px; background: #eaf1ff; color: #2e5199; font-size: 13px; line-height: 1.55; font-weight: 500; }
.pricing-comparison thead small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
.pricing-card.is-recommended { position: relative; outline: 3px solid var(--green); outline-offset: 4px; }
.pricing-card.is-recommended::after { content: "Tu plan recomendado"; position: absolute; left: 50%; top: -14px; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--green); color: #052e16; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pricing .planes__custom { max-width: none; margin: 40px 0 72px; }
@media (max-width: 767px) {
  .pricing-feature-group h4 { color: #3155a1; font-size: 13px; font-weight: 600; }
}


/* Portada pública: texto a la izquierda y, a la derecha, el panel de Salo con
   el chat y los anuncios flotando. Todo es HTML y CSS, nada es una imagen fija. */

/* ---------- Nav clara sobre la portada ---------- */
.nav {
  border-color: #e6ecf5;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 34px rgba(30, 52, 92, .10);
}
.is-scrolled .nav { box-shadow: 0 14px 40px rgba(30, 52, 92, .16); }
.logo { color: var(--ink); }
.logo span { color: var(--blue); }
.nav__links a,
.nav__drop-btn,
.nav__login { color: #1f2d45; }
.nav__links a:hover,
.nav__drop-btn:hover,
.nav__dropdown:hover .nav__drop-btn { background: #f1f5fc; color: var(--ink); }
/* Menú de Productos y menú del celular: claros, como la barra. */
.nav__drop {
  border-color: #e3eaf5;
  background: #fff;
  box-shadow: 0 24px 50px rgba(30, 52, 92, .16);
}
.nav__links .nav__drop-item { color: var(--ink); }
.nav__links .nav__drop-item:hover { background: #f1f5fc; color: var(--ink); }
.nav__drop-item small { color: #6b778b; }
.nav__drop-icon { background: #eef3ff; color: var(--blue); }
@media (max-width: 960px) {
  .nav__menu { border: 1px solid #e3eaf5; background: #fff; box-shadow: 0 24px 50px rgba(30, 52, 92, .16); }
  .nav__drop { background: transparent; box-shadow: none; }
  .nav__actions { border-top-color: #e6ecf5; }
}
.nav__toggle { background: #eef3fb; }
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after { background: var(--ink); }
.menu-open .nav__toggle span { background: transparent; }

/* ---------- Marco ---------- */
.hero--stage .hero__frame {
  padding-bottom: clamp(56px, 7vw, 96px);
  background:
    radial-gradient(60% 55% at 78% 22%, rgba(120, 156, 255, .16), transparent 70%),
    radial-gradient(40% 40% at 8% 90%, rgba(120, 156, 255, .08), transparent 70%),
    linear-gradient(#f8faff, #f5f7fc);
  color: var(--ink);
}
.hero--stage .hero__glow,
.hero--stage .hero__grid,
.hero__scene { display: none; }

.hero__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
  max-width: 1360px;
}
.hero--stage .hero__content { text-align: left; max-width: 640px; }

.hero--stage .hero__title--narrative {
  max-width: none;
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: pretty;
}
.hero--stage .hero__title span { display: inline; }
.hero--stage .hero__title span + span {
  display: block;
  background: linear-gradient(90deg, #2448f0, #3b6dff);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero--stage .hero__sub {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 1.6vw, 22px);
  text-wrap: pretty;
}
.hero__perks {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 24px 0 0; padding: 0; list-style: none;
  color: #33415a; font-size: 15px; font-weight: 500;
}
.hero__perks li { display: inline-flex; align-items: center; gap: 9px; }
.hero__perks span {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: #eaf0ff; color: var(--blue);
}
.hero__perks svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero--stage .hero__actions { justify-content: flex-start; margin-top: 28px; }
.hero--stage .hero__actions .btn--primary { gap: 14px; padding-left: 22px; box-shadow: 0 14px 30px -10px rgba(46, 91, 255, .55); }
.hero--stage .btn__arrow { background: #0f1b33; }
.hero--stage .btn:hover .btn__arrow { transform: translateX(3px); }
.hero__journey { max-width: 440px; margin: 14px 0 0; color: #6b778b; font-size: 14px; line-height: 1.55; }

/* ---------- Escena de la derecha ----------
   Todo se mide en em: 1em = 1/64 del ancho, así la escena se escala completa. */
.hero-visual {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 64 / 58;
}
.hero-visual > * { font-size: 1.5625cqw; }
.hero-visual__spark {
  position: absolute;
  top: 0; right: 9%;
  width: 6em; height: 5em;
}
.hero-visual__spark i {
  position: absolute;
  width: .45em; height: 3.2em;
  border-radius: 1em;
  background: var(--blue);
  animation: hv-spark 3.2s ease-in-out infinite;
}
.hero-visual__spark i:first-child { left: 1em; top: 0; transform: rotate(14deg); }
.hero-visual__spark i:last-child { left: 3.6em; top: 1.6em; transform: rotate(52deg); animation-delay: .4s; }
@keyframes hv-spark { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Panel en perspectiva */
.hv-dash {
  position: absolute;
  top: 5em; left: 7em;
  width: 54em; height: 37em;
  display: flex;
  border: .1em solid #e6ecf5;
  border-radius: 2.2em;
  background: #fff;
  box-shadow: 0 3em 6em -2em rgba(40, 68, 120, .22), 0 .6em 1.6em rgba(40, 68, 120, .06);
  transform: perspective(170em) rotateY(-11deg) rotateX(5deg) rotateZ(1deg);
  transform-origin: 40% 50%;
  overflow: hidden;
  color: var(--ink);
}
.hv-dash__side { width: 14em; padding: 2.6em 1.4em; border-right: .1em solid #eef2f8; }
.hv-logo { display: block; margin: 0 0 2.2em 1em; font-size: 2.1em; font-weight: 600; letter-spacing: -.05em; }
.hv-logo span { color: var(--blue); }
.hv-dash__side ul { margin: 0; padding: 0; list-style: none; }
.hv-dash__side li {
  display: flex; align-items: center; gap: .8em;
  margin-bottom: .5em; padding: .8em 1em;
  border-radius: .9em;
  color: #4a5871; font-size: 1.15em;
}
.hv-dash__side li svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.hv-dash__side li.is-on { background: #eef3ff; color: var(--blue); font-weight: 600; }
.hv-dash__side li.is-on svg { fill: currentColor; }
.hv-dash__main { flex: 1; padding: 3em 2.6em; }
.hv-dash__top { display: flex; justify-content: space-between; align-items: flex-start; }
.hv-demo {
  display: inline-block; margin-bottom: .8em; padding: .3em .8em;
  border-radius: 1em; background: #fff4e0; color: #9a5b00;
  font-size: .95em; font-weight: 600;
}
.hv-dash__top b { display: block; font-size: 2em; letter-spacing: -.03em; }
.hv-dash__top small { color: #6b778b; font-size: 1.15em; }
.hv-chip { display: inline-flex; align-items: center; gap: .3em; padding: .7em 1em; border: .1em solid #e6ecf5; border-radius: .8em; font-size: 1em; color: #4a5871; }
.hv-chip svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; margin-top: 2.6em; }
.hv-kpi { position: relative; padding: 1.4em; border: .1em solid #e9eef6; border-radius: 1.2em; box-shadow: 0 .6em 1.6em -1em rgba(40, 68, 120, .2); }
.hv-kpi small { display: block; color: #6b778b; font-size: 1em; }
.hv-kpi b { display: block; margin-top: .4em; font-size: 2.1em; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hv-kpi em, .hv-chart__head em {
  position: absolute; right: 1.2em; bottom: 1.5em;
  padding: .2em .6em; border-radius: 1em;
  background: #e7f8ee; color: #15803d;
  font-size: .95em; font-style: normal; font-weight: 600;
}
.hv-kpi.is-bump b { animation: hv-bump .6s ease; }
@keyframes hv-bump { 40% { color: var(--blue); transform: translateY(-.15em); } }
.hv-chart { position: relative; margin-top: 2.2em; }
.hv-chart__head { display: flex; justify-content: space-between; }
.hv-chart__head b { font-size: 1.3em; }
.hv-chart__head em { position: static; }
.hv-chart svg { display: block; width: 100%; height: 9em; margin-top: 1em; overflow: visible; }
.hv-chart__area { fill: url(#hvFill); animation: hv-area 9s ease-in-out infinite; }
.hv-chart__line {
  fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: hv-draw 9s ease-in-out infinite;
}
.hv-chart__dot { fill: var(--blue); stroke: #fff; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: hv-dot 9s ease-in-out infinite; }
@keyframes hv-draw { 0% { stroke-dashoffset: 1; } 30%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes hv-area { 0%, 12% { opacity: 0; } 34%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hv-dot { 0%, 20% { opacity: 0; transform: scale(.4); } 26% { opacity: 1; transform: scale(1.3); } 32%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

/* Tarjetas que flotan sobre el panel */
.hv-chat, .hv-ad {
  position: absolute;
  border: .1em solid #e6ecf5;
  background: #fff;
  box-shadow: 0 2.6em 5em -1.6em rgba(30, 52, 92, .32);
  animation: hv-float var(--float, 7s) ease-in-out var(--float-delay, 0s) infinite;
}
@keyframes hv-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1.2em; } }

.hv-chat {
  top: 30em; left: 0;
  width: 24em;
  padding: 1.6em;
  border-radius: 2em;
  color: var(--ink);
  --float: 6.5s;
}
.hv-chat__head { display: flex; align-items: center; gap: 1em; margin-bottom: 1.4em; }
.hv-chat__head b { display: block; font-size: 1.2em; }
.hv-chat__head small { color: #6b778b; font-size: 1em; }
.hv-avatar {
  position: relative; display: grid; place-items: center;
  width: 3.6em; height: 3.6em; border-radius: 50%;
  background: linear-gradient(135deg, #f3c7a8, #c98a6a); color: #fff;
  font-size: 1em; font-weight: 600;
}
.hv-avatar i { position: absolute; right: 0; bottom: 0; width: .9em; height: .9em; border: .2em solid #fff; border-radius: 50%; background: #22c55e; }
.hv-chat__wa {
  width: 3em; height: 3em; margin-left: auto; padding: .6em;
  border-radius: 50%; background: #25d366;
  filter: brightness(0) invert(1); /* la marca va en blanco */
  box-shadow: 0 0 0 0 #25d366;
}
.hv-chat__head::after { content: none; }
.hv-msg {
  position: relative;
  margin: 0 0 1em;
  padding: 1em 1.2em 1.9em;
  border-radius: 1.2em;
  font-size: 1.12em;
  line-height: 1.4;
}
.hv-msg time { position: absolute; right: 1em; bottom: .6em; font-size: .78em; opacity: .85; }
.hv-msg--in { width: 85%; background: #f1f4f9; border-bottom-left-radius: .3em; animation: hv-in 12s ease infinite; }
.hv-slot { position: relative; }
.hv-msg--out { width: 88%; margin-left: auto; background: var(--blue); color: #fff; border-bottom-right-radius: .3em; animation: hv-out 12s ease infinite; }
.hv-msg--out time { opacity: 1; }
.hv-typing {
  position: absolute; top: 0; right: 0;
  display: flex; gap: .35em;
  margin: 0; padding: 1em 1.2em;
  border-radius: 1.2em; background: #e9efff;
  animation: hv-typing 12s ease infinite;
}
.hv-typing i { width: .55em; height: .55em; border-radius: 50%; background: var(--blue); animation: hv-dots 1s ease-in-out infinite; }
.hv-typing i:nth-child(2) { animation-delay: .15s; }
.hv-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hv-dots { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-.25em); } }
.hv-product {
  display: grid; grid-template-columns: 4.6em 1fr; gap: .4em 1em; align-items: center;
  padding: 1em; border: .1em solid #e9eef6; border-radius: 1.2em;
  animation: hv-product 12s ease infinite;
}
.hv-product img { display: block; width: 4.6em; height: 4.6em; border-radius: .8em; object-fit: cover; object-position: 50% 65%; }
.hv-product b { display: block; font-size: 1.1em; }
.hv-product small { color: #4a5871; font-size: 1em; }
.hv-product span {
  grid-column: 1 / -1;
  padding: .7em; border: .12em solid var(--blue); border-radius: .9em;
  color: var(--blue); text-align: center; font-size: 1.1em; font-weight: 600;
}
/* Conversación en bucle: llega el mensaje, Salo escribe, responde y manda el producto. */
@keyframes hv-in { 0% { opacity: 0; transform: translateY(.8em); } 4%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes hv-typing { 0%, 10% { opacity: 0; transform: scale(.8); } 13%, 26% { opacity: 1; transform: none; } 29%, 100% { opacity: 0; } }
@keyframes hv-out { 0%, 27% { opacity: 0; transform: translateY(.8em); } 31%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes hv-product { 0%, 40% { opacity: 0; transform: translateY(.8em); } 45%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }

.hv-ad { margin: 0; overflow: hidden; border-radius: 1.8em; }
.hv-ad picture img { display: block; width: 100%; height: 100%; object-fit: cover; animation: hv-zoom 16s ease-in-out infinite alternate; }
@keyframes hv-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hv-ad__net {
  position: absolute; z-index: 1; top: 1.2em; left: 1.2em;
  width: 3em; height: 3em; padding: .55em;
  border-radius: .9em;
  filter: brightness(0) invert(1);
}
.hv-ad--ig::before {
  content: ""; position: absolute; z-index: 1; top: 1.2em; left: 1.2em;
  width: 3em; height: 3em; border-radius: .9em;
}
.hv-ad--ig::before { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.hv-ad--ig {
  z-index: 2;
  top: 35em; left: 46em;
  width: 17.5em; height: 22em;
  padding: .8em;
  transform: rotate(-2deg);
  --float: 7.5s; --float-delay: -2s;
}
.hv-ad--ig picture { display: block; height: 100%; overflow: hidden; border-radius: 1.2em; }
.hv-ad__btn {
  position: absolute; left: 50%; bottom: 2.2em;
  padding: .8em 1.8em;
  border-radius: 2em; background: #fff;
  color: var(--ink); font-size: 1.15em; font-weight: 600; white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .18);
  animation: hv-cta 4s ease-in-out infinite;
}
@keyframes hv-cta { 0%, 70%, 100% { transform: translateX(-50%) scale(1); } 80% { transform: translateX(-50%) scale(1.07); } }
/* Mascota: la ola de Salo asoma junto al panel. Entra una vez y se queda quieta. */
.hv-mascot {
  position: absolute; z-index: 3;
  top: 9em; left: -1em;
  width: 10em;
  animation: hv-hop .9s cubic-bezier(.3, 1.5, .5, 1) 1.1s both;
}
.hv-mascot svg { display: block; width: 100%; filter: drop-shadow(0 1.2em 1.4em rgba(30, 90, 160, .22)); transform-origin: 50% 80%; transition: transform .3s ease; }
.hv-mascot:hover svg { transform: rotate(-8deg) scale(1.05); }
.hv-mascot__hi {
  position: absolute; bottom: 92%; left: 1.6em;
  margin: 0; padding: .55em 1em;
  border-radius: 1.2em 1.2em 1.2em .3em;
  background: #fff; color: var(--ink);
  font-size: 1.1em; font-weight: 600; white-space: nowrap;
  box-shadow: 0 .8em 1.8em -.6em rgba(30, 52, 92, .28);
  animation: hv-hi .5s ease 1.8s both;
}
@keyframes hv-hop { from { opacity: 0; transform: translateY(2em) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes hv-hi { from { opacity: 0; transform: translateY(.6em); } to { opacity: 1; transform: none; } }

/* Entrada al cargar */
.hero-visual > * { animation-fill-mode: both; }
.hv-dash, .hv-chat, .hv-ad--ig { opacity: 0; }
.hero-visual.is-in .hv-dash { opacity: 1; transition: opacity .9s ease; }
.hero-visual.is-in .hv-chat { opacity: 1; transition: opacity .7s ease .35s; }
.hero-visual.is-in .hv-ad--ig { opacity: 1; transition: opacity .7s ease .55s; }
.no-js .hv-dash, .no-js .hv-chat, .no-js .hv-ad { opacity: 1; }

/* Seguimiento suave del cursor en computador */
.hero-visual { transition: translate .5s ease-out; }

/* ---------- Tableta y celular ---------- */
@media (max-width: 1100px) {
  .hero__split { grid-template-columns: 1fr; gap: 40px; }
  .hero--stage .hero__content { max-width: 720px; margin-inline: auto; text-align: center; }
  .hero--stage .hero__actions { justify-content: center; }
  .hero--stage .hero__sub, .hero__journey { margin-inline: auto; }
  .hero__perks { justify-content: center; }
  .hero-visual { width: 100%; max-width: 720px; margin-inline: auto; }
}
@media (max-width: 767px) {
  .hero--stage .hero__frame { padding-bottom: 48px; }
  .hero__perks { gap: 10px 16px; font-size: 14px; }
  /* En celular la escena se arma de nuevo: panel arriba y, debajo, chat y anuncio lado a lado. */
  .hero-visual {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 0 3cqw;
    align-items: start;
  }
  .hero-visual > * { font-size: 2.6cqw; }
  .hero-visual__spark { display: none; }
  .hv-mascot { top: -5em; left: auto; right: 1em; width: 8em; }
  .hv-mascot__hi { left: auto; right: 80%; bottom: 60%; border-radius: 1.2em 1.2em .3em 1.2em; }
  .hv-dash, .hv-chat, .hv-ad--ig { position: relative; top: auto; left: auto; }
  .hv-dash {
    grid-column: 1 / -1;
    width: auto; height: auto;
    transform: none;
  }
  .hv-dash__side { display: none; }
  .hv-dash__main { padding: 2.4em 2em 2em; }
  .hv-chip { display: none; }
  .hv-chat { width: auto; margin-top: -6em; padding: 1.4em; }
  .hv-ad--ig { width: 100%; height: auto; aspect-ratio: 4 / 5; margin-top: -3em; transform: rotate(-2deg); }
  .hero-visual.is-in .hv-ad--ig, .hero-visual.is-in .hv-chat { z-index: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual *, .hero-visual *::before { animation: none !important; }
  .hv-chart__line { stroke-dashoffset: 0; }
  .hv-typing { opacity: 0; }
}


/* Secciones del texto de Adolfo (19 oct 2026). Reusan colores, radios y sombras de base.css. */

/* Portada: el subtítulo no repite el peso del titular, así «IA» e «inteligencia artificial» no compiten. */
.hero__sub { max-width: 760px; margin: 22px auto 0; color: var(--ink); font-size: clamp(18px, 2vw, 23px); font-weight: 500; line-height: 1.45; text-wrap: balance; }

/* Problema */
.problema__item--key { border-color: #b9c9f5; background: linear-gradient(180deg, #f2f6ff 0%, var(--surface) 60%); }
.problema__kicker { margin: -6px 0 8px; color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.problema__data { max-width: 860px; margin: 56px auto 0; padding: 28px 32px; border-radius: var(--r-lg); background: var(--blue-soft); text-align: center; }
.problema__stat { color: var(--ink); font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
.problema__stat b { color: var(--blue-strong); font-weight: 600; }
.problema__source { margin-top: 10px; color: var(--muted); font-size: 12px; }
.problema__close { max-width: 760px; margin: 40px auto 0; color: var(--ink); font-size: clamp(18px, 2vw, 22px); font-weight: 500; line-height: 1.5; text-align: center; text-wrap: balance; }

/* Para quién es */
.para-quien__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1040px; margin: 0 auto; }
.para-quien__card { padding: 36px; }
.para-quien__title { margin-bottom: 20px; font-size: 22px; }
.para-quien__list { color: var(--ink); font-size: 15.5px; line-height: 1.6; }
.para-quien__list li::before { color: var(--blue); background: var(--blue); }
.check-list--no li { color: #46566d; }
.check-list--no li::before {
  background: #8d97a8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 9 6 6M15 9l-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 9 6 6M15 9l-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.para-quien__card--no { background: #fafbfe; box-shadow: none; }
.para-quien__note { margin-top: 28px; text-align: center; }

/* Cómo funciona */
.que-es__layout--solo { margin-bottom: 0; }

/* Salo aprende contigo */
.confianza__head .lead { max-width: 720px; margin-inline: auto; }
.confianza__foot { max-width: 760px; margin: 40px auto 0; color: var(--ink); font-size: 17px; line-height: 1.6; text-align: center; }

/* No vas a estar solo */
.acompanamiento__panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding: 56px; border-radius: var(--r-xl); background: var(--navy); color: #fff; }
.acompanamiento__panel .title { color: #fff; margin: 14px 0 18px; }
.acompanamiento__panel .lead { color: var(--navy-text); }
.acompanamiento__panel .eyebrow { border-color: rgba(169, 188, 255, .25); background: rgba(46, 91, 255, .16); color: #c3d0ff; }
.acompanamiento__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.acompanamiento__list li { display: grid; gap: 4px; padding: 20px 22px; border: 1px solid rgba(201, 209, 230, .16); border-radius: var(--r-md); background: var(--navy-surface); }
.acompanamiento__list b { font-size: 17px; font-weight: 600; }
.acompanamiento__list span { color: var(--navy-text); font-size: 14.5px; line-height: 1.6; }

/* Planes en pesos */
.pricing-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pricing-grid--4 .pricing-card { padding: 24px 20px; }
.pricing-grid--4 .pricing-card h3 { font-size: 23px; }
.pricing-grid--4 .pricing-price { margin: 14px 0 18px; }
.pricing-grid--4 .pricing-price strong { font-size: clamp(26px, 2.4vw, 32px); }
.pricing-price__day { color: var(--muted); font-size: 12px; font-weight: 400; }
.pricing-specs { display: grid; gap: 0; margin: 0 0 18px; border-top: 1px solid var(--line-soft); }
.pricing-specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.pricing-specs dt { color: var(--muted); }
.pricing-specs dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.pricing-grid--4 .pricing-card__description { min-height: 0; margin: 0 0 22px; flex: 1; font-size: 13.5px; }
.pricing-plans[hidden] { display: none; }
.no-js .pricing-plans[hidden] { display: block; }
.pricing-grid--result .pricing-card[hidden] { display: none; }
.pricing-grid--result[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 380px; margin-inline: auto; padding-top: 16px; }
.pricing-grid--result[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; padding-top: 16px; }
.pricing-card.is-option { position: relative; }
.pricing-card.is-option::after { content: "Otra opción"; position: absolute; left: 50%; top: -14px; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: #e1eaff; color: #2e5199; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pricing-bundle[hidden] { display: none; }
.pricing-bundle { max-width: 720px; margin: 18px auto 0; padding: 12px 16px; border-radius: 12px; background: #eaf1ff; color: #2e5199; font-size: 15px; font-weight: 500; text-align: center; }
.pricing-extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--ink); font-size: 15px; }
.pricing-extras b { font-weight: 600; }

@media (max-width: 1100px) {
  .pricing-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .para-quien__grid, .acompanamiento__panel { grid-template-columns: minmax(0, 1fr); }
  .acompanamiento__panel { gap: 32px; padding: 40px 28px; }
}
@media (max-width: 767px) {
  .pricing-grid--4, .pricing-grid--result[data-count] { grid-template-columns: minmax(0, 1fr); max-width: 490px; }
  .para-quien__card { padding: 28px 22px; }
  .problema__data { margin-top: 40px; padding: 22px 20px; }
  .acompanamiento__panel { padding: 32px 20px; border-radius: var(--r-lg); }
  .pricing-extras { flex-direction: column; align-items: center; text-align: center; }
}

/* Comentarios de Adolfo (20-oct): sin palabras solas al final de los textos centrados. */
.hero--stage .hero__sub, .hero__journey, .section-head--center .lead, .cta-final__content .lead { text-wrap: balance; }
.lead__br { display: none; }
@media (max-width: 767px) {
  .lead__br { display: inline; }
  /* La ola de Salo se sienta en la esquina del panel, sin tapar el texto de la portada. */
  .hv-mascot { top: -2.2em; right: -.4em; width: 6.4em; }
  .hv-mascot__hi { display: none; }
}

/* Riel de anuncios de ejemplo con precio en pesos. */
.hero--stage .hero-rail { margin-top: 56px; }
.ad__price {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: #0f1b33;
  font-size: 13px; font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 6px 14px -6px rgba(15, 27, 51, .35);
}

/* Test corto de planes */
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz__go { display: inline-flex; align-items: center; text-decoration: none; }
.quiz__see { padding: 10px 18px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: var(--r-pill); background: transparent; color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }

@media (max-width: 767px) { .quiz__actions, .quiz__actions > * { width: 100%; justify-content: center; } }
@media (max-width: 767px) { .hero--stage .hero-rail { margin-top: 8px; } }
/* En celular el título "Salo no es para ti (por ahora) si" cabe en una sola línea. */
@media (max-width: 767px) { .para-quien__title { font-size: min(22px, 4.8vw); white-space: nowrap; letter-spacing: -.01em; } }

/* Lo que incluye cada plan: lista completa, porque ahora se ve un plan a la vez. */
.pricing-card__includes-title { margin: 0 0 8px; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.pricing-card__includes { display: grid; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; flex: 1; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.pricing-card__includes li { position: relative; padding-left: 22px; }
.pricing-card__includes li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* Plan recomendado: borde azul con un brillo blanco que da la vuelta. */
@property --brillo { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes brillo { to { --brillo: 360deg; } }
.pricing-card.is-recommended { position: relative; outline: none; border-color: transparent; box-shadow: 0 14px 34px -18px #1b3fd199; }
.pricing-card.is-recommended::before {
  content: ""; position: absolute; inset: -3px; padding: 3px; border-radius: 27px; pointer-events: none;
  background: conic-gradient(from var(--brillo), var(--blue-strong) 0deg, var(--blue) 180deg, #cfdcff 245deg, #ffffff 270deg, #cfdcff 295deg, var(--blue-strong) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: brillo 3.5s linear infinite;
}
.pricing-card.is-recommended::after { z-index: 1; padding: 5px 14px; background: linear-gradient(90deg, var(--blue-strong), #5b7cff); color: #fff; box-shadow: 0 6px 14px -8px #1b3fd1; }
.pricing-card.is-option::after { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .pricing-card.is-recommended::before { animation: none; } }

.pricing-card__promise { margin-top: 6px; color: var(--blue-strong); font-size: 15px; font-weight: 600; line-height: 1.4; }

/* Salo Ventas: la lista y el botón quedan centrados en su columna. */
.vendedor__features { width: fit-content; max-width: 100%; margin-inline: auto; }
.vendedor__actions { display: flex; justify-content: center; }
.pricing-bundle p { margin: 0 0 10px; }
.pricing-bundle__go { min-height: 48px; }
.pricing-specs { flex: 1; align-content: start; }
.pricing-specs > div { align-items: baseline; font-size: 14px; }
.pricing-specs dt { max-width: 62%; line-height: 1.4; }
.pricing-specs .is-off dd { color: var(--muted); font-weight: 400; }


/* ---------- Efectos de scroll ----------
   Barra de avance, tarjetas que se elevan y parallax suave.
   Se usa la propiedad translate para no pisar el transform de .reveal. */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #6f8cff);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
[data-parallax] { will-change: translate; }

@media (prefers-reduced-motion: no-preference) {
  .problema__item, .que-es__item, .pauta__step, .pricing-card, .dash__card, .faq__item {
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), translate .3s ease, box-shadow .3s ease, border-color .3s ease;
  }
  .problema__item:hover, .que-es__item:hover, .pauta__step:hover, .pricing-card:hover {
    translate: 0 -6px;
    box-shadow: 0 18px 40px -24px #2944745c;
  }
  .dash__card:hover { translate: 0 -3px; }
  .faq__item:hover { translate: 4px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}

/* Los botones de empezar abren WhatsApp: lo dice el ícono. */
.btn__wa { flex: none; width: 1.15em; height: 1.15em; margin-right: -4px; }


/* ---------- La cara de Salo (ver js/salo-face.js) ---------- */
.salo-face { display: block; width: 100%; height: auto; overflow: visible; --lx: 0px; --ly: 0px; }
.salo-face * { transform-box: fill-box; }
.salo-face .sf-body { transform-origin: 50% 100%; animation: sf-float 3.4s ease-in-out infinite; }
.salo-face .sf-spark { transform-origin: 0% 100%; animation: sf-spark 2.2s ease-in-out infinite; }
.salo-face .sf-eyes { transform: translate(var(--lx), var(--ly)); transition: transform .28s cubic-bezier(.3, 1.4, .5, 1); }
.salo-face .sf-eye { transform-origin: 50% 50%; transition: transform .09s ease; }
.salo-face.is-blink .sf-eye { transform: scaleY(.12); }
.salo-face .sf-m, .salo-face .sf-heart, .salo-face .sf-cheek, .salo-face .sf-brow { opacity: 0; transition: opacity .18s ease, transform .25s ease; }
.salo-face .sf-heart { transform-origin: 50% 50%; transform: scale(.4); }
.salo-face .sf-brow { transform: translateY(1.5px); }

/* Caras */
.salo-face[data-mood="feliz"] .sf-m--feliz,
.salo-face[data-mood="risa"] .sf-m--risa,
.salo-face[data-mood="sorpresa"] .sf-m--sorpresa,
.salo-face[data-mood="pensando"] .sf-m--pensando,
.salo-face[data-mood="guino"] .sf-m--guino,
.salo-face[data-mood="enamorado"] .sf-m--risa { opacity: 1; }
.salo-face[data-mood="risa"] .sf-cheek,
.salo-face[data-mood="guino"] .sf-cheek,
.salo-face[data-mood="enamorado"] .sf-cheek { opacity: .85; }
.salo-face[data-mood="risa"] .sf-eye { transform: scaleY(.55) translateY(-1px); }
.salo-face[data-mood="guino"] .sf-eye--l { transform: scaleY(.12); }
.salo-face[data-mood="sorpresa"] .sf-brow { opacity: 1; transform: translateY(-1.5px); }
.salo-face[data-mood="sorpresa"] .sf-eye { transform: scale(1.18); }
.salo-face[data-mood="pensando"] .sf-brow--r { opacity: 1; transform: translateY(-1.5px) rotate(-8deg); }
.salo-face[data-mood="pensando"] .sf-eyes { transform: translate(2px, -1.6px); }
.salo-face[data-mood="pensando"] .sf-body { animation: sf-think 1.6s ease-in-out infinite; }
.salo-face[data-mood="enamorado"] .sf-eye { opacity: 0; }
.salo-face[data-mood="enamorado"] .sf-heart { opacity: 1; transform: scale(1); animation: sf-beat .7s ease-in-out infinite; }
.salo-face.is-hop .sf-body { animation: sf-hop .65s cubic-bezier(.3, 1.5, .5, 1); }

@keyframes sf-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-2deg); } }
@keyframes sf-think { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(4deg); } }
@keyframes sf-spark { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@keyframes sf-beat { 50% { transform: scale(1.18); } }
@keyframes sf-hop { 0% { transform: translateY(0) scale(1, 1); } 25% { transform: translateY(0) scale(1.12, .86); } 55% { transform: translateY(-12px) scale(.92, 1.1); } 80% { transform: translateY(0) scale(1.06, .94); } 100% { transform: translateY(0) scale(1, 1); } }

@media (prefers-reduced-motion: reduce) {
  .salo-face *, .salo-face { animation: none !important; transition: none !important; }
}


/* Salo flotante: la ola abajo a la derecha, arrastrable, con su conversación. */
.salo-bot {
  position: fixed;
  z-index: 900;
  right: 20px;
  bottom: 20px;
  width: 68px;
  height: 68px;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.salo-bot.is-away { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); pointer-events: none; }
.salo-bot__toggle {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  padding: 6px;
  border: 1px solid #e3eaf5;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 30px -10px rgba(30, 60, 120, .35);
  cursor: grab;
  touch-action: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.salo-bot__toggle svg { width: 100%; height: 100%; pointer-events: none; }
.salo-bot__toggle:hover { transform: translateY(-2px) rotate(-6deg); box-shadow: 0 18px 34px -10px rgba(30, 60, 120, .42); }
.salo-bot__toggle:focus-visible { outline: 3px solid #8fb0ff; outline-offset: 3px; }
.salo-bot.is-dragging .salo-bot__toggle { cursor: grabbing; transform: scale(1.08); transition: none; }
.salo-bot.is-open .salo-bot__toggle { box-shadow: 0 0 0 4px #dbe6ff, 0 14px 30px -10px rgba(30, 60, 120, .35); }

/* Saludo corto que aparece una vez */
.salo-bot__hint {
  position: absolute;
  right: 78px;
  bottom: 18px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 16px 16px 4px 16px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(30, 52, 92, .3);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.salo-bot__hint.is-on { opacity: 1; transform: none; }
.salo-bot.is-left .salo-bot__hint { right: auto; left: 78px; border-radius: 16px 16px 16px 4px; }

/* Ventana de conversación */
.salo-bot__panel {
  position: fixed;
  display: flex;
  flex-direction: column;
  width: min(370px, calc(100vw - 32px));
  height: min(540px, calc(100vh - 120px));
  border: 1px solid #e3eaf5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(20, 40, 90, .35);
  overflow: hidden;
  animation: salo-bot-in .25s ease;
}
.salo-bot__panel[hidden] { display: none; }
@keyframes salo-bot-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

.salo-bot__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  background: linear-gradient(135deg, #2e5bff, #4f7bff);
  color: #fff;
}
.salo-bot__head b { display: block; font-size: 16px; }
.salo-bot__head small { font-size: 12.5px; opacity: .85; }
.salo-bot__avatar { display: grid; place-items: center; width: 40px; height: 40px; padding: 3px; border-radius: 50%; background: #fff; flex: none; }
.salo-bot__avatar svg { width: 100%; height: 100%; }
.salo-bot__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  cursor: pointer;
}
.salo-bot__close:hover { background: rgba(255, 255, 255, .28); }
.salo-bot__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.salo-bot__close svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }

.salo-bot__log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  overflow-y: auto;
  background: #f6f8fc;
}
.salo-bot__msg {
  max-width: 86%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.45;
  animation: salo-bot-msg .25s ease;
}
@keyframes salo-bot-msg { from { opacity: 0; transform: translateY(6px); } }
.salo-bot__msg--salo { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(30, 52, 92, .06); }
.salo-bot__msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.salo-bot__cta {
  align-self: flex-start;
  display: inline-flex;
  margin: 0 0 4px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.salo-bot__cta:hover { background: #1fb95a; }
.salo-bot__typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
}
.salo-bot__typing i { width: 7px; height: 7px; border-radius: 50%; background: #9db3e8; animation: salo-bot-dot 1s ease-in-out infinite; }
.salo-bot__typing i:nth-child(2) { animation-delay: .15s; }
.salo-bot__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes salo-bot-dot { 50% { opacity: .4; transform: translateY(-3px); } }

.salo-bot__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 30%;
  padding: 12px 14px 14px;
  overflow-y: auto;
  border-top: 1px solid #eef2f8;
  background: #fff;
}
.salo-bot__options:empty { display: none; }
.salo-bot__chip {
  padding: 9px 14px;
  border: 1px solid #d6e1f7;
  border-radius: 999px;
  background: #fff;
  color: #1f3a8a;
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.salo-bot__chip:hover { background: #eef3ff; border-color: #b9ccf5; }
.salo-bot__chip:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.salo-bot__chip--main { background: var(--blue); border-color: var(--blue); color: #fff; }
.salo-bot__chip--main:hover { background: var(--blue-strong); }

/* Caja para escribir */
.salo-bot__form {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid #eef2f8;
  background: #fff;
}
.salo-bot__input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid #d6e1f7;
  border-radius: 999px;
  background: #f6f8fc;
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* 16px evita el zoom automático en iPhone */
}
.salo-bot__input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px #dbe6ff; }
.salo-bot__send {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
}
.salo-bot__send:hover { background: var(--blue-strong); }
.salo-bot__send:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.salo-bot__send svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.salo-bot__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salo-bot__options { border-top: 0; padding-bottom: 6px; }

@media (max-width: 767px) {
  .salo-bot { right: 14px; bottom: 14px; width: 60px; height: 60px; }
  .salo-bot__toggle { width: 60px; height: 60px; }
  /* En celular la conversación ocupa el ancho de la pantalla, abajo. */
  .salo-bot__panel {
    position: fixed;
    left: 8px !important;
    right: 8px !important;
    top: auto !important;
    bottom: 8px !important;
    width: auto;
    height: min(78vh, 600px);
  }
  .salo-bot.is-open .salo-bot__toggle, .salo-bot.is-open .salo-bot__hint { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .salo-bot *, .salo-bot__panel { animation: none !important; transition: none !important; }
}
