/* ==========================================================================
   Landing publica (public/home.php).
   Todo cuelga de .landing-page / .lp-* para no pisar los estilos del panel,
   que se cargan antes desde desktop/css/styles.css.
   ========================================================================== */

.landing-html {
  scroll-behavior: smooth;
  /* Compensa la barra pegajosa al saltar a un #ancla. */
  scroll-padding-top: 88px;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .landing-html { scroll-behavior: auto; }
}

.landing-page {
  --lp-max: 1160px;
  --lp-gutter: 1.5rem;

  --lp-ink: #0a1122;
  --lp-ink-2: #1c2740;
  --lp-muted: #5a6880;
  --lp-line: #e4eaf4;
  --lp-line-soft: #f0f4fa;
  --lp-surface: #ffffff;
  --lp-tint: #f5f8fd;

  --lp-brand: #0d6efd;
  --lp-brand-strong: #0b57d0;
  --lp-indigo: #4f46e5;
  --lp-cyan: #06b6d4;
  --lp-navy: #081428;
  --lp-green: #16a34a;
  --lp-amber: #f59e0b;
  --lp-red: #ef4444;

  --lp-radius-lg: 26px;
  --lp-radius: 18px;
  --lp-radius-sm: 12px;

  --lp-shadow-sm: 0 1px 2px rgba(10, 22, 48, .05), 0 10px 24px -16px rgba(10, 22, 48, .35);
  --lp-shadow: 0 2px 4px rgba(10, 22, 48, .04), 0 22px 44px -22px rgba(10, 22, 48, .34);
  --lp-shadow-lg: 0 40px 80px -30px rgba(8, 20, 40, .45);

  margin: 0;
  background: var(--lp-surface);
  color: var(--lp-ink);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.landing-page ::selection {
  background: rgba(13, 110, 253, .16);
}

.lp-skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .7rem 1.1rem;
  border-radius: 0 0 12px 12px;
  background: var(--lp-brand);
  color: #fff;
  font-size: .9rem;
  font-weight: 650;
  transition: top .2s ease;
}

.lp-skip:focus {
  top: 0;
}

.lp-shell {
  width: 100%;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding-inline: var(--lp-gutter);
}

/* --------------------------------------------------------- Tipografia base */

.lp-h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--lp-ink);
  margin: 0;
}

.lp-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--lp-muted);
  margin: .9rem 0 0;
}

.lp-section-head {
  max-width: 620px;
  margin: 0 auto 3rem;
  text-align: center;
}

.lp-kicker {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lp-brand);
  margin-bottom: .85rem;
}

.lp-gradient-text {
  background: linear-gradient(100deg, var(--lp-brand) 0%, var(--lp-indigo) 50%, var(--lp-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ Botones */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .22s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.lp-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.lp-btn--primary {
  background: linear-gradient(135deg, var(--lp-brand) 0%, var(--lp-indigo) 100%);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(13, 110, 253, .75);
}

.lp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(13, 110, 253, .8);
}

.lp-btn--ghost {
  background: var(--lp-surface);
  border-color: var(--lp-line);
  color: var(--lp-ink-2);
  box-shadow: var(--lp-shadow-sm);
}

.lp-btn--ghost:hover {
  transform: translateY(-2px);
  border-color: #c9d8f2;
  color: var(--lp-brand);
}

.lp-btn--light {
  background: #fff;
  color: var(--lp-brand-strong);
}

.lp-btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .55);
}

.lp-btn--outline-light {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

.lp-btn--outline-light:hover {
  background: rgba(255, 255, 255, .16);
  transform: translateY(-2px);
}

.lp-btn--lg {
  padding: .95rem 1.9rem;
  font-size: 1rem;
}

.lp-btn--block {
  width: 100%;
}

/* ---------------------------------------------------------------- Navegacion */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.lp-nav.is-stuck {
  border-bottom-color: var(--lp-line);
  box-shadow: 0 10px 30px -22px rgba(10, 22, 48, .55);
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 68px;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 750;
  font-size: 1.02rem;
  letter-spacing: -.015em;
  color: var(--lp-ink);
  margin-right: auto;
}

.lp-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--lp-shadow-sm);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.lp-nav-links a {
  position: relative;
  padding: .5rem .8rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 550;
  color: var(--lp-muted);
  transition: color .2s ease, background-color .2s ease;
}

.lp-nav-links a:hover,
.lp-nav-links a.is-active {
  color: var(--lp-ink);
  background: var(--lp-tint);
}

.lp-nav-ctas {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-left: .5rem;
}

.lp-nav-ctas .lp-btn {
  padding: .62rem 1.15rem;
  font-size: .9rem;
}

.lp-nav-link-plain {
  font-size: .92rem;
  font-weight: 600;
  color: var(--lp-ink-2);
  padding: .62rem .9rem;
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}

