/* ============================================================
   LANDING · páginas de campaña (reforma laboral, sistema propio)

   Hero de dos columnas, secciones claras u oscuras según el tema,
   banda negra, tabla comparativa, preguntas frecuentes y cierre con
   WhatsApp. Lo propio de cada página vive en su plantilla.
============================================================ */


/* ---------- HERO ---------- */

.lp-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 7vw, 96px) 0 clamp(60px, 7vw, 100px);
    background: var(--surface);
    color: var(--text);
}

.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(11,10,9,.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11,10,9,.035) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 30% 40%, black 20%, transparent 75%);
}

.lp-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(210,31,103,.24);
    border-radius: 999px;
    background: rgba(210,31,103,.06);
    color: var(--pink);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lp-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 0 4px rgba(210,31,103,.16);
    animation: pulseDot 2.5s ease-in-out infinite;
}

.lp-hero-title {
    margin: 0 0 22px;
    font-family: "Excon", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.05em;
    color: var(--text);
}

.lp-hero-lead {
    max-width: 580px;
    margin: 0 0 28px;
    color: var(--text-soft);
    font-size: clamp(15px, 1.3vw, 17.5px);
    line-height: 1.7;
}

.lp-hero-lead strong { color: var(--text); font-weight: 700; }

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 24px;
}

.lp-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--text-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-notes span { display: inline-flex; align-items: center; gap: 7px; }
.lp-notes svg { width: 13px; height: 13px; color: var(--pink); }

.pink { color: var(--pink); }


/* ---------- BOTONES ---------- */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.lp-btn svg { width: 16px; height: 16px; transition: transform .3s ease; }
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn:hover svg { transform: translateX(3px); }

.lp-btn--primary {
    background: var(--pink);
    color: #FFFFFF;
    box-shadow: 0 12px 28px rgba(210,31,103,.26);
}

.lp-btn--primary:hover { background: var(--pink-dark); color: #FFFFFF; }

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

.lp-btn--ghost:hover { border-color: var(--text-muted); color: var(--text); }

.lp-btn--dark {
    background: #0B0A09;
    color: #FFFFFF;
}

.lp-btn--dark:hover { background: #1F1D1B; color: #FFFFFF; }


/* ---------- TICKER ---------- */

.lp-ticker {
    position: relative;
    overflow: hidden;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface-soft);
    white-space: nowrap;
}

.lp-ticker-track {
    display: inline-flex;
    gap: 55px;
    min-width: max-content;
    padding-left: 100%;
    animation: lpTicker 38s linear infinite;
}

.lp-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-soft);
    font-family: "JetBrains Mono", monospace;
    font-size: 12.5px;
}

.lp-ticker-item strong { color: var(--text); }

.lp-ticker-item::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pink);
}

@keyframes lpTicker { to { transform: translateX(-100%); } }


/* ---------- SECCIONES ---------- */

.lp-section {
    position: relative;
    padding: clamp(56px, 6.5vw, 88px) 0;
    background: var(--surface);
    color: var(--text);
}

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

.lp-header {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

.lp-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.lp-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pink);
}

.lp-title {
    margin: 0 0 16px;
    font-family: "Excon", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.04em;
    color: var(--text);
}

.lp-text {
    margin: 12px auto 0;
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.75;
}

.lp-note {
    max-width: 780px;
    margin: 28px auto 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.65;
    text-align: center;
}


/* ---------- TARJETAS ---------- */

.lp-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.lp-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 26px 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 6px 20px rgba(11,10,9,.04);
    transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .3s ease;
}

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

.lp-card:hover {
    transform: translateY(-3px);
    border-color: rgba(210,31,103,.28);
    box-shadow: 0 18px 40px rgba(11,10,9,.08);
}

.lp-card-icon {
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(210,31,103,.20);
    border-radius: 12px;
    background: var(--surface-pink);
    color: var(--pink);
}

.lp-card-icon svg { width: 20px; height: 20px; }

.lp-card h3 {
    margin: 0 0 6px;
    font-family: "Excon", "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.3;
    color: var(--text);
}

.lp-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.65;
}


/* ---------- BANDA NEGRA (en ambos temas) ---------- */

