/* ==========================================================================
   Landing (welcome) — versión blanca.
   Diseño: canvas "wa-crm — Móvil y Web", tablero L1. Prefijo .lp-
   ========================================================================== */

:root {
    --lp-accent: #0F7B6C;
    --lp-accent-dark: #0B6155;
    --lp-accent-soft: #E4F5F1;
    --lp-navy: #174B72;
    --lp-teal: #3A9689;
    --lp-ink: #0C2233;
    --lp-text: #33403B;
    --lp-muted: #55625D;
    --lp-faint: #6B7772;
    --lp-border: #E6EBE8;
    --lp-bg-soft: #F6F8F7;
    --lp-ai: #5B3BA8;
    --lp-ai-soft: #EFEAFB;
    --lp-radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body.lp {
    margin: 0;
    background: #FFFFFF;
    color: var(--lp-ink);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
:where(.lp) a { color: inherit; text-decoration: none; }
:where(.lp) img { max-width: 100%; }
:where(.lp) :is(h1, h2, h3, h4, p, figure, blockquote, dl, dd) { margin: 0; }
:where(.lp) ul { margin: 0; padding: 0; list-style: none; }

.lp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.lp-wrap-narrow { max-width: 860px; }
.lp-accent { color: var(--lp-accent); }
.lp-center { text-align: center; }

/* ---------- Botones ---------- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
    font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn:focus-visible, .lp-nav-toggle:focus-visible, .lp-faq-item summary:focus-visible { outline: 3px solid #7CCFC2; outline-offset: 2px; }
.lp-btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.lp-btn-dark { background: var(--lp-ink); color: #FFFFFF; }
.lp-btn-dark:hover { background: #12344D; }
.lp-btn-primary { background: var(--lp-accent); color: #FFFFFF; }
.lp-btn-primary:hover { background: var(--lp-accent-dark); box-shadow: 0 10px 24px rgba(15, 123, 108, .28); }
.lp-btn-primary:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.lp-btn-outline { background: #FFFFFF; border-color: #C9D2CD; color: var(--lp-ink); }
.lp-btn-outline:hover { border-color: var(--lp-ink); }
.lp-btn-white { background: #FFFFFF; color: var(--lp-ink); }
.lp-btn-ghost { border-color: rgba(255, 255, 255, .6); color: #FFFFFF; }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Navbar ---------- */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--lp-border); }
.lp-nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; }
.lp-brand-logo { width: 42px; height: 36px; object-fit: contain; display: block; }
.lp-brand-name { font-size: 22px; letter-spacing: -.8px; line-height: 1; }
.lp-brand-river { font-weight: 800; color: var(--lp-navy); }
.lp-brand-tech { font-weight: 400; color: var(--lp-teal); }
.lp-nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; color: var(--lp-text); }
.lp-nav-links a:not(.lp-btn):hover { color: var(--lp-accent); }
.lp-nav-cta-mobile { display: none; }
.lp-nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.lp-nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--lp-ink); transition: transform .25s ease, opacity .2s ease; }
.lp-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lp-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.lp-hero { background: linear-gradient(180deg, #FFFFFF 0%, var(--lp-bg-soft) 100%); overflow: hidden; }
.lp-hero-inner { padding-top: 88px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.lp-hero h1 { max-width: 900px; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -1.6px; }
.lp-lead { max-width: 680px; font-size: 20px; line-height: 1.5; color: var(--lp-muted); }
.lp-lead-sm { font-size: 18px; line-height: 1.55; color: var(--lp-muted); }
.lp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 8px; }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--lp-accent-soft); color: var(--lp-accent-dark); font-size: 14px; font-weight: 700; transition: transform .2s ease; }
.lp-pill:hover { transform: translateY(-2px); }
.lp-pill-tag { padding: 2px 8px; border-radius: 999px; background: var(--lp-accent); color: #FFFFFF; font-size: 12px; font-weight: 700; }
.lp-pill-tag-soft { align-self: flex-start; padding: 4px 12px; background: var(--lp-accent-soft); color: var(--lp-accent-dark); font-size: 13px; }
.lp-channels { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; font-size: 14px; color: var(--lp-muted); }
.lp-channels-label { font-weight: 600; }
.lp-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--lp-border); background: #FFFFFF; font-weight: 600; color: var(--lp-text); }

