/* Kinetix OS — landing pública de conversión. Se carga después de kinetix-surface.css. */
:root {
    --kx-l-max: 74rem;
    --kx-l-dim: #c2ccd4;
    --kx-l-teal-soft: rgba(20, 184, 166, 0.12);
    --kx-l-teal-line: rgba(20, 184, 166, 0.45);
    --kx-l-card: rgba(18, 24, 28, 0.92);
    --kx-l-card-2: rgba(26, 34, 40, 0.88);
    --kx-l-shadow: 0 18px 40px rgba(2, 6, 8, 0.45);
}

html {
    scroll-behavior: smooth;
}

body.kx-l-body {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---------- estructura ---------- */

.kx-l-wrap {
    width: min(var(--kx-l-max), 100%);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.25rem);
}

.kx-l-section {
    position: relative;
    z-index: 1;
    padding-block: clamp(2.75rem, 7vw, 5rem);
    scroll-margin-top: 7rem;
}

@media (max-width: 61.99rem) {
    .kx-l-section {
        scroll-margin-top: 8.5rem;
    }
}

.kx-l-section--tint {
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.06), rgba(7, 10, 12, 0));
    border-block: 1px solid rgba(42, 52, 60, 0.7);
}

.kx-l-section + .kx-l-section {
    border-top: 1px solid rgba(42, 52, 60, 0.55);
}

/* Evita doble raya cuando la tint ya aporta border-block. */
.kx-l-section + .kx-l-section.kx-l-section--tint,
.kx-l-section--tint + .kx-l-section {
    border-top: none;
}

.kx-l-head {
    max-width: 46rem;
}

.kx-l-head--wide {
    max-width: 58rem;
}

/* ---------- tipografía ---------- */

.kx-l-eyebrow {
    margin: 0 0 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--kx-teal);
}

.kx-l-brandmark {
    margin: 0 0 0.55rem;
    font-family: var(--kx-font-display);
    font-weight: 700;
    font-size: clamp(1.55rem, 3.8vw, 2rem);
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--kx-text);
}

.kx-l-brandmark span {
    color: var(--kx-teal);
}

.kx-l-hero .kx-l-eyebrow {
    margin-bottom: 0.85rem;
}

.kx-l-h1 {
    font-family: var(--kx-font-display);
    font-weight: 700;
    font-size: clamp(2rem, 6.2vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    text-wrap: balance;
}

.kx-l-h2 {
    font-family: var(--kx-font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin: 0 0 0.9rem;
    text-wrap: balance;
}

.kx-l-h3 {
    font-family: var(--kx-font-display);
    font-weight: 600;
    font-size: clamp(1.1rem, 2.6vw, 1.3rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
}

.kx-l-lead {
    margin: 0 0 1.25rem;
    font-size: clamp(1.02rem, 2.4vw, 1.18rem);
    line-height: 1.6;
    color: var(--kx-l-dim);
}

.kx-l-text {
    margin: 0 0 1rem;
    color: var(--kx-l-dim);
    line-height: 1.65;
}

.kx-l-text:last-child {
    margin-bottom: 0;
}

.kx-l-fine {
    margin: 0.9rem 0 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--kx-muted);
}

.kx-l-strong {
    color: var(--kx-text);
    font-weight: 700;
}

.kx-l-link {
    color: var(--kx-teal);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 0.22em;
    text-decoration-thickness: 1px;
}

.kx-l-link:hover {
    color: #5eead4;
}

/* ---------- accesibilidad ---------- */

.kx-l-skip {
    position: absolute;
    left: 0.75rem;
    top: 0.5rem;
    z-index: 60;
    padding: 0.7rem 1rem;
    border-radius: 0.75rem;
    background: var(--kx-teal);
    color: #042f2e;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.15s ease;
}

.kx-l-skip:focus-visible {
    transform: translateY(0);
}

a:focus-visible,
summary:focus-visible {
    outline: 2px solid #5eead4;
    outline-offset: 3px;
    border-radius: 0.5rem;
}

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

.kx-l-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-family: var(--kx-font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    text-align: center;
    transition: filter 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.kx-l-btn--primary {
    background: linear-gradient(180deg, #2dd4bf 0%, var(--kx-teal) 58%, var(--kx-teal-deep) 100%);
    color: #042f2e;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
}

.kx-l-btn--primary:hover {
    filter: brightness(1.06);
}

.kx-l-btn--ghost {
    border: 1px solid var(--kx-border-strong);
    background: rgba(26, 34, 40, 0.6);
    color: var(--kx-text);
}

.kx-l-btn--ghost:hover {
    border-color: var(--kx-teal);
}

.kx-l-btn--sm {
    min-height: 44px;
    padding: 0.6rem 1rem;
    font-size: 0.92rem;
}

.kx-l-btn--block {
    width: 100%;
}

.kx-l-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.35rem 0 0.9rem;
}

/* ---------- nav ---------- */

.kx-l-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(7, 10, 12, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--kx-border);
    box-shadow: 0 0 0 rgba(2, 6, 8, 0);
    transition:
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        backdrop-filter 0.28s ease;
}

.kx-l-nav.is-scrolled {
    background: rgba(7, 10, 12, 0.96);
    border-bottom-color: rgba(20, 184, 166, 0.22);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 28px rgba(2, 6, 8, 0.38);
}

.kx-l-nav__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.1rem;
    padding-block: 0.7rem;
}

.kx-l-nav__brand {
    font-family: var(--kx-font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    color: var(--kx-text);
    text-decoration: none;
    margin-right: auto;
}

.kx-l-nav__brand span {
    color: var(--kx-teal);
}

.kx-l-nav__links {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.95rem;
    width: 100%;
    padding-top: 0.15rem;
    border-top: 1px solid rgba(42, 52, 60, 0.7);
}

.kx-l-nav__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--kx-l-dim);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.kx-l-nav__links a:hover {
    color: var(--kx-text);
}

.kx-l-nav__links .kx-l-nav__enter {
    min-height: 40px;
    margin-left: auto;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--kx-border-strong);
    border-radius: 999px;
    color: var(--kx-text);
    font-weight: 700;
}