.lp-band {
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 7vw, 100px) 0;
    background: #0B0A09;
    color: #FFFFFF;
}

.lp-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .35;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 44px 44px;
}

.lp-band > * { position: relative; z-index: 2; }

.lp-band .lp-tag {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    color: var(--pink-light);
}

.lp-band .lp-title { color: #FFFFFF; }
.lp-band .lp-title .pink { color: var(--pink-light); }
.lp-band .lp-text { color: rgba(255,255,255,.62); }

.lp-band .lp-card {
    border-color: rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    box-shadow: none;
}

.lp-band .lp-card:hover { border-color: rgba(210,31,103,.32); }

.lp-band .lp-card-icon {
    border-color: rgba(210,31,103,.32);
    background: rgba(210,31,103,.14);
    color: var(--pink-light);
}

.lp-band .lp-card h3 { color: #FFFFFF; }
.lp-band .lp-card p { color: rgba(255,255,255,.62); }

.lp-band-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 900px;
    margin: 32px auto 0;
    padding: 20px 24px;
    border: 1px dashed rgba(210,31,103,.36);
    border-radius: 14px;
    background: rgba(210,31,103,.07);
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.7;
}

.lp-band-note svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; color: var(--pink-light); }
.lp-band-note strong { color: #FFFFFF; }


/* ---------- TABLA COMPARATIVA ---------- */

.lp-compare {
    max-width: 1040px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 30px 70px -30px rgba(11,10,9,.18);
}

.lp-compare-head,
.lp-compare-row {
    display: grid;
    grid-template-columns: 230px 1fr 1fr;
    align-items: center;
    padding: 18px 28px;
}

.lp-compare-head {
    background: #0B0A09;
    color: rgba(255,255,255,.55);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lp-compare-head span:last-child { color: var(--pink-light); }

.lp-compare-row { border-top: 1px solid var(--border); }
.lp-compare-row:nth-child(odd) { background: var(--surface-soft); }

.lp-compare-criterion {
    padding-right: 16px;
    color: var(--text-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.45;
    text-transform: uppercase;
}

.lp-compare-value {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-right: 16px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.45;
}

.lp-compare-value--win { color: var(--text); font-weight: 700; }

.lp-compare-value::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: .5;
}

.lp-compare-value--win::before { background: var(--pink); opacity: 1; }

.lp-compare-value--lose::before {
    content: "×";
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: none;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 700;
    line-height: 8px;
}

@media (max-width: 860px) {
    .lp-compare-head { grid-template-columns: 1fr 1fr; padding: 16px 20px; }
    .lp-compare-head span:first-child { display: none; }
    .lp-compare-row { grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 18px 20px; }
    .lp-compare-criterion { grid-column: 1 / -1; padding-bottom: 8px; border-bottom: 1px dashed var(--border); }
    .lp-compare-value { font-size: 13px; padding-right: 0; align-items: flex-start; }
    .lp-compare-value::before { margin-top: 6px; }
}


/* ---------- PREGUNTAS FRECUENTES ---------- */

.lp-faq {
    display: grid;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}

.lp-faq details {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
}

.lp-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.lp-faq summary .material-symbols-outlined {
    color: var(--pink);
    transition: transform .25s ease;
}

.lp-faq details[open] summary .material-symbols-outlined { transform: rotate(180deg); }

.lp-faq details p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.7;
}


/* ---------- POR QUÉ MILLORA ---------- */

.lp-why .lp-card-icon { flex-basis: 48px; width: 48px; height: 48px; border-radius: 14px; }


/* ---------- CIERRE CON WHATSAPP (negro en ambos temas) ---------- */

.lp-close {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 8vw, 104px) 0;
    background: #0B0A09;
    color: #FFFFFF;
}

.lp-close-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}

.lp-close .lp-tag {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    color: var(--pink-light);
}

.lp-close h2 {
    margin: 0 0 20px;
    font-family: "Excon", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.045em;
    color: #FFFFFF;
}

.lp-close h2 .pink { color: var(--pink-light); }

.lp-close-copy > p {
    max-width: 480px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.68);
    font-size: 15.5px;
    line-height: 1.75;
}

.lp-checks {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,.85);
    font-size: 14px;
    line-height: 1.55;
}

