/* Portada premium de Respondiendo. Todos los colores salen de las variables vivas de tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: calc(var(--nav-h) + 16px);
}
html:not(.lenis) { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: transparent; font-size: 16px; line-height: 1.5; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.lp-main { position: relative; z-index: 1; overflow-x: clip; }
.lp-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.lp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.lp-skip {
    position: fixed; top: 12px; left: 12px; z-index: 100;
    padding: 10px 16px; border-radius: 999px;
    background: var(--fg); color: var(--bg); font-weight: 600; text-decoration: none;
    transform: translateY(-160%); transition: transform .2s var(--ease-premium);
}
.lp-skip:focus-visible { transform: none; }

:where(a, button, input, [tabindex]):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 8px;
}

/* ---------- Tipografía ---------- */
.lp-display {
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 600;
    line-height: .96;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.lp-title {
    font-size: clamp(40px, 6.4vw, 88px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.04em;
    text-wrap: balance;
}
.lp-lead {
    max-width: 36ch;
    color: var(--fg-muted);
    font-size: clamp(18px, 1.5vw, 21px);
    line-height: 1.5;
    letter-spacing: -.01em;
    text-wrap: pretty;
}
.lp-eyebrow, .lp-micro {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fg-muted);
}
.lp-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.lp-micro { font-size: 11px; }
.lp-note { color: var(--fg-muted); font-size: 14px; }

/* ---------- Piezas comunes ---------- */
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.lp-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 24px;
    border: 1px solid transparent; border-radius: 999px;
    background: var(--fg); color: var(--bg);
    font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
    cursor: pointer;
    transition: transform .25s var(--ease-premium), opacity .25s ease;
}
.lp-btn:hover { transform: translateY(-1px); opacity: .9; }
.lp-btn:active { transform: scale(.98); }
.lp-btn--ghost { background: transparent; color: var(--fg); border-color: var(--hairline-strong); }
.lp-btn--ghost:hover { opacity: 1; background: var(--hairline); }
.lp-btn--sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.lp-btn--lg { min-height: 56px; padding: 0 30px; font-size: 17px; }

.lp-link { color: var(--fg); font-weight: 500; text-decoration: none; }
.lp-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.lp-link--arrow { color: var(--accent-text); }
.lp-link--arrow::after { content: " →"; display: inline-block; transition: transform .25s var(--ease-premium); }
.lp-link--arrow:hover::after { transform: translateX(3px); }

.lp-tag {
    flex: none;
    padding: 3px 8px;
    border: 1px solid var(--hairline-strong);
    border-radius: 999px;
    color: var(--fg-muted);
    font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
    white-space: nowrap;
}
.lp-pill {
    padding: 4px 10px; border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: var(--accent-text);
    letter-spacing: .1em;
}
.lp-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--fg-muted); flex: none; }
.lp-dot--ok { background: var(--ok); }
.lp-dot--accent { background: var(--accent); }
.lp-stars { color: #F5A623; letter-spacing: .12em; font-size: 14px; }
.lp-avatar {
    display: grid; place-items: center; flex: none;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--surface-2); color: var(--fg-muted);
    font-size: 12px; font-weight: 600;
}

.lp-section { padding-block: var(--section-space); position: relative; }
.lp-section__head { margin-bottom: clamp(48px, 6vw, 80px); }
.lp-section__head .lp-lead { margin-top: 24px; }
.lp-section__head--center { text-align: center; }
.lp-section__head--center .lp-eyebrow { justify-content: center; }

.lp-panel {
    position: relative;
    padding: clamp(18px, 2vw, 26px);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.lp-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }

/* ---------- NavBar ---------- */
.lp-nav {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--hairline);
    transition: transform .45s var(--ease-premium);
}
.lp-nav.is-hidden:not(:focus-within) { transform: translateY(-100%); }
.lp-nav__inner {
    height: var(--nav-h); max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter);
    display: flex; align-items: center; gap: 24px;
}
.lp-brand { display: inline-flex; align-items: center; height: 40px; flex: none; text-decoration: none; }
.lp-brand__mark { display: block; width: 148px; height: 12px; color: var(--fg); }
.lp-nav__links { display: flex; gap: 4px; margin-inline: auto; }
.lp-nav__links a {
    padding: 8px 12px; border-radius: 999px;
    color: var(--fg-muted); font-size: 14px; text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}
