/* brand_id: lmrecruitment.com
   Landing de la portada. Se carga solo en "/" (front matter pageCss), encima de main.css.
   Sistema: carbon #2D2C2C, dorado #E0AA30 y blanco del brief; Raleway local.
   Motivo grafico: los dos corchetes y el rombo del simbolo de LM. El corchete es el
   puesto abierto; el rombo, la persona que lo ocupa. */

.lmr-home {
  --ink: #2D2C2C;
  --ink-soft: #3C3B3A;
  --ink-deep: #222121;
  --gold: #E0AA30;
  --gold-hi: #EDC25E;
  --paper: #FFFFFF;
  --mist: #F4F4F2;
  --line: #E2E1DD;
  --line-strong: #C9C8C3;
  --line-ink: #4D4C4A;
  --muted: #5F5E5A;
  --muted-ink: #CAC8C2;
  --danger: #9B1C1C;
  --danger-soft: #FCEEEE;
  --gutter: clamp(20px, 4vw, 56px);
  --sec: clamp(72px, 9vw, 136px);
  --gap: clamp(32px, 6vw, 96px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-size: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.lp) { scroll-behavior: smooth; }
}

/* Pie compartido del sitio, ajustado para esta pagina. */
.lmr-home .site-footer { margin-top: 0; }
.lmr-home .site-footer__row { width: min(1200px, 100% - 2 * var(--gutter)); max-width: none; padding: 28px 0; gap: 16px 32px; font-size: .8125rem; line-height: 1.6; }
.lmr-home .site-footer nav { flex-wrap: wrap; gap: 6px 20px; }

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

.lp { color: var(--ink); font-size: 1.0625rem; line-height: 1.6; overflow-x: clip; }
/* :where() deja estas reglas con especificidad de elemento: cualquier clase de componente las ajusta. */
:where(.lp) :is(h1, h2, h3) { color: inherit; margin: 0; font-weight: 700; text-wrap: balance; }
:where(.lp) h2 { font-size: clamp(2rem, 1.15rem + 3.3vw, 3.5rem); line-height: 1.04; letter-spacing: -.03em; }
:where(.lp) h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
:where(.lp) p { margin: 0; }
.lp output, .lp-num { font-variant-numeric: lining-nums tabular-nums; }
.lp-shell { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.lp-lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); line-height: 1.5; color: var(--muted); max-width: 48ch; }
.lp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lp-ico { width: 1em; height: 1em; flex: none; }
.lp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.lp-textlink { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; transition: text-underline-offset .2s var(--ease); }
.lp-textlink:hover { text-underline-offset: 3px; }

.lp-hero :focus-visible, .lp-cost :focus-visible, .lp-request__intro :focus-visible, .lp-request__extra :focus-visible, .lp-ticker :focus-visible { outline-color: var(--gold); }

/* ---------- botones ---------- */

.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 14px 26px; border: 0; border-radius: 12px; background: var(--gold); color: var(--ink); font: inherit; font-size: 1.0625rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s; }
.lp-btn .lp-ico { width: 18px; height: 18px; transition: translate .25s var(--ease); }
.lp-btn:hover { background: var(--gold-hi); transform: translateY(-2px); box-shadow: 0 16px 28px -16px rgb(224 170 48 / .9); }
.lp-btn:hover .lp-ico { translate: 4px 0; }
.lp-btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.lp-btn--ink { background: var(--ink); color: var(--paper); }
.lp-btn--ink:hover { background: var(--ink-deep); box-shadow: 0 16px 28px -16px rgb(45 44 44 / .8); }
.lp-btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--line-strong); }
.lp-btn--ghost:hover { background: var(--mist); box-shadow: inset 0 0 0 2px var(--ink); }
.lp-btn--small { min-height: 44px; padding: 10px 18px; border-radius: 10px; font-size: .9375rem; }
.lp-btn[disabled] { opacity: .6; pointer-events: none; }
.lp-btn[hidden] { display: none; }

/* ---------- encabezado ---------- */

