/* ==========================================================================
   AsesoriaWeb — estilos del sitio público (los paneles usan panel.css)
   Dirección "la frase es el diseño" (skill taste-skill): letra grande, color plano,
   sin degradados, sin sombras en reposo y sin etiquetas chicas en mayúsculas.
   Colores y letras de la marca. Celular primero; cortes en 768 y 992 px.
   ========================================================================== */

:root {
    --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Source Sans 3', 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 24px;
}

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

body {
    margin: 0;
    font: 400 17px/1.6 var(--font-body);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.15;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

figure {
    margin: 0;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid #172a44;
    outline-offset: 3px;
}

.icon {
    width: 1em;
    height: 1em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 8px;
    z-index: 200;
    padding: 8px 16px;
    background: #fff;
    color: #172a44;
    font-weight: 700;
}

.skip-link:focus {
    top: 8px;
}

/* Honeypot: fuera de pantalla (no display:none, algunos bots lo detectan) */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    padding: 14px 16px;
    font-size: 15px;
}

.alert-error {
    background: #fdecea;
    color: #8a1f14;
}

.field_error {
    margin: 6px 0 0;
    color: #a3281c;
    font-size: 14px;
}

.cf-turnstile {
    min-height: 65px;
}

/* Tokens y componentes compartidos
   ========================================================================== */
.site {
    --ink: #172a44;
    --muted: #4b5a70;
    --bg: #f4f5f9;
    --surface: #ffffff;
    --field: #223d61;
    --deep: #111d30;
    --accent: #c0392b;
    --accent-strong: #a93226;
    --wa-green: #0e7a3f;
    --on-dark: #ffffff;
    --on-dark-soft: #c7d0de;

    --m: clamp(16px, 3vw, 40px);
    --gap-section: clamp(96px, 10vw, 152px);

    /* Seis pasos de tamaño: muy grande, grande, título, entrada, texto, nota */
    --fs-xl: clamp(64px, 16vw, 190px);
    --fs-display: clamp(44px, 9vw, 104px);
    --fs-h: clamp(24px, 2.6vw, 36px);
    --fs-lead: clamp(19px, 1.5vw, 22px);
    --fs-body: 17px;
    --fs-small: 14px;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

    background: var(--bg);
    color: var(--ink);
    font-size: var(--fs-body);
}

.site main {
    overflow-x: clip;
}

.site a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: .2em;
    text-decoration-thickness: .07em;
    transition: text-decoration-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .site a:hover {
        color: inherit;
        text-decoration-color: currentColor;
    }
}

.lp p {
    margin: 0;
}

.lp > section,
.lp > article {
    padding: var(--gap-section) var(--m);
}

/* Prioridad baja a propósito (:where): en computadora la reemplazan las grillas de 12 columnas */
.lp > :where(section, article),
.lp-price-row,
.lp-notas,
.lp-hero-foot {
    grid-template-columns: minmax(0, 1fr);
}

.lp > section > *,
.lp-price-row > *,
.lp-notas > * {
    min-width: 0;
}

.lp-display {
    margin: 0;
    color: inherit;
    font: 700 var(--fs-display)/0.95 var(--font-head);
    letter-spacing: -0.04em;
}

.lp-h {
    margin: 0;
    color: inherit;
    font: 700 var(--fs-h)/1.1 var(--font-head);
    letter-spacing: -0.02em;
}

.lp-lead {
    font-size: var(--fs-lead);
    line-height: 1.45;
}

.lp-small {
    font-size: var(--fs-small);
    line-height: 1.5;
}

.lp-optional {
    font-weight: 400;
    color: var(--muted);
}

/* Botones: rectos, un solo color, sin sombra */
.lp-btn {
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 0;
    background: var(--accent);
    color: #fff;
    font: 700 var(--fs-body)/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: transform 140ms var(--ease-out), background-color 180ms ease;
}

.site .lp-btn {
    color: #fff;
    text-decoration: none;
}

.lp-btn:active {
    transform: scale(.97);
}

.lp-btn.is-wa {
    background: var(--wa-green);
}

.lp-btn .icon {
    font-size: 1.2em;
}

@media (hover: hover) and (pointer: fine) {
    .lp-btn:hover {
        background: var(--accent-strong);
    }

    .lp-btn.is-wa:hover {
        background: #0b6534;
    }
}

.lp-btn:focus-visible,
.lp-input:focus-visible,
.lp-tabs button:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

/* Campos: los formularios sí llevan borde */
.lp-input {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #b9c2d0; /* taste-skill-ignore: campo de formulario */
    border-radius: 0;
    background: var(--surface);
    color: var(--ink);
    font: 400 var(--fs-body)/1.4 var(--font-body);
}

textarea.lp-input {
    min-height: 96px;
    resize: vertical;
}

.lp-input[aria-invalid="true"] {
    border-color: var(--accent);
}

/* Inicio: la frase con el dominio adentro
   ========================================================================== */
.lp > .lp-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100svh - 76px);
    padding-top: 32px;
    padding-bottom: 64px;
}

