/* =========================================================================
   Estilos de las landings de campaña (/residencial, /podcast, /chip...).

   Se monta SOBRE /style.css, que ya trae las variables del tema, .btn-wa,
   .btn-outline-wa, .section-title y la navbar. Aquí solo va lo propio de
   estas páginas, con prefijo .lp- para no chocar con la home.

   Generado por Marketing/landings/build.mjs — el copy vive en content.mjs.
   ========================================================================= */

/* --------------------------------------------------------------- navbar */

.btn-sm-nav {
    padding: 0.5rem 1.2rem !important;
    font-size: 0.9rem !important;
}

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

.lp-hero {
    min-height: auto;
    padding: 9rem 0 4rem;
    text-align: center;
}

.lp-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid rgba(37, 211, 102, 0.35);
    border-radius: 99px;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.lp-hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}
.lp-hero h1 .lp-h1-2 { color: var(--primary); }

.lp-hero .lead {
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.65;
    position: relative;
    z-index: 2;
}

.lp-cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.lp-cta-note {
    margin-top: 1.1rem;
    font-size: 0.87rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}
.lp-cta-note i { color: var(--primary); }

/* --------------------------------------------------------- visual héroe */

/* El SVG del producto. Va justo bajo el hero: es la prueba de lo que acaba de
   prometer el titular, y en varias landings explica el producto mejor que el
   copy. Se sirve como <img> y no inline para que el navegador lo cachee entre
   páginas (varias landings comparten el mismo). */
.lp-visual {
    padding: 1rem 0 3rem;
}

.lp-visual img {
    display: block;
    width: 100%;
    max-width: 780px;
    height: auto;          /* respeta el viewBox: nunca se deforma */
    margin: 0 auto;
    border-radius: 16px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--border, rgba(255, 255, 255, .07));
    padding: .75rem;
}

@media (max-width: 640px) {
    .lp-visual { padding: .5rem 0 2rem; }
    .lp-visual img { padding: .35rem; border-radius: 12px; }

    /* Red de seguridad para los visuales que NO tienen variante estrecha: al escalarlos a un móvil
       su texto se vuelve ilegible (a 390px de ancho, 10px del lienzo salen a ~4,8px). En vez de
       encogerlos hasta que no se lean, se les deja su ancho mínimo legible y el contenedor hace
       scroll horizontal. Los que sí tienen variante (ver VARIANTE_MOVIL) nunca llegan aquí. */
    .lp-visual .container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .lp-visual img { min-width: 560px; }

    /* La variante estrecha ya está pensada para este ancho: nada de scroll ni ancho mínimo. */
    .lp-visual picture source ~ img { min-width: 0; }
}

/* ---------------------------------------------------------- audio demo */

.lp-demo {
    max-width: 48rem;
    margin: 0 auto;
    background: var(--dark-card);
    border: 1px solid rgba(37, 211, 102, .35);
    border-radius: 14px;
    padding: 1.6rem 1.8rem;
    text-align: center;
}

.lp-demo h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: .6rem;
}
.lp-demo h4 i { color: var(--primary); margin-right: .4rem; }

.lp-demo-dur {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, .06);
    border-radius: 99px;
    padding: .2rem .6rem;
    margin-left: .5rem;
    vertical-align: middle;
}

.lp-demo p {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.lp-demo audio {
    width: 100%;
    max-width: 30rem;
    /* El reproductor nativo viene en claro; este filtro lo integra en el tema oscuro sin
       reimplementarlo. Es la única forma de teñirlo que funciona en los tres navegadores. */
    filter: invert(1) hue-rotate(180deg) saturate(.7);
    border-radius: 99px;
}

.lp-demo-aviso {
    font-size: .78rem !important;
    color: var(--text-muted) !important;
    opacity: .8;
    margin: 1rem 0 0 !important;
}

/* ------------------------------------------------------------ secciones */

.lp-section { padding: 4rem 0; }
.lp-section-alt { background: var(--dark-2); }

.lp-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.lp-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.75rem;
    transition: border-color 0.25s, transform 0.25s;
}
.lp-card:hover {
    border-color: rgba(37, 211, 102, 0.4);
    transform: translateY(-3px);
}
.lp-card-icon {
    font-size: 1.9rem;
    color: var(--primary);
    margin-bottom: 0.85rem;
    line-height: 1;
}
.lp-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}
.lp-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------- pasos */