.lp-header { background: rgb(255 255 255 / .94); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lp-header__row { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; min-height: 72px; display: flex; align-items: center; gap: 28px; }
.lp-header__nav { display: flex; gap: 28px; margin-left: auto; font-size: .9375rem; font-weight: 600; }
.lp-header__nav a { color: var(--ink); text-decoration: none; padding-block: 8px; background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 0 3px; transition: background-size .25s var(--ease); }
.lp-header__nav a:hover { background-size: 100% 3px; }

/* ---------- apertura ---------- */

.lp-hero { background: var(--ink); color: var(--paper); padding-block: clamp(28px, 3.2vw, 52px) clamp(48px, 6vw, 88px); overflow: clip; }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lp-hero__copy { container-type: inline-size; }
.lp-callout { display: flex; align-items: center; gap: .65em; color: var(--gold); font-size: 1rem; font-weight: 600; line-height: 1.35; margin-bottom: 1rem; }
.lp-callout .lp-ico { width: .8em; height: .8em; }
/* El titular es un cartel de cinco renglones: su cuerpo sale del ancho de la columna (cqi)
   para que el renglon mas largo siempre quepa, del telefono al escritorio. */
:where(.lp) h1 { font-size: clamp(1.875rem, min(10.6cqi, 8.4vh), 5rem); line-height: 1.02; letter-spacing: -.035em; }
.lp-line { display: block; white-space: nowrap; }
.lp-marker { background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 96% / 100% .1em; }
.lp-hero__sub { margin-top: 1.5rem; max-width: 60ch; color: var(--muted-ink); font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem); line-height: 1.5; }

.lp-start { margin-top: 1.875rem; }
.lp-start__label { font-size: 1.0625rem; font-weight: 700; margin-bottom: .875rem; }
.lp-start__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp-option { position: relative; display: grid; align-content: center; gap: 3px; min-height: 80px; padding: 14px 40px 14px 16px; border-radius: 12px; background: var(--gold); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), background-color .2s; }
.lp-option__label { font-size: 1.0625rem; font-weight: 700; line-height: 1.15; }
.lp-option__hint { font-size: .8125rem; font-weight: 500; line-height: 1.3; }
.lp-option .lp-ico { position: absolute; right: 12px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; transition: translate .25s var(--ease); }
.lp-option:hover { background: var(--paper); transform: translateY(-3px); }
.lp-option:hover .lp-ico { translate: 4px -50%; }
.lp-option:active { transform: translateY(0) scale(.98); }
.lp-start__note { margin-top: .875rem; color: var(--muted-ink); font-size: .9375rem; }
.lp-hero__phone { margin-top: 1.5rem; color: var(--muted-ink); font-size: 1rem; }
.lp-hero__phone a { color: var(--paper); font-weight: 700; text-underline-offset: 5px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* Simbolo: corchetes + rombos. Los rombos son cuadrados girados; la foto se contragira. */
.lp-mark { position: relative; width: 112%; aspect-ratio: 1; max-width: 620px; justify-self: start; --mx: 0; --my: 0; }
.lp-mark__brackets { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--ink-soft); translate: calc(var(--mx) * -10px) calc(var(--my) * -10px); transition: translate .5s var(--ease); }
.lp-dia { position: absolute; aspect-ratio: 1; border-radius: 9%; overflow: hidden; rotate: 45deg; translate: calc(-50% + var(--mx) * var(--depth, 0px)) calc(-50% + var(--my) * var(--depth, 0px)); transition: translate .5s var(--ease); }
.lp-dia img { width: 100%; height: 100%; object-fit: cover; rotate: -45deg; scale: 1.42; }
.lp-dia--main { left: 50%; top: 50%; width: 46%; --depth: 8px; }
.lp-dia--shadow { left: 52.6%; top: 52.6%; width: 46%; background: var(--gold); --depth: 3px; }
.lp-dia--second { left: 83%; top: 83%; width: 20%; box-shadow: 0 0 0 7px var(--ink); --depth: 18px; }
.lp-dia--gold { left: 15%; top: 15%; width: 7.5%; background: var(--gold); --depth: 24px; }

/* ---------- franja de condiciones ---------- */