.lp-sentence {
    margin: 0;
    color: var(--ink);
    font: 700 var(--fs-display)/0.95 var(--font-head);
    letter-spacing: -0.04em;
}

.lp-line {
    display: flex;
    align-items: center;
    gap: .22em;
    white-space: nowrap;
}

.lp-mask {
    display: block;
    overflow: hidden;
    padding-bottom: .08em;
    margin-bottom: -.08em;
}

.lp-mask > [data-line] {
    display: block;
}

.lp-slot {
    display: flex;
    flex: 1;
    align-items: center;
    gap: .35em;
    min-width: 0;
    height: calc(var(--fs-display) * .74);
    padding: 0 .5em;
    border-radius: 14px;
    background: var(--surface);
    color: var(--ink);
    font: 600 var(--fs-h)/1 var(--font-body);
    letter-spacing: 0;
}

.lp-slot-text {
    overflow: hidden;
    padding: .12em 0;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-lock {
    flex-shrink: 0;
    width: .9em;
    height: .9em;
    color: var(--wa-green);
}

.lp-hero-foot {
    display: grid;
    gap: 40px;
    margin-top: clamp(40px, 6vw, 88px);
}

.lp-sub {
    max-width: 44ch;
    font-size: var(--fs-lead);
    line-height: 1.45;
}

.lp-label {
    display: block;
    margin-bottom: 8px;
    font-size: var(--fs-small);
    font-weight: 700;
}

.lp-live-row {
    display: grid;
    gap: 8px;
}

.lp-live-out {
    display: grid;
    gap: 4px;
    margin-top: 12px;
    font-size: var(--fs-small);
    color: var(--muted);
}

.lp-live-out strong {
    color: var(--ink);
}

.lp-live-out [data-domain-status].is-ok {
    color: var(--wa-green);
    font-weight: 700;
}

.lp-live-out [data-domain-status].is-taken {
    color: var(--accent);
    font-weight: 700;
}

[data-domain].is-swap {
    animation: lp-swap 320ms var(--ease-out);
}

@keyframes lp-swap {
    from { opacity: .2; transform: translateY(.2em); }
}

/* No es solo un diseño: la frase grande y el navegador con el dominio
   ========================================================================== */
.lp > .lp-show {
    display: grid;
    gap: 48px;
    background: var(--surface);
}

.lp-show-title {
    display: grid;
}

.lp-show-line.is-soft {
    color: var(--muted);
}

.lp-object {
    margin: 0;
}

.lp-browser,
.lp-mail {
    overflow: hidden;
    border-radius: 10px;
    background: var(--bg);
    color: var(--ink);
}

.lp-browser-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #e3e7ef;
}

.lp-dots {
    display: flex;
    gap: 6px;
}

.lp-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b9c2d0;
}

.lp-url {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--surface);
    font-size: var(--fs-small);
    font-weight: 600;
}

.lp-url .lp-lock {
    width: 14px;
    height: 14px;
}

.lp-site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 16px;
    padding: 14px 18px;
    font-size: var(--fs-small);
}

.lp-site-nav span {
    color: var(--muted);
}

.lp-site-hero {
    position: relative;
    aspect-ratio: 16 / 9;
}

.lp-site-photo {
    position: absolute;
    inset: 0;
    background: var(--field) center / cover no-repeat;
}

.lp-site-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 30, .45);
}

.lp-site-title,
.lp-site-btn {
    position: absolute;
    z-index: 1;
    left: 18px;
}

.lp-site-title {
    bottom: 64px;
    right: 18px;
    color: #fff;
    font: 700 var(--fs-h)/1.05 var(--font-head);
}

.lp-site-btn {
    bottom: 18px;
    padding: 8px 14px;
    background: var(--wa-green);
    color: #fff;
    font-size: var(--fs-small);
    font-weight: 700;
}

.lp-mail {
    padding: 8px 0 0;
    background: var(--bg);
}

.lp-mail-row {
    display: flex;
    gap: 12px;
    padding: 10px 20px;
    border-bottom: 1px solid #dfe3ea; /* taste-skill-ignore: filas de un correo real (fragmento de interfaz) */
    font-size: var(--fs-small);
    font-weight: 600;
}

.lp-mail-row span:first-child {
    width: 56px;
    color: var(--muted);
    font-weight: 400;
}

.lp-mail-body {
    display: grid;
    gap: 12px;
    padding: 20px 20px 28px;
    background: var(--surface);
    font-size: var(--fs-body);
    line-height: 1.5;
}

.lp-show-facts {
    display: grid;
    gap: 32px;
}

.lp-includes {
    display: grid;
    gap: 18px;
    margin: 0;
}

.lp-includes > div {
    display: grid;
    grid-template-columns: 7.5em 1fr;
    gap: 16px;
}

.lp-includes dt {
    font-weight: 700;
}

.lp-includes dd {
    margin: 0;
}

/* Precio: una frase con el monto en un bloque de color
   ========================================================================== */