.lp-nav-link-plain:hover {
  color: var(--lp-brand);
  background: var(--lp-tint);
}

.lp-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  background: var(--lp-surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.lp-nav-toggle span {
  display: block;
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--lp-ink);
  transition: background-color .2s ease;
}

.lp-nav-toggle span::before,
.lp-nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--lp-ink);
  transition: transform .25s ease;
}

.lp-nav-toggle span::before { top: -6px; }
.lp-nav-toggle span::after { top: 6px; }

.lp-nav-toggle[aria-expanded='true'] span {
  background: transparent;
}

.lp-nav-toggle[aria-expanded='true'] span::before {
  transform: translateY(6px) rotate(45deg);
}

.lp-nav-toggle[aria-expanded='true'] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.lp-nav-mobile {
  display: none;
  border-top: 1px solid var(--lp-line);
  background: rgba(255, 255, 255, .96);
  padding: .75rem var(--lp-gutter) 1.25rem;
}

.lp-nav-mobile.is-open {
  display: block;
  animation: lpFadeDown .3s ease both;
}

.lp-nav-mobile a {
  display: block;
  padding: .75rem .25rem;
  font-weight: 600;
  color: var(--lp-ink-2);
  border-bottom: 1px solid var(--lp-line-soft);
}

.lp-nav-mobile .lp-nav-mobile-ctas {
  display: grid;
  gap: .6rem;
  margin-top: 1rem;
}

.lp-nav-mobile .lp-btn {
  width: 100%;
}

.lp-nav-mobile .lp-nav-mobile-ctas a {
  border-bottom: 0;
  padding: .8rem 1.5rem;
}

/* --------------------------------------------------------------------- Hero */

.lp-hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}

/* Aurora + rejilla de puntos detras del hero. */
.lp-hero::before,
.lp-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

.lp-hero::before {
  width: 620px;
  height: 620px;
  top: -320px;
  left: -180px;
  background: radial-gradient(circle, rgba(13, 110, 253, .5) 0%, rgba(13, 110, 253, 0) 70%);
}

.lp-hero::after {
  width: 560px;
  height: 560px;
  top: -180px;
  right: -200px;
  background: radial-gradient(circle, rgba(79, 70, 229, .38) 0%, rgba(6, 182, 212, .2) 45%, rgba(6, 182, 212, 0) 72%);
}

.lp-hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(10, 22, 48, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: .5;
}

.lp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .85rem .38rem .45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow-sm);
  font-size: .8rem;
  font-weight: 600;
  color: var(--lp-ink-2);
}

.lp-badge b {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lp-brand) 0%, var(--lp-indigo) 100%);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lp-hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  font-weight: 820;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 1.35rem 0 0;
  color: var(--lp-ink);
}

.lp-hero-copy .lp-lead {
  font-size: 1.12rem;
  max-width: 47ch;
  margin-top: 1.15rem;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.lp-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.lp-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .87rem;
  font-weight: 550;
  color: var(--lp-muted);
}

.lp-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(22, 163, 74, .12);
  color: var(--lp-green);
}

.lp-check svg {
  width: 11px;
  height: 11px;
}

/* --------------------------------------------------- Maqueta del panel (hero) */

.lp-hero-visual {
  position: relative;
  perspective: 1400px;
}

.lp-mock {
  position: relative;
  z-index: 2;
  border-radius: var(--lp-radius-lg);
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow-lg);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(3deg) translateZ(0);
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}

.lp-hero-visual:hover .lp-mock {
  transform: rotateY(-2deg) rotateX(1deg);
}

.lp-mock-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem .9rem;
  background: var(--lp-tint);
  border-bottom: 1px solid var(--lp-line);
}

.lp-mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d7deea;
}

.lp-mock-dot:nth-child(1) { background: #ff5f57; }
.lp-mock-dot:nth-child(2) { background: #febc2e; }
.lp-mock-dot:nth-child(3) { background: #28c840; }

.lp-mock-url {
  flex: 1;
  margin-left: .5rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--lp-line);
  font-size: .68rem;
  font-weight: 600;
  color: #93a0b5;
  text-align: center;
}

.lp-mock-body {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  min-height: 320px;
}

.lp-mock-side {
  background: linear-gradient(180deg, var(--lp-navy) 0%, #0e2a55 100%);
  padding: 1rem .7rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.lp-mock-side i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.lp-mock-side i:first-child {
  width: 60%;
  height: 11px;
  background: rgba(255, 255, 255, .5);
  margin-bottom: .8rem;
}

.lp-mock-side i.is-active {
  background: rgba(255, 255, 255, .85);
}

.lp-mock-main {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
}

.lp-mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}

.lp-mock-kpi {
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  padding: .6rem .65rem;
  background: #fff;
}

.lp-mock-kpi span {
  display: block;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #97a3b8;
}

.lp-mock-kpi strong {
  display: block;
  margin-top: .2rem;
  font-size: .95rem;
  font-weight: 750;
  letter-spacing: -.02em;
  color: var(--lp-ink);
}

.lp-mock-kpi em {
  display: inline-block;
  margin-top: .18rem;
  font-size: .62rem;
  font-style: normal;
  font-weight: 700;
  color: var(--lp-green);
}

.lp-mock-kpi em.is-down { color: var(--lp-red); }

.lp-mock-chart {
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  padding: .7rem;
  background: #fff;
}

.lp-mock-chart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #97a3b8;
  margin-bottom: .55rem;
}

.lp-mock-bars {
  display: flex;
  align-items: flex-end;
  gap: .35rem;
  height: 66px;
}

.lp-mock-bars i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--lp-brand) 0%, #6ea8ff 100%);
  height: var(--h, 40%);
  transform-origin: bottom;
  animation: lpBarGrow .9s cubic-bezier(.2, .8, .3, 1) both;
  animation-delay: var(--d, 0s);
}