.lp-checks svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    padding: 5px;
    border: 1px solid rgba(210,31,103,.35);
    border-radius: 50%;
    background: rgba(210,31,103,.16);
    color: var(--pink-light);
}

.lp-panel {
    padding: 36px 32px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;
    background: rgba(255,255,255,.04);
}

.lp-panel h3 {
    margin: 0 0 10px;
    font-family: "Excon", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(21px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #FFFFFF;
}

.lp-panel > p {
    margin: 0 0 24px;
    color: rgba(255,255,255,.60);
    font-size: 14px;
    line-height: 1.65;
}

.lp-wa {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 14px;
    background: var(--pink);
    color: #FFFFFF;
    text-decoration: none;
    transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s ease;
}

.lp-wa:hover { transform: translateY(-2px); background: var(--pink-dark); color: #FFFFFF; }

.lp-wa-icon {
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.18);
}

.lp-wa-icon svg { width: 18px; height: 18px; }

.lp-wa-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }

.lp-wa-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .85;
}

.lp-wa-number {
    font-family: "Excon", "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.lp-wa > svg { flex: 0 0 18px; width: 18px; height: 18px; }

.lp-panel-alt {
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px dashed rgba(255,255,255,.12);
    color: rgba(255,255,255,.55);
    font-size: 13px;
    text-align: center;
}

.lp-panel-alt a { color: var(--pink-light); font-weight: 700; text-decoration: none; }
.lp-panel-alt a:hover { color: #FFFFFF; }


/* ---------- RESPONSIVE ---------- */

@media (max-width: 1000px) {
    .lp-hero-inner { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 900px) {
    .lp-close-inner { grid-template-columns: 1fr; width: calc(100% - 32px); }
    .lp-panel { padding: 28px 22px; }
}

@media (max-width: 700px) {
    .lp-cards { grid-template-columns: 1fr; }
    .lp-header { margin-bottom: 32px; }
}

@media (max-width: 640px) {
    .lp-hero-inner { width: calc(100% - 32px); }
    .lp-actions { flex-direction: column; align-items: stretch; }
}


/* ---------- TEMA OSCURO ---------- */

[data-theme="dark"] .lp-hero,
[data-theme="dark"] .lp-section { background: #000000; }

[data-theme="dark"] .lp-section--alt { background: var(--surface-soft); }

[data-theme="dark"] .lp-hero::before {
    background-image:
        linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
}

[data-theme="dark"] .lp-hero-title,
[data-theme="dark"] .lp-hero-lead strong,
[data-theme="dark"] .lp-title,
[data-theme="dark"] .lp-card h3,
[data-theme="dark"] .lp-ticker-item strong,
[data-theme="dark"] .lp-compare-value--win,
[data-theme="dark"] .lp-faq summary { color: #FFFFFF; }

[data-theme="dark"] .lp-card,
[data-theme="dark"] .lp-faq details,
[data-theme="dark"] .lp-compare { background: var(--surface-soft); box-shadow: none; }

[data-theme="dark"] .lp-section--alt .lp-card,
[data-theme="dark"] .lp-section--alt .lp-faq details { background: #000000; }

[data-theme="dark"] .lp-compare-row:nth-child(odd) { background: #000000; }

[data-theme="dark"] .lp-tag,
[data-theme="dark"] .lp-btn--ghost { background: transparent; color: #FFFFFF; }

[data-theme="dark"] .lp-card-icon { background: rgba(210,31,103,.14); }

[data-theme="dark"] .lp-btn--dark {
    border-color: rgba(255,255,255,.18);
    background: #FFFFFF;
    color: #0B0A09;
}

[data-theme="dark"] .lp-btn--dark:hover { background: #E6E6E6; color: #0B0A09; }

[data-theme="dark"] .lp-close,
[data-theme="dark"] .lp-band { border-top: 1px solid var(--border); }


/* ---------- MOVIMIENTO REDUCIDO ---------- */

@media (prefers-reduced-motion: reduce) {
    .lp-badge-dot,
    .lp-ticker-track { animation: none; }
    .lp-btn,
    .lp-card,
    .lp-wa { transition: none; }
    .lp-btn:hover,
    .lp-card:hover,
    .lp-wa:hover { transform: none; }
}