.lp > .lp-price {
    display: grid;
    align-content: center;
    gap: 56px;
    min-height: 80svh;
    background: var(--field);
    color: var(--on-dark);
}

.lp-price-title > span {
    display: block;
}

.lp-price-chip {
    display: inline-block;
    padding: 0 .15em;
    background: var(--accent);
    color: #fff;
}

.lp-price-chip.is-swap {
    animation: lp-swap 320ms var(--ease-out);
}

.lp-price-row {
    display: grid;
    gap: 40px;
}

.lp-price-side {
    display: grid;
    align-content: start;
    gap: 20px;
}

.lp-price-side a {
    text-decoration-color: currentColor;
}

.lp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lp-tabs[hidden] {
    display: none;
}

.lp-tabs button {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font: 700 var(--fs-body)/1 var(--font-body);
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out);
}

.lp-tabs button span {
    margin-left: 6px;
    font-weight: 400;
}

.lp-tabs button:active {
    transform: scale(.97);
}

.lp-tabs button[aria-selected="true"] {
    background: #fff;
    color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
    .lp-tabs button[aria-selected="false"]:hover {
        background: rgba(255, 255, 255, .2);
    }
}

.lp-price-note {
    color: var(--on-dark);
}

.lp-price-side .lp-small {
    color: var(--on-dark-soft);
}

.lp-notas {
    display: grid;
    gap: 24px;
}

.lp-nota {
    display: grid;
    gap: 20px;
    padding: 28px;
    background: var(--surface);
    color: var(--ink);
}

.js .lp-nota[hidden] {
    display: none;
}

.lp-nota-head h3 {
    margin: 0 0 4px;
    color: var(--ink);
    font: 700 var(--fs-h)/1.1 var(--font-head);
}

.lp-nota-head p {
    color: var(--muted);
}

.lp-nota-lines {
    width: 100%;
    border-collapse: collapse;
}

.lp-nota-lines td,
.lp-nota-lines th {
    padding: 9px 0;
    border-bottom: 1px solid #e3e7ef;
    text-align: left;
    vertical-align: top;
}

.lp-nota-lines td:last-child {
    padding-left: 16px;
    color: var(--muted);
    text-align: right;
    white-space: nowrap;
}

.lp-nota-lines tfoot th,
.lp-nota-lines tfoot td {
    padding-top: 16px;
    border-bottom: 0;
    color: var(--ink);
    font-size: var(--fs-lead);
    font-weight: 700;
}

.lp-nota-lines tfoot .is-alt th,
.lp-nota-lines tfoot .is-alt td {
    padding-top: 0;
    color: var(--muted);
    font-size: var(--fs-body);
    font-weight: 400;
}

/* Tu agente: datos al costado, párrafo amplio
   ========================================================================== */
.lp > .lp-agent {
    display: grid;
    gap: 96px;
    background: var(--bg);
}

.lp-agent-row {
    display: grid;
    gap: 32px;
}

.lp-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    font-size: var(--fs-small);
}

.lp-facts dt {
    color: var(--muted);
}

.lp-facts dd {
    margin: 2px 0 0;
    font-weight: 700;
}

.lp-agent-text {
    display: grid;
    gap: 20px;
}

.lp-statement {
    max-width: 52ch;
    font-size: var(--fs-lead);
    line-height: 1.4;
}

.lp-facts-word {
    font-size: var(--fs-small);
    font-weight: 700;
}

.lp-lists {
    display: grid;
    gap: 10px 64px;
}

.lp-lists ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Cómo empezamos: un verbo por pantalla sobre fotos de La Paz y El Alto
   ========================================================================== */
.lp > .lp-steps {
    padding: 0;
}

.lp-step {
    position: relative;
    display: flow-root; /* evita que el margen del verbo se escape del panel */
    min-height: 100svh;
    /* clip y no hidden: hidden convierte al panel en contenedor de desplazamiento y el verbo deja de quedar fijo */
    overflow: clip;
    background: var(--deep);
    color: #fff;
}

.lp-step-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-step::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 30, .5);
}

.lp-step-hold {
    position: sticky;
    z-index: 1;
    top: calc(50svh - .5 * var(--fs-xl));
    margin-top: calc(50svh - .5 * var(--fs-xl));
    text-align: center;
}

.lp-step-verb {
    margin: 0;
    color: #fff;
    /* Cada verbo entra en una línea: los largos ("Recomendamos.") se achican según su cantidad de letras */
    font: 700 min(var(--fs-xl), calc(1.7 * (100vw - 2 * var(--m)) / var(--len, 10)))/1 var(--font-head);
    letter-spacing: -0.05em;
    white-space: nowrap;
}

.lp-step-hold {
    padding: 0 var(--m) 56px;
}

.lp .lp-step-text {
    max-width: 34ch;
    margin: 20px auto 0;
    color: #fff;
    font-size: var(--fs-lead);
    line-height: 1.4;
}

/* Preguntas: todas abiertas, la pregunta grande y la respuesta al lado
   ========================================================================== */