.lp-nav__links a:hover, .lp-nav__links a[aria-current="true"] { color: var(--fg); }
.lp-nav__links a[aria-current="true"] { background: var(--hairline); }
.lp-nav__auth { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.lp-nav__links + .lp-nav__auth { margin-left: 0; }
.lp-nav__auth .lp-link { font-size: 14px; }
.lp-languages { display: flex; align-items: center; gap: 2px; flex: none; }
.lp-languages a {
    display: grid; place-items: center; min-width: 30px; min-height: 44px;
    border-radius: 8px; color: var(--fg-muted); font-size: 12px; font-weight: 600;
    text-decoration: none;
}
.lp-languages a:hover, .lp-languages a[aria-current="page"] { color: var(--fg); background: var(--hairline); }
.lp-languages a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.lp-languages + .lp-nav__auth { margin-left: 0; }
@media (min-width: 1024px) and (max-width: 1199px) {
    .lp-nav__inner { gap: 12px; }
    .lp-nav__links a { padding-inline: 6px; }
    .lp-nav__auth { gap: 10px; }
}

/* ---------- Rejilla técnica del "búnker" ---------- */
.lp-grid-layer {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    opacity: var(--grid-opacity);
    background-image:
        linear-gradient(to right, var(--dark-hairline) 1px, transparent 1px),
        linear-gradient(to bottom, var(--dark-hairline) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 100%);
}

/* ---------- 1 · Hero ---------- */
.lp-hero {
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + clamp(56px, 10vh, 120px));
    padding-bottom: clamp(64px, 10vh, 120px);
    text-align: center;
}
.lp-hero__inner { display: grid; justify-items: center; gap: clamp(48px, 8vh, 88px); transform-origin: 50% 20%; }
.lp-hero__copy { display: grid; justify-items: center; }
.lp-hero__eyebrow { justify-content: center; margin-bottom: 28px; }
.lp-hero__line { display: block; }
.lp-hero__lead { margin-top: 32px; max-width: 34ch; }
.lp-hero__actions { justify-content: center; margin-top: 36px; }

.lp-hero-card { width: min(100%, 440px); text-align: left; }
.lp-hero-card__float { will-change: auto; }
.lp-review {
    padding: 22px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 60px -28px rgba(20, 24, 40, .22);
}
.lp-review__head { display: flex; align-items: center; gap: 12px; }
.lp-review__who { display: grid; flex: 1; min-width: 0; }
.lp-review__who strong { font-size: 15px; font-weight: 600; }
.lp-review__who small { color: var(--fg-muted); font-size: 13px; }
.lp-review .lp-stars { margin-top: 14px; }
.lp-review__text { margin-top: 6px; font-size: 16px; line-height: 1.5; }
.lp-review__reply {
    margin-top: 16px; padding: 14px 16px;
    border-radius: var(--radius-md); background: var(--surface-2);
    font-size: 14px; line-height: 1.55;
}
.lp-review__reply-label { margin-bottom: 4px; color: var(--fg-muted); font-size: 12px; font-weight: 600; }
.lp-review__status { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--fg-muted); font-size: 13px; }

@keyframes lp-line-in {
    from { opacity: 0; transform: translate3d(0, 40px, 0); filter: blur(12px); }
    to { opacity: 1; transform: none; filter: none; }
}
@keyframes lp-fade-up {
    from { opacity: 0; transform: translate3d(0, 16px, 0); }
    to { opacity: 1; transform: none; }
}
@keyframes lp-float {
    from { transform: translate3d(0, -6px, 0); }
    to { transform: translate3d(0, 6px, 0); }
}
.lp-hero__line { animation: lp-line-in 1.1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(80ms * var(--i, 0) + 120ms); }
.lp-hero__eyebrow { animation: lp-fade-up .8s var(--ease-premium) .05s both; }
.lp-hero__lead { animation: lp-fade-up .9s var(--ease-premium) .45s both; }
.lp-hero__actions { animation: lp-fade-up .9s var(--ease-premium) .55s both; }
.lp-hero-card { animation: lp-fade-up 1.2s var(--ease-premium) .7s both; }
.lp-hero-card__float { animation: lp-float 4s ease-in-out 1.9s infinite alternate; }

/* ---------- 2 · Identidad ---------- */
.lp-identity__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.lp-identity__aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.lp-identity__copy .lp-lead { margin-top: 20px; }
.lp-identity__controls { margin-top: 36px; }
.lp-identity__demo { padding-top: clamp(0px, 8vw, 120px); }

.lp-tone { max-width: 360px; }
.lp-tone__label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; }
.lp-tone__label output { color: var(--accent-text); font-weight: 500; }
.lp-tone__range { width: 100%; margin: 16px 0 8px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.lp-tone__range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--hairline-strong); }
.lp-tone__range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--hairline-strong); }
.lp-tone__range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--hairline-strong); box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
}
.lp-tone__range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 1px solid var(--hairline-strong); box-shadow: 0 2px 8px rgba(0, 0, 0, .16); }
.lp-tone__scale { display: flex; justify-content: space-between; color: var(--fg-muted); font-size: 13px; }