.lp-promises { padding-block: 30px; border-bottom: 1px solid var(--line); }
.lp-promises__list { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; }
.lp-promises__list li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.lp-promises__list strong { display: block; color: var(--ink); font-size: 1rem; }
.lp-promises__list .lp-ico { width: 16px; height: 16px; margin-top: 3px; color: var(--gold); }

/* ---------- problema ---------- */

.lp-problem { padding-block: var(--sec); }
.lp-problem__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--gap); align-items: center; }
.lp-problem h2 { max-width: 17ch; }
.lp-problem__copy > p { margin-top: 1.5rem; max-width: 54ch; }
.lp-problem__copy > .lp-lead { color: var(--ink); max-width: 44ch; }
.lp-problem__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.lp-problem__photo img, .lp-method__photo img, .lp-agency__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- calculadora ---------- */

.lp-cost { background: var(--ink); color: var(--paper); padding-block: var(--sec); }
.lp-cost .lp-lead { margin-top: 1.25rem; color: var(--muted-ink); }
.lp-cost__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: center; }
/* Sin JavaScript no hay calculo: se ocultan los controles y queda la formula en <noscript>. */
html:not(.js) .lp-calc, html:not(.js) .lp-result { display: none; }
html:not(.js) .lp-cost__grid { grid-template-columns: minmax(0, 1fr); }
.lp-calc { display: grid; gap: 32px; margin-top: clamp(32px, 4vw, 52px); }
.lp-range { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: end; }
.lp-range label { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.lp-range output { color: var(--gold); font-size: 1.625rem; font-weight: 700; line-height: 1; }
.lp-range__hint, .lp-calc__note { grid-column: 1 / -1; color: var(--muted-ink); font-size: .875rem; line-height: 1.45; }

.lp-range input[type="range"] { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: 0; background: transparent; cursor: pointer; --fill: 50%; }
.lp-range input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) var(--fill), var(--line-ink) var(--fill)); }
.lp-range input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) var(--fill), var(--line-ink) var(--fill)); }
.lp-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin-top: -8px; border: 0; border-radius: 5px; background: var(--gold); box-shadow: 0 0 0 5px var(--ink); transform: rotate(45deg); transition: transform .2s var(--ease); }
.lp-range input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 5px; background: var(--gold); box-shadow: 0 0 0 5px var(--ink); transform: rotate(45deg); transition: transform .2s var(--ease); }
.lp-range input[type="range"]:hover::-webkit-slider-thumb, .lp-range input[type="range"]:active::-webkit-slider-thumb { transform: rotate(45deg) scale(1.18); }
.lp-range input[type="range"]:hover::-moz-range-thumb, .lp-range input[type="range"]:active::-moz-range-thumb { transform: rotate(45deg) scale(1.18); }
.lp-range input[type="range"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }

