/* BENQIT · Landing pública (sin dependencias; modo claro/oscuro con html.dark) */
:root {
    --lp-navy: #0E2747;
    --lp-blue: #2164F3;
    --lp-teal: #18C8C2;
    --lp-mint: #5EE4DD;
    --lp-bg: #FFFFFF;
    --lp-alt: #F4F7FB;
    --lp-card: #FFFFFF;
    --lp-text: #475569;
    --lp-title: #0E2747;
    --lp-muted: #64748B;
    --lp-border: #E2E8F0;
    --lp-soft: #EEF4FF;
    --lp-header: rgba(255, 255, 255, .86);
    --lp-shadow: 0 24px 70px rgba(14, 39, 71, .12);
    --lp-radius: 24px;
}
html.dark {
    --lp-bg: #06101F;
    --lp-alt: #081628;
    --lp-card: rgba(255, 255, 255, .04);
    --lp-text: #CBD5E1;
    --lp-title: #FFFFFF;
    --lp-muted: #94A3B8;
    --lp-border: rgba(255, 255, 255, .10);
    --lp-soft: rgba(255, 255, 255, .08);
    --lp-header: rgba(6, 16, 31, .86);
    --lp-shadow: 0 24px 70px rgba(0, 0, 0, .35);
    color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background .2s, color .2s;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--lp-title); margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 900; line-height: 1.12; margin-top: 12px; }
h3 { font-size: 1.15rem; font-weight: 800; margin-top: 18px; }
p { margin: 0; }
.hidden { display: none !important; }
.lp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.benqit-brand { display: block; height: auto; }