.lp-hint { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--fg-muted); font-size: 14px; }
.lp-hint__touch { display: none; }
@media (hover: none) { .lp-hint__pointer { display: none; } .lp-hint__touch { display: inline; } }
.lp-hint__arrow { display: inline-block; animation: lp-nudge 1.6s ease-in-out infinite; }
@keyframes lp-nudge { 0%, 100% { transform: none; } 50% { transform: translateY(4px); } }

.lp-complaints { display: grid; gap: 12px; min-height: 400px; }
.lp-complaint {
    display: grid; gap: 8px; width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: left; cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
    transition: transform .35s var(--ease-premium), box-shadow .35s var(--ease-premium), border-color .25s ease;
}
.lp-complaint:hover, .lp-complaint[aria-pressed="true"] {
    transform: translateY(-4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 22px 48px -26px rgba(20, 24, 40, .3);
}
.lp-complaint[aria-pressed="true"] { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.lp-complaint__head { display: flex; align-items: center; gap: 12px; }
.lp-complaint__who { display: grid; flex: 1; min-width: 0; font-size: 14px; }
.lp-complaint__who strong { font-weight: 600; }
.lp-complaint__who small { color: var(--fg-muted); font-size: 12.5px; }
.lp-complaint__text { font-size: 15.5px; line-height: 1.5; }

.lp-reply {
    margin-top: 24px; padding: 20px 22px;
    border-radius: var(--radius-lg);
    background: var(--surface-2);
}
.lp-reply__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lp-reply__title { font-size: 13px; font-weight: 600; }
.lp-reply__stage { display: grid; min-height: 9.5em; }
.lp-reply__stage > * { grid-area: 1 / 1; }
.lp-reply__placeholder, .lp-reply__thinking { color: var(--fg-muted); font-size: 15px; }
.lp-reply__thinking { display: flex; align-items: center; gap: 8px; align-self: start; }
.lp-reply__body { position: relative; font-size: 15px; line-height: 1.55; }
.lp-reply__ghost { visibility: hidden; }
.lp-reply__text { position: absolute; inset: 0; transition: filter .3s ease, opacity .3s ease; }
.lp-reply__text.is-switching { opacity: 0; filter: blur(6px); }
.lp-reply__seal { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--fg-muted); font-size: 13px; }
.lp-typing-dots { display: inline-flex; gap: 4px; }
.lp-typing-dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: lp-dots 1s ease-in-out infinite; }
.lp-typing-dots i:nth-child(2) { animation-delay: .15s; }
.lp-typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes lp-dots { 0%, 100% { opacity: .25; transform: none; } 50% { opacity: 1; transform: translateY(-2px); } }

/* ---------- 3 · Dispositivo ---------- */
.lp-device { position: relative; padding-block: clamp(64px, 8vw, 120px); }
.lp-device__pin {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    gap: clamp(40px, 6vw, 96px);
}
.lp-device__words { display: grid; font-size: clamp(48px, 7vw, 104px); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.lp-device__captions { display: grid; gap: 14px; margin-top: 32px; max-width: 34ch; }
.lp-device__caption { color: var(--fg-muted); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }

.lp-pin-device .lp-device__pin { min-height: 100svh; }
.lp-pin-device .lp-device__words > *, .lp-pin-device .lp-device__captions > * { grid-area: 1 / 1; }

.lp-device__stage {
    --phone-w: min(310px, 26vw, calc((100svh - 150px) * .4615));
    position: relative; perspective: 1600px; display: grid; justify-items: center;
}
.lp-device__body { transform-style: preserve-3d; transform-origin: 50% 60%; }
.lp-device__shadow {
    width: calc(var(--phone-w) * .92); height: 34px; margin-top: 18px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .1) 45%, transparent 100%);
}
.lp-will-change { will-change: transform, filter; }