.lp-result { display: grid; justify-items: center; gap: 18px; }
.lp-result__frame { position: relative; width: min(100%, 500px); aspect-ratio: 1; display: grid; place-items: center; }
.lp-result__brackets { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink-soft); }
.lp-result__body { position: relative; width: 62%; text-align: center; container-type: inline-size; }
.lp-result__label { color: var(--muted-ink); font-size: 1rem; font-weight: 600; }
.lp-result__total { margin-top: .3rem; color: var(--gold); font-size: min(4.5rem, 100cqi / var(--chars, 7) * 1.68); font-weight: 700; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.lp-result__more { margin: 0; display: grid; gap: 6px; font-size: 1rem; text-align: center; }
.lp-result__more div { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .5em; }
.lp-result__more dt { color: var(--muted-ink); }
.lp-result__more dd { margin: 0; font-weight: 700; }
.lp-result__live { color: var(--muted-ink); font-size: .9375rem; }
.lp-result__live strong { color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.lp-cost__cta { margin-top: clamp(36px, 5vw, 64px); display: grid; justify-items: center; gap: 16px; text-align: center; color: var(--muted-ink); }

/* ---------- metodo ---------- */

.lp-method { padding-block: var(--sec); }
.lp-method__head { max-width: 880px; }
.lp-method .lp-lead { margin-top: 1.25rem; }
.lp-method__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: var(--gap); align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.lp-steps { list-style: none; margin: 0; padding: 0; }
.lp-stepitem { position: relative; padding: 0 0 44px 60px; --ip: 1; }
.js .lp-stepitem { --ip: 0; }
.lp-stepitem:last-child { padding-bottom: 0; }
/* Tramo de linea entre esta etapa y la siguiente; el dorado crece con --ip (landing.js). */
.lp-stepitem::before, .lp-stepitem::after { content: ""; position: absolute; left: 13px; top: 16px; bottom: -16px; width: 2px; background: var(--line); }
.lp-stepitem::after { background: var(--gold); transform: scaleY(var(--ip)); transform-origin: top; }
.lp-stepitem:last-child::before, .lp-stepitem:last-child::after { display: none; }
.lp-stepitem__node { position: absolute; left: 0; top: 2px; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center; color: var(--gold); background: var(--paper); transition: color .35s var(--ease), scale .35s var(--ease); }
.lp-stepitem__node .lp-ico { width: 28px; height: 28px; }
.js .lp-stepitem:not(.is-on) .lp-stepitem__node { color: var(--line-strong); scale: .8; }
.lp-stepitem h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); letter-spacing: -.02em; }
.lp-stepitem__num { color: var(--muted); font-weight: 600; }
.lp-stepitem > p { margin-top: .5rem; max-width: 46ch; color: var(--muted); }
.lp-stepitem > .lp-stepitem__yours { display: inline-flex; flex-wrap: wrap; gap: 0 .6em; margin-top: .9rem; padding: 8px 16px; border-radius: 10px; background: var(--mist); color: var(--ink); font-size: .9375rem; font-weight: 700; }
.lp-stepitem__yours span { color: var(--muted); font-weight: 600; }
.lp-method__photo { position: sticky; top: 112px; margin: 0; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; }

/* ---------- lo que incluye ---------- */

.lp-stack { background: var(--mist); padding-block: var(--sec); }
.lp-stack__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: center; }
.lp-stack .lp-lead { margin-top: 1.25rem; }
.lp-stack .lp-btn { margin-top: 2rem; }
.lp-receipt { filter: drop-shadow(0 26px 28px rgb(45 44 44 / .16)); rotate: 1.4deg; transition: rotate .5s var(--ease); }
.lp-receipt:hover { rotate: 0deg; }
.lp-receipt__paper { --tooth: 11px; padding: clamp(26px, 4vw, 46px) clamp(22px, 4vw, 46px) calc(clamp(26px, 4vw, 46px) + var(--tooth)); background: var(--paper); border-radius: 6px 6px 0 0; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%; }
.lp-receipt__title { display: flex; align-items: center; gap: .6em; padding-bottom: 18px; border-bottom: 2px solid var(--ink); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.lp-receipt__title .lp-ico { width: .8em; height: .8em; color: var(--gold); }
.lp-receipt__items { list-style: none; margin: 8px 0 0; padding: 0; }
.lp-receipt__items li { display: grid; grid-template-columns: fit-content(64%) minmax(12px, 1fr) auto; align-items: baseline; gap: 10px; padding-block: 11px; font-weight: 600; line-height: 1.3; }
.lp-receipt__dots { border-bottom: 2px dotted var(--line-strong); translate: 0 -4px; }
.lp-receipt__ok { display: inline-flex; align-items: center; gap: 6px; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.lp-receipt__ok .lp-ico { width: 16px; height: 16px; }
.lp-receipt__terms { margin: 12px 0 0; padding-top: 16px; border-top: 2px dashed var(--line-strong); display: grid; gap: 8px; }
.lp-receipt__terms div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.lp-receipt__terms dt { color: var(--muted); }
.lp-receipt__terms dd { margin: 0; font-size: 1.1875rem; font-weight: 700; text-align: right; }

/* ---------- garantia ---------- */

.lp-guarantee { background: var(--gold); padding-block: var(--sec); overflow: clip; }
.lp-guarantee__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--gap); align-items: center; }
.lp-guarantee .lp-lead { margin-top: 1.25rem; max-width: 52ch; color: var(--ink); }
.lp-gtoggle { margin-top: 2rem; }
.lp-gtoggle__label { margin-bottom: .5rem; font-size: .9375rem; font-weight: 600; }
.lp-gtoggle__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgb(45 44 44 / .14); }
.lp-gtoggle__tabs label { padding: 11px 20px; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
#g-op:checked ~ .lp-gtoggle__tabs label[for="g-op"], #g-ad:checked ~ .lp-gtoggle__tabs label[for="g-ad"] { background: var(--ink); color: var(--paper); }
#g-op:focus-visible ~ .lp-gtoggle__tabs label[for="g-op"], #g-ad:focus-visible ~ .lp-gtoggle__tabs label[for="g-ad"] { outline: 2px solid var(--ink); outline-offset: 3px; }
#g-op:checked ~ .lp-gtoggle__panel--ad, #g-ad:checked ~ .lp-gtoggle__panel--op { display: none; }
.lp-gtoggle__caption { margin-top: 1.25rem; font-size: .9375rem; font-weight: 600; }
.lp-periods { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: 10px; max-width: 520px; }
.lp-periods li { display: flex; align-items: center; gap: 14px; }
.lp-periods__bar { width: calc(var(--w) * .78); height: 16px; border-radius: 5px; background: var(--ink); transform-origin: left; }
.lp-periods__days { font-size: 1rem; white-space: nowrap; }
.lp-periods__days strong { font-size: 1.375rem; font-variant-numeric: lining-nums tabular-nums; }
.lp-guarantee__fine { margin-top: 1.5rem; max-width: 52ch; font-size: .9375rem; }
.lp-guarantee .lp-btn { margin-top: 2rem; }

.lp-swap { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; justify-self: center; container-type: inline-size; }
.lp-swap__brackets { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); }
.lp-swap__dia { position: absolute; aspect-ratio: 1; border-radius: 9%; rotate: 45deg; translate: -50% -50%; background: var(--paper); }
.lp-swap__dia--1 { left: 50%; top: 50%; width: 30%; }
.lp-swap__dia--2 { left: 80%; top: 83%; width: 11%; }
.lp-swap__dia--3 { left: 91%; top: 71%; width: 11%; }

