/* ==========================================================================
   LANDING SOLICITAR — Estilos exclusivos y arquitectura de pantalla
   Tarjetas principales rectas; controles internos con esquinas suaves.
   Breakpoints limpios:
   1. min-width: 901px -> Escritorio a 1 sola pantalla (100dvh) con curva fija a 90px
   2. max-width: 900px -> Tablet vertical y Móvil en flujo continuo con curva al pie
   ========================================================================== */

html {
  height: auto;
  overflow-y: auto;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  background: #f3f7f5;
}

.solicitar-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.solicitar-page .navbar {
  position: fixed;
}

.solicitar-page main {
  flex: 1 0 auto;
}

.snap-sec--footer {
  min-height: 0;
}

/* ── ESTILOS BASE COMPARTIDOS (Todas las pantallas) ────────────────────── */
#solicitar.form-section.form-section--standalone {
  position: relative;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 8% 18%, rgba(3, 100, 105, .10), transparent 28%),
    linear-gradient(135deg, #f4f1eb 0%, var(--beige-mid, #eae4da) 100%);
}

.form-section-inner {
  display: grid;
  position: relative;
  z-index: 2;
}

.form-left,
.form-right {
  min-height: 0;
  border: 1px solid rgba(3, 100, 105, .28);
  border-radius: 0 !important;
  box-shadow: 0 14px 34px rgba(61, 43, 31, .11);
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}

.form-left:hover,
.form-right:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(2, 79, 82, .16);
}

/* Tarjeta izquierda: portada y beneficios */
.form-left {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.form-left-cover {
  position: relative;
  display: grid;
  grid-template-columns: 58% 42%;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 115%, rgba(255, 255, 255, .08) 0 22%, transparent 23%),
    linear-gradient(135deg, var(--teal-dark, #024f52), var(--teal, #036469));
}

.form-left-cover__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 10px 20px 24px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 115%, rgba(255, 255, 255, .08) 0 22%, transparent 23%),
    var(--teal-dark, #024f52);
}

.form-left-cover__copy::after {
  content: '';
  position: absolute;
  top: 0;
  right: -38px;
  width: 76px;
  height: 100%;
  border-radius: 50%;
  background: var(--teal-dark, #024f52);
  pointer-events: none;
}

.form-left-cover__copy > * {
  position: relative;
  z-index: 1;
}

.form-left-cover__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #d8e8e5;
}

.form-left-cover__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform-origin: center;
  transition: transform .6s ease;
}

.form-left:hover .form-left-cover__media img {
  transform: scale(1.04);
}

.form-left-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 24px 18px;
}

.form-eyebrow {
  font-size: 10px;
  font-weight: 800;
  color: var(--amber, #eb7a01);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 6px;
}

.form-title {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 24px;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 0;
  text-shadow: 0 4px 14px rgba(3, 38, 47, .23);
}

.form-desc {
  font-size: 12.5px;
  color: #565f69;
  line-height: 1.5;
  margin-bottom: 10px;
}

.form-desc > .landing-rich-content {
  margin-bottom: 3px;
}

.form-desc strong {
  color: var(--text, #1f2937);
}

.form-benefits {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 8px;
  margin: 0 -8px;
  border-radius: 8px;
  font-size: 12px;
  color: #374151;
  transition: background .18s ease, transform .18s ease;
  cursor: default;
}

.form-benefits li:hover {
  background: rgba(3, 100, 105, 0.05);
  transform: translateX(4px);
}

.form-benefits li i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal, #036469);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: transform .18s ease, background .18s ease;
}

.form-benefits li:hover i {
  transform: scale(1.15);
  background: var(--teal-dark, #024f52);
}

/* Tarjeta derecha: Formulario */
.form-right {
  padding: 18px 22px 16px;
  display: flex;
  flex-direction: column;
}

.form-alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px !important;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #b91c1c;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.form-alert-error i {
  font-size: 18px;
  flex-shrink: 0;
}

.landing-errors-list {
  margin-top: 4px;
  padding-left: 16px;
}

.landing-errors-item {
  font-size: 12px;
}

.landing-optional-label {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 400;
}

/* Campos del formulario */
.lf-group {
  margin-bottom: 8px;
}

.lf-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 3px;
}