.kx-l-nav__links .kx-l-nav__enter:hover {
    border-color: var(--kx-teal);
    color: var(--kx-text);
}

@media (min-width: 62rem) {
    .kx-l-nav__inner {
        flex-wrap: nowrap;
        padding-block: 0.85rem;
    }

    .kx-l-nav__brand {
        margin-right: 1.5rem;
        font-size: 1.3rem;
    }

    .kx-l-nav__links {
        order: 1;
        width: auto;
        margin-right: auto;
        padding-top: 0;
        border-top: 0;
    }

    .kx-l-nav__links .kx-l-nav__enter {
        margin-left: 0.4rem;
    }

    .kx-l-nav .kx-l-btn {
        order: 2;
    }

    .kx-l-section {
        scroll-margin-top: 5.25rem;
    }
}

/* ---------- hero ---------- */

.kx-l-hero {
    padding-top: clamp(2rem, 6vw, 3.5rem);
}

.kx-l-hero__grid {
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.75rem);
}

.kx-l-callout {
    display: block;
    margin: 1.1rem 0;
    padding: 0.8rem 1rem;
    border: 1px solid var(--kx-l-teal-line);
    border-radius: 0.9rem;
    background: var(--kx-l-teal-soft);
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--kx-text);
}

.kx-l-mt {
    margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.kx-l-proofbar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0;
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--kx-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.kx-l-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0;
    margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
    padding: 0.85rem 0 0;
    list-style: none;
    border-top: 1px solid rgba(42, 52, 60, 0.65);
    color: var(--kx-l-dim);
    font-size: 0.9rem;
    line-height: 1.5;
}

.kx-l-proofbar li,
.kx-l-chips li {
    display: inline;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
}

.kx-l-proofbar li:not(:last-child)::after,
.kx-l-chips li:not(:last-child)::after {
    content: "·";
    margin: 0 0.55rem;
    color: rgba(154, 168, 178, 0.7);
    font-weight: 600;
}