.lp-phone {
    position: relative;
    width: var(--phone-w);
    aspect-ratio: 9 / 19.5;
    padding: calc(var(--phone-w) * .013);
    border-radius: calc(var(--phone-w) * .175);
    background: linear-gradient(145deg, #E6E6E9 0%, #9C9CA2 20%, #F5F5F7 46%, #7E7E84 70%, #D6D6DA 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .16), 0 50px 90px -40px rgba(10, 20, 40, .5), 0 26px 40px -28px rgba(0, 0, 0, .3);
}
.lp-phone::before, .lp-phone::after {
    content: ""; position: absolute; width: 3px; border-radius: 2px;
    background: linear-gradient(90deg, #8C8C92, #D9D9DD);
}
.lp-phone::before { right: -3px; top: 27%; height: 12%; }
.lp-phone::after { left: -3px; top: 21%; height: 7%; box-shadow: 0 calc(var(--phone-w) * .14) 0 #A9A9AE; }
.lp-phone__bezel {
    position: relative; height: 100%;
    padding: calc(var(--phone-w) * .03);
    border-radius: calc(var(--phone-w) * .162);
    background: #050505;
}
.lp-phone__bezel::after {
    content: ""; position: absolute; inset: calc(var(--phone-w) * .03); z-index: 4; pointer-events: none;
    border-radius: calc(var(--phone-w) * .135);
    background: linear-gradient(118deg, transparent 38%, rgba(255, 255, 255, .9) 50%, transparent 62%);
    mix-blend-mode: screen; opacity: .08;
}
.lp-phone__screen {
    position: relative; height: 100%; overflow: hidden;
    border-radius: calc(var(--phone-w) * .135);
    background: #F4F6FA;
    container-type: inline-size;
}
.lp-phone__island {
    position: absolute; z-index: 5; left: 50%; top: calc(var(--phone-w) * .058);
    width: 31%; height: calc(var(--phone-w) * .085);
    border-radius: 999px; background: #000;
    transform: translateX(-50%);
}

/* UI simulada dentro del teléfono: siempre clara, es la app real. */
.lp-app {
    position: absolute; inset: 0;
    padding: 15cqw 5.5cqw 0;
    color: #111114; font-size: 4cqw; line-height: 1.35;
    font-family: var(--font-sans);
    -webkit-user-select: none; user-select: none;
}
.lp-app__status { position: absolute; top: 4.6cqw; left: 9cqw; right: 8cqw; display: flex; justify-content: space-between; font-size: 3.6cqw; font-weight: 600; }
.lp-app__status i { display: inline-block; width: 6.5cqw; height: 3cqw; border: .4cqw solid #111; border-radius: 1cqw; position: relative; top: .3cqw; }
.lp-app__status i::after { content: ""; position: absolute; inset: .5cqw 1.5cqw .5cqw .5cqw; background: #111; border-radius: .4cqw; }
.lp-app__brand { color: #6E6E73; font-size: 3.3cqw; font-weight: 500; }
.lp-app__title { margin-top: .5cqw; font-size: 7cqw; font-weight: 700; letter-spacing: -.03em; }
.lp-app__widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6cqw; margin-top: 4cqw; }
.lp-app__widget { padding: 3.4cqw; border-radius: 4cqw; background: #FFF; box-shadow: 0 .5cqw 2cqw rgba(16, 24, 40, .06); }
.lp-app__widget small { display: block; color: #6E6E73; font-size: 2.9cqw; }
.lp-app__widget strong { display: block; margin-top: 1cqw; font-size: 6.4cqw; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lp-app__widget strong em { color: #F5A623; font-style: normal; font-size: .7em; }
.lp-app__label { margin: 5cqw 0 2.4cqw; color: #6E6E73; font-size: 3.1cqw; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.lp-app__list { display: grid; gap: 2.4cqw; }
.lp-app__item { display: grid; grid-template-columns: auto 1fr auto; gap: 2.4cqw; align-items: center; padding: 3cqw; border-radius: 3.6cqw; background: #FFF; }
.lp-app__avatar { display: grid; place-items: center; width: 8cqw; height: 8cqw; border-radius: 50%; background: #EEF1F6; color: #5B6170; font-size: 2.8cqw; font-weight: 700; }
.lp-app__item strong { display: block; font-size: 3.3cqw; }
.lp-app__item div span { display: block; color: #6E6E73; font-size: 3cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-app__chip { padding: 1cqw 2.2cqw; border-radius: 99px; background: #E8F8EC; color: #1E7B34; font-size: 2.6cqw; font-weight: 600; white-space: nowrap; }
.lp-app__chip--queue { background: #E6F0FF; color: #0060C7; }

.lp-app__notif {
    position: absolute; z-index: 3; top: 13cqw; left: 3.5cqw; right: 3.5cqw;
    display: grid; grid-template-columns: auto 1fr; gap: .6cqw 2.6cqw; align-items: center;
    padding: 3.2cqw; border-radius: 5cqw;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 2cqw 6cqw rgba(16, 24, 40, .16);
}
.lp-app__notif-icon { grid-row: span 2; width: 8.5cqw; height: 8.5cqw; border-radius: 2.2cqw; background: linear-gradient(145deg, #64D2FF, #0A84FF 45%, #0058C7); }
.lp-app__notif small { display: flex; justify-content: space-between; color: #6E6E73; font-size: 2.8cqw; }
.lp-app__notif strong { font-size: 3.5cqw; }

.lp-app__sheet {
    position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; top: 24cqw;
    padding: 3cqw 5.5cqw 6cqw;
    border-radius: 6cqw 6cqw 0 0;
    background: #FFF;
    box-shadow: 0 -2cqw 8cqw rgba(16, 24, 40, .1);
}
.lp-app__handle { width: 10cqw; height: 1.1cqw; margin: 0 auto 4cqw; border-radius: 99px; background: #D9DCE3; }
.lp-app__review-text { margin-top: 1.6cqw; font-size: 3.6cqw; }
.lp-app__stars { color: #F5A623; font-size: 3.2cqw; letter-spacing: .1em; }
.lp-app__gen { margin-top: 4.5cqw; color: #6E6E73; font-size: 3.1cqw; }
.lp-app__progress { height: 1.2cqw; margin-top: 1.6cqw; border-radius: 99px; background: #EEF1F6; overflow: hidden; }
.lp-app__progress i { display: block; height: 100%; background: #0A84FF; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0); }
.lp-app__answer { margin-top: 4cqw; padding: 3.4cqw; border-radius: 3.6cqw; background: #F4F6FA; }
.lp-app__answer small { display: block; color: #6E6E73; font-size: 2.8cqw; font-weight: 600; }
.lp-app__answer p { position: relative; margin-top: 1.2cqw; font-size: 3.4cqw; line-height: 1.45; }
.lp-app__answer p span:first-child { visibility: hidden; }
.lp-app__answer p span:last-child { position: absolute; inset: 0; }
.lp-app__approve {
    position: relative; display: grid; place-items: center; margin-top: 4cqw; height: 10.5cqw;
    border-radius: 99px; background: #111114; color: #FFF; font-size: 3.6cqw; font-weight: 600;
}
.lp-app__approve span { grid-area: 1 / 1; }
.lp-app__queue { display: flex; justify-content: center; margin-top: 3cqw; }
.lp-app__tap {
    position: absolute; z-index: 6; width: 11cqw; height: 11cqw; margin: -5.5cqw 0 0 -5.5cqw;
    border-radius: 50%; background: rgba(17, 17, 20, .22); border: .5cqw solid rgba(255, 255, 255, .8);
    opacity: 0; pointer-events: none;
}

/* ---------- 4 · ThemeShift ---------- */
.lp-shift {
    position: relative; min-height: 160svh;
    display: grid; grid-template-rows: 1fr 1fr;
    padding-inline: var(--gutter); text-align: center;
}
.lp-shift__line { display: contents; }
.lp-shift__a, .lp-shift__b { align-self: center; justify-self: center; max-width: 14ch; display: block; }

/* Sin JS (o antes de que cargue): las zonas oscuras tienen su paleta fija. */
html:not(.lp-theme-live) .lp-shift { background: linear-gradient(to bottom, var(--light-bg) 0 46%, var(--dark-bg) 54% 100%); }
html:not(.lp-theme-live) .lp-shift__a { color: var(--light-text); }
html:not(.lp-theme-live) .lp-shift__b { color: var(--dark-text); }
html:not(.lp-theme-live) .lp-dark-zone {
    --bg: var(--dark-bg); --surface: var(--dark-surface); --surface-2: var(--dark-surface-2);
    --fg: var(--dark-text); --fg-muted: var(--dark-muted);
    --hairline: var(--dark-hairline); --hairline-strong: var(--dark-hairline-strong);
    --accent-text: var(--dark-accent-text);
    background: var(--bg); color: var(--fg);
}

/* ---------- 5 · Métricas ---------- */
.lp-metrics__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; }
.lp-metrics__head .lp-eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.lp-metrics__head .lp-title { font-size: clamp(40px, 5.2vw, 72px); }
.lp-metrics__head .lp-lead { margin-top: 0; }
.lp-pin-metrics .lp-metrics__pin { min-height: 100svh; display: grid; align-content: center; padding-block: calc(var(--nav-h) + 8px) 24px; }
.lp-pin-metrics .lp-metrics__head { margin-bottom: 32px; }
.lp-pin-metrics .lp-metrics { padding-block: 0; }

.lp-dash { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.lp-panel--chart { grid-column: span 8; }
.lp-panel--counters { grid-column: span 4; display: grid; }
.lp-panel--keywords { grid-column: span 7; }
.lp-panel--bars { grid-column: span 5; }

.lp-panel__value { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lp-panel__value small { color: var(--fg-muted); font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

.lp-chart { position: relative; }
.lp-chart svg { width: 100%; height: auto; overflow: visible; }
.lp-chart__grid line { stroke: var(--hairline); stroke-width: 1; }
.lp-chart__line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lp-chart__glow { fill: var(--accent); opacity: .22; }
.lp-chart__dot { fill: var(--fg); stroke: var(--accent); stroke-width: 3; }
.lp-chart__axis { display: flex; justify-content: space-between; margin-top: 10px; color: var(--fg-muted); font-family: var(--font-mono); font-size: 11px; }
.lp-chart__ylabels { position: absolute; inset: 0 auto 0 0; pointer-events: none; }
.lp-chart__ylabels span { position: absolute; left: 0; transform: translateY(-120%); color: var(--fg-muted); font-family: var(--font-mono); font-size: 10.5px; }

.lp-counters { display: grid; align-content: space-between; gap: 18px; }
.lp-counter { display: grid; gap: 2px; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); }
.lp-counter:last-child { padding-bottom: 0; border-bottom: 0; }
.lp-counter strong { font-family: var(--font-mono); font-size: clamp(30px, 3vw, 44px); font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.lp-counter small { color: var(--fg-muted); font-size: 13px; }

.lp-keywords { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; min-height: 120px; }
.lp-keyword { font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.lp-keyword--pos { color: var(--ok); }
.lp-keyword--neg { color: var(--alert); }
.lp-keyword--neu { color: var(--fg-muted); }
.lp-legend { display: flex; gap: 16px; margin-top: 16px; color: var(--fg-muted); font-size: 12px; }
.lp-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; }
.lp-legend__pos::before { background: var(--ok); }
.lp-legend__neg::before { background: var(--alert); }
.lp-legend__neu::before { background: var(--fg-muted); }

.lp-bars { display: grid; gap: 22px; }
.lp-bars__group { display: grid; gap: 10px; }
.lp-bar { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; }
.lp-bar b { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--fg-muted); }
.lp-bar__track { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--hairline); overflow: hidden; }
.lp-bar__fill { height: 100%; border-radius: inherit; background: var(--accent); transform-origin: 0 50%; }
.lp-bars__group--mejorar .lp-bar__fill { background: var(--alert); }

/* ---------- 6 · Escudo Legal ---------- */
.lp-tracker { padding: clamp(18px, 2.4vw, 32px); border: 1px solid var(--hairline); border-radius: var(--radius-xl); background: var(--surface); }
.lp-tracker__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }
.lp-tracker__note { margin-top: 20px; color: var(--fg-muted); font-size: 14px; }
.lp-cases { display: grid; }
.lp-case { display: grid; gap: 14px; padding-block: 26px; border-bottom: 1px solid var(--hairline); }
.lp-case__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.lp-case__id { color: var(--fg); }
.lp-case__reason { color: var(--fg-muted); font-size: 14px; }
.lp-case__quote { max-width: 60ch; font-size: 16px; line-height: 1.5; }
.lp-case__blur { filter: blur(5px); -webkit-user-select: none; user-select: none; }
.lp-badge { display: grid; margin-left: auto; }
.lp-badge > span {
    grid-area: 1 / 1; justify-self: end;
    padding: 4px 10px; border-radius: 99px;
    font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
    border: 1px solid currentColor;
}
.lp-badge .is-muted { color: var(--fg-muted); }
.lp-badge .is-accent { color: var(--accent-text); }
.lp-badge .is-warn { color: var(--warn); }
.lp-badge .is-ok { color: var(--ok); }
.lp-badge .is-neutral { color: var(--fg-muted); }

.lp-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.lp-steps__track { position: absolute; left: 10%; right: 10%; top: 7px; height: 2px; display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-steps__seg { background: var(--hairline-strong); overflow: hidden; }
.lp-steps__fill { display: block; height: 100%; background: var(--fg); transform-origin: 0 50%; }
.lp-step { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.lp-step__dot {
    position: relative; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid var(--hairline-strong); background: var(--surface);
    transition: background-color .3s ease, border-color .3s ease;
}
.lp-step[data-on="1"] .lp-step__dot { background: var(--fg); border-color: var(--fg); }
.lp-step[data-live="1"] .lp-step__dot { background: var(--warn); border-color: var(--warn); }
.lp-step[data-live="1"] .lp-step__dot::after {
    content: ""; position: absolute; inset: -2px; border-radius: 50%;
    background: var(--warn); animation: lp-pulse 1.6s ease-out infinite;
}
@keyframes lp-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.lp-step__label { color: var(--fg-muted); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.lp-step[data-on="1"] .lp-step__label { color: var(--fg); }

/* ---------- 7 · Multi-local ---------- */
.lp-locations__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; }
.lp-locations__head .lp-eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.lp-locations__head .lp-title { font-size: clamp(40px, 5.2vw, 72px); }
.lp-locations__head .lp-lead { margin-top: 0; }
.lp-locations__cta { grid-column: 2; }
.lp-pin-locations .lp-locations__pin { min-height: 100svh; display: grid; align-content: center; padding-block: calc(var(--nav-h) + 8px) 24px; }
.lp-pin-locations .lp-locations { padding-block: 0; }
.lp-pin-locations .lp-locations__head { margin-bottom: 32px; }

.lp-group { position: relative; padding: 18px; }
.lp-group__frame { position: absolute; inset: 0; border: 1px solid var(--hairline); border-radius: var(--radius-xl); background: var(--surface); }
.lp-group__bar { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 6px 16px; }
.lp-group__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lp-loc {
    display: grid; grid-template-columns: 1fr auto; gap: 4px 12px;
    padding: 18px; border: 1px solid var(--hairline); border-radius: var(--radius-lg);
    background: var(--surface-2);
}
.lp-loc strong { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.lp-loc__city { color: var(--fg-muted); font-size: 13px; }
.lp-loc__rating { grid-row: span 2; align-self: start; font-size: 26px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lp-loc__rating small { color: #F5A623; font-size: 15px; }
.lp-loc__spark { grid-column: 1 / -1; margin-top: 10px; height: 34px; width: 100%; }
.lp-loc__spark polyline { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.lp-loc__count { grid-column: 1 / -1; color: var(--fg-muted); font-size: 12.5px; }

/* ---------- 8 · Precios ---------- */
.lp-pricing__beta { max-width: 920px; margin: 0 auto 32px; }
.lp-pricing__wrap { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.lp-segmented { display: inline-flex; padding: 4px; margin-bottom: 40px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface); }
.lp-segmented button {
    min-width: 112px; min-height: 40px; padding: 0 18px;
    border: 0; border-radius: 999px; background: transparent; color: var(--fg-muted);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background-color .25s ease, color .25s ease;
}
.lp-segmented button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.lp-pricing__status { min-height: 420px; color: var(--fg-muted); }
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; width: 100%; max-width: 920px; }
.lp-plan {
    position: relative; isolation: isolate;
    display: flex; flex-direction: column;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--hairline); border-radius: var(--radius-xl);
    background: var(--surface);
}
.lp-plan--featured { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.lp-plan--featured::before {
    content: ""; position: absolute; z-index: -1; inset: -40px;
    background: radial-gradient(50% 50% at 50% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
    pointer-events: none;
}
.lp-plan__badge { align-self: flex-start; margin-bottom: 18px; }
.lp-plan h3 { font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.lp-plan__desc { margin-top: 8px; color: var(--fg-muted); font-size: 15px; }
.lp-plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 28px; }
.lp-plan__price strong { font-size: clamp(40px, 4vw, 52px); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.lp-plan__price span { color: var(--fg-muted); font-size: 16px; }
.lp-plan__meta { display: grid; gap: 2px; margin-top: 6px; color: var(--fg-muted); font-size: 13.5px; }
.lp-plan__meta s { color: var(--fg-muted); }
.lp-plan__meta .is-highlight { color: var(--ok); font-weight: 600; }
.lp-plan__features { display: grid; gap: 10px; margin: 28px 0; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 15px; }
.lp-plan__features li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.lp-plan__features li::before {
    content: ""; width: 14px; height: 8px; margin-top: 6px;
    border-left: 2px solid var(--fg-muted); border-bottom: 2px solid var(--fg-muted);
    transform: rotate(-45deg) translate(1px, -1px);
}
.lp-plan__features .is-exclusive { color: var(--accent-text); }
.lp-plan__features .is-exclusive::before { border-color: var(--accent-text); }
.lp-plan__legend { margin: -14px 0 24px; color: var(--fg-muted); font-size: 12.5px; }
.lp-plan .lp-btn { width: 100%; margin-top: auto; }
.lp-pricing__tax, .lp-pricing__more, .lp-pricing__google { margin-top: 20px; color: var(--fg-muted); font-size: 14px; text-align: center; max-width: 64ch; }
.lp-pricing__more { margin-top: 28px; }
.lp-pricing__google { font-size: 13px; }

/* ---------- 9 · CTA final y pie ---------- */
.lp-final { min-height: 90svh; display: grid; align-items: center; padding-block: var(--section-space); text-align: center; }
.lp-final__inner { display: grid; justify-items: center; gap: 48px; }
.lp-final__title { max-width: 18ch; font-size: clamp(44px, 7.4vw, 104px); }
.lp-final__actions { justify-content: center; }

.lp-footer { position: relative; z-index: 1; padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--hairline); }
.lp-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.lp-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.lp-footer__links a { color: var(--fg-muted); font-size: 14px; text-decoration: none; }
.lp-footer__links a:hover { color: var(--fg); }
.lp-footer__copy { width: 100%; color: var(--fg-muted); font-size: 13px; }

/* ---------- Motion blur ligado a la velocidad ---------- */
.lp-is-fast [data-velocity-blur] { filter: blur(var(--vblur, 0px)); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
    .lp-nav__links { display: none; }
    .lp-dash { grid-template-columns: minmax(0, 1fr); }
    .lp-dash > * { grid-column: auto; }
    .lp-metrics__head, .lp-locations__head { grid-template-columns: minmax(0, 1fr); }
    .lp-locations__cta { grid-column: auto; }
    .lp-group__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    :root { --nav-h: 100px; }
    .lp-nav__inner { flex-wrap: wrap; justify-content: space-between; align-content: center; gap: 0 12px; }
    .lp-nav__auth { margin-left: auto; }
    .lp-languages { order: 3; width: 100%; justify-content: center; }
    .lp-languages a { min-width: 44px; }
    /* En móvil la entrada del titular no usa desenfoque (es caro de pintar). */
    .lp-hero__line { animation-name: lp-fade-up; animation-duration: .9s; }
    .lp-brand__mark { width: 120px; height: 10px; }
    .lp-nav__login { display: none; }
    .lp-identity__layout, .lp-device__pin { grid-template-columns: minmax(0, 1fr); }
    .lp-identity__aside { display: contents; }
    .lp-identity__copy { order: 1; }
    .lp-identity__demo { order: 2; padding-top: 0; }
    .lp-identity__controls { order: 3; margin-top: 0; }
    .lp-complaints { min-height: 0; }
    .lp-device__pin { justify-items: center; text-align: center; }
    .lp-device__captions { margin-inline: auto; }
    .lp-device__stage { --phone-w: min(280px, 72vw); }
    .lp-shift { min-height: 120svh; }
    .lp-group { padding: 12px; }
    .lp-group__grid { grid-template-columns: minmax(0, 1fr); }
    .lp-steps__label-wrap { display: none; }
    .lp-step__label { display: none; }
    .lp-badge { margin-left: 0; width: 100%; }
    .lp-badge > span { justify-self: start; }
    .lp-hero-card__float { animation: none; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .lp-hero__line, .lp-hero__eyebrow, .lp-hero__lead, .lp-hero__actions, .lp-hero-card { animation: none; }
    .lp-hero-card__float, .lp-hint__arrow, .lp-typing-dots i, .lp-step[data-live="1"] .lp-step__dot::after { animation: none; }
    .lp-complaint:hover, .lp-complaint[aria-pressed="true"] { transform: none; }
    .lp-case__blur { filter: none; color: transparent; text-shadow: 0 0 8px var(--fg-muted); }
}

/* ---------- Sin JavaScript: se ocultan las demos (necesitan JS) y queda el texto completo ---------- */
html:not(.lp-js) :is(.lp-identity__demo, .lp-reply, .lp-tone, .lp-device__stage, .lp-dash, .lp-tracker, .lp-group, [data-pricing-loading]) { display: none; }
html:not(.lp-js) .lp-device__pin { grid-template-columns: minmax(0, 1fr); }

/* ---------- Móvil, afinado: misma landing, ritmo pensado para el pulgar ----------
   Menos aire vertical (en 390 px los 112 px de sección se leían como pantallas vacías), locales en una tira
   deslizable en vez de seis tarjetas apiladas, enlaces con altura táctil de 44 px y el cierre sin ocupar 90 svh. */
@media (max-width: 767px) {
    :root { --section-space: clamp(72px, 18vw, 96px); }
    .lp-hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 56px; }
    .lp-hero__inner { gap: 40px; }
    .lp-hero__eyebrow { margin-bottom: 20px; }
    .lp-hero__lead { margin-top: 22px; }
    .lp-hero__actions { margin-top: 28px; width: 100%; }
    .lp-hero__actions > * { flex: 1 1 0; min-height: 48px; justify-content: center; }
    .lp-device { padding-block: 56px; }
    .lp-shift { min-height: 100svh; }
    /* Locales: tira horizontal con encaje; se intuye la siguiente tarjeta. */
    .lp-group__grid { display: flex; gap: 10px; margin-inline: -12px; padding: 2px 12px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .lp-group__grid::-webkit-scrollbar { display: none; }
    .lp-group__grid > * { flex: 0 0 78%; scroll-snap-align: start; }
    /* Áreas táctiles cómodas en los enlaces sueltos. */
    .lp-link, .lp-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
    .lp-nav .lp-nav__login { display: none; }
    .lp-footer__links { gap: 0 20px; }
    .lp-final { min-height: 0; padding-block: 96px 88px; }
    .lp-final :is(a, button) { min-height: 48px; }
}
@media (max-width: 380px) {
    .lp-hero__actions { flex-direction: column; }
    .lp-group__grid > * { flex-basis: 86%; }
}