.lp-mock-bars i:last-child {
  background: linear-gradient(180deg, var(--lp-indigo) 0%, #8b86f0 100%);
}

.lp-mock-rows {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.lp-mock-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .55rem;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  background: #fff;
}

.lp-mock-avatar {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e7f1ff;
  color: var(--lp-brand);
  font-size: .6rem;
  font-weight: 750;
}

.lp-mock-row b {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .72rem;
  font-weight: 650;
  color: var(--lp-ink-2);
}

.lp-mock-row span {
  font-size: .72rem;
  font-weight: 700;
  color: var(--lp-ink);
}

.lp-pill {
  padding: .16rem .45rem;
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.lp-pill--ok { background: rgba(22, 163, 74, .12); color: var(--lp-green); }
.lp-pill--late { background: rgba(239, 68, 68, .12); color: var(--lp-red); }
.lp-pill--soon { background: rgba(245, 158, 11, .14); color: #b45309; }

/* Tarjetas flotantes alrededor de la maqueta. */
.lp-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow);
  font-size: .78rem;
  font-weight: 600;
  color: var(--lp-ink-2);
  animation: lpFloat 6s ease-in-out infinite;
}

.lp-float small {
  display: block;
  font-size: .68rem;
  font-weight: 550;
  color: var(--lp-muted);
}

.lp-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 10px;
}

.lp-float-icon svg { width: 15px; height: 15px; }

/* Van pegadas a las esquinas para no tapar el contenido de la maqueta. */
.lp-float--pay {
  top: -18px;
  right: -16px;
  animation-delay: .4s;
}

.lp-float--pay .lp-float-icon {
  background: rgba(22, 163, 74, .12);
  color: var(--lp-green);
}

.lp-float--late {
  bottom: -20px;
  left: -18px;
  animation-delay: 2.2s;
}

.lp-float--late .lp-float-icon {
  background: rgba(239, 68, 68, .12);
  color: var(--lp-red);
}

/* ------------------------------------------------------------ Franja de datos */

.lp-strip {
  border-block: 1px solid var(--lp-line);
  background: var(--lp-tint);
}

.lp-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 2.25rem 0;
}

.lp-strip-item {
  text-align: center;
  padding-inline: .75rem;
  border-left: 1px solid var(--lp-line);
}

.lp-strip-item:first-child { border-left: 0; }

.lp-strip-item strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 820;
  letter-spacing: -.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--lp-brand) 0%, var(--lp-indigo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-strip-item span {
  display: block;
  margin-top: .5rem;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--lp-muted);
}

/* ---------------------------------------------------------------- Secciones */

.lp-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.lp-section--tint {
  background: var(--lp-tint);
  border-block: 1px solid var(--lp-line);
}

/* ---------------------------------------------------------------- Funciones */

.lp-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.lp-feature {
  position: relative;
  padding: 1.7rem 1.5rem;
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.lp-feature::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, var(--lp-brand)), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}

.lp-feature:hover {
  transform: translateY(-5px);
  border-color: #d5e2f7;
  box-shadow: var(--lp-shadow);
}

.lp-feature:hover::after { opacity: 1; }

.lp-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 1.1rem;
  color: #fff;
  /* El degradado usa color-mix; si el navegador no lo soporta queda el plano. */
  background: var(--accent, var(--lp-brand));
  background: linear-gradient(135deg, var(--accent, var(--lp-brand)) 0%, color-mix(in srgb, var(--accent, var(--lp-brand)) 55%, #ffffff) 100%);
  box-shadow: 0 10px 22px -12px var(--accent, var(--lp-brand));
}

.lp-feature-icon svg {
  width: 22px;
  height: 22px;
}

.lp-feature h3 {
  margin: 0 0 .5rem;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--lp-ink);
}

.lp-feature p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.6;
  color: var(--lp-muted);
}

/* ------------------------------------------------------------------- Roles */

.lp-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.lp-role {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.lp-role:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow);
}