.kx-l-problema {
    margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.kx-l-section--tint .kx-l-lead,
.kx-l-section--tint .kx-l-text {
    color: #d4dee6;
}

@media (max-width: 45rem) {
    .kx-l-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .kx-l-actions .kx-l-btn {
        width: 100%;
    }
}

@media (min-width: 64rem) {
    .kx-l-hero__grid {
        grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
        align-items: center;
    }
}

/* ---------- capturas ---------- */

.kx-l-shot {
    margin: 0;
}

.kx-l-shot picture,
.kx-l-shot img {
    display: block;
}

.kx-l-shot img {
    width: 100%;
    height: auto;
    border: 1px solid var(--kx-border-strong);
    border-radius: var(--kx-radius);
    background: #0a0f12;
    box-shadow: var(--kx-l-shadow);
}

.kx-l-shot--hero img {
    border-color: rgba(61, 74, 84, 0.85);
    border-radius: 0.65rem;
    box-shadow: 0 18px 48px rgba(2, 6, 8, 0.45);
}

.kx-l-shot--phone {
    width: min(17rem, 100%);
    margin-inline: auto;
}

.kx-l-shot__frame {
    display: grid;
    place-items: center;
    width: 100%;
    padding: 1.25rem;
    border: 1px dashed var(--kx-l-teal-line);
    border-radius: var(--kx-radius);
    background: repeating-linear-gradient(135deg, rgba(20, 184, 166, 0.07) 0 12px, rgba(7, 10, 12, 0) 12px 24px);
    color: var(--kx-l-dim);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.kx-l-shot figcaption {
    margin-top: 0.85rem;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--kx-l-dim);
}

.kx-l-shot figcaption b {
    color: var(--kx-teal);
    font-weight: 700;
}

/* ---------- escenas 3D al scroll (perspective + preserve-3d) ---------- */

.kx-l-section--depth {
    overflow: clip;
}

.kx-l-section__glow {
    position: absolute;
    inset: -12% -8% auto;
    height: min(52vh, 28rem);
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(20, 184, 166, 0.16), transparent 72%),
        radial-gradient(ellipse 45% 40% at 82% 18%, rgba(94, 234, 212, 0.08), transparent 70%);
    opacity: 0.85;
    will-change: transform;
}

.kx-l-section--depth > .kx-l-wrap {
    position: relative;
    z-index: 1;
}

.kx-l-stage {
    position: relative;
    perspective: 1400px;
    perspective-origin: 50% 18%;
    transform-style: preserve-3d;
}

.kx-l-stage--hero {
    margin-top: 0.15rem;
}

.kx-l-stage--shot {
    min-height: 0;
}

.kx-l-stage__glow {
    position: absolute;
    inset: 8% 6% auto;
    height: 42%;
    pointer-events: none;
    z-index: 0;
    border-radius: 999px;
    background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(20, 184, 166, 0.22), transparent 72%);
    filter: blur(18px);
    opacity: 0.55;
    will-change: transform;
}

.kx-l-stage__card {
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    transform-origin: 50% 85%;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.kx-l-stage__card .kx-l-shot {
    margin: 0;
}

.kx-l-stage__card .kx-l-shot img,
.kx-l-stage__card .kx-l-shot__frame {
    box-shadow:
        0 28px 64px rgba(2, 6, 8, 0.58),
        0 0 0 1px rgba(20, 184, 166, 0.12);
}

.kx-l-grid--shots {
    perspective: 1600px;
}

.kx-l-card--tilt {
    transform-style: preserve-3d;
    transform-origin: 50% 100%;
    backface-visibility: hidden;
    will-change: transform;
}

@media (min-width: 48rem) and (prefers-reduced-motion: no-preference) {
    .kx-l-card--tilt {
        transition: box-shadow 0.28s ease, border-color 0.28s ease;
    }

    .kx-l-card--tilt:hover {
        border-color: var(--kx-l-teal-line);
        box-shadow: 0 18px 40px rgba(2, 6, 8, 0.42);
    }
}

/* ---------- rejillas y tarjetas ---------- */

.kx-l-grid {
    display: grid;
    gap: 1rem;
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

.kx-l-grid--2,
.kx-l-grid--3 {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 45rem) {
    .kx-l-grid--2,
    .kx-l-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 62rem) {
    .kx-l-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.kx-l-card {
    padding: clamp(1.1rem, 2.5vw, 1.5rem);
    border: 1px solid var(--kx-border);
    border-radius: var(--kx-radius);
    background: var(--kx-l-card);
}

.kx-l-card--soft {
    background: var(--kx-l-card-2);
}

.kx-l-split {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}

@media (min-width: 62rem) {
    .kx-l-split {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    }

    .kx-l-split--reverse > :first-child {
        order: 2;
    }
}

/* ---------- listas de capacidades ---------- */

.kx-l-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.kx-l-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--kx-l-dim);
    line-height: 1.55;
}

.kx-l-list li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.62em;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--kx-teal);
}