.lp-steps {
    display: grid;
    gap: 1rem;
    max-width: 46rem;
    margin: 2.5rem auto 0;
}

.lp-step {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1.15rem 1.35rem;
}

.lp-step-n {
    flex: none;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.95rem;
    background: rgba(37, 211, 102, 0.14);
    color: var(--primary);
    border: 1px solid rgba(37, 211, 102, 0.35);
}

.lp-step-main h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-light);
}
.lp-step-main p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------- notas */

.lp-nota {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 1.6rem 1.8rem;
    max-width: 48rem;
    margin: 0 auto;
}
.lp-nota h4 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-light);
}
.lp-nota h4 i { color: var(--accent); margin-right: 0.4rem; }
.lp-nota p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.lp-nota-ok { border-left-color: var(--primary); }
.lp-nota-ok h4 i { color: var(--primary); }

.lp-nota-warn { border-left-color: var(--warning); }
.lp-nota-warn h4 i { color: var(--warning); }

/* --------------------------------------------------------- bloque chip */

/* Es el bloque más importante de la página: cualifica al visitante. Va con
   el color de alerta y peso visual suficiente para que NO se lea como letra
   chica — es exactamente lo contrario de un descargo legal. */
.lp-chip {
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.09), rgba(239, 68, 68, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 14px;
    padding: 1.9rem 2rem;
    max-width: 52rem;
    margin: 0 auto;
}

.lp-chip-mark {
    flex: none;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    background: rgba(245, 158, 11, 0.16);
    color: var(--warning);
}

.lp-chip h4 {
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: var(--text-light);
}
.lp-chip p {
    font-size: 0.96rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0.8rem;
}
.lp-chip strong { color: var(--text-light); }

.lp-chip-extra {
    border-left: 3px solid var(--danger);
    padding-left: 0.9rem;
}

.lp-chip-ok {
    color: var(--text) !important;
    font-size: 0.92rem !important;
}
.lp-chip-ok i { color: var(--primary); margin-right: 0.35rem; }

.lp-chip-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.93rem;
    text-decoration: none;
}
.lp-chip-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- plan */

.lp-plan {
    text-align: center;
    max-width: 34rem;
    margin: 0 auto;
    background: var(--dark-card);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 16px;
    padding: 2.2rem;
}

.lp-plan-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(37, 211, 102, 0.14);
    border-radius: 99px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 0.9rem;
}

.lp-plan-precio {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-light);
}
.lp-plan-precio span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.lp-plan-detalle {
    margin-top: 0.7rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.lp-plan-nota {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.lp-cierre {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(108, 99, 255, 0.06));
}
.lp-cierre p {
    max-width: 34rem;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    font-size: 1.02rem;
}
.btn-lg-cta {
    font-size: 1.05rem !important;
    padding: 1rem 2.6rem !important;
}

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

.lp-footer {
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2.5rem 0;
    text-align: center;
}
.lp-footer-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.lp-footer-links {
    display: flex;
    gap: 1.4rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}
.lp-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}
.lp-footer-links a:hover { color: var(--primary); }

.lp-footer-legal {
    max-width: 44rem;
    margin: 0 auto;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
    opacity: 0.75;
}
.lp-footer-legal strong { color: var(--warning); }

/* ------------------------------------------------- "y ademas" (lp-tambien)

   Enlaces a las otras landings. Tres columnas en escritorio, apiladas en movil.
   Deliberadamente mas sobrias que .lp-card: son una salida lateral para quien no encaja con esta
   pagina, no deben competir visualmente con el CTA que tienen justo encima. */

.lp-tambien {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 58rem;
    margin: 2.5rem auto 0;
}

.lp-tambien-card {
    display: block;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1.2rem 1.3rem;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.lp-tambien-card:hover {
    border-color: var(--primary);
    background: rgba(37, 211, 102, 0.05);
}

.lp-tambien-card h5 {
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.lp-tambien-card h5 i {
    font-size: 0.85rem;
    color: var(--primary);
    vertical-align: middle;
}

.lp-tambien-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

/* ---------------------------------------------------------- responsive */

@media (max-width: 767.98px) {
    .lp-hero { padding: 7rem 0 3rem; }
    .lp-section { padding: 3rem 0; }
    .lp-chip { flex-direction: column; gap: 1rem; padding: 1.5rem; }
    .lp-nota { padding: 1.3rem 1.4rem; }
    .lp-tambien { grid-template-columns: 1fr; }
}

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