.lp-role-tag {
  align-self: flex-start;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--lp-tint);
  border: 1px solid var(--lp-line);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lp-brand);
  margin-bottom: 1rem;
}

.lp-role h3 {
  margin: 0 0 .45rem;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -.02em;
}

.lp-role > p {
  margin: 0 0 1.15rem;
  font-size: .93rem;
  line-height: 1.6;
  color: var(--lp-muted);
}

.lp-list {
  list-style: none;
  margin: auto 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--lp-line-soft);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.lp-list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--lp-ink-2);
}

.lp-list .lp-check {
  margin-top: 1px;
}

/* --------------------------------------------------------------- Como funciona */

.lp-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Linea que une los pasos en escritorio. */
.lp-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--lp-brand), var(--lp-indigo), var(--lp-cyan));
  opacity: .25;
}

.lp-step {
  position: relative;
  text-align: center;
  padding-inline: .5rem;
}

.lp-step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-brand) 0%, var(--lp-indigo) 100%);
  color: #fff;
  font-weight: 780;
  font-size: 1rem;
  box-shadow: 0 0 0 6px var(--lp-tint), 0 12px 24px -12px rgba(13, 110, 253, .8);
  margin-bottom: 1.1rem;
}

.lp-section--tint .lp-step-num {
  box-shadow: 0 0 0 6px var(--lp-tint), 0 12px 24px -12px rgba(13, 110, 253, .8);
}

.lp-step h3 {
  margin: 0 0 .45rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.015em;
}

.lp-step p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--lp-muted);
}

/* ------------------------------------------------------------------- Planes */

.lp-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.9rem 1.5rem 1.6rem;
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.lp-plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--lp-shadow);
}

.lp-plan.is-featured {
  border-color: transparent;
  background:
    linear-gradient(var(--lp-surface), var(--lp-surface)) padding-box,
    linear-gradient(135deg, var(--lp-brand), var(--lp-indigo)) border-box;
  border: 2px solid transparent;
  box-shadow: var(--lp-shadow);
}

.lp-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: .32rem .85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lp-brand) 0%, var(--lp-indigo) 100%);
  color: #fff;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(13, 110, 253, .9);
}

.lp-plan h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -.02em;
}

.lp-plan-desc {
  margin: .4rem 0 0;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--lp-muted);
  min-height: 2.5em;
}

.lp-plan-price {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin: 1.1rem 0 .25rem;
}

.lp-plan-price b {
  font-size: 2.2rem;
  font-weight: 820;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--lp-ink);
}

.lp-plan-price sup {
  font-size: .95rem;
  font-weight: 700;
  color: var(--lp-ink);
  top: -.6em;
}

.lp-plan-price span {
  font-size: .85rem;
  font-weight: 550;
  color: var(--lp-muted);
}

.lp-plan-trial {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .35rem;
  margin-bottom: 1.1rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, .1);
  color: #15803d;
  font-size: .74rem;
  font-weight: 700;
}

.lp-plan .lp-list {
  border-top: 1px solid var(--lp-line-soft);
  margin-bottom: 1.4rem;
}

.lp-plan .lp-btn {
  margin-top: auto;
}

.lp-plans-note {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: .85rem;
  color: var(--lp-muted);
}

/* --------------------------------------------------------------------- FAQ */

.lp-faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.lp-faq details {
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-sm);
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow-sm);
  overflow: hidden;
  transition: border-color .2s ease;
}

.lp-faq details[open] {
  border-color: #cfdff7;
}

.lp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font-size: .97rem;
  font-weight: 650;
  color: var(--lp-ink);
  list-style: none;
}

.lp-faq summary::-webkit-details-marker { display: none; }

.lp-faq summary::after {
  content: '';
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 2px solid var(--lp-muted);
  border-bottom: 2px solid var(--lp-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s ease;
}

.lp-faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.lp-faq p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  font-size: .93rem;
  line-height: 1.65;
  color: var(--lp-muted);
}

/* ---------------------------------------------------------------- CTA final */

.lp-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--lp-radius-lg);
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #081428 0%, #0f2f66 55%, #0d6efd 130%);
  box-shadow: var(--lp-shadow-lg);
}

.lp-cta::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 480px;
  height: 480px;
  top: -220px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, .45) 0%, rgba(6, 182, 212, 0) 68%);
  filter: blur(30px);
}

.lp-cta::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 100%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 20% 100%, #000, transparent 70%);
}

.lp-cta h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 820;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.lp-cta p {
  margin: 1rem auto 0;
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
}

.lp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
}

.lp-cta-note {
  margin-top: 1.4rem;
  font-size: .84rem;
  color: rgba(255, 255, 255, .65);
}

/* ------------------------------------------------------------------ Footer */

.lp-footer {
  padding-top: 3rem;
  background: var(--lp-navy);
  color: rgba(255, 255, 255, .7);
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.lp-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 750;
  font-size: 1.02rem;
  color: #fff;
}