.lp > .lp-faq {
    display: grid;
    gap: clamp(56px, 6vw, 84px);
    background: var(--surface);
}

.lp-faq-row {
    display: grid;
    gap: 12px;
}

.lp-q {
    margin: 0;
    color: var(--ink);
    font: 600 var(--fs-h)/1.1 var(--font-head);
    letter-spacing: -0.02em;
}

.lp-q.is-soft {
    color: var(--muted);
}

.lp-a {
    max-width: 52ch;
    line-height: 1.55;
}

/* Cierre: la pregunta en los dos bordes
   ========================================================================== */
.lp > .lp-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding-top: 32px;
    padding-bottom: 24px;
    background: var(--ink);
    color: #fff;
    text-align: center;
}

.lp-cta-q {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.lp-cta-mid {
    position: absolute;
    top: 50%;
    left: var(--m);
    right: var(--m);
    display: grid;
    justify-items: center;
    gap: 16px;
    transform: translateY(-50%);
}

.lp-cta-btns {
    display: grid;
    justify-items: center;
    gap: 12px;
    width: min(100%, 320px);
}

.lp-cta-btns .lp-btn {
    width: 100%;
}

.lp-or,
.lp-cta .lp-small {
    color: var(--on-dark-soft);
    font-size: var(--fs-body);
}

/* Formulario
   ========================================================================== */
.lp > .lp-contact {
    display: grid;
    gap: 40px;
    background: var(--bg);
}

.lp-contact-text {
    display: grid;
    align-content: start;
    gap: 16px;
}

.lp-form {
    display: grid;
    gap: 16px;
}

.lp-field label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--fs-small);
    font-weight: 700;
}

.lp-form .lp-btn {
    width: 100%;
}

.lp-form .alert {
    margin: 0;
}

.lp-done {
    display: grid;
    gap: 16px;
    justify-items: start;
}

/* Barra fija: solo en el celular, y escondida mientras pasan los pasos */
.js .lp-sticky.is-muted {
    opacity: 0;
    transform: translateY(120%);
    pointer-events: none;
}

.lp-sticky .sticky_cta_btns .lp-btn {
    min-height: 48px;
    padding: 0 16px;
    font-size: var(--fs-small);
}


/* Celular angosto: la frase pone el dominio en su propia línea
   ========================================================================== */
@media (max-width: 767px) {
    .lp-sentence,
    .lp-display {
        font-size: clamp(36px, 10.5vw, 72px);
    }

    .lp-line:first-child {
        flex-wrap: wrap;
        row-gap: .12em;
    }

    .lp-slot {
        flex: 1 0 100%;
        height: 60px;
        border-radius: 12px;
        font-size: 20px;
    }

    /* Una sola línea también para el verbo más largo ("Configuramos.") */
    .lp-step-verb {
        font-size: min(12.5vw, calc(160vw / var(--len, 10)));
    }

    .lp-step-hold {
        top: calc(50svh - 6.25vw);
        margin-top: calc(50svh - 6.25vw);
    }
}

/* ≥ 768px
   ========================================================================== */
@media (min-width: 768px) {
    .lp-price-row,
    .lp-contact,
    .lp-faq-row {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: 24px;
    }

    .lp-live-row {
        grid-template-columns: 1fr auto;
    }

    .lp > .lp-show {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 64px;
        align-items: start;
    }

    .lp-show-title {
        grid-column: 1 / 7;
        grid-row: 1;
    }

    .lp-object {
        grid-column: 7 / 13;
        grid-row: 1 / 3;
        transform: rotate(2.5deg);
    }

    .lp-show-facts {
        grid-column: 1 / 7;
        grid-row: 2;
    }

    .lp-price-side {
        grid-column: 1 / 6;
    }

    .lp-notas {
        grid-column: 7 / 13;
    }

    .lp-agent-row {
        grid-template-columns: minmax(0, 34%) minmax(0, 56%);
        column-gap: 0;
    }

    .lp-facts {
        grid-template-columns: 1fr;
        max-width: 220px;
    }

    .lp-lists {
        grid-template-columns: repeat(2, minmax(0, 260px));
    }

    .lp-q {
        grid-column: 1 / 7;
    }

    .lp-a {
        grid-column: 8 / 13;
    }

    .lp-contact-text {
        grid-column: 1 / 6;
    }

    .lp-form-wrap {
        grid-column: 7 / 13;
    }


}

@media (min-width: 768px) {
    /* En tablet y computadora los botones ya están a la vista: la barra fija solo tapaba títulos */
    .lp-sticky {
        display: none;
    }

}

@media (min-width: 992px) {
    .lp-hero-foot {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: 24px;
    }

    .lp-sub {
        grid-column: 1 / 6;
    }

    .lp-live {
        grid-column: 7 / 13;
    }


    .lp-cta-btns {
        grid-template-columns: auto auto auto;
        align-items: center;
        gap: 24px;
        width: auto;
    }
}

