/* Landings de campañas pagas (Google Ads). Namespace .lp- para no tocar el resto del sitio. */

.lp {
    --lp-bg: #0a0d14;
    --lp-bg-alt: #101520;
    --lp-card: rgba(255, 255, 255, 0.04);
    --lp-border: rgba(255, 255, 255, 0.09);
    --lp-text: #e8ecf4;
    --lp-muted: #9aa4b8;
    --lp-accent: #3b82f6;
    --lp-accent-2: #22d3ee;
    --lp-ok: #22c55e;
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
    /* clip y no hidden: hidden rompería el position sticky del header. */
    overflow-x: clip;
}

.lp h1,
.lp h2,
.lp h3,
.lp h4 {
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

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

.lp-accent {
    background: linear-gradient(100deg, var(--lp-accent) 10%, var(--lp-accent-2) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Header mínimo ---------- */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-border);
}

.lp-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}

.lp-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
}

.lp-nav__brand img {
    height: 38px;
    width: auto;
}

/* ---------- Botones ---------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    line-height: 1.2;
}

.lp-btn:hover {
    transform: translateY(-2px);
}

.lp-btn--wa {
    background: #22c55e;
    color: #04140a;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.28);
}

.lp-btn--wa:hover {
    background: #16b34c;
    color: #04140a;
}

.lp-btn--primary {
    background: linear-gradient(100deg, var(--lp-accent) 10%, var(--lp-accent-2) 90%);
    color: #04121f;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.lp-btn--primary:hover {
    color: #04121f;
}

.lp-btn--ghost {
    background: transparent;
    border-color: var(--lp-border);
    color: var(--lp-text);
}

.lp-btn--ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.lp-btn--sm {
    padding: 0.6rem 1.1rem;
    font-size: 0.92rem;
}

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

/* ---------- Secciones ---------- */
.lp-section {
    padding: 5rem 0;
}

.lp-section--alt {
    background: var(--lp-bg-alt);
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-accent-2);
    border: 1px solid var(--lp-border);
    background: var(--lp-card);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.lp-h1 {
    font-size: clamp(2rem, 5.2vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 1.1rem;
}

.lp-h2 {
    font-size: clamp(1.6rem, 3.6vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.lp-lead {
    font-size: clamp(1.02rem, 1.8vw, 1.2rem);
    line-height: 1.65;
    max-width: 46rem;
}

/* ---------- Hero ---------- */
.lp-hero {
    position: relative;
    padding: 3.5rem 0 4.5rem;
    overflow: hidden;
}

@media (min-width: 992px) {
    .lp-hero {
        min-height: 700px;
        display: flex;
        align-items: center;
    }

    .lp-hero__inner {
        width: 100%;
    }
}

.lp-hero::before {
    content: "";
    position: absolute;
    top: -30%;
    left: 50%;
    width: 60rem;
    height: 40rem;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.22), transparent 65%);
    pointer-events: none;
}

.lp-hero__inner {
    position: relative;
    z-index: 1;
}

/* Foto del hero del sitio, en blanco y negro, como fondo de confianza. */
.lp-hero__photo {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    max-width: 58%;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
    user-select: none;
    overflow: hidden;
}

/* Sin esto el <picture> no tiene altura definida y el img se sale por arriba. */
.lp-hero__photo picture {
    display: block;
    height: 100%;
}

.lp-hero__photo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%) contrast(1.06);
    opacity: 0.42;
    -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 100%);
    mask-image: linear-gradient(to left, #000 30%, transparent 100%);
}

/* La tarjeta se apoya sobre la foto, así que necesita fondo propio. */
.lp-hero .lp-card {
    background: rgba(16, 21, 32, 0.85);
    backdrop-filter: blur(10px);
}

.lp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 1.9rem 0 1.4rem;
}

.lp-hero__note {
    font-size: 0.9rem;
    color: var(--lp-muted);
}

.lp-checks {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.7rem;
}

.lp-checks li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: var(--lp-text);
    font-size: 1rem;
}

.lp-checks i {
    color: var(--lp-ok);
    font-size: 1.15rem;
    line-height: 1.4;
    flex-shrink: 0;
}