/* ---------- agencia ---------- */

.lp-agency { padding-block: var(--sec) 0; }
.lp-agency__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: var(--gap); align-items: center; }
.lp-agency__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.lp-agency .lp-lead { margin-top: 1.25rem; }
.lp-facts { margin: 2rem 0 1.75rem; display: grid; border-bottom: 1px solid var(--line); }
.lp-facts div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 20px; padding-block: 14px; border-top: 1px solid var(--line); }
.lp-facts dt { color: var(--muted); font-size: .9375rem; }
.lp-facts dd { margin: 0; font-weight: 600; }
.lp-facts a { color: inherit; text-underline-offset: 4px; }
.lp-cities { margin-top: clamp(48px, 6vw, 88px); padding-block: 26px 30px; border-block: 1px solid var(--line); }
.lp-cities__label { margin: 0 auto 8px; color: var(--muted); font-size: .9375rem; }
.lp-cities__viewport { overflow: hidden; }
.lp-cities__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; }
.lp-cities__track li { display: inline-flex; align-items: center; gap: .55em; padding-right: .55em; font-size: clamp(2rem, 1rem + 4vw, 4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; white-space: nowrap; }
.lp-cities__track .lp-ico { width: .3em; height: .3em; color: var(--gold); }

/* ---------- para quien es ---------- */

.lp-fit { padding-block: var(--sec); }
.lp-fit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(32px, 4vw, 56px); }
.lp-fit__col { padding: clamp(24px, 3.5vw, 44px); border-radius: 20px; }
.lp-fit__col--yes { background: var(--ink); color: var(--paper); }
.lp-fit__col--no { background: var(--mist); }
.lp-fit__col h3 { font-size: 1.5rem; }
.lp-fit__col ul { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 14px; }
.lp-fit__col li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.lp-fit__col .lp-ico { width: 22px; height: 22px; margin-top: 2px; }
.lp-fit__col--yes .lp-ico { color: var(--gold); }
.lp-fit__col--no .lp-ico { color: var(--muted); }
.lp-fit__cta { margin-top: clamp(28px, 3.5vw, 44px); }

/* ---------- otros servicios ---------- */