.lp-hero-inner > * { animation: lpUp .7s both; }
.lp-hero-inner > *:nth-child(2) { animation-delay: .08s; }
.lp-hero-inner > *:nth-child(3) { animation-delay: .16s; }
.lp-hero-inner > *:nth-child(4) { animation-delay: .24s; }
.lp-hero-inner > *:nth-child(5) { animation-delay: .32s; }
.lp-hero-inner > .lp-mock { animation: lpUp .9s .45s both, lpFloat 7s 1.4s ease-in-out infinite; }

/* Maqueta de la bandeja */
.lp-mock { width: 100%; max-width: 1040px; margin-top: 40px; border-radius: 20px 20px 0 0; border: 1px solid var(--lp-border); border-bottom: 0; background: #FFFFFF; box-shadow: 0 24px 60px rgba(12, 34, 51, .10); overflow: hidden; text-align: left; }
.lp-mock-bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--lp-border); background: var(--lp-bg-soft); font-size: 13px; color: var(--lp-muted); }
.lp-mock-bar i { width: 11px; height: 11px; border-radius: 999px; background: #D5DBD8; }
.lp-mock-bar span { margin-left: 12px; }
.lp-mock-body { display: flex; flex-wrap: wrap; min-height: 380px; }
.lp-mock-list { flex: 1 1 300px; max-width: 340px; padding: 16px; border-right: 1px solid var(--lp-border); display: flex; flex-direction: column; gap: 8px; }
.lp-mock-list > strong { font-size: 15px; padding-bottom: 4px; }
.lp-mock-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; }
.lp-mock-row.is-active { background: var(--lp-accent-soft); }
.lp-mock-row b { width: 38px; height: 38px; flex-shrink: 0; border-radius: 999px; background: #F1F4F2; color: var(--lp-text); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.lp-mock-row.is-active b { background: var(--lp-accent); color: #FFFFFF; }
.lp-mock-row span { display: flex; flex-direction: column; min-width: 0; flex-grow: 1; }
.lp-mock-row em { font-style: normal; font-size: 14px; font-weight: 700; }
.lp-mock-row small { font-size: 13px; color: var(--lp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-mock-row time { font-size: 12px; color: var(--lp-faint); }
.lp-mock-chat { flex: 999 1 400px; min-width: 0; padding: 20px; background: var(--lp-bg-soft); display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.lp-bubble { max-width: 72%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.4; }
.lp-bubble-in { align-self: flex-start; background: #FFFFFF; border: 1px solid var(--lp-border); border-bottom-left-radius: 4px; }
.lp-bubble-out { align-self: flex-end; background: #DCEFE6; border-bottom-right-radius: 4px; }
.lp-ai-flag { align-self: flex-end; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--lp-ai); }
.lp-seq > * { animation: lpSeq 12s infinite both; }
.lp-seq > *:nth-child(2) { animation-delay: 1.6s; }
.lp-seq > *:nth-child(3) { animation-delay: 2.8s; }
.lp-seq > *:nth-child(4) { animation-delay: 4.2s; }

/* ---------- Clientes (carrusel) ---------- */
.lp-clients { border-bottom: 1px solid var(--lp-border); padding: 40px 0; }
.lp-clients-title { text-align: center; font-size: 14px; font-weight: 600; color: var(--lp-muted); margin-bottom: 24px; }
.lp-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lp-marquee-track { display: flex; width: max-content; gap: 56px; padding-right: 56px; animation: lpMarquee 32s linear infinite; }
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
.lp-client { width: 160px; height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.lp-client img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.lp-client span { font-size: 20px; font-weight: 800; letter-spacing: -.4px; line-height: 1.1; color: var(--lp-faint); text-align: center; }

/* ---------- Secciones ---------- */
.lp-section { padding: 96px 0; }
.lp-section-soft { background: var(--lp-bg-soft); border-top: 1px solid var(--lp-border); border-bottom: 1px solid var(--lp-border); }
.lp-head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.lp-head p { font-size: 18px; line-height: 1.5; color: var(--lp-muted); }
.lp-eyebrow { font-size: 14px; font-weight: 700; color: var(--lp-accent); }
.lp-section h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -1.2px; }
.lp-section h2.lp-center { margin-bottom: 40px; }

.lp-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.lp-card { flex: 1 1 320px; padding: 28px; border-radius: var(--lp-radius); border: 1px solid var(--lp-border); background: #FFFFFF; display: flex; flex-direction: column; gap: 14px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.lp-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(12, 34, 51, .10); border-color: #A9DCD2; }
.lp-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -.3px; line-height: 1.25; }
.lp-card p { font-size: 15px; line-height: 1.55; color: var(--lp-muted); }
.lp-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--lp-accent-soft); color: var(--lp-accent); display: flex; align-items: center; justify-content: center; }
.lp-tags { font-size: 14px; font-weight: 700; color: var(--lp-accent); }
.lp-more { margin-top: auto; font-size: 14px; font-weight: 700; }

.lp-step { background: var(--lp-bg-soft); border-color: transparent; }
.lp-step h3 { font-size: 22px; }
.lp-step-n { font-size: 14px; font-weight: 800; color: var(--lp-accent); }

.lp-case-sector { font-size: 13px; font-weight: 700; color: var(--lp-muted); }
.lp-metrics { margin-top: auto; display: flex; gap: 24px; padding-top: 14px; border-top: 1px solid var(--lp-border); }
.lp-metrics dt { font-size: 28px; font-weight: 800; letter-spacing: -.8px; color: var(--lp-accent); line-height: 1.2; }
.lp-metrics dd { font-size: 13px; color: var(--lp-muted); }

.lp-quote { gap: 20px; }
.lp-quote blockquote { font-size: 16px; line-height: 1.6; color: var(--lp-text); }
.lp-quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.lp-quote figcaption > span:last-child { display: flex; flex-direction: column; }
.lp-quote strong { font-size: 15px; }
.lp-quote small { font-size: 13px; color: var(--lp-muted); }
.lp-quote-ini { width: 40px; height: 40px; border-radius: 999px; background: var(--lp-accent-soft); color: var(--lp-accent); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.lp-quote-logo { width: 64px; height: 48px; flex-shrink: 0; padding: 4px; border-radius: 10px; border: 1px solid var(--lp-border); background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.lp-quote-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* ---------- WA CRM ---------- */
.lp-wacrm { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.lp-wacrm-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.lp-wacrm-phone { flex: 1 1 380px; display: flex; justify-content: center; }
.lp-checks { display: flex; flex-direction: column; gap: 14px; }
.lp-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--lp-text); }
.lp-checks li span { width: 24px; height: 24px; flex-shrink: 0; border-radius: 999px; background: var(--lp-accent); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }

.lp-phone { width: 330px; height: 670px; padding: 10px; border-radius: 46px; background: var(--lp-ink); box-shadow: 0 30px 70px rgba(12, 34, 51, .28); flex-shrink: 0; }
.lp-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; background: #EEF1EC; overflow: hidden; display: flex; flex-direction: column; }
.lp-phone-notch { position: absolute; top: 8px; left: 50%; width: 96px; height: 24px; margin-left: -48px; border-radius: 999px; background: var(--lp-ink); z-index: 2; }
.lp-phone-head { display: flex; align-items: center; gap: 10px; padding: 40px 14px 10px; background: #FFFFFF; border-bottom: 1px solid #E4E9E6; }
.lp-phone-head b { width: 38px; height: 38px; flex-shrink: 0; border-radius: 999px; background: var(--lp-accent); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.lp-phone-head span { display: flex; flex-direction: column; min-width: 0; }
.lp-phone-head em { font-style: normal; font-size: 15px; font-weight: 700; }
.lp-phone-head small { font-size: 12px; color: #4A5752; }
.lp-phone-ai { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--lp-ai-soft); color: #3E2580; font-size: 12.5px; }
.lp-phone-ai svg { color: var(--lp-ai); flex-shrink: 0; }
.lp-phone-ai span { flex-grow: 1; }
.lp-phone-ai i { font-style: normal; padding: 5px 10px; border-radius: 8px; background: var(--lp-ai); color: #FFFFFF; font-size: 12px; font-weight: 700; white-space: nowrap; }
.lp-phone-chat { flex-grow: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.lp-day { align-self: center; padding: 3px 10px; border-radius: 8px; background: #FFFFFF; font-size: 11px; font-weight: 600; color: #4A5752; }
.lp-slot { display: grid; }
.lp-slot > * { grid-area: 1 / 1; align-self: start; }
.lp-typing { display: flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: #FFFFFF; }
.lp-typing.is-in { justify-self: start; }
.lp-typing.is-ai { justify-self: end; background: var(--lp-ai-soft); }
.lp-typing u { display: block; width: 6px; height: 6px; border-radius: 999px; background: var(--lp-faint); animation: lpDot 1.1s infinite; }
.lp-typing.is-ai u { background: var(--lp-ai); }
.lp-typing u:nth-child(2) { animation-delay: .15s; }
.lp-typing u:nth-child(3) { animation-delay: .3s; }
.lp-msg { max-width: 84%; display: flex; align-items: flex-start; gap: 6px; }
.lp-msg p { font-size: 14px; line-height: 1.4; }
.lp-msg time { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 3px; font-size: 11px; color: #5C6863; }
.lp-msg.is-in { justify-self: start; padding: 8px 12px 6px; border-radius: 4px 16px 16px 16px; background: #FFFFFF; box-shadow: 0 1px 1px rgba(12, 34, 51, .06); flex-direction: column; gap: 0; }
.lp-msg.is-out { justify-self: end; flex-direction: column; align-items: flex-end; gap: 3px; }
.lp-msg.is-out > div { padding: 8px 12px 6px; border-radius: 16px 4px 16px 16px; background: #DCEFE6; box-shadow: 0 1px 1px rgba(12, 34, 51, .06); }
.lp-ai-badge { padding: 2px 7px; border-radius: 6px; background: var(--lp-ai-soft); color: var(--lp-ai); font-size: 11px; font-weight: 700; }
.lp-qualified { align-self: center; padding: 6px 12px; border-radius: 999px; background: var(--lp-ai-soft); color: var(--lp-ai); font-size: 12px; font-weight: 700; text-align: center; }
.lp-phone-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 18px; background: #EEF1EC; }
.lp-phone-input span { flex-grow: 1; height: 40px; display: flex; align-items: center; padding: 0 14px; border-radius: 20px; background: #FFFFFF; font-size: 14px; color: var(--lp-faint); }
.lp-phone-input b { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: var(--lp-accent); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }

/* Secuencia del chat del móvil (ciclo de 20 s) */
.lp-t1 { animation: lpT1 20s infinite; }
.lp-t2 { animation: lpT2 20s infinite; }
.lp-t3 { animation: lpT3 20s infinite; }
.lp-t4 { animation: lpT4 20s infinite; }
.lp-m1 { animation: lpM1 20s infinite; }
.lp-m2 { animation: lpM2 20s infinite; }
.lp-m3 { animation: lpM3 20s infinite; }
.lp-m4 { animation: lpM4 20s infinite; }
.lp-m5 { animation: lpM5 20s infinite; }

/* ---------- Preguntas frecuentes ---------- */
.lp-faq { display: flex; flex-direction: column; gap: 12px; }
.lp-faq-item { border-radius: 16px; background: #FFFFFF; border: 1px solid var(--lp-border); }
.lp-faq-item summary { min-height: 56px; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary span { font-size: 24px; font-weight: 500; line-height: 1; color: var(--lp-accent); transition: transform .2s ease; }
.lp-faq-item[open] summary span { transform: rotate(45deg); }
.lp-faq-item p { padding: 0 22px 20px; font-size: 15px; line-height: 1.6; color: var(--lp-muted); }

/* ---------- CTA final y contacto ---------- */
.lp-cta { border-radius: 28px; background: var(--lp-accent); color: #FFFFFF; padding: 72px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.lp-cta h2 { max-width: 760px; }
.lp-cta p { max-width: 560px; font-size: 18px; line-height: 1.5; opacity: .92; }
.lp-cta small { font-size: 14px; opacity: .85; }

.lp-contact { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.lp-contact-info { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.lp-contact-info h3 { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.lp-contact-info > p { color: var(--lp-muted); }
.lp-contact-info ul { display: flex; flex-direction: column; gap: 12px; }
.lp-contact-info li a { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--lp-border); transition: border-color .2s ease, transform .2s ease; }
.lp-contact-info li a:hover { border-color: #A9DCD2; transform: translateY(-2px); }
.lp-contact-info li span { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--lp-accent-soft); color: var(--lp-accent); display: flex; align-items: center; justify-content: center; }
.lp-contact-info li em { font-style: normal; display: flex; flex-direction: column; min-width: 0; }
.lp-contact-info li small { font-size: 13px; color: var(--lp-muted); overflow-wrap: anywhere; }
.lp-contact-note { font-size: 14px; font-weight: 600; color: var(--lp-accent); }

.lp-form { flex: 2 1 480px; padding: 28px; border-radius: var(--lp-radius); border: 1px solid var(--lp-border); background: #FFFFFF; display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 96px; }
.lp-form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.lp-form-row .lp-field { flex: 1 1 220px; }
.lp-field { display: flex; flex-direction: column; gap: 6px; }
.lp-field label { font-size: 14px; font-weight: 600; color: var(--lp-text); }
.lp-field input, .lp-field select, .lp-field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #C9D2CD; background: #FFFFFF; font: inherit; font-size: 16px; color: var(--lp-ink); }
.lp-field textarea { resize: vertical; min-height: 110px; }
.lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus { outline: 3px solid #B6E3DB; border-color: var(--lp-accent); }
.lp-privacy { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--lp-muted); line-height: 1.45; }
.lp-privacy input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: var(--lp-accent); }
.lp-privacy a { color: var(--lp-accent); text-decoration: underline; }
.lp-form .lp-btn { align-self: flex-start; }
.lp-feedback { padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.lp-feedback.is-success { background: var(--lp-accent-soft); color: var(--lp-accent-dark); }
.lp-feedback.is-error { background: #FDECEA; color: #8A1C12; }

/* ---------- Footer ---------- */
.lp-footer { border-top: 1px solid var(--lp-border); padding: 56px 0 32px; }
.lp-footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.lp-footer-brand { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.lp-footer-brand p { font-size: 15px; line-height: 1.55; color: var(--lp-muted); }
.lp-social { display: flex; gap: 10px; }
.lp-social a { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--lp-border); display: flex; align-items: center; justify-content: center; color: var(--lp-text); transition: color .2s ease, border-color .2s ease; }
.lp-social a:hover { color: var(--lp-accent); border-color: var(--lp-accent); }
.lp-footer-col { flex: 0 1 200px; display: flex; flex-direction: column; gap: 12px; }
.lp-footer-col h4 { font-size: 14px; font-weight: 700; }
.lp-footer-col a { font-size: 14px; color: var(--lp-muted); overflow-wrap: anywhere; }
.lp-footer-col a:hover { color: var(--lp-accent); }
.lp-footer-bottom { padding-top: 24px; border-top: 1px solid var(--lp-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: var(--lp-muted); }
.lp-footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.lp-footer-legal a:hover { color: var(--lp-accent); }

/* ---------- Páginas legales ---------- */
.lp-legal { padding-top: 56px; padding-bottom: 80px; }
.lp-legal-card { max-width: 860px; margin: 0 auto; padding: 40px; border-radius: var(--lp-radius); border: 1px solid var(--lp-border); background: #FFFFFF; }
.lp-legal-card h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.lp-legal-updated { margin: 8px 0 24px; font-size: 14px; color: var(--lp-muted); }
.lp-legal-card h2 { margin: 28px 0 10px; font-size: 20px; font-weight: 700; }
.lp-legal-card p, .lp-legal-card li { font-size: 16px; line-height: 1.65; color: var(--lp-text); }
.lp-legal-card p { margin: 0 0 12px; }
.lp-legal-card ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
.lp-legal-card li { margin-bottom: 6px; }
.lp-legal-card a { color: var(--lp-accent); text-decoration: underline; }

/* ---------- Revelado al hacer scroll (solo con JS) ---------- */
.lp-js .lp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.lp-js .lp-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Animaciones ---------- */
@keyframes lpUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lpMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lpSeq { 0% { opacity: 0; transform: translateY(10px); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes lpDot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes lpT1 { 0%, 2.5% { opacity: 0; } 3%, 7.6% { opacity: 1; } 8%, 100% { opacity: 0; } }
@keyframes lpT2 { 0%, 11.5% { opacity: 0; } 12%, 19.6% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes lpT3 { 0%, 25.5% { opacity: 0; } 26%, 30.6% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes lpT4 { 0%, 35.5% { opacity: 0; } 36%, 45.6% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes lpM1 { 0%, 7.9% { opacity: 0; transform: translateY(10px); } 9.5%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes lpM2 { 0%, 19.9% { opacity: 0; transform: translateY(10px); } 21.5%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes lpM3 { 0%, 30.9% { opacity: 0; transform: translateY(10px); } 32.5%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes lpM4 { 0%, 45.9% { opacity: 0; transform: translateY(10px); } 47.5%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes lpM5 { 0%, 53.9% { opacity: 0; transform: scale(.92); } 56%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .lp-nav-cta { display: none; }
    .lp-nav-toggle { display: flex; }
    .lp-nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 32px 20px; background: #FFFFFF; border-bottom: 1px solid var(--lp-border); box-shadow: 0 16px 30px rgba(12, 34, 51, .08); display: none; }
    .lp-nav-links.is-open { display: flex; }
    .lp-nav-links a:not(.lp-btn) { padding: 14px 0; border-bottom: 1px solid var(--lp-border); }
    .lp-nav-cta-mobile { display: inline-flex; margin-top: 14px; }
    .lp-hero-inner { padding-top: 56px; }
    .lp-lead { font-size: 18px; }
    .lp-section { padding: 72px 0; }
    .lp-mock-list { max-width: none; border-right: 0; border-bottom: 1px solid var(--lp-border); }
}
@media (max-width: 560px) {
    .lp-wrap { padding: 0 20px; }
    .lp-nav-links { padding: 8px 20px 20px; }
    .lp-cta { padding: 48px 24px; }
    .lp-form, .lp-legal-card { padding: 22px; }
    .lp-card { flex-basis: 100%; }
    .lp-phone { transform: scale(.92); transform-origin: top center; margin-bottom: -50px; }
    .lp-btn-lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp-hero-inner > *, .lp-seq > *, .lp-marquee-track, .lp-typing u, .lp-m1, .lp-m2, .lp-m3, .lp-m4, .lp-m5 { animation: none !important; }
    .lp-t1, .lp-t2, .lp-t3, .lp-t4 { display: none; }
    .lp-js .lp-reveal { opacity: 1; transform: none; transition: none; }
    .lp-btn, .lp-card, .lp-pill { transition: none; }
}
