/* =================================================================
   LIMAPOL · REGISTRATION FUNNEL — extiende lp-login-public.css
   Layout split responsive: desktop 2 cols · tablet stack · móvil full
   ================================================================= */

/* ── Shell funnel dentro del panel ─────────────────────────────── */

.lp-login__form-wrap--funnel {
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.lp-login__panel--funnel {
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  overflow: hidden;
}

@media (min-width: 1025px) {
  .lp-login--funnel {
    height: 100dvh;
    overflow: hidden;
  }

  .lp-login__panel--funnel {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
  }
  .lp-login__panel--funnel::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

/* ── Funnel container ──────────────────────────────────────────── */

.lp-funnel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-height: min(720px, calc(100dvh - 3rem));
  font-family: var(--lp-font-body);
  color: var(--lp-text);
}

/* ── Logo (solo desktop) ───────────────────────────────────────── */

.lp-funnel__logo {
  display: none;
  justify-content: center;
  margin-bottom: clamp(12px, 2vh, 20px);
  flex-shrink: 0;
}
.lp-funnel__logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* ── Chrome: back + progress ───────────────────────────────────── */

.lp-funnel__chrome {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: clamp(16px, 3vh, 24px);
  flex-shrink: 0;
}

.lp-funnel__back {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  min-width: 36px;
  height: 36px;
  padding: 0 10px 0 8px;
  margin-top: 2px;
  border: 1px solid rgba(11, 15, 36, 0.1);
  border-radius: 10px;
  background: #fff !important;
  color: var(--lp-text-2);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(11, 15, 36, 0.04);
  transition: border-color 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
}
.lp-funnel__back:hover {
  color: var(--lp-primary);
  background: #fff !important;
  border-color: rgba(77, 114, 255, 0.35);
  box-shadow: 0 2px 8px -2px rgba(77, 114, 255, 0.2);
  transform: translateX(-1px);
}
.lp-funnel__back:focus { outline: none; background: #fff !important; }
.lp-funnel__back:focus-visible {
  background: #fff !important;
  border-color: rgba(77, 114, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(77, 114, 255, 0.15);
}
.lp-funnel__back:active {
  transform: translateX(0);
  background: #fff !important;
  color: var(--lp-text-2);
  border-color: rgba(11, 15, 36, 0.14);
}
.lp-funnel__back[hidden] { display: none; }

.lp-funnel__progress-wrap {
  flex: 1;
  min-width: 0;
}

.lp-funnel__step-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-primary);
}

.lp-funnel__progress {
  height: 3px;
  border-radius: 999px;
  background: rgba(11, 15, 36, 0.08);
  overflow: hidden;
}

.lp-funnel__progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--lp-gradient);
  transition: width 0.4s var(--lp-ease, cubic-bezier(0.2, 0.8, 0.2, 1));
}

/* ── Viewport (steps) ──────────────────────────────────────────── */

.lp-funnel__viewport {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lp-funnel__viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.lp-funnel__step {
  animation: lpFunnelStepIn 0.35s var(--lp-ease, ease) both;
}
.lp-funnel__step[hidden] { display: none !important; }

@keyframes lpFunnelStepIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Typography ────────────────────────────────────────────────── */

.lp-funnel__title {
  margin: 0 0 10px;
  font-family: var(--lp-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--lp-text);
}

.lp-funnel__title--sm {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  text-align: center;
}

.lp-funnel__subtitle {
  margin: 0 0 clamp(18px, 3vh, 26px);
  font-size: clamp(0.88rem, 1.4vw, 0.95rem);
  line-height: 1.55;
  color: var(--lp-text-2);
}
.lp-funnel__subtitle em {
  font-style: normal;
  color: var(--lp-text-3);
}

/* ── Card blanca para contenido interactivo ───────────────────── */

.lp-funnel__card-shell {
  background: #fff;
  border: 1px solid rgba(11, 15, 36, 0.07);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 24px);
  box-shadow: 0 4px 28px -8px rgba(11, 15, 36, 0.1);
  margin-bottom: 8px;
}