.lp-services { padding-block: 0 var(--sec); }
.lp-services__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--gap); align-items: start; }
.lp-services .lp-lead { margin-block: 1.25rem 1.5rem; }
.lp-services__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lp-services__list a { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 4px 16px; padding: 22px 10px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .2s, padding .3s var(--ease); }
.lp-services__list a:hover { background: var(--mist); padding-left: 20px; }
.lp-services__list p { grid-column: 1; color: var(--muted); font-size: 1rem; }
.lp-services__list .lp-ico { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 22px; height: 22px; }

/* ---------- preguntas ---------- */

.lp-faq { background: var(--mist); padding-block: var(--sec); }
.lp-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--gap); align-items: start; }
.lp-faq h2 { position: sticky; top: 112px; }
.lp-faq__list { border-top: 1px solid var(--line-strong); }
.lp-faq__item { border-bottom: 1px solid var(--line-strong); }
.lp-faq__item summary { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 16px; align-items: center; padding-block: 22px; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; list-style: none; cursor: pointer; }
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary .lp-ico { width: 22px; height: 22px; rotate: 90deg; transition: rotate .3s var(--ease); }
.lp-faq__item[open] summary .lp-ico { rotate: -90deg; }
.lp-faq__item > p { padding: 0 38px 24px 0; max-width: 62ch; color: var(--muted); }

/* ---------- solicitud ---------- */

.lp-request { background: var(--ink); color: var(--paper); padding-block: var(--sec); }
.lp-request__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; grid-template-areas: "intro form" "extra form"; gap: 2.5rem var(--gap); align-items: start; }
.lp-request__intro { grid-area: intro; }
.lp-request__extra { grid-area: extra; }
.lp-formcard { grid-area: form; }
.lp-request .lp-lead { margin-top: 1.25rem; color: var(--muted-ink); }
.lp-request__getslabel { color: var(--muted-ink); font-size: .9375rem; font-weight: 600; }
.lp-request__gets { list-style: none; margin: .875rem 0 0; padding: 0; display: grid; gap: 12px; }
.lp-request__gets li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; font-weight: 600; }
.lp-request__gets .lp-ico { width: 16px; height: 16px; margin-top: 6px; color: var(--gold); }
.lp-request__phone { display: flex; align-items: center; gap: 12px; margin-top: 2rem; }
.lp-request__phone .lp-ico { width: 22px; height: 22px; color: var(--gold); }
.lp-request__phone a { color: var(--paper); font-weight: 700; text-underline-offset: 5px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.lp-request__ps { margin-top: 2rem; padding-top: 1.5rem; max-width: 44ch; border-top: 1px solid var(--line-ink); color: var(--muted-ink); }
.lp-request__ps strong { color: var(--gold); }

.lp-formcard { padding: clamp(22px, 3.5vw, 44px); border-radius: 24px; background: var(--paper); color: var(--ink); }
.lp-form { display: grid; gap: 24px; }
.lp-form[hidden], .lp-form__progress[hidden], .lp-form__error[hidden], .lp-form__done[hidden] { display: none; }
.lp-form__progress p { color: var(--muted); font-size: .875rem; font-weight: 700; }
.lp-form__bar { display: block; height: 6px; margin-top: 8px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.lp-form__bar span { display: block; width: 33.34%; height: 100%; border-radius: inherit; background: var(--gold); transition: width .45s var(--ease); }
.lp-step { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 16px; }
.lp-step legend { float: left; width: 100%; margin-bottom: 2px; padding: 0; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.lp-step legend + * { clear: both; }
.js .lp-form.is-stepped .lp-step:not(.is-current) { display: none; }
.lp-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lp-choice { position: relative; display: block; cursor: pointer; }
.lp-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lp-choice span { display: grid; align-content: center; gap: 3px; min-height: 80px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; transition: border-color .2s, background-color .2s; }
.lp-choice strong { font-size: 1.0625rem; line-height: 1.2; }
.lp-choice small { color: var(--muted); font-size: .8125rem; line-height: 1.3; }
.lp-choice:hover span { border-color: var(--line-strong); }
.lp-choice input:checked + span { border-color: var(--ink); background: var(--gold); }
.lp-choice input:checked + span small { color: var(--ink); }
.lp-choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.lp-input { display: grid; gap: 6px; font-size: .9375rem; font-weight: 600; }
.lp-input input, .lp-input select, .lp-input textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1.0625rem; font-weight: 500; transition: border-color .2s; }
.lp-input textarea { min-height: 96px; resize: vertical; }
.lp-input input:hover, .lp-input select:hover, .lp-input textarea:hover { border-color: var(--line-strong); }
.lp-input input:focus-visible, .lp-input select:focus-visible, .lp-input textarea:focus-visible { border-color: var(--ink); outline: 3px solid var(--gold); outline-offset: 0; }
.lp-optional { margin-left: .35em; color: var(--muted); font-weight: 500; }
.lp-consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9375rem; line-height: 1.45; }
.lp-consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.lp-consent a { color: var(--ink); font-weight: 700; }
.lp-form__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.lp-form__error { padding: 14px 16px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); }
.lp-form__error a { color: inherit; font-weight: 700; }
.lp-form__done { display: grid; gap: 14px; padding-block: 12px; }
.lp-form__done:focus { outline: none; }
.lp-form__done h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.02em; }
.lp-form__done p { color: var(--muted); max-width: 44ch; }
.lp-form__done a { color: var(--ink); font-weight: 700; }
.lp-form__done-mark { display: grid; place-items: center; width: 56px; height: 56px; color: var(--gold); }
.lp-form__done-mark .lp-ico { width: 56px; height: 56px; }