/* Header */
.lp-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--lp-header); border-bottom: 1px solid var(--lp-border); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.lp-header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.lp-logo { color: var(--lp-title); }
.lp-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 700; color: var(--lp-muted); }
.lp-nav a:hover, .lp-mobile-menu a:hover { color: var(--lp-blue); }
.lp-actions { display: flex; align-items: center; gap: 10px; }
.lp-icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--lp-border); background: var(--lp-card); color: var(--lp-title); cursor: pointer; font-size: 16px; }
.lp-show-mobile { display: none; }
.lp-mobile-menu { display: grid; gap: 12px; padding: 16px 20px 20px; border-top: 1px solid var(--lp-border); background: var(--lp-bg); font-weight: 700; }
.lp-accent { color: var(--lp-blue); }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-weight: 800; font-size: 14px; border: 1px solid transparent; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-lg { padding: 16px 28px; border-radius: 16px; font-size: 16px; }
.lp-btn-primary { background: var(--lp-blue); color: #fff; box-shadow: 0 12px 30px rgba(33, 100, 243, .25); }
.lp-btn-ghost { border-color: var(--lp-border); background: var(--lp-card); color: var(--lp-title); }
.lp-btn-white { background: #fff; color: var(--lp-navy); }
.lp-btn-outline-white { border-color: rgba(255, 255, 255, .5); color: #fff; }

/* Hero */
.lp-hero { position: relative; overflow: hidden; padding: 128px 0 96px; background:
    linear-gradient(rgba(33, 100, 243, .06) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(33, 100, 243, .06) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(135deg, #EEF4FF, #FFFFFF 45%, #E9FBFA); }
html.dark .lp-hero { background:
    linear-gradient(rgba(94, 228, 221, .05) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(94, 228, 221, .05) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(135deg, #06101F, #0A1930 50%, #07333D); }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lp-hero h1 { margin-top: 26px; font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 900; line-height: 1.06; letter-spacing: -.035em; }
.lp-gradient-text { background-image: linear-gradient(90deg, var(--lp-blue), var(--lp-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(33, 100, 243, .2); background: var(--lp-card); color: var(--lp-blue); font-weight: 800; font-size: 14px; }
html.dark .lp-pill { color: #93B4FF; }
.lp-lead { margin-top: 26px; max-width: 640px; font-size: 1.15rem; line-height: 1.75; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.lp-justify { justify-content: center; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; font-size: 14px; font-weight: 700; color: var(--lp-muted); }
.lp-trust i { color: var(--lp-teal); margin-right: 4px; }

/* Mockup */
.lp-mock-wrap { position: relative; }
.lp-mock-wrap::before, .lp-mock-wrap::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; filter: blur(60px); z-index: 0; }
.lp-mock-wrap::before { left: -40px; top: 20px; background: rgba(33, 100, 243, .22); }
.lp-mock-wrap::after { right: -30px; bottom: 10px; background: rgba(24, 200, 194, .25); }
.lp-mock { position: relative; z-index: 1; padding: 16px; border-radius: 32px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .8); box-shadow: var(--lp-shadow); backdrop-filter: blur(18px); }
html.dark .lp-mock { border-color: var(--lp-border); background: rgba(255, 255, 255, .05); }
.lp-mock-inner { padding: 20px; border-radius: 24px; border: 1px solid var(--lp-border); background: #F8FAFC; display: grid; gap: 12px; }
html.dark .lp-mock-inner { background: #081526; }
.lp-mock-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--lp-border); }
.lp-mock-title { display: flex; align-items: center; gap: 12px; }
.lp-mock-title strong, .lp-mock-text strong, .lp-mock-amount strong { display: block; color: var(--lp-title); }
.lp-mock-title small, .lp-mock-text small { display: block; font-size: 12px; color: var(--lp-muted); }
.lp-mock-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--lp-card); box-shadow: 0 1px 2px rgba(15, 23, 42, .06); font-size: 14px; }
html.dark .lp-mock-row { background: rgba(255, 255, 255, .05); }
.lp-mock-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--lp-soft); color: var(--lp-blue); font-size: 18px; }
.lp-mock-text { flex: 1; min-width: 0; }
.lp-mock-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-mock-amount { text-align: right; }
.lp-mock-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.lp-mock-buttons .lp-btn { padding: 12px; }

/* Tags */
.lp-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.lp-tag-teal { background: #CCFBF1; color: #0F766E; }
.lp-tag-blue { background: #DBEAFE; color: #1D4ED8; }
.lp-tag-amber { background: #FEF3C7; color: #B45309; }
.lp-tag-violet { background: #EDE9FE; color: #6D28D9; }
.lp-tag-muted { background: #F1F5F9; color: #64748B; }
html.dark .lp-tag-muted { background: rgba(255, 255, 255, .1); color: #CBD5E1; }

/* Sections */
.lp-section { padding: 88px 0; }
.lp-alt { background: var(--lp-alt); }
.lp-pt0 { padding-top: 0; }
.lp-center { max-width: 780px; margin: 0 auto; text-align: center; }
.lp-center > p { margin-top: 18px; font-size: 1.1rem; }
.lp-kicker { font-weight: 900; font-size: 13px; letter-spacing: .08em; color: var(--lp-blue); }
.lp-teal { color: var(--lp-teal); }
.lp-mint { color: var(--lp-mint); }
.lp-split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.lp-split-head > div { max-width: 760px; }
.lp-split-head > p { max-width: 420px; }
.lp-two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.lp-two-col > div > p { margin-top: 18px; }
.lp-grid { display: grid; gap: 20px; margin-top: 52px; }
.lp-no-margin { margin-top: 0; }
.lp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.lp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lp-grid-4 { grid-template-columns: repeat(4, 1fr); }
.lp-card { position: relative; padding: 28px; border-radius: var(--lp-radius); border: 1px solid var(--lp-border); background: var(--lp-card); }
.lp-card p { margin-top: 10px; font-size: 15px; }
.lp-card-white { background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .05); }
html.dark .lp-card-white { background: rgba(255, 255, 255, .04); }
.lp-card-sm { padding: 22px; }
.lp-card-sm strong { display: block; margin-top: 10px; color: var(--lp-title); }
.lp-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.lp-card-top + h3 { margin-top: 18px; }
.lp-badge-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(135deg, var(--lp-blue), var(--lp-teal)); color: #fff; font-size: 20px; }
.lp-soft-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; background: var(--lp-soft); color: var(--lp-blue); font-size: 19px; }
html.dark .lp-soft-icon, html.dark .lp-mock-icon, html.dark .lp-role-icon { color: #93B4FF; }
.lp-role-icon { font-size: 24px; color: var(--lp-blue); }
.lp-step-no { position: absolute; right: 24px; top: 18px; font-size: 48px; font-weight: 900; color: #EEF2F7; line-height: 1; }
html.dark .lp-step-no { color: rgba(255, 255, 255, .06); }
.lp-list { display: grid; gap: 14px; }
.lp-list-item { display: flex; gap: 16px; padding: 20px; border-radius: 18px; border: 1px solid var(--lp-border); background: var(--lp-card); }
.lp-list-item strong { color: var(--lp-title); }
.lp-list-item p { margin-top: 4px; font-size: 14px; }

/* Security */
.lp-security { display: grid; grid-template-columns: 1fr .9fr; gap: 40px; align-items: center; padding: 48px 56px; border-radius: 32px; background: var(--lp-navy); color: #DBEAFE; }
html.dark .lp-security { background: #0B1D38; border: 1px solid var(--lp-border); }
.lp-security h2 { color: #fff; }
.lp-security p { margin-top: 18px; }
.lp-check { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .1); font-weight: 700; font-size: 14px; color: #fff; }
.lp-check i { color: var(--lp-mint); }

/* Contact & footer */
.lp-contact { padding: 88px 0; background: linear-gradient(135deg, var(--lp-blue), var(--lp-teal)); color: #EFF6FF; }
.lp-contact h2 { color: #fff; margin-top: 0; }
.lp-contact p { margin-top: 18px; font-size: 1.1rem; }
.lp-footer { padding: 40px 0; background: #06101F; color: #94A3B8; font-size: 14px; }
.lp-footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.lp-footer-brand { display: flex; flex-direction: column; gap: 8px; color: #fff; }
.lp-footer-brand span { color: #94A3B8; }
.lp-footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.lp-footer-links div { display: flex; gap: 18px; }
.lp-footer-links a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1100px) {
    .lp-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .lp-nav { display: none; }
    .lp-show-mobile { display: grid; }
}
@media (max-width: 900px) {
    .lp-hero-grid, .lp-two-col, .lp-security { grid-template-columns: 1fr; }
    .lp-grid-3 { grid-template-columns: 1fr; }
    .lp-split-head { flex-direction: column; align-items: flex-start; }
    .lp-security { padding: 36px 26px; }
    .lp-hide-md { display: none; }
}
@media (max-width: 600px) {
    .lp-grid-2, .lp-grid-4 { grid-template-columns: 1fr; }
    .lp-hide-sm { display: none; }
    .lp-hero { padding: 108px 0 72px; }
    .lp-section, .lp-contact { padding: 64px 0; }
    .lp-cta-row .lp-btn { width: 100%; }
    .lp-footer-row { flex-direction: column; }
    .lp-footer-links { align-items: center; }
}
.lp-hero-grid > *, .lp-two-col > *, .lp-grid > *, .lp-security > * { min-width: 0; }
@media (max-width: 600px) { .lp-mock-buttons { grid-template-columns: 1fr; } .lp-mock { padding: 10px; } .lp-mock-inner { padding: 14px; } }
.lp-mock-inner > * { min-width: 0; }
.lp-mock-amount { flex: 0 0 auto; }
.lp-mock-title { color: var(--lp-title); }

/* ===== Navegación entre páginas ===== */
.lp-nav a.is-current, .lp-mobile-menu a.is-current { color: var(--lp-blue); }
html.dark .lp-nav a.is-current, html.dark .lp-mobile-menu a.is-current { color: #93B4FF; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Cabecera de páginas internas ===== */
.lp-page-hero { padding: 132px 0 56px; background:
    linear-gradient(rgba(33, 100, 243, .06) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(33, 100, 243, .06) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(135deg, #EEF4FF, #FFFFFF 50%, #E9FBFA); }
html.dark .lp-page-hero { background:
    linear-gradient(rgba(94, 228, 221, .05) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(94, 228, 221, .05) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(135deg, #06101F, #0A1930 50%, #07333D); }
.lp-page-hero h1 { margin-top: 22px; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.08; letter-spacing: -.03em; }
.lp-page-hero .lp-lead { margin-left: auto; margin-right: auto; }
.lp-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.lp-hero-note { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--lp-muted); }
.lp-pt-sm { padding-top: 48px; }
.lp-small-note { margin-top: 20px; text-align: center; font-size: 14px; color: var(--lp-muted); }
.lp-small-note a, .lp-sim-corporate a { color: var(--lp-blue); font-weight: 700; }

/* ===== Tablas (comparación, funcionalidades, tramos) ===== */
.lp-table-wrap { position: relative; margin-top: 40px; overflow-x: auto; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); background: var(--lp-card); }
.lp-compare, .lp-features, .lp-tiers { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-compare th, .lp-compare td, .lp-features th, .lp-features td { padding: 14px 18px; border-bottom: 1px solid var(--lp-border); text-align: center; vertical-align: middle; }
.lp-compare thead th, .lp-features thead th { font-size: 13px; font-weight: 800; color: var(--lp-muted); text-transform: uppercase; letter-spacing: .04em; background: var(--lp-alt); }
.lp-compare tbody th, .lp-features tbody th { text-align: left; font-weight: 700; color: var(--lp-title); min-width: 240px; }
.lp-compare tbody tr:last-child > *, .lp-features tbody tr:last-child > * { border-bottom: 0; }
.lp-col-benqit { background: rgba(33, 100, 243, .06); }
.lp-compare thead .lp-col-benqit { color: var(--lp-blue); background: rgba(33, 100, 243, .1); }
html.dark .lp-compare thead .lp-col-benqit { color: #93B4FF; }
.lp-compare td .lp-tag { display: block; width: max-content; margin: 6px auto 0; }
.lp-mark { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.lp-mark i { font-size: 18px; }
.lp-mark-yes { color: #0F9F8F; }
.lp-mark-partial { color: #B45309; }
.lp-mark-no { color: var(--lp-muted); }
html.dark .lp-mark-yes { color: var(--lp-mint); }
html.dark .lp-mark-partial { color: #FBBF24; }
.lp-examples td, .lp-examples tbody th { text-align: center; font-variant-numeric: tabular-nums; }
.lp-examples tbody th { min-width: 0; }
.lp-tiers th, .lp-tiers td { padding: 12px 6px; border-bottom: 1px solid var(--lp-border); text-align: left; }
.lp-tiers thead th { font-size: 13px; color: var(--lp-muted); font-weight: 800; }
.lp-tiers td:last-child, .lp-tiers th:last-child { text-align: right; font-weight: 800; color: var(--lp-title); }
.lp-tiers tbody tr:last-child td { border-bottom: 0; }

/* ===== Funcionalidades ===== */
.lp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lp-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--lp-border); background: var(--lp-card); font-size: 14px; font-weight: 700; color: var(--lp-title); }
.lp-chips a:hover { border-color: var(--lp-blue); color: var(--lp-blue); }
.lp-feature-block { margin-top: 56px; scroll-margin-top: 90px; }
.lp-feature-block > header { display: flex; align-items: center; gap: 14px; }
.lp-feature-block h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.lp-feature-block .lp-table-wrap { margin-top: 18px; }
.lp-features td:nth-child(2) { width: 140px; }
.lp-plan-col { width: 130px; }
.lp-note-box { display: flex; gap: 14px; margin-top: 48px; padding: 20px 24px; border-radius: 18px; background: var(--lp-soft); color: var(--lp-text); font-size: 15px; }
.lp-note-box i { color: var(--lp-blue); font-size: 20px; }

/* ===== Planes ===== */
.lp-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.lp-plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--lp-radius); border: 1px solid var(--lp-border); background: var(--lp-card); }
.lp-alt .lp-plan { background: #fff; }
html.dark .lp-alt .lp-plan { background: rgba(255, 255, 255, .04); }
.lp-plan.is-highlight { border: 2px solid var(--lp-blue); box-shadow: 0 20px 50px rgba(33, 100, 243, .15); }
.lp-plan-badge { position: absolute; top: -13px; left: 24px; padding: 3px 12px; border-radius: 999px; background: var(--lp-blue); color: #fff; font-size: 12px; font-weight: 800; }
.lp-plan h3 { margin-top: 0; font-size: 1.3rem; }
.lp-plan-tagline { margin-top: 6px; font-size: 14px; color: var(--lp-muted); min-height: 44px; }
.lp-plan-price { margin-top: 18px; }
.lp-plan-price strong { display: block; font-size: 2rem; font-weight: 900; color: var(--lp-title); line-height: 1.1; }
.lp-plan-price small { font-size: 13px; color: var(--lp-muted); font-weight: 600; }
.lp-plan-note { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--lp-blue); }
html.dark .lp-plan-note { color: #93B4FF; }
.lp-plan-list { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--lp-border); display: grid; gap: 10px; font-size: 14px; flex: 1; }
.lp-plan-list li { display: flex; gap: 8px; align-items: flex-start; }
.lp-plan-list i { color: var(--lp-teal); font-size: 16px; line-height: 1.4; }
.lp-plan .lp-btn { margin-top: 24px; }

/* ===== Simulador ===== */
.lp-sim { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 44px; padding: 28px; border-radius: 28px; border: 1px solid var(--lp-border); background: var(--lp-alt); }
.lp-sim-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 24px; align-items: start; }
.lp-sim-uf { grid-column: 1 / -1; }
.lp-field { display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: var(--lp-title); }
.lp-field small { font-weight: 500; color: var(--lp-muted); }
.lp-field input[type=number] { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lp-border); background: var(--lp-bg); color: var(--lp-title); font: inherit; font-size: 18px; font-weight: 800; }
.lp-field input[type=number]:focus { outline: 2px solid var(--lp-blue); outline-offset: 1px; }
.lp-field input[type=range] { width: 100%; accent-color: var(--lp-blue); }
.lp-sim-uf { font-size: 13px; color: var(--lp-muted); }
.lp-sim-uf strong { color: var(--lp-title); }
.lp-sim-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-sim-card { padding: 20px; border-radius: 20px; border: 1px solid var(--lp-border); background: var(--lp-bg); }
.lp-sim-card.is-highlight { border: 2px solid var(--lp-blue); }
.lp-sim-card header { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp-sim-card h3 { margin: 0; font-size: 1.05rem; }
.lp-sim-card [hidden] { display: none; }
.lp-sim-total { margin-top: 14px; }
.lp-sim-total strong { display: block; font-size: 1.7rem; font-weight: 900; color: var(--lp-title); line-height: 1.1; font-variant-numeric: tabular-nums; }
.lp-sim-total small { font-size: 13px; color: var(--lp-muted); }
.lp-sim-clp { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--lp-blue); }
html.dark .lp-sim-clp { color: #93B4FF; }
.lp-sim-detail { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--lp-border); display: grid; gap: 8px; font-size: 13px; }
.lp-sim-detail div { display: flex; justify-content: space-between; gap: 10px; }
.lp-sim-detail dt { color: var(--lp-muted); }
.lp-sim-detail dd { margin: 0; font-weight: 700; color: var(--lp-title); font-variant-numeric: tabular-nums; }
.lp-sim-corporate { grid-column: 1 / -1; padding: 14px 18px; border-radius: 14px; background: var(--lp-soft); font-size: 14px; font-weight: 600; }
.lp-sim-corporate[hidden] { display: none; }

/* ===== Preguntas frecuentes ===== */
.lp-faq { max-width: 860px; margin: 40px auto 0; display: grid; gap: 12px; }
.lp-faq details { padding: 18px 22px; border-radius: 16px; border: 1px solid var(--lp-border); background: var(--lp-card); }
.lp-alt .lp-faq details { background: #fff; }
html.dark .lp-alt .lp-faq details { background: rgba(255, 255, 255, .04); }
.lp-faq summary { cursor: pointer; font-weight: 800; color: var(--lp-title); }
.lp-faq p { margin-top: 10px; font-size: 15px; }

@media (max-width: 1100px) {
    .lp-plans { grid-template-columns: repeat(2, 1fr); }
    .lp-sim { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .lp-sim-results, .lp-sim-inputs { grid-template-columns: 1fr; }
    .lp-sim { padding: 18px; }
}
@media (max-width: 600px) {
    .lp-plans { grid-template-columns: 1fr; }
    .lp-page-hero { padding: 108px 0 40px; }
    .lp-compare th, .lp-compare td, .lp-features th, .lp-features td { padding: 12px; }
    .lp-compare tbody th, .lp-features tbody th { min-width: 190px; }
    .lp-plan-tagline { min-height: 0; }
}
.lp-plans > *, .lp-sim > *, .lp-sim-results > * { min-width: 0; }
.lp-footer-links div { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 600px) { .lp-footer-links div { justify-content: center; gap: 10px 16px; } .lp-footer-links { text-align: center; } }

/* ===== Contacto y soporte ===== */
.lp-page-hero-sm { padding-bottom: 40px; }
.lp-contact-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 28px; align-items: start; }
.lp-contact-side { display: grid; gap: 14px; }
.lp-side-card { display: flex; gap: 14px; padding: 20px; border-radius: 18px; border: 1px solid var(--lp-border); background: var(--lp-card); transition: border-color .15s; }
a.lp-side-card:hover { border-color: var(--lp-blue); }
.lp-side-card > i { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 12px; background: var(--lp-soft); color: var(--lp-blue); font-size: 18px; }
html.dark .lp-side-card > i { color: #93B4FF; }
.lp-side-card strong { color: var(--lp-title); }
.lp-side-card p { margin-top: 4px; font-size: 14px; }
.lp-form-card { padding: 30px; border-radius: 28px; border: 1px solid var(--lp-border); background: var(--lp-alt); }
.lp-form { position: relative; display: grid; gap: 18px; }
.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lp-field input:not([type=range]):not([type=number]), .lp-field select, .lp-field textarea, .lp-form .lp-field input[type=number] {
    width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lp-border); background: var(--lp-bg); color: var(--lp-title); font: inherit; font-size: 15px; font-weight: 500;
}
.lp-field textarea { resize: vertical; min-height: 140px; }
.lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus { outline: 2px solid var(--lp-blue); outline-offset: 1px; }
.lp-field [aria-invalid=true] { border-color: #DC2626; }
.lp-field-error { color: #DC2626; font-weight: 600; font-size: 13px; }
html.dark .lp-field-error { color: #F87171; }
.lp-form .lp-btn { justify-self: start; }
.lp-form-note { font-size: 13px; color: var(--lp-muted); }
.lp-form-note a { color: var(--lp-blue); font-weight: 700; }
.lp-trap { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-alert { display: flex; gap: 12px; margin-bottom: 20px; padding: 16px 18px; border-radius: 16px; font-size: 14px; }
.lp-alert i { font-size: 20px; }
.lp-alert strong { display: block; }
.lp-alert-success { background: #DCFCE7; color: #166534; }
.lp-alert-error { background: #FEE2E2; color: #991B1B; }
html.dark .lp-alert-success { background: rgba(34, 197, 94, .15); color: #BBF7D0; }
html.dark .lp-alert-error { background: rgba(239, 68, 68, .15); color: #FECACA; }
@media (max-width: 900px) { .lp-contact-grid { grid-template-columns: 1fr; } .lp-contact-side { order: 2; } }
@media (max-width: 600px) { .lp-form-row { grid-template-columns: 1fr; } .lp-form-card { padding: 20px; } .lp-form .lp-btn { width: 100%; } }
.lp-contact-grid > *, .lp-form-row > * { min-width: 0; }

/* ===== Documentación de la API ===== */
.lp-docs { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.lp-docs-nav { position: sticky; top: 92px; display: grid; gap: 4px; max-height: calc(100vh - 110px); overflow: auto; font-size: 14px; }
.lp-docs-nav strong { margin-top: 14px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-muted); }
.lp-docs-nav a { padding: 4px 8px; border-radius: 8px; color: var(--lp-title); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-docs-nav a:hover { background: var(--lp-soft); }
.lp-docs-nav span { padding: 4px 8px; color: var(--lp-muted); }
.lp-docs-body { min-width: 0; display: grid; gap: 18px; }
.lp-doc-block { padding: 26px; border-radius: 20px; border: 1px solid var(--lp-border); background: var(--lp-card); scroll-margin-top: 90px; }
.lp-doc-block h2 { font-size: 1.5rem; margin-top: 0; }
.lp-doc-block h4 { margin: 12px 0 0; color: var(--lp-title); font-size: 1.1rem; }
.lp-doc-block p { margin-top: 10px; font-size: 15px; }
.lp-doc-block a { color: var(--lp-blue); font-weight: 700; }
.lp-doc-section { margin-top: 20px; scroll-margin-top: 90px; }
.lp-doc-group { margin: 10px 0 0; font-size: 1.1rem; color: var(--lp-muted); }
.lp-docs pre { margin: 12px 0 0; padding: 16px; border-radius: 14px; background: #0B1B33; color: #E2E8F0; font-size: 13px; line-height: 1.55; overflow-x: auto; }
.lp-docs pre code { color: inherit; }
.lp-docs code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.lp-doc-block p code, .lp-doc-table code { padding: 1px 6px; border-radius: 6px; background: var(--lp-soft); color: var(--lp-title); }
.lp-doc-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14px; }
.lp-doc-table th, .lp-doc-table td { padding: 9px 10px; border-bottom: 1px solid var(--lp-border); text-align: left; vertical-align: top; }
.lp-doc-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--lp-muted); }
.lp-doc-table small { color: var(--lp-muted); }
.lp-endpoint-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lp-endpoint-head > code { font-size: 15px; font-weight: 700; color: var(--lp-title); }
.lp-method { display: inline-block; min-width: 46px; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; text-align: center; color: #fff; background: #64748B; }
.lp-method-get { background: #0F9F8F; }
.lp-method-post { background: #2164F3; }
.lp-method-put { background: #B45309; }
.lp-method-delete { background: #DC2626; }
.lp-docs details { margin-top: 12px; }
.lp-docs summary { cursor: pointer; font-weight: 700; color: var(--lp-title); font-size: 14px; }
.lp-doc-soon { background: var(--lp-soft); }
@media (max-width: 900px) { .lp-docs { grid-template-columns: 1fr; } .lp-docs-nav { position: static; max-height: none; } }
@media (max-width: 600px) { .lp-doc-block { padding: 18px; } .lp-doc-table { display: block; overflow-x: auto; } }
.lp-docs > * { min-width: 0; }
.lp-doc-steps { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; font-size: 15px; }
.lp-doc-steps code { padding: 1px 6px; border-radius: 6px; background: var(--lp-soft); color: var(--lp-title); }
.lp-docs-body > * { min-width: 0; }
.lp-doc-block p code, .lp-doc-steps code { overflow-wrap: anywhere; word-break: break-word; }
.lp-docs-nav .lp-method { padding: 1px 6px; color: #fff; min-width: 38px; font-size: 10px; }
.lp-doc-block h3 { margin: 22px 0 6px; font-size: 17px; color: var(--lp-title); }
.lp-doc-note { margin: 8px 0 0; font-size: 14px; color: var(--lp-muted); }
.lp-doc-table td code { overflow-wrap: anywhere; }

/* Arma tu plan (8B) */
.lp-plan-from { font-size: 14px; font-weight: 700; color: var(--lp-muted); }
.lp-sim-modules { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 22px; padding: 0; border: 0; }
.lp-sim-modules legend { width: 100%; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--lp-title); }
.lp-sim-check { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--lp-border); background: var(--lp-bg); font-size: 14px; font-weight: 700; color: var(--lp-title); cursor: pointer; }
.lp-sim-check input { accent-color: var(--lp-blue); width: 16px; height: 16px; }
.lp-sim-card.is-unavailable { opacity: .55; }
.lp-sim-missing { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: #B45309; }
