/* Fuentes autoalojadas (SIL OFL 1.1, ver /fuentes/LICENCIA-OFL.txt). Sin Google Fonts. */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fuentes/montserrat-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fuentes/montserrat-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fuentes/montserrat-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fuentes/montserrat-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fuentes/montserrat-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fuentes/montserrat-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fuentes/montserrat-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fuentes/montserrat-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fuentes/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fuentes/ibm-plex-mono-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fuentes/ibm-plex-mono-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fuentes/ibm-plex-mono-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Layout variante A (portada + FAQ). Tokens en estilo-funcar.css con data-apariencia=lavanda. */

.lsp-pagina {
  background: var(--ink);
  color: var(--bone);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.lsp-saltar {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lsp-saltar:focus-visible {
  position: static;
  width: auto;
  height: auto;
  display: inline-block;
  margin: 8px 16px;
  padding: 8px 12px;
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--bone);
  z-index: 100;
  outline: 2px solid var(--acento-texto);
  outline-offset: 2px;
}

.lsp-top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 0 20px;
  background: var(--surface-translucent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.lsp-marca {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.06em;
  color: var(--bone);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.lsp-top__acc {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lsp-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--bone);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.lsp-login:hover {
  background: var(--surface-2);
}

.lsp-pre .lsp-main,
.lsp-pre .lsp-barra-fija {
  visibility: hidden;
}

.lsp-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.lsp-hero {
  position: relative;
  padding: 40px 0 48px;
  text-align: center;
}

/* Entrada del encabezado (#339): sube una sola vez; sin JS o sin CSS el texto queda visible. */
@keyframes lsp-sube {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: none; }
}
@keyframes lsp-flota {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
.lsp-sube,
.lsp-pal {
  animation: lsp-sube 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--hero-delay, 0s) both;
}
.lsp-pal {
  display: inline-block;
}

/* Tarjetas decorativas de ejemplo: solo en PC, en grupo bajo el formulario, con un solo rotulo para las tres (#341). */
.lsp-flota {
  display: none;
}
@media (min-width: 900px) {
  .lsp-flota {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    margin: 28px 0 0;
    pointer-events: none;
    text-align: left;
  }
  .lsp-flota__rotulo {
    flex: 0 0 100%;
    margin: 0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
  }
  .lsp-flota__c {
    margin: 0;
    width: 200px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.35;
    color: var(--bone);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    text-wrap: balance;
    opacity: 1;
    animation: lsp-flota 6s ease-in-out var(--fase, 0s) infinite;
  }
  .lsp-flota__c:nth-of-type(1) { --fase: 1.6s; }
  .lsp-flota__c:nth-of-type(2) { --fase: 3.2s; }
  .lsp-flota__c:nth-of-type(3) { --fase: 4.8s; }
}
@media (prefers-reduced-motion: reduce) {
  .lsp-sube,
  .lsp-pal,
  .lsp-flota__c {
    animation: none;
  }
}

.lsp-h1 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 16px;
}

.lsp-lead {
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 24px;
  text-wrap: balance;
}

.lsp-entrada {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto 12px;
  text-align: left;
}

/* Etiqueta solo para lectores de pantalla (#341): no se ve, el campo conserva su nombre accesible. */
.lsp-solo-lector {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lsp-entrada {
  align-items: center;
  text-align: center;
}
.lsp-entrada input {
  width: 100%;
  text-align: center;
}

.lsp-entrada label {
  font-size: 14px;
  font-weight: 600;
}

.lsp-entrada input {
  box-sizing: border-box;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid var(--borde-control, var(--line));
  padding: 10px 14px;
  font: inherit;
  background: var(--surface);
  color: var(--bone);
}

.lsp-entrada input:focus-visible {
  outline: 2px solid var(--acento-texto);
  outline-offset: 2px;
}

.lsp-entrada .btn-primario {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

.lsp-nota {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto;
  text-wrap: balance;
}

.lsp-nota__condicion {
  display: block;
  margin-bottom: 6px;
}

.lsp-seccion {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.lsp-seccion__tit {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 3.5vw, 30px);
  line-height: 1.2;
  margin-bottom: 20px;
  text-wrap: balance;
}

.lsp-demo {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}

.lsp-demo__rotulo {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acento-texto);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.lsp-demo__cuerpo {
  padding: 16px;
}

.lsp-demo__estado {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  text-align: center;
  padding: 8px 0;
}

.lsp-demo__estado--error {
  color: var(--bone);
}

.lsp-demo__reintentar {
  margin-left: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--bone);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.lsp-demo__reintentar:hover {
  border-color: var(--acento);
}

.lsp-kpi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.lsp-kpi article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--ink);
}

.lsp-kpi dt {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.lsp-kpi dd {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 600;
  font-size: 22px;
  margin: 0;
}

.lsp-kpi dd small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
  font-family: 'Montserrat', system-ui, sans-serif;
}

@media (min-width: 600px) {
  .lsp-kpi {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lsp-cierre {
  padding: 48px 0 8px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.lsp-faq-cuerpo {
  margin-bottom: 4px;
}

.lsp-faq-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lsp-faq-lista[hidden] {
  display: none;
}

.lsp-faq-lista details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0;
}

.lsp-faq-lista summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  list-style: none;
}

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

.lsp-faq-resp {
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.lsp-faq-lista details[open] summary {
  border-bottom: 1px solid var(--line);
}

.lsp-ceja {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--acento-texto);
  margin-bottom: 12px;
}

.lsp-hero__ancla {
  margin-top: 16px;
  font-size: 14px;
}

.lsp-hero__ancla a,
.lsp-enlace-texto {
  color: var(--acento-texto);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.lsp-nota--gris {
  margin-top: 20px;
  text-align: center;
}

.lsp-rubro-sec {
  min-height: 280px;
}

.lsp-rubro__pregunta {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--accent, inherit);
  margin-bottom: 12px;
}

.lsp-rubro__enlace {
  margin-top: 4px;
}

/* Aparición con el scroll: la clase «pend» la agrega solo el JS (sin JS el texto se ve);
   opacidad y translate no mueven el layout. */
.lsp-reveal--pend {
  opacity: 0;
  transform: translateY(18px);
}

.lsp-reveal--visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .lsp-reveal--pend,
  .lsp-reveal--visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.lsp-rubro__escena {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.lsp-rubro__resolucion {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.lsp-precio-cuerpo {
  margin-bottom: 4px;
}

.lsp-precio-texto[hidden] {
  display: none;
}

.lsp-cobrar-texto p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.lsp-cobrar-corto p {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.lsp-confianza-cuerpo {
  margin-bottom: 4px;
}

.lsp-confianza-lista {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lsp-confianza-lista[hidden] {
  display: none;
}

.lsp-confianza-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.lsp-confianza-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.lsp-confianza-item details summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style: none;
  font-size: 15px;
  line-height: 1.45;
}

.lsp-confianza-item details summary::-webkit-details-marker {
  display: none;
}

.lsp-confianza-item details summary {
  justify-content: space-between;
  gap: 12px;
}

.lsp-confianza-item details summary::after {
  content: "";
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-right: 2px solid var(--acento-texto, currentColor);
  border-bottom: 2px solid var(--acento-texto, currentColor);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.lsp-confianza-item details[open] summary::after {
  transform: rotate(-135deg);
}

@media (prefers-reduced-motion: reduce) {
  .lsp-confianza-item details summary::after {
    transition: none;
  }
}

.lsp-lead--compact {
  max-width: none;
  text-wrap: pretty;
  margin-top: 20px;
  font-size: 16px;
}

.lsp-seccion--centro {
  text-align: center;
}

.lsp-seccion--centro .lsp-entrada {
  margin-left: auto;
  margin-right: auto;
}

.lsp-pasos-cuerpo {
  margin-bottom: 4px;
}

.lsp-pasos {
  padding-left: 1.2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: decimal;
}

.lsp-pasos[hidden] {
  display: none;
}

.lsp-paso__titulo {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 6px;
}

.lsp-paso__detalle,
.lsp-paso-details__detalle {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.lsp-paso-details summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style: none;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
}

.lsp-paso-details summary::-webkit-details-marker {
  display: none;
}

.lsp-pasos--celular {
  padding-left: 0;
  list-style: none;
}

.lsp-pasos--celular .lsp-paso {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 14px;
  background: var(--surface);
}

/* Titular de portada (#341): tamano de portada y alto reservado desde el primer pintado (sin salto de diseno). */
h1.lsp-h1.lsp-h1--portada {
  font-size: clamp(2.5rem, 12vw, 3.5rem);
  line-height: 1.05;
  min-height: 2.1em;
}
@media (max-width: 359px) {
  h1.lsp-h1.lsp-h1--portada {
    min-height: 3.15em;
  }
}
@media (min-width: 900px) {
  h1.lsp-h1.lsp-h1--portada {
    font-size: clamp(4rem, 7.5vw, 6.5rem);
    min-height: 2.1em;
    width: min(1040px, calc(100vw - 64px));
    margin-left: calc(50% - min(520px, 50vw - 32px));
  }
}

.lsp-h1--faq {
  max-width: none;
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 36px);
}

.lsp-barra-fija[hidden] {
  display: none;
}

.lsp-barra-fija {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0));
  background: var(--surface-translucent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.lsp-barra-fija__cta {
  box-sizing: border-box;
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

body.lsp-con-barra-fija .lsp-main {
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0));
}

.lsp-top .btn-secundario,
.toggle-tema {
  min-height: 44px;
  min-width: 44px;
}

.lsp-faq-lista summary {
  min-height: 44px;
}

@media (max-width: 599px) {
  .lsp-top .btn-secundario {
    display: none;
  }
  .lsp-main {
    padding-inline: 16px;
  }
  .lsp-hero {
    padding-top: 28px;
  }
  .lsp-entrada {
    max-width: none;
    width: 100%;
  }
  .lsp-entrada input,
  .lsp-entrada .btn-primario {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 390px) {
  .lsp-login {
    padding: 0 10px;
    font-size: 13px;
  }
  .lsp-top {
    padding-inline: 12px;
    gap: 8px;
  }
  .lsp-marca {
    font-size: 20px;
    max-width: min(52vw, 168px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .lsp-h1 {
    font-size: clamp(28px, 8.2vw, 32px);
  }
  .lsp-kpi {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .lsp-main {
    padding-inline: 24px;
  }
  .lsp-hero {
    padding-top: 48px;
  }
}

@media (min-width: 1280px) {
  .lsp-main {
    max-width: 880px;
    padding-inline: 32px;
  }
  .lsp-hero {
    padding-bottom: 56px;
  }
}

/* Portada compacta en escritorio: el correo y el botón entran sin deslizar (1280x800, 1440x900). */
@media (min-width: 900px) and (max-height: 960px) {
  .lsp-hero {
    padding-top: 20px;
    padding-bottom: 32px;
  }
  .lsp-ceja {
    margin-bottom: 8px;
  }
  .lsp-h1 {
    font-size: clamp(30px, 3.4vw, 38px);
    margin-bottom: 10px;
  }
  .lsp-lead {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .lsp-entrada {
    gap: 8px;
    margin-bottom: 8px;
  }
  .lsp-entrada input,
  .lsp-entrada .btn-primario {
    min-height: 44px;
  }
}

@media (min-width: 600px) {
  .lsp-barra-fija {
    display: none !important;
  }
}

.lsp-marca:focus-visible,
.lsp-top .btn-secundario:focus-visible,
.lsp-login:focus-visible,
.toggle-tema:focus-visible,
.lsp-entrada .btn-primario:focus-visible,
.lsp-barra-fija__cta:focus-visible,
.lsp-hero__ancla a:focus-visible,
.lsp-enlace-texto:focus-visible,
.lsp-faq-lista summary:focus-visible,
.lsp-paso-details summary:focus-visible {
  outline: 2px solid var(--acento-texto);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .lsp-pagina {
    scroll-behavior: auto;
  }
  .lsp-pagina *,
  .lsp-pagina *::before,
  .lsp-pagina *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Captura de ejemplo de Cobrar, dentro del recuadro rotulado: recortada al contenido y centrada. */
.lsp-cobrar-captura {
  display: block;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 640 / 310;
  object-fit: cover;
  object-position: 50% 22%;
  height: auto;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
/* Tarjetas de precio: tres lado a lado en PC, apiladas en celular. */
.lsp-precio-texto {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 24px;
  text-align: left;
}
.lsp-plan {
  position: relative;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.lsp-plan--rec {
  border: 2px solid var(--acento-texto);
  padding: 19px 17px;
}
.lsp-plan__nombre {
  font-size: 18px;
  margin: 0 0 4px;
}
.lsp-plan__rec {
  position: absolute;
  top: -12px;
  right: 14px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--acento-texto);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.lsp-plan__precio {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 26px;
  margin: 0 0 12px;
}
.lsp-plan__precio small {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.lsp-plan__lineas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}
@media (min-width: 768px) {
  .lsp-precio-texto {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}
.lsp-precio-condiciones[hidden] {
  display: none;
}
.lsp-precio-condiciones {
  max-width: 56ch;
  margin: 20px auto 0;
}
.lsp-precio-condiciones p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 8px;
}
/* Alineación: lectura a la izquierda; centrado solo en portada, precio y cierre. */
.lsp-seccion .lsp-lead,
.lsp-nota--gris {
  margin-left: 0;
  text-align: left;
}
.lsp-pie {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 32px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.lsp-pie p {
  margin: 0 0 4px;
}
.lsp-pie__marca {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 700;
  color: var(--bone);
}
body.lsp-con-barra-fija .lsp-pie {
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0));
}