/* Movimiento: solo si el sistema no pide reducirlo (el estado reducido es la página terminada)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    /* Llegada en 1,2 s: las dos líneas suben desde su máscara, el dominio se abre, el resto aparece */
    .js .lp-hero [data-line] {
        transform: translateY(105%);
        animation: lp-line 900ms var(--ease-expo) forwards;
        animation-delay: calc(120ms + var(--i) * 100ms);
    }

    .js .lp-hero [data-open] {
        clip-path: inset(0 100% 0 0 round 14px);
        animation: lp-open 1000ms var(--ease-in-out) 200ms forwards;
    }

    .js .lp-hero [data-load] {
        opacity: 0;
        transform: translateY(14px);
        animation: lp-rise 600ms var(--ease-out) forwards;
        animation-delay: var(--d);
    }

    /* Entradas al bajar: una vez, en orden de lectura */
    .js .lp [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo);
        transition-delay: calc(var(--i, 0) * 80ms);
    }

    .js .lp [data-reveal].is-in {
        opacity: 1;
        transform: none;
    }

    /* Campos de formulario: solo suben, siempre visibles */
    .js .lp [data-rise] {
        transform: translateY(18px);
        transition: transform 800ms var(--ease-expo);
        transition-delay: calc(var(--i, 0) * 60ms);
    }

    .js .lp [data-rise].is-in {
        transform: none;
    }

    /* Movimiento firma: la ventana con tu dominio se abre como una cortina */
    .js .lp-object.shutter > * {
        clip-path: inset(0 0 100% 0);
        transition: clip-path 1100ms var(--ease-in-out);
    }

    .js .lp-object.shutter .lp-site-photo {
        transform: scale(1.12);
        transition: transform 1500ms var(--ease-soft);
    }

    .js .lp-object.shutter.is-in > * {
        clip-path: inset(0);
    }

    .js .lp-object.shutter.is-in .lp-site-photo {
        transform: none;
    }

    /* Las fotos del blog y del encabezado de las páginas interiores se abren igual */
    .js .lp-post-img.shutter,
    .js .lp-article-img.shutter {
        display: block;
        overflow: hidden;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 1100ms var(--ease-in-out);
    }

    .js .lp-post-img.shutter img,
    .js .lp-article-img.shutter img {
        transform: scale(1.12);
        transition: transform 1500ms var(--ease-soft);
    }

    .js .lp-post-img.shutter.is-in,
    .js .lp-article-img.shutter.is-in {
        clip-path: inset(0);
    }

    .js .lp-post-img.shutter.is-in img,
    .js .lp-article-img.shutter.is-in img {
        transform: none;
    }

    .js .lp-intro-photo.shutter {
        clip-path: inset(0 0 100% 0);
        transition: clip-path 1100ms var(--ease-in-out);
    }

    .js .lp-intro-photo.shutter img {
        transform: scale(1.12);
        transition: transform 1500ms var(--ease-soft);
    }

    .js .lp-intro-photo.shutter.is-in {
        clip-path: inset(0);
    }

    .js .lp-intro-photo.shutter.is-in img {
        transform: none;
    }

    /* La foto de cada paso se acerca despacio mientras pasa (solo donde el navegador lo soporta) */
    @supports (animation-timeline: view()) {
        .lp-step-img {
            animation: lp-drift linear both;
            animation-timeline: view();
        }
    }
}

@keyframes lp-line {
    to { transform: none; }
}

@keyframes lp-open {
    to { clip-path: inset(0 0 0 0 round 14px); }
}

@keyframes lp-rise {
    to { opacity: 1; transform: none; }
}

@keyframes lp-drift {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}

/* ==========================================================================
   Componentes del sitio completo
   ========================================================================== */

/* Cabecera: el nombre, cinco enlaces, el área de clientes y una acción
   ========================================================================== */
.s-top {
    position: relative;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    padding: 18px var(--m);
    background: var(--bg);
}

.s-wordmark {
    font: 700 var(--fs-lead)/1 var(--font-head);
    letter-spacing: -0.02em;
}

.site .s-wordmark {
    color: var(--ink);
    text-decoration: none;
}

.s-menu-btn {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    background: var(--ink);
    color: #fff;
    font: 700 var(--fs-small)/1 var(--font-body);
    cursor: pointer;
}

.s-nav {
    display: none;
    flex-basis: 100%;
    padding: 8px 0 16px;
}

.s-nav.is-open,
html:not(.js) .s-nav {
    display: grid;
    gap: 20px;
}

.s-nav ul {
    display: grid;
    gap: 4px;
}

.s-nav ul a {
    display: block;
    padding: 6px 0;
    font: 700 var(--fs-h)/1.2 var(--font-head);
    letter-spacing: -0.02em;
}

.site .s-nav a[aria-current="page"] {
    color: var(--accent);
}

.s-nav-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.s-nav-client {
    font-weight: 600;
}

.s-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 20px;
    background: var(--accent);
    font-weight: 700;
    transition: transform 140ms var(--ease-out), background-color 180ms ease;
}

.site .s-btn {
    color: #fff;
    text-decoration: none;
}