.lf-label--group {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal-dark, #024f52);
  margin-bottom: 5px;
}

.req {
  color: #dc2626;
  margin-left: 2px;
}

.lf-input {
  width: 100%;
  box-sizing: border-box;
  padding: 7px 10px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px !important;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: #fff;
  color: var(--text, #1f2937);
  transition: border .15s, box-shadow .15s;
}

.lf-input:focus {
  border-color: var(--teal, #036469);
  box-shadow: 0 0 0 3px rgba(3, 100, 105, .12);
}

.lf-input.lf-error {
  border-color: #dc2626;
}

.lf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

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

.lf-row .lf-group {
  margin-bottom: 0;
}

.lf-fields-layout {
  display: contents;
}

.lf-tipo-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lf-tipo-toggle--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.lf-tipo-item {
  position: relative;
  min-width: 0;
}

.lf-tipo-item .lf-tipo-opt { display: block; }
.lf-tipo-item .lf-tipo-card {
  box-sizing: border-box;
  width: 100%;
  padding-right: 27px;
}

.lf-tipo-ayuda {
  position: absolute;
  top: 50%;
  right: 5px;
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--teal, #036469);
  cursor: help;
  font-size: 15px;
  transform: translateY(-50%);
}
.lf-tipo-ayuda:hover { color: var(--teal-dark, #024f52); }
.lf-tipo-ayuda:focus-visible {
  outline: 2px solid var(--teal, #036469);
  outline-offset: 1px;
}

.lf-tipo-opt {
  position: relative;
}

.lf-tipo-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.lf-tipo-card {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px !important;
  cursor: pointer;
  transition: all .15s;
  background: #fafafa;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  user-select: none;
}

.lf-tipo-toggle--3 .lf-tipo-card {
  flex-direction: column;
  text-align: center;
  gap: 3px;
  padding: 6px 4px;
  font-size: 11px;
  line-height: 1.2;
}

.lf-tipo-toggle--3 .lf-tipo-card i {
  font-size: 16px;
}

.lf-tipo-card i {
  font-size: 15px;
  color: #9ca3af;
  transition: color .15s;
}

.lf-tipo-opt input[type="radio"]:checked + .lf-tipo-card {
  border-color: var(--teal, #036469);
  background: var(--teal-light, #e0edea);
  color: var(--teal-dark, #024f52);
  box-shadow: 0 0 0 2px rgba(3, 100, 105, .12);
}

.lf-tipo-opt input[type="radio"]:checked + .lf-tipo-card i {
  color: var(--teal, #036469);
}

.lf-tipo-card:hover {
  border-color: var(--teal, #036469);
  background: var(--teal-light, #e0edea);
}

.lf-producto-card {
  min-height: 34px;
  justify-content: center;
}

.lf-producto-opt--simple input[type="radio"]:checked + .lf-producto-card {
  border-color: var(--amber, #eb7a01);
  background: #fff1e3;
  color: var(--amber-dark, #b55d00);
  box-shadow: 0 0 0 2px rgba(235, 122, 1, .12);
}

.lf-producto-opt--simple input[type="radio"]:checked + .lf-producto-card i {
  color: var(--amber, #eb7a01);
}

.lf-empresa {
  display: none;
}

.lf-empresa.show {
  display: block;
}

.lf-monto-wrap {
  position: relative;
}

.lf-monto-wrap > span {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: #6b7280;
  font-size: 13.5px;
  pointer-events: none;
}

.lf-monto-wrap .lf-input {
  padding-left: 22px;
}

.lf-btn-submit {
  width: 100%;
  padding: 10px;
  margin-top: 3px;
  background: linear-gradient(135deg, var(--teal-dark, #024f52) 0%, var(--teal, #036469) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 12px !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(3, 100, 105, .25);
}

.lf-btn-submit:hover {
  opacity: .92;
}

.lf-btn-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.lf-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.lf-note {
  width: fit-content;
  margin: 6px auto 0;
  padding: 3.5px 12px;
  border-radius: 999px !important;
  background: rgba(3, 100, 105, 0.05);
  border: 1px solid rgba(3, 100, 105, 0.12);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--teal-dark, #024f52);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .2s ease, border-color .2s ease;
}

.lf-note i {
  color: var(--teal, #036469);
  font-size: 12px;
}

/* Ubicación: botón + ayuda */
.lf-location-trigger {
  width: 100%;
  height: 36px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  overflow: hidden;
  border: 1.5px dashed #86efac;
  border-radius: 10px !important;
  background: #f0fdf4;
  color: #166534;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}

.lf-location-trigger:hover {
  background: #e4f9ea;
}

.lf-location-trigger.is-selected {
  border-style: solid;
  border-color: #22c55e;
}

.lf-location-trigger i {
  flex-shrink: 0;
  font-size: 15px;
}

#lf-ubicacion-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lf-location-help {
  margin-top: 2px;
  margin-bottom: 0;
  color: #9ca3af;
  font-size: 10.5px;
  line-height: 1.3;
}

/* Modal del mapa */
.lf-map-dialog {
  border-radius: 14px !important;
}

.lf-map-toolbar {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.lf-map-search-input {
  min-width: 160px;
  flex: 1;
  padding: 8px 11px;
  border: 1.5px solid #d1d5db;
  border-radius: 9px !important;
  outline: none;
  font-family: inherit;
  font-size: 13px;
}

.lf-map-search-input:focus {
  border-color: var(--teal-dark, #024f52);
  box-shadow: 0 0 0 3px rgba(2, 79, 82, .1);
}

.lf-map-action {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 9px !important;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.lf-map-action--primary {
  border: 0;
  background: var(--teal-dark, #024f52);
  color: #fff;
}

.lf-map-action--gps {
  border: 1.5px solid #86efac;
  background: #f0fdf4;
  color: #166534;
}

.lf-map-canvas {
  height: 340px;
  flex-shrink: 0;
}

.lf-map-footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid #e5e7eb;
}

.lf-map-coords {
  color: #6b7280;
  font-family: monospace;
  font-size: 11px;
}

.lf-map-confirm {
  padding: 9px 20px;
  border: 0;
  border-radius: 9px !important;
  background: var(--teal-dark, #024f52);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lf-map-confirm:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* Transiciones para la curva y desvanecimiento hacia el footer */
#solicitar .sec-wave-top {
  pointer-events: none;
  line-height: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: opacity, transform;
}

#solicitar.is-footer-approaching .sec-wave-top,
.is-footer-approaching .sec-wave-top {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  pointer-events: none !important;
}


/* ── 1. ESCRITORIO (901px o más) ──────────────────────────────────────────
   Una sola pantalla completa (100dvh):
   - Curva institucional fija al fondo a 90px exactos.
   - Contenido centrado armónicamente entre el navbar (92px) y la curva (90px).
   - Tarjetas simétricas y equilibradas sin desbordes verticales en 1366x633 y 1280x605.
────────────────────────────────────────────────────────────────────────── */
@media (min-width: 901px) {
  .solicitar-page {
    overflow-x: hidden !important;
  }

  /* Los contenedores snap de móvil se disuelven en escritorio */
  .solicitar-pantalla {
    display: contents !important;
  }

  .sec-wave-top--vista1,
  .sec-wave-top--vista2 {
    display: none !important;
  }

  #solicitar.form-section.form-section--standalone {
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    box-sizing: border-box !important;
    padding: 92px 40px 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .form-section-inner {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    min-height: min(495px, max(calc(100dvh - 260px), calc(126dvh - 424px), min(calc(118dvh - 339px), calc(97dvh - 206px), 475px), min(390px, calc(240dvh - 1062px)))) !important;
    transform: translateY(13px);
    grid-template-columns: .88fr 1.12fr !important;
    gap: 22px !important;
    align-items: stretch !important;
  }

  /* Tarjeta izquierda compactada proporcionalmente */
  .form-left {
    min-height: 0 !important;
  }

  .form-left-cover {
    height: clamp(140px, calc(100dvh - 520px), 210px) !important;
    min-height: clamp(140px, calc(100dvh - 520px), 210px) !important;
  }

  .form-left-cover__copy {
    padding: 16px 8px 16px 20px !important;
  }

  .form-eyebrow {
    font-size: clamp(9.5px, calc(.8dvh + 4.66px), 10.5px) !important;
    margin-bottom: 4px !important;
  }

  .form-title {
    font-size: 24px !important;
    line-height: 1.1 !important;
  }

  .form-left-body {
    padding: 12px 20px 14px !important;
    justify-content: space-evenly;
  }

  .form-desc {
    font-size: clamp(11.5px, calc(.8dvh + 6.7px), 12.5px) !important;
    line-height: 1.45 !important;
    margin-bottom: 6px !important;
    padding-left: 12px;
    border-left: 3px solid var(--amber, #eb7a01);
  }

  .form-desc strong {
    color: var(--teal-dark, #024f52);
  }

  .form-benefits {
    margin: 0;
  }

  .form-benefits li {
    padding: clamp(5px, calc(2.4dvh - 9.5px), 8px) 8px !important;
    font-size: clamp(11.5px, calc(.8dvh + 6.7px), 12.5px) !important;
    gap: 8px !important;
    background: linear-gradient(90deg, rgba(3, 100, 105, .055), transparent 80%);
  }

  .form-benefits li + li {
    margin-top: 3px;
  }

  .form-benefits li i {
    width: clamp(18px, calc(3.2dvh - 1.36px), 22px) !important;
    height: clamp(18px, calc(3.2dvh - 1.36px), 22px) !important;
    font-size: clamp(11px, calc(1.6dvh + 1.32px), 13px) !important;
  }

  /* Tarjeta derecha compactada proporcionalmente */
  .form-right {
    min-height: 0 !important;
    padding: 12px 18px 10px !important;
    justify-content: space-between !important;
  }

  .form-right #form-land {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .lf-group {
    margin-bottom: 4px !important;
  }

  .lf-row {
    margin-bottom: 4px !important;
    gap: 8px !important;
  }

  .lf-label {
    font-size: clamp(11px, calc(.8dvh + 6.2px), 11.5px) !important;
    margin-bottom: clamp(2px, calc(3.2dvh - 17.36px), 4px) !important;
  }

  .lf-label--group {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: var(--teal-dark, #024f52) !important;
    margin-bottom: 4px !important;
  }

  .lf-tipo-card {
    min-height: 34px !important;
    height: 34px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 8px !important;
    font-size: clamp(11.5px, calc(.8dvh + 6.7px), 12.5px) !important;
  }

  #lf-producto-toggle .lf-producto-card {
    display: flex !important;
    width: 100%;
  }

  .lf-tipo-toggle--3 {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.24fr) minmax(0, .88fr);
  }

  .lf-tipo-toggle--3 .lf-tipo-card {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: 34px !important;
    height: 34px !important;
    box-sizing: border-box !important;
    padding: 0 6px !important;
    font-size: clamp(10px, calc(1.2dvh + 2.75px), 11.5px) !important;
    gap: 6px !important;
  }

  .lf-tipo-toggle--3 .lf-tipo-card span {
    white-space: nowrap;
  }

  .lf-tipo-toggle--3 .lf-tipo-card i {
    font-size: 14px !important;
    flex-shrink: 0;
  }

  .lf-input {
    padding: clamp(4.5px, calc(6dvh - 32px), 12px) 8px !important;
    font-size: clamp(12.5px, calc(.8dvh + 7.7px), 13.5px) !important;
  }

  .lf-monto-wrap > span {
    font-size: 13px !important;
    left: 8px !important;
  }

  .lf-monto-wrap .lf-input {
    padding-left: 20px !important;
  }

  .lf-location-trigger {
    height: clamp(29px, calc(10dvh - 31.5px), 42px) !important;
    font-size: clamp(11px, calc(.8dvh + 6.2px), 12px) !important;
    padding: 0 8px !important;
  }

  .lf-location-help {
    font-size: 9.5px !important;
    margin-top: 5px !important;
    color: #6b7280 !important;
  }

  .lf-btn-submit {
    padding: clamp(7px, calc(5dvh - 23.25px), 13.25px) 12px !important;
    font-size: clamp(13px, calc(.8dvh + 8.2px), 14px) !important;
    margin-top: clamp(2px, calc(3.2dvh - 17.36px), 6px) !important;
  }

  .lf-note {
    font-size: 10px !important;
    margin-top: 3px !important;
    padding: 3px 12px !important;
  }

  /* Curva institucional fija a 90px en escritorio */
  #solicitar .sec-wave-top--desktop {
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 90px !important;
    z-index: 1 !important;
    margin: 0 !important;
  }

  #solicitar .sec-wave-top--desktop svg {
    height: 90px !important;
    width: 100% !important;
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
  }

  #solicitar.is-footer-approaching .sec-wave-top--desktop,
  .is-footer-approaching .sec-wave-top--desktop {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
  }
}

/* ── 2. TABLET Y MÓVIL (900px o menos) ──────────────────────────────────
   - Scroll-Snap vertical nativo obligatorio (100dvh por pantalla).
   - Pantalla 1: Card izquierda (portada + beneficios) + Curva Vista 1.
   - Pantalla 2: Formulario de solicitud + Curva Vista 2 con fade al footer.
   - Pantalla 3: Footer acoplado con snap que empieza exactamente en "Toda la información...".
────────────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root {
    --solicitar-nav-h: 84px;
  }
}
@media (max-width: 560px) {
  :root {
    --solicitar-nav-h: 68px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-snap-type: y mandatory !important;
    scroll-behavior: smooth !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body,
  body.solicitar-page {
    display: block !important;
    min-height: auto !important;
    height: auto !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }

  .solicitar-page main {
    display: block !important;
    flex: none !important;
    overflow: visible !important;
  }

  #solicitar.form-section.form-section--standalone {
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
    scroll-snap-align: none !important;
    background:
      radial-gradient(circle at 8% 18%, rgba(3, 100, 105, .10), transparent 28%),
      linear-gradient(135deg, #f4f1eb 0%, var(--beige-mid, #eae4da) 100%) !important;
  }

  .form-section-inner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  /* Ocultar curva de escritorio en móvil/tablet */
  #solicitar .sec-wave-top--desktop {
    display: none !important;
  }

  /* ── Pantallas snap individuales (100dvh cada una) ── */
  .solicitar-pantalla {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    padding: calc(var(--solicitar-nav-h, 68px) + 8px) 16px 105px !important;
  }

  /* ── Pantalla 1: Card izquierda (portada + beneficios) ── */
  .form-left {
    width: 100% !important;
    max-width: clamp(335px, 92vw, 420px) !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
    margin: 0 auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(3, 100, 105, .28) !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(61, 43, 31, .11) !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    max-height: calc(100dvh - var(--solicitar-nav-h, 68px) - 100px) !important;
    overflow-y: auto !important;
  }

  .form-left-cover {
    display: grid !important;
    grid-template-columns: 58% 42% !important;
    height: clamp(130px, 19dvh, 165px) !important;
    min-height: 130px !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .form-left-cover__copy {
    padding: 14px 10px 14px 18px !important;
    justify-content: center !important;
  }

  .form-eyebrow {
    font-size: 9.5px !important;
    margin-bottom: 3px !important;
  }

  .form-title {
    font-size: clamp(18px, 4.4vw, 22px) !important;
    line-height: 1.15 !important;
  }

  .form-left-cover__media {
    min-height: 0 !important;
  }

  .form-left-body {
    padding: 14px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .form-desc {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
    padding-left: 10px !important;
    border-left: 3px solid var(--amber, #eb7a01) !important;
  }

  .form-desc strong {
    color: var(--teal-dark, #024f52) !important;
    display: block !important;
    margin-top: 2px !important;
  }

  .form-benefits {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .form-benefits li {
    padding: 6px 8px !important;
    font-size: 11.5px !important;
    gap: 7px !important;
    border-radius: 8px !important;
    background: linear-gradient(90deg, rgba(3, 100, 105, .055), transparent 80%) !important;
    display: flex !important;
    align-items: center !important;
  }

  .form-benefits li i {
    width: 20px !important;
    height: 20px !important;
    font-size: 12px !important;
    flex: 0 0 20px !important;
  }

  /* ── Pantalla 2: Formulario de solicitud ── */
  .form-right {
    width: 100% !important;
    max-width: clamp(335px, 92vw, 420px) !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
    margin: 0 auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(3, 100, 105, .28) !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(61, 43, 31, .11) !important;
    padding: 12px 14px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    max-height: calc(100dvh - var(--solicitar-nav-h, 68px) - 100px) !important;
    overflow-y: auto !important;
  }

  .form-right #form-land {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  .lf-group {
    margin-bottom: 3px !important;
  }

  .lf-row,
  .lf-row-3 {
    margin-bottom: 3px !important;
    gap: 6px !important;
  }

  .lf-row-3 {
    grid-template-columns: 1fr 1fr 1fr !important;
  }

  .lf-row {
    grid-template-columns: 1fr 1fr !important;
  }

  .lf-label {
    font-size: 11px !important;
    margin-bottom: 2px !important;
  }

  .lf-label--group {
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: var(--teal-dark, #024f52) !important;
    margin-bottom: 3px !important;
  }

  .lf-tipo-card {
    min-height: 32px !important;
    height: 32px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 6px !important;
    font-size: 11px !important;
    gap: 5px !important;
  }

  .lf-tipo-toggle--3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .lf-tipo-toggle--3 .lf-tipo-card {
    font-size: 9.5px !important;
    padding: 0 4px !important;
    gap: 4px !important;
  }

  .lf-tipo-toggle--3 .lf-tipo-card i {
    font-size: 13px !important;
  }

  .lf-input {
    padding: 5px 8px !important;
    font-size: 12.5px !important;
    height: 32px !important;
    box-sizing: border-box !important;
  }

  .lf-monto-wrap > span {
    font-size: 12.5px !important;
    left: 8px !important;
  }

  .lf-monto-wrap .lf-input {
    padding-left: 20px !important;
  }

  .lf-location-trigger {
    height: 32px !important;
    min-height: 32px !important;
    font-size: 11px !important;
    padding: 0 8px !important;
  }

  .lf-location-help {
    font-size: 9px !important;
    margin-top: 2px !important;
    color: #6b7280 !important;
  }

  .lf-btn-submit {
    min-height: 36px !important;
    padding: 7px 12px !important;
    font-size: 12.5px !important;
    margin-top: 4px !important;
  }

  .lf-note {
    font-size: 9.5px !important;
    margin-top: 3px !important;
    padding: 2px 10px !important;
  }

  /* Curvas por pantalla en móvil/tablet (/dev/ondas-calibrador plantilla "solicitar-formulario") */
  .sec-wave-top--vista1,
  .sec-wave-top--vista2 {
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: clamp(85px, 12.5dvh, 120px) !important;
    pointer-events: none !important;
    z-index: 1 !important;
    margin: 0 !important;
    line-height: 0 !important;
    transition: opacity 0.35s ease, transform 0.35s ease !important;
    will-change: opacity, transform !important;
  }

  .sec-wave-top--vista1 svg,
  .sec-wave-top--vista2 svg {
    height: 100% !important;
    width: 100% !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
  }

  /* Desvanecimiento suave al aproximarse al footer */
  #solicitar.is-footer-approaching .sec-wave-top--vista2,
  .is-footer-approaching .sec-wave-top--vista2 {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
  }

  /* ── Pantalla 3: Footer Snap que empieza exactamente en "Toda la información..." ── */
  .snap-sec--footer {
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    scroll-margin-top: var(--solicitar-nav-h, 68px) !important;
    min-height: calc(100dvh - var(--solicitar-nav-h, 68px)) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  .snap-sec--footer .footer-trust {
    flex: 0 0 auto !important;
    padding: 16px 20px !important;
    text-align: center !important;
    background: var(--teal-light, #e0edea) !important;
  }

  .snap-sec--footer .footer-trust p,
  .snap-sec--footer .footer-trust > .landing-rich-content {
    font-size: 12px !important;
    line-height: 1.45 !important;
    color: #374151 !important;
    margin: 0 !important;
  }

  .snap-sec--footer .footer-trust strong {
    color: var(--teal-dark, #024f52) !important;
  }

  .snap-sec--footer .footer {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 20px 20px 18px !important;
  }

  .snap-sec--footer .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .snap-sec--footer .footer-brand {
    justify-self: center !important;
    text-align: center !important;
  }

  .snap-sec--footer .footer-social-title {
    font-size: 11px !important;
    margin-bottom: 8px !important;
    letter-spacing: .08em !important;
  }

  .snap-sec--footer .footer-social {
    justify-content: center !important;
  }

  .snap-sec--footer .footer-col {
    width: min(100%, 360px) !important;
    justify-self: center !important;
  }

  .snap-sec--footer .footer-col-title {
    font-size: 11px !important;
    margin-bottom: 6px !important;
    letter-spacing: .08em !important;
  }

  .snap-sec--footer .footer-col ul {
    gap: 5px !important;
    font-size: 12px !important;
  }

  .snap-sec--footer .footer-bottom {
    padding: 12px 18px !important;
  }

  .snap-sec--footer .footer-bottom-inner {
    justify-content: center !important;
    text-align: center !important;
  }

  .snap-sec--footer .footer-bottom-inner p {
    font-size: 10.5px !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
}

@media (max-width: 640px) {
  .lf-map-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .lf-map-confirm {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .form-right {
    padding: 12px 14px 10px !important;
  }

  .form-right #form-land {
    gap: 4px !important;
  }

  .lf-fields-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 6px;
    row-gap: 7px;
  }

  .lf-fields-layout > .lf-row {
    display: contents;
  }

  /* Orden optimizado de 4 filas en móvil:
     Fila 1 (50%/50%): Nombre(s) + Apellido paterno
     Fila 2 (50%/50%): Apellido materno + Celular
     Fila 3 (100%):    Correo electrónico (ancho completo para direcciones largas)
     Fila 4 (50%/50%): Monto que necesitas + Ubicación en el mapa
  */
  .lf-fields-layout .lf-group--nombre {
    order: 1;
  }

  .lf-fields-layout .lf-group--paterno {
    order: 2;
  }

  .lf-fields-layout .lf-group--materno {
    order: 3;
  }

  .lf-fields-layout .lf-group--celular {
    order: 4;
  }

  .lf-fields-layout .lf-group--email {
    order: 5;
    grid-column: 1 / -1;
  }

  .lf-fields-layout .lf-group--monto {
    order: 6;
  }

  .lf-fields-layout .lf-group--location {
    order: 7;
    grid-column: auto;
  }

  .lf-fields-layout .lf-location-trigger {
    width: 100%;
    height: 32px;
    min-height: 32px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 4px;
    font-size: 11px;
    text-align: center;
  }

  .lf-fields-layout .lf-location-help {
    font-size: 8.5px;
    line-height: 1.15;
    margin-top: 2px;
    margin-bottom: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .form-right .lf-btn-submit {
    margin-top: 6px !important;
  }

  #lf-producto-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #lf-producto-toggle .lf-tipo-opt {
    min-width: 0;
  }

  #lf-producto-toggle .lf-producto-card {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
  }

  #lf-tipo-toggle {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, .8fr) !important;
  }

  #lf-tipo-toggle .lf-tipo-opt,
  #lf-tipo-toggle .lf-tipo-card {
    min-width: 0;
  }

  #lf-tipo-toggle .lf-tipo-card {
    width: 100%;
    min-height: 32px !important;
    height: 32px !important;
    box-sizing: border-box !important;
    padding: 0 3px !important;
    flex-direction: row !important;
    gap: 3px !important;
  }

  #lf-tipo-toggle .lf-tipo-card i {
    font-size: 13px !important;
    flex-shrink: 0;
  }

  #lf-tipo-toggle .lf-tipo-card span {
    min-width: 0;
    white-space: normal;
    font-size: 9.5px !important;
    line-height: 1.12;
    text-align: center;
  }
}

/* La ayuda es independiente del radio y conserva espacio incluso en móvil. */
#lf-producto-toggle .lf-tipo-item .lf-tipo-card,
#lf-tipo-toggle .lf-tipo-item .lf-tipo-card {
  padding-right: 28px !important;
}