/* ---------- cierre ---------- */

.lp-close { padding-block: clamp(44px, 6vw, 76px); }
.lp-close__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 48px; align-items: center; }
.lp-close__jobs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; }
.lp-close__jobs h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.lp-close__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.lp-close__links a { color: var(--ink); font-size: .9375rem; font-weight: 600; text-underline-offset: 4px; }
.lp-close__credits { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.lp-close__credits a { color: inherit; }

/* ---------- contador flotante ---------- */

.lp-ticker { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 8px 8px 8px 18px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: .9375rem; line-height: 1.3; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .6), 0 0 0 1px var(--line-ink); }
.lp-ticker[hidden] { display: none; }
.lp-ticker strong { color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.lp-ticker__cta { padding: 9px 14px; border-radius: 9px; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.lp-ticker__close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted-ink); cursor: pointer; }
.lp-ticker__close .lp-ico { width: 16px; height: 16px; }

/* ---------- movimiento ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* Un solo momento orquestado: la apertura. */
  .lp-line { animation: lp-rise .8s var(--ease) both; }
  .lp-line:nth-child(2) { animation-delay: .07s; }
  .lp-line:nth-child(3) { animation-delay: .14s; }
  .lp-line:nth-child(4) { animation-delay: .21s; }
  .lp-line:nth-child(5) { animation-delay: .28s; }
  .lp-marker { animation: lp-underline .7s var(--ease) .85s both; }
  .lp-line:nth-child(5) .lp-marker { animation-delay: 1.15s; }
  .lp-mark__left { animation: lp-left 1s var(--ease) .15s both; }
  .lp-mark__right { animation: lp-right 1s var(--ease) .15s both; }
  .lp-dia--shadow, .lp-dia--main { animation: lp-pop .9s var(--ease) .45s both; }
  .lp-dia--second { animation: lp-pop .8s var(--ease) .75s both; }
  .lp-dia--gold { animation: lp-pop .8s var(--ease) .9s both; }

  /* Cambio de paso del formulario: responde a la accion de la persona. */
  .js .lp-form.is-stepped .lp-step.is-current { animation: lp-step .35s var(--ease) both; }

  .lp-periods__bar { animation: lp-grow .6s var(--ease) both; }
  .lp-periods li:nth-child(2) .lp-periods__bar { animation-delay: .08s; }
  .lp-periods li:nth-child(3) .lp-periods__bar { animation-delay: .16s; }

  .lp-cities__track { animation: lp-marquee 46s linear infinite; }
  .lp-cities:hover .lp-cities__track { animation-play-state: paused; }

  /* Demostracion de la garantia: la persona sale y entra su reposicion, dos veces. */
  .lp-swap.is-in .lp-swap__dia--1 { animation: lp-leave .5s var(--ease) .5s both; }
  .lp-swap.is-in .lp-swap__dia--2 { animation: lp-enter-a .7s var(--ease) .95s both, lp-leave-big .5s var(--ease) 2.3s forwards; }
  .lp-swap.is-in .lp-swap__dia--3 { animation: lp-enter-b .7s var(--ease) 2.75s both; }

  @supports (interpolate-size: allow-keywords) {
    .lp-faq__item { interpolate-size: allow-keywords; }
    .lp-faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
    .lp-faq__item[open]::details-content { block-size: auto; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .lp-cities__track { width: auto; flex-wrap: wrap; }
  .lp-cities__track li[aria-hidden] { display: none; }
  .lp-cities__track li { font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
}

@keyframes lp-rise { from { opacity: 0; transform: translateY(.45em); } }
@keyframes lp-underline { from { background-size: 0 .1em; } }
@keyframes lp-left { from { opacity: 0; transform: translateX(-56px); } }
@keyframes lp-right { from { opacity: 0; transform: translateX(56px); } }
@keyframes lp-pop { from { opacity: 0; scale: .78; } }
@keyframes lp-grow { from { transform: scaleX(0); } }
@keyframes lp-step { from { opacity: 0; transform: translateX(14px); } }
@keyframes lp-marquee { to { transform: translateX(-50%); } }
@keyframes lp-leave { to { opacity: 0; scale: .5; translate: -50% -140%; } }
@keyframes lp-leave-big { to { opacity: 0; scale: 1.36; translate: calc(-50% - 30cqi) calc(-50% - 60cqi); } }
@keyframes lp-enter-a { to { translate: calc(-50% - 30cqi) calc(-50% - 33cqi); scale: 2.727; } }
@keyframes lp-enter-b { to { translate: calc(-50% - 41cqi) calc(-50% - 21cqi); scale: 2.727; } }

/* ---------- adaptacion ---------- */

@media (max-width: 1100px) {
  .lp-header__nav { gap: 20px; }
  .lp-start__options { grid-template-columns: 1fr; }
  .lp-option { min-height: 64px; }
}

@media (max-width: 960px) {
  .lp-header__nav { display: none; }
  .lp-header .lp-btn { margin-left: auto; }
  .lp-header__row { min-height: 64px; }

  .lp-hero__grid, .lp-problem__grid, .lp-cost__grid, .lp-method__grid, .lp-stack__grid, .lp-guarantee__grid, .lp-agency__grid, .lp-services__grid, .lp-faq__grid, .lp-request__grid { grid-template-columns: minmax(0, 1fr); }
  .lp-request__grid { grid-template-rows: none; grid-template-areas: "intro" "form" "extra"; gap: 2rem; }
  .lp-mark { width: 100%; max-width: 440px; justify-self: center; }
  .lp-start__options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-option { min-height: 80px; }
  .lp-promises__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-problem__photo { aspect-ratio: 3 / 2; }
  .lp-method__photo { position: static; order: -1; }
  .lp-faq h2 { position: static; }
  .lp-agency__photo { aspect-ratio: 3 / 2; }
  .lp-swap { max-width: 320px; }
  .lp-close__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .lp { font-size: 1rem; }
  .lp-start__options { grid-template-columns: 1fr; }
  .lp-option { min-height: 62px; }
  .lp-promises__list { grid-template-columns: 1fr; gap: 14px; }
  .lp-fit__grid { grid-template-columns: 1fr; }
  .lp-choices { grid-template-columns: 1fr; }
  .lp-choice span { min-height: 62px; }
  .lp-facts div { grid-template-columns: 1fr; }
  .lp-form__nav { justify-content: stretch; }
  .lp-form__nav .lp-btn { flex: 1 1 auto; }
  .lp-receipt { rotate: 0deg; }
  .lp-ticker { left: 12px; right: 12px; bottom: 12px; max-width: none; justify-content: space-between; gap: 8px; padding-left: 14px; font-size: .875rem; }
  .lp-ticker p { min-width: 0; }
}