.s-btn:active {
    transform: scale(.97);
}

@media (hover: hover) and (pointer: fine) {
    .s-btn:hover {
        background: var(--accent-strong);
    }
}

/* Pie: el nombre vuelve a todo el ancho
   ========================================================================== */
.s-footer {
    display: grid;
    gap: 40px;
    padding: 64px var(--m) calc(40px + env(safe-area-inset-bottom));
    overflow: hidden;
    background: var(--deep);
    color: var(--on-dark-soft);
    font-size: var(--fs-small);
}

.s-footer a {
    color: #fff;
}

.s-footer-brand {
    display: grid;
    gap: 20px;
}

/* El nombre vuelve a todo el ancho, en dos líneas; su tamaño depende de la línea más larga (--len) */
.s-footer-name {
    margin: 0;
    color: #fff;
    font: 700 min(var(--fs-xl), calc(1.75 * (100vw - 2 * var(--m)) / var(--len, 10)))/.9 var(--font-head);
    letter-spacing: -0.05em;
    white-space: nowrap;
}

.s-footer-slogan {
    margin: 0;
    color: #fff;
    font: 600 var(--fs-lead)/1.3 var(--font-head);
}

.s-footer-cols {
    display: grid;
    gap: 32px;
}

.s-footer-title {
    margin-bottom: 12px;
    color: #fff;
    font: 700 var(--fs-body)/1.2 var(--font-head);
}

.s-footer-cols ul {
    display: grid;
    gap: 8px;
}

.s-social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0 0;
}

.s-footer-legal {
    display: grid;
    gap: 8px;
}

.s-footer-legal p {
    margin: 0;
}

/* Las páginas con barra fija dejan espacio abajo en el celular */
.site:has(.lp-sticky) .s-footer {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

/* WhatsApp flotante (no va en los productos, que tienen su barra) */
.s-wa {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 90;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    background: var(--wa-green);
    color: #fff;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(10, 18, 30, .25);
    transition: transform 140ms var(--ease-out);
}

.s-wa:active {
    transform: scale(.94);
}

/* Barra fija del celular (productos)
   ========================================================================== */
.sticky_cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 95;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -4px 20px rgba(23, 42, 68, .18);
    transition: transform .35s var(--ease-out), opacity .35s;
}

.js .sticky_cta:not(.is-visible) {
    opacity: 0;
    transform: translateY(120%);
    pointer-events: none;
}

.sticky_cta_inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sticky_cta_text {
    display: none;
}

.sticky_cta_btns {
    display: flex;
    flex: 1;
    gap: 8px;
}

.sticky_cta_btns .lp-btn:first-child {
    flex: 1;
}

/* Encabezado de las páginas interiores
   ========================================================================== */
.lp > .lp-intro {
    display: grid;
    gap: 28px;
    padding-top: clamp(48px, 8vw, 120px);
    padding-bottom: clamp(48px, 6vw, 96px);
}

.lp-intro-lead {
    max-width: 48ch;
}

.lp-title {
    margin: 0;
    max-width: 34ch;
    color: var(--ink);
    font: 700 var(--fs-h)/1.1 var(--font-head);
    letter-spacing: -0.02em;
}

.lp-intro.is-small .lp-title {
    font-size: var(--fs-h);
}

.lp-intro-photo {
    margin-top: 16px;
    overflow: hidden;
}

.lp-intro-photo img {
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 62svh;
    object-fit: cover;
}

.lp > .lp-intro + section,
.lp > .lp-intro + article {
    padding-top: clamp(32px, 4vw, 64px);
}

/* Otros servicios: foto y lista al lado del texto */
.lp-service-side {
    display: grid;
    gap: 28px;
}

.lp-service-photo {
    overflow: hidden;
}

.lp-service-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Inicio: los tres productos en letra grande
   ========================================================================== */
.lp > .lp-index {
    display: grid;
    gap: 32px;
    background: var(--surface);
}

.lp-index-title {
    color: var(--muted);
}

.lp-index-list {
    display: grid;
    gap: clamp(24px, 4vw, 48px);
}

.site .lp-index-list a {
    display: grid;
    gap: 8px 32px;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
}

.lp-index-name {
    font: 700 var(--fs-display)/0.95 var(--font-head);
    letter-spacing: -0.04em;
    transition: color 180ms ease;
}

.lp-index-text {
    max-width: 40ch;
    font-size: var(--fs-lead);
    line-height: 1.4;
}

.lp-index-go {
    display: none;
    font-size: var(--fs-h);
    transition: transform 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .lp-index-list a:hover .lp-index-name {
        color: var(--accent);
    }

    .lp-index-list a:hover .lp-index-go {
        transform: translateX(8px);
    }
}

.lp-index-more {
    max-width: 60ch;
}

.lp-index-more a {
    text-decoration-color: currentColor;
}

/* Detalle: texto a la izquierda, lista a la derecha
   ========================================================================== */
.lp > .lp-details,
.lp > .lp-service {
    display: grid;
    gap: 40px;
    background: var(--surface);
}