.kx-l-list--plain li::before {
    background: var(--kx-border-strong);
}

/* ---------- contraste hero ---------- */

.kx-l-contrast {
    margin: -0.35rem 0 0.85rem;
    font-family: var(--kx-font-display);
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.35;
    color: var(--kx-teal);
}

/* ---------- tres pasos (compactos) ---------- */

.kx-l-pasos {
    margin: clamp(1.5rem, 3vw, 2rem) 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 62rem) {
    .kx-l-pasos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.kx-l-paso {
    position: relative;
    padding: 0 0 0 0.15rem;
    border: none;
    background: transparent;
}

.kx-l-paso__n {
    display: inline-grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    margin: 0 0 0.7rem;
    border-radius: 50%;
    border: 1px solid var(--kx-l-teal-line);
    background: var(--kx-l-teal-soft);
    color: var(--kx-teal);
    font-family: var(--kx-font-display);
    font-size: 0.95rem;
    font-weight: 700;
}

.kx-l-paso .kx-l-h3 {
    margin-bottom: 0.4rem;
}

.kx-l-paso p {
    margin: 0;
    max-width: 36ch;
    color: var(--kx-l-dim);
    line-height: 1.6;
    font-size: 0.98rem;
}

#arranque > .kx-l-wrap > .kx-l-actions {
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

/* ---------- outcomes / resultados ---------- */

.kx-l-outcomes {
    margin: clamp(1.5rem, 3vw, 2rem) 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    border-top: 1px solid rgba(42, 52, 60, 0.75);
}

@media (min-width: 45rem) {
    .kx-l-outcomes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 70rem) {
    .kx-l-outcomes {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.kx-l-outcomes > li {
    padding: 1.15rem 1rem 1.25rem 0;
    border-bottom: 1px solid rgba(42, 52, 60, 0.75);
}

@media (min-width: 45rem) {
    .kx-l-outcomes > li:nth-child(odd) {
        padding-right: 1.25rem;
        border-right: 1px solid rgba(42, 52, 60, 0.55);
    }

    .kx-l-outcomes > li:nth-child(even) {
        padding-left: 1.25rem;
    }
}

@media (min-width: 70rem) {
    .kx-l-outcomes > li {
        padding: 1.2rem 1.1rem 1.35rem;
        border-right: 1px solid rgba(42, 52, 60, 0.55);
    }

    .kx-l-outcomes > li:nth-child(4n) {
        border-right: none;
    }

    .kx-l-outcomes > li:nth-child(odd),
    .kx-l-outcomes > li:nth-child(even) {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }
}

.kx-l-outcomes .kx-l-h3 {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.kx-l-outcomes p {
    margin: 0;
    color: var(--kx-l-dim);
    font-size: 0.95rem;
    line-height: 1.55;
}

.kx-l-section--tint .kx-l-outcomes p {
    color: #d4dee6;
}

/* ---------- franja trial ---------- */

.kx-l-trial-strip {
    background:
        radial-gradient(ellipse 70% 80% at 12% 20%, rgba(20, 184, 166, 0.14), transparent 55%),
        linear-gradient(180deg, rgba(14, 20, 24, 0.95), rgba(7, 10, 12, 0.4));
}

.kx-l-trial-strip__inner {
    display: grid;
    gap: 1.35rem;
    align-items: end;
}

@media (min-width: 56rem) {
    .kx-l-trial-strip__inner {
        grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.7fr);
        gap: 2rem;
        align-items: center;
    }

    .kx-l-trial-strip__cta .kx-l-actions {
        margin: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .kx-l-trial-strip__cta .kx-l-btn {
        width: 100%;
    }
}

.kx-l-trial-strip__copy .kx-l-lead {
    margin-bottom: 0.85rem;
}

.kx-l-trial-strip__reassure {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem 0;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--kx-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.kx-l-trial-strip__reassure li {
    display: inline;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
}

.kx-l-trial-strip__reassure li:not(:last-child)::after {
    content: "·";
    margin: 0 0.55rem;
    color: rgba(154, 168, 178, 0.7);
    font-weight: 600;
}

.kx-l-trial-strip__reassure .kx-l-link {
    font-weight: 650;
}

/* ---------- pasos legacy (si quedan) ---------- */

.kx-l-steps {
    counter-reset: kxstep;
    margin: clamp(1.5rem, 3vw, 2rem) 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.kx-l-step {
    position: relative;
    padding: 1.1rem 1.2rem 1.1rem 3.4rem;
    border: 1px solid var(--kx-border);
    border-radius: var(--kx-radius);
    background: var(--kx-l-card);
}

.kx-l-step::before {
    counter-increment: kxstep;
    content: counter(kxstep);
    position: absolute;
    left: 1.05rem;
    top: 1.1rem;
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: var(--kx-l-teal-soft);
    border: 1px solid var(--kx-l-teal-line);
    color: var(--kx-teal);
    font-family: var(--kx-font-display);
    font-size: 0.9rem;
    font-weight: 700;
}

.kx-l-step__time {
    display: inline-block;
    margin: 0 0 0.35rem;
    padding: 0.1rem 0.5rem;
    border-radius: 0.4rem;
    background: rgba(148, 163, 184, 0.14);
    font-family: var(--kx-font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--kx-text);
}

.kx-l-step p {
    margin: 0.35rem 0 0;
    max-width: 72ch;
    color: var(--kx-l-dim);
    line-height: 1.6;
}

.kx-l-step ul {
    margin: 0.5rem 0 0;
    max-width: 72ch;
    padding-left: 1.1rem;
    color: var(--kx-l-dim);
    line-height: 1.55;
}

/* ---------- comparativa ---------- */

.kx-l-tablehint {
    margin: 1.25rem 0 0.5rem;
    font-size: 0.9rem;
    color: var(--kx-muted);
}

@media (min-width: 62rem) {
    .kx-l-tablehint {
        display: none;
    }
}

.kx-l-tablescroll {
    overflow-x: auto;
    border: 1px solid var(--kx-border);
    border-radius: var(--kx-radius);
    background: var(--kx-l-card);
    -webkit-overflow-scrolling: touch;
}

.kx-l-tablescroll:focus-visible {
    outline: 2px solid #5eead4;
    outline-offset: 2px;
}

.kx-l-table {
    width: 100%;
    min-width: 44rem;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.kx-l-table caption {
    padding: 0.9rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    color: var(--kx-muted);
    border-bottom: 1px solid var(--kx-border);
}

.kx-l-table th,
.kx-l-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
    border-bottom: 1px solid rgba(42, 52, 60, 0.7);
    color: var(--kx-l-dim);
}

.kx-l-table thead th {
    color: var(--kx-text);
    font-family: var(--kx-font-display);
    font-size: 0.9rem;
    white-space: nowrap;
}

.kx-l-table thead th:first-child {
    width: 20%;
}

.kx-l-nobr {
    white-space: nowrap;
}

.kx-l-table tbody th {
    color: var(--kx-text);
    font-weight: 700;
}

.kx-l-table th[scope="col"]:last-child,
.kx-l-table td:last-child {
    background: rgba(20, 184, 166, 0.07);
    color: var(--kx-text);
}

.kx-l-table tbody tr:last-child th,
.kx-l-table tbody tr:last-child td {
    border-bottom: 0;
}

/* ---------- precios ---------- */

.kx-l-interval {
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

.kx-l-interval__label {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kx-muted);
}

.kx-l-interval__tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: 100%;
    padding: 0.25rem;
    border: 1px solid var(--kx-border);
    border-radius: 0.85rem;
    background: rgba(15, 23, 32, 0.45);
}

.kx-l-interval__tabs input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.kx-l-interval__tab {
    cursor: pointer;
    margin: 0;
    padding: 0.45rem 0.95rem;
    border-radius: 0.65rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--kx-muted);
}

.kx-l-interval__tabs:has(#kx-int-month:checked) label[for="kx-int-month"],
.kx-l-interval__tabs:has(#kx-int-year:checked) label[for="kx-int-year"] {
    background: var(--kx-teal);
    color: #042f2e;
}

.kx-l-interval__hint {
    display: none;
    margin: 0.75rem 0 0;
    font-size: 0.88rem;
    color: var(--kx-l-dim);
}

.kx-l-interval:has(#kx-int-year:checked) .kx-l-interval__hint--year {
    display: block;
}

.kx-l-interval:has(#kx-int-month:checked) .kx-l-plan__price--year,
.kx-l-interval:has(#kx-int-month:checked) .kx-l-plan__cta--year,
.kx-l-interval:has(#kx-int-year:checked) .kx-l-plan__price--month,
.kx-l-interval:has(#kx-int-year:checked) .kx-l-plan__cta--month {
    display: none;
}

.kx-l-plan__price s {
    color: var(--kx-muted);
    font-weight: 600;
}

.kx-l-plans {
    display: grid;
    gap: 1rem;
    margin-top: clamp(1.5rem, 3vw, 2rem);
    align-items: stretch;
}

@media (min-width: 60rem) {
    .kx-l-plans {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.kx-l-plan {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: clamp(1.2rem, 2.5vw, 1.6rem);
    border: 1px solid var(--kx-border);
    border-radius: var(--kx-radius);
    background: var(--kx-l-card);
}

.kx-l-plan--featured {
    border-color: var(--kx-teal);
    background-color: var(--kx-l-card);
    background-image: linear-gradient(180deg, rgba(20, 184, 166, 0.14), transparent 48%);
    box-shadow: var(--kx-l-shadow);
}

.kx-l-plan__badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: var(--kx-teal);
    color: #042f2e;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.kx-l-plan__badge--muted {
    background: rgba(148, 163, 184, 0.18);
    color: var(--kx-text);
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.8rem;
}

.kx-l-plan__name {
    font-family: var(--kx-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.kx-l-plan__price {
    margin: 0;
    font-family: var(--kx-font-display);
    font-size: clamp(1.75rem, 4.5vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.kx-l-plan__price span {
    display: block;
    margin-top: 0.2rem;
    font-family: var(--kx-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--kx-muted);
    letter-spacing: 0;
}

.kx-l-plan__price-fine {
    font-size: 0.78rem;
    font-weight: 600;
}

.kx-l-plan__who {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--kx-l-dim);
}

.kx-l-plan .kx-l-list {
    font-size: 0.92rem;
    flex: 1 1 auto;
}

.kx-l-plan__note {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--kx-muted);
    text-align: center;
}

.kx-l-enterprise {
    margin-top: clamp(1.5rem, 3vw, 2rem);
    padding: clamp(1.3rem, 3vw, 2rem);
    border: 1px solid var(--kx-border-strong);
    border-radius: var(--kx-radius);
    background: linear-gradient(150deg, rgba(251, 191, 36, 0.07), rgba(26, 34, 40, 0.92) 55%);
}

.kx-l-closing {
    margin-top: clamp(1.25rem, 3vw, 1.75rem);
    padding: 1rem 1.1rem;
    border: 1px solid var(--kx-border);
    border-radius: var(--kx-radius);
    background: var(--kx-l-card);
    text-align: center;
}

.kx-l-closing p {
    margin: 0;
    line-height: 1.6;
}

.kx-l-closing p + p {
    margin-top: 0.35rem;
    font-size: 0.88rem;
    color: var(--kx-muted);
}

/* ---------- acordeón ---------- */

.kx-l-accordion {
    margin-top: clamp(1.5rem, 3vw, 2rem);
    display: grid;
    gap: 0.65rem;
}

.kx-l-qa {
    border: 1px solid var(--kx-border);
    border-radius: var(--kx-radius);
    background: var(--kx-l-card);
    overflow: hidden;
}

.kx-l-qa[open] {
    border-color: var(--kx-l-teal-line);
}

.kx-l-qa summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    min-height: 48px;
    padding: 0.95rem 1.1rem;
    cursor: pointer;
    font-family: var(--kx-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--kx-text);
    list-style: none;
}

.kx-l-qa summary::-webkit-details-marker {
    display: none;
}

.kx-l-qa summary::after {
    content: "+";
    flex: 0 0 auto;
    font-family: var(--kx-font-display);
    font-size: 1.35rem;
    line-height: 1;
    color: var(--kx-teal);
}

.kx-l-qa[open] summary::after {
    content: "–";
}

.kx-l-qa summary:hover {
    background: rgba(20, 184, 166, 0.07);
}

.kx-l-qa__body {
    padding: 0 1.1rem 1.1rem;
    color: var(--kx-l-dim);
    line-height: 1.65;
}

.kx-l-qa__body p {
    margin: 0;
}

/* ---------- guías ---------- */

.kx-l-guide {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: clamp(1.1rem, 2.5vw, 1.4rem);
    border: 1px solid var(--kx-border);
    border-radius: var(--kx-radius);
    background: var(--kx-l-card);
}

.kx-l-guide h3 {
    margin: 0;
    font-family: var(--kx-font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.kx-l-guide h3 a {
    color: var(--kx-text);
    text-decoration: none;
}

.kx-l-guide h3 a:hover {
    color: var(--kx-teal);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.kx-l-guide p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--kx-l-dim);
}

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

.kx-l-final {
    text-align: center;
}

.kx-l-final .kx-l-head {
    margin-inline: auto;
}

.kx-l-final .kx-l-actions {
    justify-content: center;
}

.kx-l-final .kx-l-list {
    max-width: 40rem;
    margin-inline: auto;
    text-align: left;
}

/* ---------- footer ---------- */

.kx-l-footer {
    position: relative;
    z-index: 1;
    padding-block: clamp(2.25rem, 5vw, 3rem) 2rem;
    border-top: 1px solid var(--kx-border);
    background: rgba(5, 7, 8, 0.75);
}

.kx-l-footer__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
}

@media (max-width: 40rem) {
    .kx-l-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }

    .kx-l-footer__brand {
        padding-bottom: 0.35rem;
        border-bottom: 1px solid rgba(42, 52, 60, 0.55);
    }
}

.kx-l-footer h2 {
    margin: 0 0 0.7rem;
    font-family: var(--kx-font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kx-muted);
}

.kx-l-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.kx-l-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: var(--kx-l-dim);
    font-size: 0.92rem;
    text-decoration: none;
}

.kx-l-footer a:hover {
    color: var(--kx-teal);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.kx-l-footer__brand p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--kx-muted);
    max-width: 22rem;
}

.kx-l-footer__legal {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(42, 52, 60, 0.7);
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--kx-muted);
}

.kx-l-footer__legal p {
    margin: 0 0 0.3rem;
}

/* ---------- motion (transform + opacity; compositor-friendly) ---------- */

@keyframes kx-l-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 16px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .kx-l-hero [data-animate] {
        animation: kx-l-rise 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .kx-l-hero [data-animate="1"] {
        animation-delay: 0.05s;
    }

    .kx-l-hero [data-animate="2"] {
        animation-delay: 0.14s;
    }

    .kx-l-hero [data-animate="3"] {
        animation-delay: 0.24s;
    }

    .kx-l-hero [data-animate="4"] {
        animation-delay: 0.36s;
    }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .kx-l-reveal {
            animation: kx-l-rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 38%;
            animation-duration: 1ms;
        }
    }
}

@supports not (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .kx-l-reveal {
            opacity: 0;
            transform: translate3d(0, 16px, 0);
            transition:
                opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .kx-l-reveal.is-revealed {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }
}

@media (min-width: 45rem) and (prefers-reduced-motion: no-preference) {
    .kx-l-plan,
    .kx-l-qa {
        transition:
            transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.22s ease,
            border-color 0.22s ease;
    }

    .kx-l-plan:hover,
    .kx-l-qa:hover {
        transform: translate3d(0, -4px, 0);
    }

    .kx-l-plan--featured:hover {
        box-shadow: 0 22px 48px rgba(2, 6, 8, 0.52);
    }

    .kx-l-qa:hover {
        border-color: var(--kx-l-teal-line);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .kx-l-skip,
    .kx-l-nav {
        transition: none;
    }

    .kx-l-hero [data-animate],
    .kx-l-reveal {
        animation: none !important;
        animation-timeline: auto !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .kx-l-stage,
    .kx-l-stage__card,
    .kx-l-card--tilt,
    .kx-l-section__glow,
    .kx-l-stage__glow {
        transform: none !important;
        opacity: 1 !important;
        will-change: auto;
    }

    .kx-l-plan,
    .kx-l-qa {
        transition: none;
    }
}