/* ---------- Cards ---------- */
.lp-card {
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-radius: 1rem;
    padding: 1.6rem;
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.lp-card:hover {
    border-color: rgba(59, 130, 246, 0.45);
    transform: translateY(-3px);
}

.lp-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0.9rem 0 0.5rem;
}

.lp-card p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.6;
}

.lp-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    background: rgba(59, 130, 246, 0.14);
    color: var(--lp-accent-2);
    font-size: 1.4rem;
}

.lp-card--pain .lp-card__icon {
    background: rgba(239, 68, 68, 0.13);
    color: #f87171;
}

/* ---------- Pasos ---------- */
.lp-step {
    display: flex;
    gap: 1.1rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--lp-border);
}

.lp-step:last-child {
    border-bottom: 0;
}

.lp-step__num {
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #04121f;
    background: linear-gradient(100deg, var(--lp-accent) 10%, var(--lp-accent-2) 90%);
}

.lp-step h3 {
    font-size: 1.08rem;
    margin: 0.25rem 0 0.4rem;
}

.lp-step p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.6;
}

/* ---------- Proyectos ---------- */
.lp-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.lp-chip {
    border: 1px solid var(--lp-border);
    background: var(--lp-card);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
    color: var(--lp-text);
}

/* ---------- FAQ ---------- */
.lp-faq {
    border: 1px solid var(--lp-border);
    border-radius: 0.9rem;
    background: var(--lp-card);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.lp-faq summary {
    cursor: pointer;
    padding: 1.1rem 1.3rem;
    font-weight: 700;
    color: #fff;
    font-size: 1.02rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

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

.lp-faq summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--lp-accent-2);
    flex-shrink: 0;
    line-height: 1;
}

.lp-faq[open] summary::after {
    content: "\2013";
}

.lp-faq p {
    padding: 0 1.3rem 1.2rem;
    margin: 0;
    line-height: 1.65;
    font-size: 0.98rem;
}

/* ---------- Formulario ---------- */
.lp-form-wrap {
    background: var(--lp-bg-alt);
    border: 1px solid var(--lp-border);
    border-radius: 1.25rem;
    padding: 2rem;
}

.lp-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--lp-text);
    margin-bottom: 0.35rem;
}

.lp-form .lp-input,
.lp-form select.lp-input,
.lp-form textarea.lp-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--lp-border);
    border-radius: 0.6rem;
    color: #fff;
    padding: 0.8rem 0.95rem;
    font-size: 1rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.lp-form .lp-input::placeholder {
    color: #6b7386;
}

.lp-form .lp-input:focus {
    outline: none;
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.lp-form select.lp-input option {
    background: #101520;
    color: #fff;
}

.lp-form .lp-field {
    margin-bottom: 1rem;
}

.lp-form__hint {
    font-size: 0.84rem;
    color: var(--lp-muted);
    margin-top: 0.9rem;
    text-align: center;
}

.lp-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.lp-alert {
    display: none;
    border-radius: 0.6rem;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1rem;
    font-size: 0.96rem;
    border: 1px solid;
}

.lp-alert--ok {
    display: block;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.lp-alert--err {
    display: block;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* ---------- Footer ---------- */
.lp-footer {
    border-top: 1px solid var(--lp-border);
    padding: 2.5rem 0 6rem;
    font-size: 0.92rem;
}

.lp-footer a {
    color: var(--lp-muted);
    text-decoration: none;
}

.lp-footer a:hover {
    color: #fff;
}

/* ---------- Barra CTA móvil ---------- */
.lp-sticky {
    display: none;
}

@media (max-width: 991.98px) {
    .lp-sticky {
        display: flex;
        gap: 0.6rem;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 60;
        padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom));
        background: rgba(10, 13, 20, 0.94);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--lp-border);
    }

    .lp-sticky .lp-btn {
        flex: 1;
        padding: 0.85rem 0.6rem;
        font-size: 0.95rem;
    }

    .lp-section {
        padding: 3.5rem 0;
    }

    .lp-form-wrap {
        padding: 1.4rem;
    }

    /* En móvil la foto queda detrás del texto: baja mucho la opacidad. */
    .lp-hero__photo {
        max-width: 88%;
    }

    .lp-hero__photo img {
        opacity: 0.12;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-btn,
    .lp-card {
        transition: none;
    }

    .lp-btn:hover,
    .lp-card:hover {
        transform: none;
    }
}