.lp > .lp-service:nth-of-type(odd) {
    background: var(--bg);
}

.lp-details-text,
.lp-service-text {
    display: grid;
    align-content: start;
    gap: 16px;
    max-width: 60ch;
}

.lp-details-text a {
    text-decoration-color: currentColor;
}

.lp-detail-list {
    display: grid;
    gap: 20px;
}

.lp-detail-list li {
    display: grid;
    gap: 2px;
}

.lp-detail-list strong {
    font: 700 var(--fs-lead)/1.25 var(--font-head);
}

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 8px;
}

.site .lp-link {
    font-weight: 700;
    text-decoration-color: currentColor;
}

/* Lo de siempre / con tu agente (Nosotros)
   ========================================================================== */
.lp > .lp-versus {
    display: grid;
    gap: 40px;
    background: var(--surface);
}

.lp-versus-cols {
    display: grid;
    gap: 40px;
}

.lp-versus-title {
    margin-bottom: 16px;
    font: 700 var(--fs-h)/1.1 var(--font-head);
}

.lp-versus-title.is-soft {
    color: var(--muted);
}

.lp-versus-cols ul {
    display: grid;
    gap: 12px;
    font-size: var(--fs-lead);
}

/* Blog
   ========================================================================== */
.lp > .lp-posts {
    display: grid;
    gap: 56px;
    padding-top: 0;
}

.lp-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.site .lp-cats a {
    padding: 10px 16px;
    background: var(--surface);
    font-weight: 600;
    text-decoration: none;
}

.site .lp-cats a[aria-current="page"] {
    background: var(--ink);
    color: #fff;
}

.lp-post-row {
    display: grid;
    gap: 20px;
}

.lp-post-img img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.lp-post-title {
    margin: 6px 0 10px;
    font: 700 var(--fs-lead)/1.3 var(--font-head);
}

.lp-post-title a {
    text-decoration-color: currentColor;
}

.lp-post-row p {
    max-width: 60ch;
}

.lp-post-row .lp-small {
    color: var(--muted);
}

.lp > .lp-blog-list {
    display: grid;
    gap: 32px;
    background: var(--bg);
}

.lp-blog-list ul {
    display: grid;
    gap: 28px;
}

.lp-blog-list li {
    display: grid;
    gap: 6px;
    max-width: 70ch;
}

.site .lp-blog-list li a {
    font: 700 var(--fs-lead)/1.3 var(--font-head);
    text-decoration-color: currentColor;
}

/* Artículo y textos largos
   ========================================================================== */
.lp > .lp-article {
    display: grid;
    gap: 40px;
    justify-items: start;
    padding-top: clamp(48px, 8vw, 120px);
}

.lp-article-head {
    display: grid;
    gap: 16px;
}

.lp-article-head .lp-small {
    color: var(--muted);
}

.lp-article-img {
    width: 100%;
}

.lp-article-img img {
    width: 100%;
    max-height: 70svh;
    object-fit: cover;
}

.lp-prose {
    max-width: 68ch;
    font-size: var(--fs-body);
    line-height: 1.65;
}

.lp-prose > * + * {
    margin-top: 1em;
}

.lp-prose h2 {
    margin-top: 1.8em;
    font: 700 var(--fs-h)/1.15 var(--font-head);
    letter-spacing: -0.02em;
}

.lp-prose ul,
.lp-prose ol {
    padding-left: 1.2em;
    list-style: disc;
}

.lp-prose li + li {
    margin-top: .4em;
}

.lp-prose a {
    text-decoration-color: currentColor;
}

.lp-prose .note {
    color: var(--muted);
    font-size: var(--fs-small);
}

/* Formularios con opciones (contratación)
   ========================================================================== */
.lp-field-row {
    display: grid;
    gap: 16px;
}

.lp-choices {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.lp-choices legend {
    margin-bottom: 8px;
    padding: 0;
    font-size: var(--fs-small);
    font-weight: 700;
}

.lp-choice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    background: var(--surface);
    cursor: pointer;
    transition: background-color 180ms ease;
}

.lp-choice input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--ink);
}

.lp-choice strong {
    display: block;
}

.lp-choice:has(input:checked) {
    background: #e3e8f1;
}

.lp-check {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.lp-check input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--ink);
}

.lp-check label {
    flex: 1;
}

.lp-check .field_error {
    flex-basis: 100%;
}

.lp-check a {
    text-decoration-color: currentColor;
}

.lp-input-action {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.lp-input-suffix {
    display: flex;
    align-items: stretch;
}

.lp-input-suffix span {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #e3e7ef;
    font-weight: 600;
}

.lp-btn.is-quiet {
    background: var(--ink);
}

[data-domain-result].is-available {
    color: var(--wa-green);
    font-weight: 700;
}

[data-domain-result].is-taken,
[data-domain-result].is-invalid {
    color: var(--accent);
    font-weight: 700;
}

.lp-nota-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: var(--accent);
    color: #fff;
    font: 700 var(--fs-small)/1.4 var(--font-body);
    vertical-align: middle;
}