/* ── Social proof ──────────────────────────────────────────────── */

.lp-funnel__social { margin-bottom: 20px; }

.lp-funnel__stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.lp-funnel__stars-value { font-size: 1.05rem; font-weight: 800; color: var(--lp-text); }
.lp-funnel__stars-icons { color: #fbbf24; letter-spacing: 1px; font-size: 0.9rem; }

.lp-funnel__avatars { display: flex; padding-left: 6px; }
.lp-funnel__avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -9px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(11, 15, 36, 0.1);
}

/* ── Fields (estilo mqb-login) ─────────────────────────────────── */

.lp-funnel__fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lp-funnel__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-funnel__field > span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lp-text-2);
}

.lp-funnel__field input[type="text"],
.lp-funnel__field input[type="email"],
.lp-funnel__field input[type="tel"],
.lp-funnel__field input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1.5px solid rgba(11, 15, 36, 0.1);
  border-radius: 12px;
  background: #fafbff;
  font-family: var(--lp-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--lp-text);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.lp-funnel__field input::placeholder { color: rgba(11, 15, 36, 0.3); font-weight: 400; }
.lp-funnel__field input:focus {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(77, 114, 255, 0.12);
  background: #fff;
}

.lp-funnel__select {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 12px 36px 12px 14px;
  border: 1.5px solid rgba(11, 15, 36, 0.1);
  border-radius: 12px;
  background-color: #fafbff;
  font-family: var(--lp-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--lp-text);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.lp-funnel__select:focus {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(77, 114, 255, 0.12);
  background-color: #fff;
}

/* Alias con indicador de disponibilidad */
.lp-funnel__input-wrap {
  position: relative;
}
.lp-funnel__input-wrap input {
  padding-right: 108px !important;
}
.lp-funnel__alias-status {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
}
.lp-funnel__alias-status[hidden] { display: none !important; }
.lp-funnel__alias-status.is-checking { color: var(--lp-text-3); }
.lp-funnel__alias-status.is-available { color: #16a34a; }
.lp-funnel__alias-status.is-taken { color: #dc2626; }
.lp-funnel__alias-status.is-invalid { color: #d97706; }

.lp-funnel__field--center { align-items: stretch; }
.lp-funnel__input-lg {
  text-align: center !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

/* ── Password field + strength meter ───────────────────────────── */

.lp-funnel__pass-wrap {
  position: relative;
}
.lp-funnel__pass-wrap input {
  padding-right: 44px !important;
}
.lp-funnel__pass-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--lp-text-3);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.lp-funnel__pass-toggle:hover {
  color: var(--lp-primary);
  background: rgba(77, 114, 255, 0.06) !important;
}
.lp-funnel__pass-toggle:focus,
.lp-funnel__pass-toggle:active,
.lp-funnel__pass-toggle:focus-visible {
  background: transparent !important;
  color: var(--lp-text-2);
  outline: none;
  box-shadow: none;
}
.lp-funnel__pass-toggle[data-state="hidden"] .lp-funnel__eye-closed { display: none; }
.lp-funnel__pass-toggle[data-state="shown"] .lp-funnel__eye-open { display: none; }

.lp-funnel__strength {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(77, 114, 255, 0.04);
  border: 1px solid transparent;
  transition: max-height 0.38s ease, opacity 0.32s ease, margin-top 0.32s ease, padding 0.32s ease, border-color 0.32s ease;
}
.lp-funnel__strength.is-visible {
  max-height: 220px;
  opacity: 1;
  margin-top: 10px;
  padding: 12px 14px;
  border-color: rgba(77, 114, 255, 0.1);
}
.lp-funnel__strength[hidden] { display: block !important; }
.lp-funnel__strength-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lp-text-2);
}
.lp-funnel__strength-value.is-weak { color: #dc2626; }
.lp-funnel__strength-value.is-good { color: #d97706; }
.lp-funnel__strength-value.is-strong { color: #16a34a; }
.lp-funnel__strength-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(11, 15, 36, 0.08);
  overflow: hidden;
  margin-bottom: 10px;
}
.lp-funnel__strength-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width 0.25s ease, background 0.25s;
}
.lp-funnel__strength-bar span.is-weak { background: #ef4444; }
.lp-funnel__strength-bar span.is-good { background: #f59e0b; }
.lp-funnel__strength-bar span.is-strong { background: #22c55e; }
.lp-funnel__strength-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}
.lp-funnel__strength-rules li {
  font-size: 0.72rem;
  color: var(--lp-text-3);
  padding-left: 16px;
  position: relative;
  transition: color 0.2s;
}
.lp-funnel__strength-rules li::before {
  content: "○";
  position: absolute;
  left: 0;
  font-size: 0.65rem;
}
.lp-funnel__strength-rules li.is-ok {
  color: #16a34a;
}
.lp-funnel__strength-rules li.is-ok::before { content: "✓"; }
.lp-funnel__strength-rules li.is-bad { color: #dc2626; }

/* ── Date wheels (día / mes / año) ─────────────────────────────── */

.lp-funnel__date-wheels {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr 0.95fr;
  gap: 8px;
  --lp-wheel-h: 180px;
  --lp-wheel-item-h: 40px;
}
.lp-funnel__wheel-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.lp-funnel__wheel-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-text-3);
  text-align: center;
}

/* ── Wheel picker ──────────────────────────────────────────────── */

.lp-funnel__wheel {
  position: relative;
  height: var(--lp-wheel-h, 180px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(11, 15, 36, 0.07);
  border-radius: 14px;
  box-shadow: 0 4px 28px -8px rgba(11, 15, 36, 0.08);
  touch-action: none;
}
.lp-funnel__wheel::before,
.lp-funnel__wheel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: calc((var(--lp-wheel-h, 180px) - var(--lp-wheel-item-h, 40px)) / 2 + 8px);
  z-index: 2;
  pointer-events: none;
}
.lp-funnel__wheel::before {
  top: 0;
  background: linear-gradient(to bottom, #fff 55%, transparent);
}
.lp-funnel__wheel::after {
  bottom: 0;
  background: linear-gradient(to top, #fff 55%, transparent);
}
.lp-funnel__wheel-inner {
  padding-top: calc((var(--lp-wheel-h, 180px) - var(--lp-wheel-item-h, 40px)) / 2);
  padding-bottom: calc((var(--lp-wheel-h, 180px) - var(--lp-wheel-item-h, 40px)) / 2);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.lp-funnel__wheel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--lp-wheel-item-h, 40px);
  line-height: 1;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--lp-text-3);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s, font-weight 0.2s, font-size 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 6px;
  box-sizing: border-box;
}
.lp-funnel__wheel-item.is-selected {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lp-text);
  font-family: var(--lp-font-display);
}
.lp-funnel__wheel-highlight {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  height: var(--lp-wheel-item-h, 40px);
  transform: translateY(-50%);
  border-top: 1px solid rgba(11, 15, 36, 0.1);
  border-bottom: 1px solid rgba(11, 15, 36, 0.1);
  pointer-events: none;
  z-index: 1;
}

/* ── Selectable cards ────────────────────────────────────────── */

.lp-funnel__cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-funnel__cards--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lp-funnel__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid rgba(11, 15, 36, 0.09);
  border-radius: 14px;
  background: #fff !important;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--lp-text) !important;
  transition: border-color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px -4px rgba(11, 15, 36, 0.06);
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.lp-funnel__cards--grid .lp-funnel__card {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 14px;
}
.lp-funnel__card:hover,
.lp-funnel__card:focus,
.lp-funnel__card:focus-visible,
.lp-funnel__card:active {
  background: #fff !important;
  color: var(--lp-text) !important;
  border-color: rgba(77, 114, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(77, 114, 255, 0.12);
  outline: none;
}
.lp-funnel__card.is-selected,
.lp-funnel__card.is-selected:hover,
.lp-funnel__card.is-selected:focus,
.lp-funnel__card.is-selected:active {
  border-color: var(--lp-primary);
  background: #fff !important;
  color: var(--lp-text) !important;
  box-shadow: 0 0 0 2px rgba(77, 114, 255, 0.18);
  transform: none;
}
.lp-funnel__card.is-selected .lp-funnel__card-label { color: var(--lp-text); }

.lp-funnel__cards--topics {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) {
  .lp-funnel__cards--topics { grid-template-columns: repeat(3, 1fr); }
}
.lp-funnel__card-icon { font-size: 1.35rem; line-height: 1; }
.lp-funnel__card-label { font-size: 0.9rem; font-weight: 600; color: var(--lp-text); }

/* ── Pills ─────────────────────────────────────────────────────── */

.lp-funnel__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lp-funnel__pill {
  padding: 9px 14px;
  border: 1.5px solid rgba(11, 15, 36, 0.09);
  border-radius: 999px;
  background: #fff !important;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lp-text) !important;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, color 0.18s;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.lp-funnel__pill:hover,
.lp-funnel__pill:focus,
.lp-funnel__pill:focus-visible,
.lp-funnel__pill:active {
  background: #fff !important;
  border-color: rgba(77, 114, 255, 0.45);
  color: var(--lp-primary) !important;
  box-shadow: 0 0 0 1px rgba(77, 114, 255, 0.1);
  outline: none;
}
.lp-funnel__pill.is-selected,
.lp-funnel__pill.is-selected:hover,
.lp-funnel__pill.is-selected:focus,
.lp-funnel__pill.is-selected:active {
  background: #fff !important;
  border-color: var(--lp-primary);
  color: var(--lp-primary) !important;
  box-shadow: 0 0 0 2px rgba(77, 114, 255, 0.15);
}

/* Pills con bandera de provincia */
.lp-funnel__pill--flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px 8px 10px;
}
.lp-funnel__pill--flag img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(11, 15, 36, 0.08);
  flex-shrink: 0;
}

/* ── Value chart ───────────────────────────────────────────────── */

.lp-funnel__chart {
  background: #fff;
  border: 1px solid rgba(11, 15, 36, 0.07);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 4px 28px -8px rgba(11, 15, 36, 0.08);
}
.lp-funnel__chart-svg { width: 100%; height: auto; display: block; }

/* ── Centered steps ──────────────────────────────────────────── */

.lp-funnel__step--center {
  text-align: center;
  padding: clamp(12px, 3vh, 28px) 0;
}
.lp-funnel__step--center .lp-funnel__subtitle {
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.lp-funnel__lock { margin-bottom: 20px; }

.lp-funnel__medal {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--lp-gradient);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  box-shadow: 0 8px 28px -6px rgba(77, 114, 255, 0.55);
  animation: lpFunnelMedalPulse 1.6s ease infinite;
}
@keyframes lpFunnelMedalPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ── Loading ───────────────────────────────────────────────────── */

.lp-funnel__step--loading { text-align: center; padding-top: 16px; }
.lp-funnel__loading-label {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: var(--lp-text-2);
}
.lp-funnel__pct {
  font-family: var(--lp-font-display);
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
  background: var(--lp-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-funnel__loadbar {
  height: 4px;
  max-width: 280px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: rgba(11, 15, 36, 0.08);
  overflow: hidden;
}
.lp-funnel__loadbar-fill {
  height: 100%;
  width: 0%;
  background: var(--lp-gradient);
  border-radius: inherit;
  transition: width 0.3s linear;
}

.lp-funnel__checklist {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 320px;
  text-align: left;
}
.lp-funnel__checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 0.9rem;
  color: var(--lp-text-3);
  transition: color 0.3s;
}
.lp-funnel__checklist li.is-done { color: var(--lp-text); font-weight: 600; }
.lp-funnel__check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(11, 15, 36, 0.1);
  transition: all 0.3s;
}
.lp-funnel__checklist li.is-done .lp-funnel__check-icon {
  background: #16a34a;
  border-color: #16a34a;
}
.lp-funnel__checklist li.is-done .lp-funnel__check-icon::after {
  content: "✓";
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

/* ── Plan summary ──────────────────────────────────────────────── */

.lp-funnel__plan-cards {
  display: grid;
  gap: 10px;
}
@media (min-width: 600px) {
  .lp-funnel__plan-cards { grid-template-columns: repeat(3, 1fr); }
}

.lp-funnel__plan-card {
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(11, 15, 36, 0.07);
  box-shadow: 0 2px 12px -4px rgba(11, 15, 36, 0.06);
}
.lp-funnel__plan-card-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-primary);
}
.lp-funnel__plan-card strong {
  font-family: var(--lp-font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

/* ── Paywall (paso 15) ─────────────────────────────────────────── */

.lp-funnel__step--paywall {
  text-align: left;
  padding-top: 4px;
}

.lp-funnel__paywall-head {
  text-align: center;
  margin-bottom: 18px;
}
.lp-funnel__paywall-head .lp-funnel__subtitle {
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.lp-funnel__paywall-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e1633, #1e2a5e);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-funnel__paywall-options {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.lp-funnel__paywall-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 16px 16px 14px;
  border: 1.5px solid rgba(11, 15, 36, 0.09);
  border-radius: 16px;
  background: #fff !important;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--lp-text);
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.lp-funnel__paywall-option:hover,
.lp-funnel__paywall-option:focus,
.lp-funnel__paywall-option:active {
  background: #fff !important;
  outline: none;
}
.lp-funnel__paywall-option:hover {
  border-color: rgba(77, 114, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(77, 114, 255, 0.1);
}
.lp-funnel__paywall-option.is-selected {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 2px rgba(77, 114, 255, 0.16);
}

.lp-funnel__paywall-option-tag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lp-funnel__paywall-option-tag--premium {
  background: rgba(77, 114, 255, 0.1);
  color: var(--lp-primary);
}

.lp-funnel__paywall-option-title {
  font-family: var(--lp-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}
.lp-funnel__paywall-option-price {
  font-size: 0.86rem;
  color: var(--lp-text-2);
  margin-bottom: 6px;
}

.lp-funnel__paywall-option-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.lp-funnel__paywall-option-list li {
  position: relative;
  padding: 3px 0 3px 16px;
  font-size: 0.8rem;
  color: var(--lp-text-2);
  line-height: 1.35;
}
.lp-funnel__paywall-option-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-size: 0.72rem;
  font-weight: 700;
}

.lp-funnel__step--paywall .lp-funnel__guarantee {
  justify-content: center;
  margin-top: 4px;
}

/* Legacy paywall bits (unused) */
.lp-funnel__close { display: none; }
.lp-funnel__offer { display: none; }

.lp-funnel__guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font-size: 0.82rem;
  color: var(--lp-text-3);
}
.lp-funnel__guarantee svg { color: #16a34a; flex-shrink: 0; }

/* ── Footer CTA ──────────────────────────────────────────────── */

.lp-funnel__footer {
  flex-shrink: 0;
  padding-top: clamp(12px, 2vh, 18px);
  margin-top: 0;
  background: transparent;
}

.lp-funnel__error {
  margin: 0 0 10px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.45;
  background: rgba(239, 68, 68, 0.07);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.18);
}
.lp-funnel__error[hidden] { display: none !important; }
.lp-funnel__error--ok {
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
  border-color: rgba(22, 163, 74, 0.2);
}

.lp-funnel__cta {
  display: block;
  width: 100%;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--lp-gradient) !important;
  color: #fff !important;
  font-family: var(--lp-font-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px -6px rgba(77, 114, 255, 0.46);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-funnel__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -6px rgba(77, 114, 255, 0.56);
}
.lp-funnel__cta:active { transform: translateY(0); }
.lp-funnel__cta:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.lp-funnel__skip {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 11px 16px;
  border: 1px solid rgba(11, 15, 36, 0.1);
  border-radius: 999px;
  background: transparent;
  color: var(--lp-text-2);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.lp-funnel__skip:hover {
  border-color: rgba(77, 114, 255, 0.3);
  color: var(--lp-text);
  background: rgba(77, 114, 255, 0.04);
}
.lp-funnel__skip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.lp-funnel__skip[hidden] { display: none !important; }

.lp-funnel__login-link {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.83rem;
  color: var(--lp-text-2);
}
.lp-funnel__login-link a {
  color: var(--lp-primary) !important;
  font-weight: 600;
  text-decoration: none;
}
.lp-funnel__login-link a:hover { text-decoration: underline; }

/* Step-specific footer */
.lp-funnel[data-step="10"] .lp-funnel__footer .lp-funnel__cta { display: none; }
.lp-funnel[data-step="11"] .lp-funnel__skip { display: block; }
.lp-funnel[data-step="12"] .lp-funnel__footer,
.lp-funnel[data-step="13"] .lp-funnel__footer { opacity: 0; pointer-events: none; height: 0; padding: 0; overflow: hidden; }
.lp-funnel[data-step="15"] .lp-funnel__login-link { display: none; }

/* Verificación: botón visible dentro del paso */
.lp-funnel__verify-form .lp-funnel__cta--inline {
  display: block;
  width: 100%;
  margin-top: 6px;
}

/* Paso 8: más altura, sin scrollbar interno */
.lp-funnel[data-step="8"] {
  max-height: none !important;
}
.lp-login--has-funnel.is-funnel-open .lp-funnel[data-step="8"] {
  max-height: none !important;
}
.lp-funnel[data-step="8"] .lp-funnel__viewport {
  overflow-y: visible;
  justify-content: flex-start;
}

/* Verificación email integrada */
.lp-funnel__verify-hint {
  margin: 0 0 16px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--lp-text-2);
}
.lp-funnel__verify-form .lp-funnel__field { margin-bottom: 14px; }
.lp-funnel__cta--inline {
  margin-top: 4px;
}
.lp-funnel__verify-resend {
  margin-top: 14px;
  text-align: center;
}
.lp-funnel__link-btn {
  border: 0;
  background: transparent;
  color: var(--lp-primary);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.lp-funnel__link-btn:hover,
.lp-funnel__link-btn:focus,
.lp-funnel__link-btn:active {
  background: rgba(77, 114, 255, 0.06) !important;
  color: var(--lp-primary) !important;
  outline: none;
}

/* ── Tablet: formulario más ancho ─────────────────────────────── */

@media (min-width: 768px) and (max-width: 1024px) {
  .lp-login__form-wrap--funnel { max-width: 520px; }
  .lp-funnel__cards--grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Desktop: panel centrado ─────────────────────────────────── */

@media (min-width: 1025px) {
  .lp-login__form-wrap--funnel { max-width: 480px; }
  .lp-funnel {
    max-height: min(680px, calc(100dvh - 4rem));
  }
  .lp-funnel__logo { display: flex; }
  .lp-funnel__cards--grid { grid-template-columns: 1fr 1fr; }

  .lp-login--has-funnel.is-funnel-open .lp-funnel {
    max-height: min(700px, calc(100dvh - 3rem));
  }
}

/* ── Móvil: ajustes funnel ─────────────────────────────────────── */

@media (max-width: 767px) {
  .lp-login__panel--funnel {
    padding-top: max(12px, env(safe-area-inset-top, 0px));
    min-height: 100dvh;
    min-height: 100svh;
    background: #f6f8ff !important;
  }

  .lp-login__form-wrap--funnel {
    max-width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 72px);
    min-height: calc(100svh - 72px);
  }

  .lp-funnel {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-height: none;
    min-height: 0;
  }

  .lp-funnel__viewport {
    flex: 1;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  .lp-funnel__cards--grid { grid-template-columns: 1fr; }
  .lp-funnel__plan-cards { grid-template-columns: 1fr; }

  .lp-funnel__footer {
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding-top: 12px;
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, #f6f8ff 80%, transparent);
  }
}

@media (min-height: 700px) and (min-width: 1025px) {
  .lp-funnel__viewport {
    justify-content: center;
  }
}
