/* Extras de las landings de Kobra Mesa y Kobra Kaja.
   landing.css es la hoja de kobrave.com sin tocar; aquí solo va lo que esas páginas no tienen. */

.lp-skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.lp-skip:focus { top: 12px; }

#top:focus { outline: none; }

.lp-brand-prod { color: var(--accent); font-weight: 700; }

.lp-inline { color: var(--ink); text-underline-offset: 3px; }
.lp-inline:hover { color: var(--accent-hot); }

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

.lp-demo-note {
  max-width: 34em;
  margin-top: 18px !important;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.lp-demo-shot { padding: 18px; }

.lp-shot { margin: 0; }

.lp-shot img,
.lp-stage-body img,
.lp-tile-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line-soft);
}

/* ---------- Formas de pago ---------- */

.lp-banks-label { color: var(--muted); }

.lp-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  width: min(var(--wrap), calc(100% - 64px));
  margin-inline: auto;
}

.lp-strip span {
  color: #8a809e;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ---------- Comparación sin mock del banco ---------- */

.lp-compare-plain .lp-side { align-content: start; }

.lp-compare-plain .lp-side-list { margin: 0; }

/* ---------- Cómo funciona: los pasos mueven la captura ---------- */

.lp-stage-col {
  position: relative;
  display: block;
}

.lp-stage {
  position: sticky;
  top: calc(50vh - 220px);
  transform: none;
  padding: 14px;
}

.lp-stage:hover { transform: none; }

.lp-stage-body {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: var(--field);
}

.lp-stage-body img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1);
}

.lp-stage-body img.is-on { opacity: 1; transform: none; }

.lp-step { min-height: 54vh; }

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

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

.lp-tile-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  background:
    radial-gradient(90% 70% at 0% 100%, rgb(193 95 255 / 16%), transparent 60%),
    var(--bg);
}

.lp-tile-wide .lp-tile-copy { flex: 0 1 42%; align-content: start; }

.lp-tile-wide .lp-tile-copy .lp-ico { margin-bottom: 8px; }

.lp-tile-wide h3 { font-size: 26px; letter-spacing: -0.03em; }

.lp-tile-shot { flex: 1 1 0; min-width: 0; margin: 0; }

.lp-tile-shot img { border-radius: 14px; }

.lp-tile .lp-ico { margin-bottom: 0; }

.lp-tile > .lp-ico + h3 { margin-top: 20px; }

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

@media (max-width: 1180px) {
  .lp-demo-shot { transform: none; max-width: 720px; }

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

  .lp-tile-wide { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .lp-stage-col { order: -1; }

  .lp-stage { position: relative; top: 0; }

  .lp-step { min-height: 0; }

  .lp-tile-wide { flex-direction: column; align-items: stretch; gap: 24px; }

  .lp-tile-wide .lp-tile-copy { flex: none; }

  .lp-strip { gap: 10px 28px; }
}

@media (max-width: 640px) {
  .lp-strip { width: calc(100% - 40px); }

  .lp-strip span { font-size: 17px; }

  .lp-feats { grid-template-columns: 1fr; }

  .lp-tile-wide { grid-column: auto; }

  .lp-demo-shot { padding: 10px; border-radius: 22px; }

  .lp-nav .lp-btn-sm svg { display: none; }

  .lp-brand { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-stage-body img { transition: none; transform: none; }
}

/* ---------- Ajustes de composición ---------- */

.lp-how { overflow-x: clip; }

.lp-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }

.lp-hero .lp-h1 { font-size: clamp(40px, 4.7vw, 68px); }

@media (max-width: 1180px) {
  .lp-hero-in { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .lp-hero .lp-h1 { font-size: clamp(36px, 10.4vw, 50px); }
}

.lp-giant { font-size: clamp(38px, 9.4vw, 150px); letter-spacing: -0.05em; }

.lp-step { opacity: 0.88; }
.lp-step.is-active { opacity: 1; }

/* landing.css pone `.lp a { color: inherit }` y le gana a `.lp-btn`: el texto del botón quedaba claro
   sobre violeta (2,96:1). Las normas de diseño de Kobra piden --accent-ink (5,5:1). */
.lp .lp-btn { color: var(--accent-ink); }
.lp .lp-btn-ghost { color: var(--ink); }
.lp .lp-pill, .lp .lp-tag { color: var(--accent-hot); }