/* Contratar o consultar (pestañas del formulario de los productos) */
.lp-form-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.lp-form-tabs button {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    background: var(--surface);
    color: var(--ink);
    font: 700 var(--fs-body)/1 var(--font-body);
    cursor: pointer;
    transition: background-color 180ms ease, transform 140ms var(--ease-out);
}

.lp-form-tabs button:active {
    transform: scale(.97);
}

.lp-form-tabs button[aria-selected="true"] {
    background: var(--ink);
    color: #fff;
}

.js .lp-nojs-only {
    display: none;
}

[data-form-panel="consulta"] .lp-nojs-only {
    margin: 48px 0 16px;
}

.lp-facts.is-wide {
    grid-template-columns: 1fr;
    max-width: none;
    margin-top: 8px;
    font-size: var(--fs-body);
}

.lp-faq-more a {
    font-weight: 700;
    text-decoration-color: currentColor;
}

.lp-order .lp-nota {
    background: var(--surface);
}

/* ≥ 768px
   ========================================================================== */
@media (min-width: 768px) {
    .s-footer-cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .s-footer-legal {
        grid-template-columns: 1fr 2fr;
        column-gap: 40px;
    }

    .site .lp-index-list a {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
    }

    .lp-index-go {
        display: block;
    }

    .lp > .lp-details,
    .lp > .lp-service {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: 24px;
    }

    .lp-details-text,
    .lp-service-text {
        grid-column: 1 / 7;
    }

    .lp-details > .lp-detail-list,
    .lp-service-side {
        grid-column: 8 / 13;
    }

    .lp-versus-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 64px;
    }

    .lp-post-row {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: 40px;
        align-items: center;
    }

    .lp-field-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-agent-row .lp-facts.is-wide {
        max-width: none;
    }
}

/* ≥ 1100px (computadoras y laptops): espacio a los costados. Todo usa var(--m) como margen,
   así que el contenido, la cabecera y el pie quedan en una columna central de 1120 px */
@media (min-width: 1100px) {
    .site {
        --m: max(40px, calc((100vw - 1120px) / 2));
    }
}

/* ≥ 992px: el menú se ve entero */
@media (min-width: 992px) {
    .lp > .lp-intro {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: 24px;
        align-items: end;
    }

    .lp-intro > h1 {
        grid-column: 1 / 8;
    }

    .lp-intro-lead {
        grid-column: 8 / 13;
    }

    .lp-intro-photo {
        grid-column: 1 / 13;
    }

    .s-top {
        flex-wrap: nowrap;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .s-menu-btn {
        display: none;
    }

    .s-nav,
    .s-nav.is-open {
        display: flex;
        flex: 1;
        flex-basis: auto;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
        padding: 0;
    }

    .s-nav ul {
        display: flex;
        gap: 28px;
    }

    .s-nav ul a {
        padding: 0;
        font: 600 var(--fs-body)/1 var(--font-body);
        letter-spacing: 0;
    }

    .s-wa {
        right: 24px;
        bottom: 24px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .js .s-nav.is-open {
        animation: lp-rise 240ms var(--ease-out);
    }
}

@media (max-width: 991px) and (prefers-reduced-motion: no-preference) {
    .js .s-nav.is-open ul li {
        animation: lp-rise 300ms var(--ease-out) both;
    }
}

/* Blog: artículos sin imagen, crédito de la foto y más formatos de texto (editados desde el panel)
   ========================================================================== */
.lp-post-row.no-img {
    grid-template-columns: minmax(0, 1fr);
}

.lp-article-img figcaption {
    margin-top: 8px;
    color: var(--muted);
}

.lp-prose h3 {
    margin-top: 1.5em;
    font: 700 calc(var(--fs-body) * 1.2)/1.25 var(--font-head);
}

.lp-prose ol {
    list-style: decimal;
}

.lp-prose blockquote {
    padding-left: 1em;
    border-left: 3px solid var(--accent);
    color: var(--muted);
}

.lp-prose code {
    padding: .1em .35em;
    border-radius: 4px;
    background: rgba(0, 0, 0, .06);
    font-size: .92em;
}

.lp-prose pre {
    overflow-x: auto;
    padding: 1em;
    border-radius: 6px;
    background: rgba(0, 0, 0, .06);
}

.lp-prose pre code {
    padding: 0;
    background: none;
}

.lp-prose-table {
    overflow-x: auto;
}

.lp-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95em;
}

.lp-prose th,
.lp-prose td {
    padding: .55em .7em;
    border-bottom: 1px solid var(--line, rgba(0, 0, 0, .12));
    text-align: left;
    vertical-align: top;
}

.lp-prose th {
    font-weight: 700;
}

/* Vista previa de un artículo desde el panel */
.lp-preview-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 10px 16px;
    background: #172a44;
    color: #fff;
    font-size: var(--fs-small);
    text-align: center;
}

.lp-preview-bar a {
    color: #fff;
}