.lp-footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}

.lp-footer-about {
  margin: .9rem 0 0;
  max-width: 34ch;
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .58);
}

.lp-footer h4 {
  margin: 0 0 .9rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.lp-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.lp-footer ul a {
  font-size: .9rem;
  color: rgba(255, 255, 255, .72);
  transition: color .2s ease;
}

.lp-footer ul a:hover { color: #fff; }

.lp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}

/* -------------------------------------------------------------- Animaciones */

@keyframes lpFadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@keyframes lpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes lpBarGrow {
  from { transform: scaleY(.05); opacity: .2; }
  to { transform: scaleY(1); opacity: 1; }
}

/* El JS marca <html class="lp-js">, asi que sin JS todo queda visible. */
.lp-js .lp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s cubic-bezier(.2, .7, .3, 1), transform .75s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.lp-js .lp-reveal.is-in {
  opacity: 1;
  transform: none;
}

.landing-page :where(a, button, summary):focus-visible {
  outline: 2px solid var(--lp-brand);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .landing-page *,
  .landing-page *::before,
  .landing-page *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .lp-js .lp-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------- Responsive */

@media (max-width: 1024px) {
  /* Con `1fr` a secas la maqueta del hero desbordaba: su min-content es mayor
     que el ancho del telefono. minmax(0,1fr) deja que la pista se encoja. */
  .lp-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .lp-hero-copy .lp-lead,
  .lp-hero h1 {
    max-width: none;
  }

  .lp-mock {
    transform: none;
  }

  .lp-hero-visual:hover .lp-mock {
    transform: none;
  }

  .lp-hero-visual {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .lp-features,
  .lp-roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }

  .lp-steps::before { display: none; }

  .lp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .lp-nav-links,
  .lp-nav-ctas {
    display: none;
  }

  .lp-nav-toggle {
    display: inline-flex;
  }

  .lp-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
  }

  .lp-strip-item:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .landing-page {
    --lp-gutter: 1.15rem;
  }

  .lp-hero {
    padding-top: 2.5rem;
  }

  .lp-hero-actions .lp-btn {
    flex: 1 1 100%;
  }

  .lp-features,
  .lp-roles,
  .lp-steps,
  .lp-plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-mock-body {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 0;
  }

  /* La maqueta se mantiene en 3 columnas, solo con tipografia mas chica: asi
     sigue leyendose como un panel y no como una lista. */
  .lp-mock-kpi { padding: .45rem .4rem; }
  /* Reserva dos lineas para que los tres valores queden a la misma altura
     aunque "Cartera activa" sea el unico rotulo que parte en dos. */
  .lp-mock-kpi span { font-size: .5rem; letter-spacing: 0; min-height: 2.1em; }
  .lp-mock-kpi strong { font-size: .78rem; }
  .lp-mock-kpi em { font-size: .55rem; }

  .lp-float {
    padding: .5rem .65rem;
    font-size: .72rem;
  }

  .lp-float small { font-size: .62rem; }
  .lp-float--pay { right: -8px; top: -14px; }
  .lp-float--late { left: -8px; bottom: -14px; }

  .lp-step {
    text-align: left;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
  }

  .lp-step-num {
    grid-row: 1 / -1;
    margin-bottom: 0;
  }

  .lp-cta-actions .lp-btn {
    flex: 1 1 100%;
  }

  .lp-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .lp-footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* =========================================================================
   Vistas de producto: cobros, caja, mora y operación multiempresa.
   Evitan los indicadores de SaaS genéricos y hacen que la identidad nazca
   del trabajo que realmente se realiza dentro del sistema.
   ========================================================================= */

.landing-page {
  --lp-indigo: #2752c6;
  --lp-cyan: #397fdd;
}

.lp-gradient-text {
  background: linear-gradient(100deg, #0d63e8 0%, #2656c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lp-core {
  padding: clamp(3.4rem, 7vw, 5.8rem) 0;
  border-bottom: 1px solid var(--lp-line);
  background: #fbfcff;
}

.lp-core-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.lp-core-heading .lp-kicker { margin: 0 0 .7rem; }
.lp-core-heading .lp-h2 { max-width: 19ch; }

.lp-core-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  overflow: hidden;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow-sm);
}

.lp-core-item {
  min-height: 205px;
  padding: 1.5rem;
  border-left: 1px solid var(--lp-line);
}

.lp-core-item:first-child { border-left: 0; }

.lp-core-number {
  display: block;
  color: #8a9bb3;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.lp-core-item h3 {
  margin: 2.2rem 0 .55rem;
  color: var(--lp-ink);
  font-size: 1.07rem;
  font-weight: 760;
  letter-spacing: -.02em;
}

.lp-core-item p {
  margin: 0;
  color: var(--lp-muted);
  font-size: .88rem;
  line-height: 1.6;
}

/* El hero conserva un vistazo compacto del panel, ahora con datos que solo
   corresponden a una operación de préstamos. */
.lp-mock-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-mock-kpi { padding: .58rem .52rem; }
.lp-mock-kpi strong { font-size: .82rem; }
.lp-mock-kpi em { font-size: .54rem; line-height: 1.25; }
.lp-mock-row { gap: .42rem; }
.lp-mock-row b { font-size: .66rem; }
.lp-mock-row span { font-size: .64rem; }

/* ---------------------------------------------------- Panel de producto */

.lp-product-section {
  padding-top: clamp(4.5rem, 9vw, 7rem);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.lp-product-frame {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dce6f3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 38px 70px -46px rgba(9, 31, 65, .55);
}

.lp-product-sidebar {
  display: flex;
  flex-direction: column;
  gap: .78rem;
  padding: 1.25rem .75rem;
  background: #102b50;
}

.lp-product-sidebar i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}

.lp-product-sidebar i.is-active { background: #fff; }
.lp-product-mark {
  width: 29px;
  height: 29px;
  margin-bottom: 1rem;
  border: 3px solid #fff;
  border-top-width: 8px;
  border-radius: 7px 7px 11px 11px;
  opacity: .88;
}

.lp-product-main { padding: clamp(1rem, 2.5vw, 1.7rem); background: #fbfcff; }

.lp-product-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.lp-product-titlebar div { display: flex; flex-direction: column; gap: .2rem; }
.lp-product-titlebar span { color: #8190a5; font-size: .7rem; font-weight: 650; }
.lp-product-titlebar strong { color: #17243a; font-size: 1.12rem; font-weight: 780; letter-spacing: -.025em; }
.lp-product-date {
  padding: .42rem .68rem;
  border: 1px solid #dfe8f4;
  border-radius: 9px;
  background: #fff;
  color: #586982 !important;
  font-size: .7rem !important;
  font-weight: 700 !important;
}

.lp-product-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
}

.lp-product-metrics > div,
.lp-product-chart,
.lp-product-activity {
  border: 1px solid #e1e9f4;
  border-radius: 13px;
  background: #fff;
}

.lp-product-metrics > div { padding: .8rem; }
.lp-product-metrics span { display: block; color: #8492a7; font-size: .62rem; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
.lp-product-metrics strong { display: block; margin-top: .34rem; color: #17243a; font-size: clamp(.88rem, 1.5vw, 1.12rem); font-weight: 800; letter-spacing: -.025em; }
.lp-product-metrics em { display: block; margin-top: .32rem; color: #19834c; font-size: .62rem; font-style: normal; font-weight: 700; }
.lp-product-metrics .is-danger { color: #c6443c; }

.lp-product-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
  gap: .7rem;
  margin-top: .7rem;
}

.lp-product-chart,
.lp-product-activity { padding: 1rem; }

.lp-product-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  color: #17243a;
  font-size: .75rem;
}

.lp-product-card-title b { font-weight: 760; }
.lp-product-card-title span { color: #8492a7; font-size: .62rem; font-weight: 650; }

.lp-product-bars {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  height: 115px;
  margin-top: 1.15rem;
  padding: .35rem .2rem 0;
  border-bottom: 1px solid #e8eef7;
}

.lp-product-bars i {
  display: block;
  flex: 1;
  height: var(--h);
  min-width: 9px;
  border-radius: 4px 4px 2px 2px;
  background: #2b72e7;
}
.lp-product-bars i:nth-child(4n) { background: #1759c2; }

.lp-product-axis { display: flex; justify-content: space-between; margin-top: .48rem; color: #8d9bb0; font-size: .59rem; font-weight: 650; }

.lp-product-activity > div:not(.lp-product-card-title) {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
  padding: .75rem 0;
  border-bottom: 1px solid #eef2f7;
  color: #56667e;
  font-size: .67rem;
}

.lp-product-activity > div:last-child { border-bottom: 0; }
.lp-product-activity i { width: 8px; height: 8px; border-radius: 50%; background: #2b72e7; }
.lp-product-activity i.is-pay { background: #23a15b; }
.lp-product-activity i.is-alert { background: #e05b50; }
.lp-product-activity i.is-cash { background: #cf932b; }
.lp-product-activity strong { max-width: 95px; overflow: hidden; color: #26354d; font-size: .65rem; font-weight: 750; text-align: right; text-overflow: ellipsis; white-space: nowrap; }

.lp-product-callouts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem 1.2rem;
  margin-top: 1.65rem;
}

.lp-product-callouts span { color: #5c6d85; font-size: .8rem; font-weight: 650; }
.lp-product-callouts span::first-letter { color: #0d6efd; }

/* -------------------------------------------------- Cobranza en el campo */

.lp-collector-layout,
.lp-multicompany-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.lp-collector-copy .lp-section-head { margin: 0; text-align: left; }
.lp-collector-copy .lp-list,
.lp-multicompany-copy .lp-list { margin-top: 1.5rem; }
.lp-collector-note { margin: 1.3rem 0 0; color: var(--lp-muted); font-size: .82rem; line-height: 1.5; }

.lp-field-devices { position: relative; min-height: 390px; }

.lp-field-laptop {
  position: absolute;
  top: 22px;
  left: 0;
  width: min(100%, 510px);
  overflow: hidden;
  border: 1px solid #dce6f3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 52px -35px rgba(8, 27, 58, .52);
}

.lp-field-laptop-bar { display: flex; align-items: center; gap: .4rem; padding: .65rem .8rem; border-bottom: 1px solid #e5edf7; background: #f8fbff; }
.lp-field-laptop-bar span { width: 7px; height: 7px; border-radius: 50%; background: #b7c4d6; }
.lp-field-laptop-bar b { margin-left: .45rem; color: #68788f; font-size: .65rem; font-weight: 700; }
.lp-field-laptop-body { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: 1rem; }
.lp-field-laptop-body > div { padding: .75rem; border: 1px solid #e3ebf5; border-radius: 10px; background: #fbfdff; }
.lp-field-laptop-body > div span { display: block; color: #8190a5; font-size: .57rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.lp-field-laptop-body > div strong { display: block; margin-top: .3rem; color: #17243a; font-size: 1rem; font-weight: 780; }
.lp-field-laptop-body p { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: .5rem; margin: 0; padding: .58rem .2rem 0; border-top: 1px solid #eff3f8; color: #41516a; font-size: .7rem; }
.lp-field-laptop-body p i { width: 8px; height: 8px; border-radius: 50%; background: #2b72e7; }
.lp-field-laptop-body p b { color: #1b2b43; font-size: .68rem; }

.lp-field-phone {
  position: absolute;
  right: -2px;
  bottom: 0;
  display: flex;
  width: 192px;
  min-height: 350px;
  flex-direction: column;
  padding: 2.1rem .9rem 1rem;
  border: 7px solid #15243c;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 25px 40px -27px rgba(8, 27, 58, .58);
}

.lp-phone-notch { position: absolute; top: 8px; left: 50%; width: 70px; height: 12px; border-radius: 999px; background: #15243c; transform: translateX(-50%); }
.lp-field-phone > small { color: #8291a8; font-size: .6rem; font-weight: 700; }
.lp-field-phone > strong { margin-top: .35rem; color: #17243a; font-size: 1rem; font-weight: 800; }
.lp-phone-card { margin-top: 1.5rem; padding: .7rem; border: 1px solid #dce7f4; border-radius: 10px; background: #f7faff; }
.lp-phone-card span { display: block; color: #7d8da4; font-size: .55rem; font-weight: 700; }
.lp-phone-card b { display: block; margin-top: .4rem; color: #21314a; font-size: .73rem; }
.lp-phone-card em { display: block; margin-top: .22rem; color: #167f46; font-size: .66rem; font-style: normal; font-weight: 750; }
.lp-field-phone button { margin-top: 1rem; padding: .62rem .4rem; border: 0; border-radius: 8px; background: #1268e8; color: #fff; font: inherit; font-size: .61rem; font-weight: 750; }
.lp-field-phone p { margin: auto 0 0; padding-top: .8rem; border-top: 1px solid #e8eef7; color: #6d7d94; font-size: .6rem; font-weight: 700; }

/* --------------------------------------------------- Multiempresa */

.lp-multicompany-section { border-top: 1px solid var(--lp-line); background: #fbfcff; }
.lp-company-tree { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid #dfe8f4; border-radius: 18px; background: #fff; box-shadow: var(--lp-shadow-sm); }
.lp-tree-root { display: flex; align-items: center; gap: .6rem; color: #14233b; font-size: .91rem; font-weight: 800; }
.lp-tree-logo { display: inline-flex; width: 29px; height: 29px; align-items: center; justify-content: center; border-radius: 8px; background: #1768df; color: #fff; font-size: .62rem; letter-spacing: -.04em; }
.lp-tree-branch { position: relative; margin: 1rem 0 0 14px; padding: 0 0 0 1.55rem; border-left: 1px solid #cad9ec; }
.lp-tree-branch::before { content: ''; position: absolute; top: 18px; left: 0; width: 1.2rem; border-top: 1px solid #cad9ec; }
.lp-tree-company { display: inline-flex; min-width: 185px; flex-direction: column; padding: .65rem .8rem; border: 1px solid #dbe6f2; border-radius: 10px; background: #f8fbff; }
.lp-tree-company b { color: #22314a; font-size: .76rem; font-weight: 780; }
.lp-tree-company small { margin-top: .18rem; color: #7d8da3; font-size: .59rem; }
.lp-tree-users { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .55rem; }
.lp-tree-users span { padding: .3rem .48rem; border-radius: 999px; background: #edf4ff; color: #3162aa; font-size: .62rem; font-weight: 700; }

/* El flujo ahora cuenta los seis pasos que realmente suceden en la operación. */
.lp-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .7rem; }
.lp-steps::before { left: 8%; right: 8%; background: #82aef0; }
.lp-step { padding-inline: .25rem; }
.lp-step-num { background: #1768df; box-shadow: 0 0 0 6px #fff, 0 12px 24px -12px rgba(13, 110, 253, .6); }

@media (max-width: 1024px) {
  .lp-core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-core-item:nth-child(odd) { border-left: 0; }
  .lp-core-item:nth-child(n + 3) { border-top: 1px solid var(--lp-line); }
  .lp-product-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.3rem; }
  .lp-collector-layout,
  .lp-multicompany-layout { grid-template-columns: 1fr; }
  .lp-collector-copy { max-width: 620px; }
  .lp-field-devices { width: min(100%, 590px); margin: 0 auto; }
}

@media (max-width: 720px) {
  .lp-core-heading { display: block; }
  .lp-core-heading .lp-h2 { max-width: 20ch; }
  .lp-core-grid { grid-template-columns: 1fr; }
  .lp-core-item { min-height: 0; padding: 1.25rem; border-top: 1px solid var(--lp-line); border-left: 0; }
  .lp-core-item:first-child { border-top: 0; }
  .lp-core-item h3 { margin-top: 1.3rem; }
  .lp-mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-product-frame { grid-template-columns: 54px minmax(0, 1fr); border-radius: 16px; }
  .lp-product-sidebar { padding: .9rem .55rem; gap: .6rem; }
  .lp-product-mark { width: 23px; height: 23px; margin-bottom: .6rem; }
  .lp-product-lower { grid-template-columns: 1fr; }
  .lp-product-activity { display: none; }
  .lp-product-callouts { justify-content: flex-start; }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-company-tree { padding: 1rem; }
}

@media (max-width: 480px) {
  .lp-product-main { padding: .75rem; }
  .lp-product-titlebar strong { font-size: .92rem; }
  .lp-product-date { display: none; }
  .lp-product-metrics { gap: .45rem; }
  .lp-product-metrics > div { padding: .55rem; }
  .lp-product-metrics strong { font-size: .75rem; }
  .lp-product-metrics em { font-size: .52rem; }
  .lp-product-bars { height: 82px; gap: .28rem; }
  .lp-product-axis { font-size: .5rem; }
  .lp-field-devices { min-height: 310px; }
  .lp-field-laptop { top: 22px; }
  .lp-field-laptop-body { gap: .4rem; padding: .7rem; }
  .lp-field-laptop-body > div { padding: .5rem; }
  .lp-field-laptop-body p { font-size: .58rem; }
  .lp-field-phone { width: 152px; min-height: 290px; padding: 1.75rem .65rem .75rem; border-width: 5px; border-radius: 22px; }
  .lp-phone-card { margin-top: 1rem; padding: .55rem; }
  .lp-field-phone button { font-size: .53rem; }
  .lp-tree-branch { margin-left: 8px; padding-left: 1rem; }
  .lp-tree-company { min-width: 160px; }
  .lp-steps { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ------------------------------------------------------ Páginas legales */
.lp-legal { padding: 48px 0 72px; }
.lp-legal-article { max-width: 760px; margin: 0 auto; color: var(--lp-ink-2); font-size: 16px; line-height: 1.7; }
.lp-legal-article h1 { margin: 6px 0 4px; color: var(--lp-ink); font-size: clamp(28px, 6vw, 40px); letter-spacing: -.03em; line-height: 1.15; }
.lp-legal-article h2 { margin: 32px 0 8px; color: var(--lp-ink); font-size: 19px; letter-spacing: -.01em; }
.lp-legal-article ul { padding-left: 1.2rem; }
.lp-legal-article li + li { margin-top: 6px; }
.lp-legal-article a { color: #0d5fd8; }
.lp-legal-updated { margin: 0 0 24px; color: var(--lp-muted); font-size: 14px; }
.lp-legal-links { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--lp-line); font-size: 14px; }
@media (max-width: 767px) {
  .lp-legal { padding: 28px 0 48px; }
  .lp-legal-article { font-size: 15px; }
}

/* Botón de WhatsApp para prospectos (solo si la plataforma tiene teléfono de soporte). */
.lp-whatsapp { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: 999px; background: #1f9d55; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 10px 26px rgba(20, 90, 50, .28); }
.lp-whatsapp svg { width: 24px; height: 24px; }
.lp-whatsapp:hover { background: #178a49; }
@media (max-width: 480px) { .lp-whatsapp span { display: none; } .lp-whatsapp { width: 56px; height: 56px; padding: 0; justify-content: center; } }
