/*
 * Sistema de diseño de las páginas públicas de Idoo Bio (rediseño 2026-11).
 * Es el mismo sistema `lv-*` de las landings de Idoo Restaurant e Idoo Doctor, en el azul de
 * la marca (#1460BC). Lo cargan layouts/main (páginas públicas), layouts/app (panel) y
 * layouts/auth (entrar, registro, contraseña, verificación), después de style.css del tema "classic".
 * Lo que sólo usa una página va en un @push('styles') de esa página, no aquí.
 * Al cambiar este archivo o landing.js no hace falta subir versión: el ?v= sale de filemtime.
 */
:root {
    --primary-color: #1460BC;
    --primary-color-dark: #0F4C96;
    --primary-rgb: 20, 96, 188;
    --accent-color: #2E9BFF;
    --bg-gradient: linear-gradient(135deg, #1460BC 0%, #2E9BFF 100%);
    /* Franja de la portada de marca: cian → azul → violeta */
    --lv-stripe: linear-gradient(90deg, #00C2FF 0%, #2B7BE4 45%, #6A1BC4 100%);
    --lv-rosa: #F8B4C4;
    --soft-bg: #EEF5FD;

    --lv-ink: #1e293b;
    --lv-muted: #64748b;
    --lv-line: rgba(15, 23, 42, 0.08);

    /* El tema "classic" toma la fuente de aquí */
    --font-primary: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { font-family: var(--font-primary); }
.lv-page { color: var(--lv-ink); background-color: #fff; font-weight: 400; }
.lv-page h1, .lv-page h2, .lv-page h3, .lv-page h4, .lv-page h5 { letter-spacing: -0.02em; color: var(--lv-ink); }
.lv-page p { color: inherit; }
.section-py { padding-block: 6.25rem; }
@media (max-width: 1199.98px) { .section-py { padding-block: 4rem; } }
@media (max-width: 767.98px) { .section-py { padding-block: 3rem; } }

/* Botones: propios, para no heredar los del tema (.button) */
.lv-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.25rem;
    border-radius: 12px; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-transform: none;
    border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease; cursor: pointer; }
.lv-btn-lg { padding: .9rem 1.5rem; font-size: 1.05rem; }
.lv-btn-sm { padding: .5rem 1rem; font-size: .92rem; border-radius: 10px; }
.lv-btn-primary { background: var(--bg-gradient); color: #fff; border-color: var(--primary-color); box-shadow: 0 4px 14px 0 rgba(var(--primary-rgb), .39); }
.lv-btn-primary:hover, .lv-btn-primary:focus { background: var(--primary-color-dark); color: #fff; transform: translateY(-1px); }
.lv-btn-outline { color: var(--primary-color); border-color: var(--primary-color); background: transparent; }
.lv-btn-outline:hover, .lv-btn-outline:focus { background: var(--primary-color); color: #fff; }
.lv-btn-white { background: #fff; color: var(--primary-color-dark); border-color: #fff; }
.lv-btn-white:hover, .lv-btn-white:focus { background: var(--soft-bg); color: var(--primary-color-dark); transform: translateY(-1px); }
.lv-btn-outline-white { color: #fff; border-color: rgba(255,255,255,.85); background: transparent; }
.lv-btn-outline-white:hover, .lv-btn-outline-white:focus { color: var(--primary-color-dark); background: #fff; border-color: #fff; }
.lv-btn:focus-visible, .lv-nav a:focus-visible { outline: 3px solid rgba(var(--primary-rgb), .45); outline-offset: 2px; }

/* ---------- Barra de navegación (todas las páginas de layouts/main) ---------- */
.lv-nav { position: fixed; inset: 0 0 auto 0; z-index: 1030; background: rgba(255,255,255,.88);
    -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--lv-line); }
.lv-nav-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.lv-nav-brand { flex-shrink: 0; }
.lv-nav-brand img { height: 40px; width: auto; display: block; }
.lv-nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0 auto 0 1.5rem; padding: 0; }
.lv-nav-links a { display: block; white-space: nowrap; padding: .5rem .8rem; border-radius: 10px; color: var(--lv-ink); font-weight: 500; font-size: .95rem; text-decoration: none; }
.lv-nav-links a:hover { color: var(--primary-color); background: var(--soft-bg); }
.lv-nav-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.lv-nav-toggle { display: none; border: 0; background: transparent; font-size: 1.6rem; color: var(--lv-ink); padding: .25rem .4rem; line-height: 1; }
.lv-lang .dropdown-toggle { display: inline-flex; align-items: center; gap: .4rem; border: 0; background: transparent; color: var(--lv-ink);
    font-weight: 500; font-size: .92rem; padding: .45rem .6rem; border-radius: 10px; }
.lv-lang .dropdown-toggle:hover { background: var(--soft-bg); }
.lv-nav .dropdown-menu { border-radius: 14px; border: 1px solid var(--lv-line); box-shadow: 0 14px 34px rgba(15,23,42,.12); padding: .4rem; }
.lv-nav .dropdown-item { border-radius: 8px; padding: .5rem .75rem; font-size: .92rem; display: flex; align-items: center; gap: .5rem; }
.lv-nav .dropdown-item.active, .lv-nav .dropdown-item:active { background: var(--primary-color); color: #fff; }
.lv-avatar-btn { border: 2px solid var(--soft-bg); border-radius: 50%; padding: 0; width: 42px; height: 42px; overflow: hidden; background: #fff; }
.lv-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
/* Aviso «Has entrado como…» del admin: abajo, para que la barra fija no lo tape */
.lv-impersonando { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; border-radius: 0; padding-inline: 1rem; }
@media (max-width: 991.98px) {
    .lv-nav-toggle { display: inline-block; }
    .lv-nav-links { position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch;
        background: #fff; border-bottom: 1px solid var(--lv-line); padding: .5rem 1rem 1rem; box-shadow: 0 20px 40px rgba(15,23,42,.08); display: none; }
    .lv-nav-links.show { display: flex; }
    .lv-nav-links a { padding: .75rem .5rem; }
    .lv-nav-brand img { height: 34px; }
}
.lv-nav-actions .lv-btn { white-space: nowrap; }
@media (max-width: 575.98px) {
    .lv-nav-actions .lv-hide-xs, .lv-nav-actions .lv-hide-xs-text { display: none; }
    /* Margen lateral de 16px en celular (el tema lo deja en 12px o menos) */
    .lv-nav > .container, .lv-page .container, .lv-footer > .container { padding-inline: 1rem; }
}

/* ---------- Pie (todas las páginas de layouts/main) ---------- */
.lv-footer { background: #0b1e36; color: #cbd5e1; padding: 4rem 0 2rem; position: relative; }
.lv-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--lv-stripe); }
.lv-footer p { color: #cbd5e1; }
.lv-footer h6 { color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
.lv-footer a { color: #cbd5e1; text-decoration: none; }
.lv-footer a:hover { color: #fff; text-decoration: underline; }
.lv-footer ul { list-style: none; padding: 0; margin: 0; }
.lv-footer li { margin-bottom: .55rem; }
.lv-footer-logo { height: 40px; width: auto; margin-bottom: 1rem; }
.lv-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .88rem; color: #94a3b8; }
.lv-social { display: flex; gap: .5rem; }
.lv-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 1.1rem; }
.lv-social a:hover { background: var(--primary-color); text-decoration: none; }

/* ---------- Tipografía de sección ---------- */
.lv-eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .08em; color: var(--primary-color); margin-bottom: .75rem; }
.lv-section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.lv-lead { font-size: 1.125rem; color: var(--lv-muted); max-width: 42rem; line-height: 1.6; }
.lv-accent { background: var(--bg-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lv-soft { color: #94a3b8; }

.bg-pattern { background-color: #f5f9ff; background-image: radial-gradient(rgba(var(--primary-rgb), .22) 1px, transparent 1px); background-size: 20px 20px; }

/* ---------- Hero ---------- */
.lv-hero { padding-top: 9rem; padding-bottom: 5rem; overflow: hidden; background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(var(--primary-rgb), .16), transparent 60%),
    radial-gradient(40rem 25rem at -10% 110%, rgba(0,194,255,.12), transparent 60%), #fff; }
.lv-hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; line-height: 1.05; margin-bottom: 1.25rem; }
.lv-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--lv-line); box-shadow: 0 2px 10px rgba(15,23,42,.05); font-size: .85rem; font-weight: 500; margin-bottom: 1.25rem; }
.lv-pill i { color: var(--primary-color); }
.lv-checks { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; color: var(--lv-muted); list-style: none; padding: 0; margin: 1.5rem 0 0; }
.lv-checks i { color: #16a34a; }
.lv-hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 520px; }
/* El personaje va detrás del teléfono: con multiply encima se mezcla con la pantalla */
.lv-hero-idooer { position: absolute; left: -2%; bottom: -1rem; width: 44%; max-width: 230px; mix-blend-mode: multiply; z-index: 0; }
.lv-hero-art .lv-phone { z-index: 1; }
@media (max-width: 1199.98px) { .lv-hero-idooer { display: none; } }
.lv-toast { position: absolute; display: flex; align-items: center; gap: .75rem; background: #fff; border-radius: 14px;
    padding: .7rem .9rem; box-shadow: 0 14px 34px rgba(15,23,42,.14); border: 1px solid var(--lv-line); font-size: .85rem; max-width: 250px; z-index: 3; }
.lv-toast strong { display: block; font-size: .875rem; }
.lv-toast small { color: var(--lv-muted); }
.lv-toast .lv-ico { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 1.2rem; }
.lv-toast-1 { top: 8%; right: -2%; }
.lv-toast-2 { bottom: 16%; right: -4%; }
@media (max-width: 991.98px) { .lv-toast, .lv-hero-idooer { display: none; } .lv-hero { padding-top: 7rem; } .lv-hero-art { min-height: 0; margin-top: 2.5rem; } }
@keyframes lv-float { 0% { transform: translateY(0); } 50% { transform: translateY(-12px); } 100% { transform: translateY(0); } }
.floating-img { animation: lv-float 6s ease-in-out infinite; }

/* ---------- Maqueta de teléfono con una página bio ---------- */
.lv-phone { position: relative; width: 280px; aspect-ratio: 9 / 18.5; border-radius: 42px; background: #0f172a; padding: 11px;
    box-shadow: 0 30px 80px rgba(var(--primary-rgb), .28), 0 0 0 1px rgba(15,23,42,.2); flex: 0 0 auto; }
.lv-phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px;
    border-radius: 999px; background: #0f172a; z-index: 2; }
.lv-screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: #fff; display: flex; flex-direction: column; align-items: center; }
.lv-bio-cover { width: 100%; height: 30%; flex: 0 0 auto; background: var(--primary-color);
    background-image: repeating-radial-gradient(circle at 70% 20%, rgba(255,255,255,.07) 0 14px, transparent 14px 28px); }
.lv-bio-avatar { width: 84px; height: 84px; border-radius: 50%; margin-top: -42px; background: #fff; border: 4px solid #fff;
    box-shadow: 0 6px 18px rgba(15,23,42,.15); overflow: hidden; display: grid; place-items: center; }
.lv-bio-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lv-bio-name { font-weight: 700; font-size: 1rem; margin: .6rem 0 .1rem; color: var(--lv-ink); }
.lv-bio-tag { font-size: .72rem; color: var(--lv-muted); margin-bottom: .9rem; text-align: center; padding: 0 1rem; }
.lv-bio-links { width: 100%; padding: 0 1.1rem; display: grid; gap: .5rem; }
.lv-bio-link { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; border-radius: 999px; border: 1.5px solid var(--lv-ink);
    font-size: .76rem; font-weight: 600; color: var(--lv-ink); background: #fff; }
.lv-bio-link i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .8rem; flex: 0 0 24px; }
.lv-bio-link span { flex: 1; text-align: center; margin-right: 24px; }
.lv-bio-social { display: flex; gap: .45rem; margin-top: .9rem; }
.lv-bio-social i { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--lv-line); display: grid; place-items: center; font-size: .85rem; color: var(--lv-ink); }
.lv-bio-brand { margin-top: auto; padding-bottom: .9rem; opacity: .8; }
.lv-bio-brand img { height: 18px; width: auto; }

/* ---------- «¿Todavía dices link en bio?» ---------- */
.lv-replace { border-block: 1px solid var(--lv-line); background: #fff; padding-block: 2.5rem; }
.lv-tools { display: flex; flex-wrap: wrap; gap: .5rem; }
.lv-tool { padding: .35rem .8rem; border-radius: 999px; background: #f1f5f9; color: var(--lv-muted); font-size: .85rem;
    text-decoration: line-through; text-decoration-color: rgba(220,38,38,.55); }
.lv-arrow { font-size: 1.75rem; color: var(--primary-color); }
.lv-one { display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1rem; border-radius: 14px;
    background: var(--soft-bg); border: 1px solid rgba(var(--primary-rgb), .35); font-weight: 700; }

/* ---------- Pestañas Persona / Negocio ---------- */
.lv-tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; justify-content: center; }
.lv-tabs::-webkit-scrollbar { display: none; }
.lv-tabs .nav-link { white-space: nowrap; border-radius: 999px; padding: .6rem 1.1rem; font-weight: 600; color: var(--lv-ink);
    background: #fff; border: 1px solid var(--lv-line); }
.lv-tabs .nav-link.active { background: var(--lv-ink); color: #fff; border-color: var(--lv-ink); }
.lv-pane { background: #fff; border: 1px solid var(--lv-line); border-radius: 24px; padding: clamp(1.25rem, 4vw, 3rem); box-shadow: 0 20px 60px rgba(15,23,42,.06); }
.lv-pane h3 { line-height: 1.2; font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.lv-pain { font-size: .95rem; color: #b91c1c; background: #fef2f2; border-radius: 12px; padding: .75rem 1rem; }
.lv-gains { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.lv-gains li { display: flex; gap: .75rem; }
.lv-gains i { color: #16a34a; font-size: 1.25rem; line-height: 1.4; }
.lv-gains strong { display: block; }
.lv-gains small { color: var(--lv-muted); font-size: .9rem; }

/* ---------- Banda azul de marca (el fondo de las publicaciones de redes) ---------- */
.lv-blue { position: relative; overflow: hidden; color: #e6efff; background-color: var(--primary-color);
    background-image: repeating-radial-gradient(circle at 85% 15%, rgba(255,255,255,.045) 0 22px, transparent 22px 44px),
                      repeating-radial-gradient(circle at 5% 95%, rgba(255,255,255,.035) 0 22px, transparent 22px 44px); }
.lv-blue .lv-section-title, .lv-blue h3, .lv-blue h4 { color: #fff; }
.lv-blue .lv-lead { color: #cfe0ff; }
.lv-blue .lv-eyebrow { color: #fff; opacity: .85; }
.lv-blue .lv-rosa { color: var(--lv-rosa); }
.lv-hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.lv-hub-item { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1rem .5rem; border-radius: 18px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: .85rem; font-weight: 600; color: #fff; text-align: center; }
.lv-hub-item i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; color: #fff; }
@media (max-width: 575.98px) { .lv-hub { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Plantillas ---------- */
.lv-themes { display: flex; gap: 1.25rem; overflow-x: auto; padding: 1rem .25rem 2rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.lv-theme { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.lv-theme .lv-phone { width: 190px; border-radius: 30px; padding: 8px; box-shadow: 0 18px 40px rgba(15,23,42,.16); }
.lv-theme .lv-phone::before { top: 14px; width: 56px; height: 16px; }
.lv-theme .lv-screen { border-radius: 23px; background-size: cover; background-position: center 62%; justify-content: flex-start; }
.lv-theme-head { display: flex; flex-direction: column; align-items: center; padding-top: 2.6rem; }
.lv-theme-head span:first-child { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.9); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(15,23,42,.12); }
.lv-theme-head span:last-child { width: 70px; height: 8px; border-radius: 99px; background: rgba(15,23,42,.25); margin-top: .5rem; }
.lv-theme figcaption { margin-top: .75rem; font-weight: 600; font-size: .92rem; }
@media (min-width: 1200px) { .lv-themes { justify-content: center; overflow: visible; } }
/* Galería por grupos (home): vistas previas reales; cuadrícula en escritorio, desliza en celular */
.lv-screen-real { background-position: center top !important; }
.lv-tab-n { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; margin-left: .35rem; padding: 0 .35rem; border-radius: 99px;
    background: rgba(15,23,42,.08); font-size: .75rem; font-weight: 700; }
.lv-tabs .nav-link.active .lv-tab-n { background: rgba(255,255,255,.2); }
.lv-themes-grupo .lv-theme .lv-phone { width: 150px; aspect-ratio: auto; padding: 7px; }
.lv-themes-grupo .lv-screen { aspect-ratio: 300 / 440; height: auto; }   /* la proporción de las vistas previas: no se cortan */
@media (min-width: 992px) {
    .lv-themes-grupo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-items: center; overflow: visible; gap: 1.5rem 1rem; }
}
@media (min-width: 1200px) { .lv-themes-grupo { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .lv-tabs { flex-wrap: nowrap; justify-content: flex-start; } }
/* Las filas .g-5 de Bootstrap se salen 8px en celular (margen negativo mayor que el del contenedor) */
.lv-page { overflow-x: clip; }

/* ---------- Para quién es (home) ---------- */
.lv-nicho { display: flex; flex-direction: column; height: 100%; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--lv-line);
    color: var(--lv-ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.lv-nicho:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,.1); color: var(--lv-ink); }
.lv-nicho-img { display: block; height: 170px; overflow: hidden; background: var(--soft-bg); }
.lv-nicho-img img { width: 100%; height: auto; display: block; transition: transform .4s; }
.lv-nicho:hover .lv-nicho-img img { transform: scale(1.04); }
.lv-nicho-body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.15rem; flex: 1; }
.lv-nicho-body strong { display: flex; align-items: center; gap: .45rem; font-size: 1.02rem; }
.lv-nicho-body strong i { color: var(--primary-color); font-size: 1.15rem; }
.lv-nicho-body small { color: #64748b; font-size: .88rem; line-height: 1.45; }
@media (max-width: 575.98px) {
    .lv-nicho-img { height: 120px; }
    .lv-nicho-body { padding: .75rem .8rem .9rem; gap: .25rem; }
    .lv-nicho-body strong { font-size: .9rem; align-items: flex-start; }
    .lv-nicho-body small { font-size: .8rem; }
}
.lv-nicho-body em { margin-top: auto; padding-top: .4rem; font-style: normal; font-size: .78rem; font-weight: 600; color: var(--primary-color); }

/* ---------- Tarjetas de función ---------- */
.lv-cat { display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem; border-radius: 14px; height: 100%; background: #fff; border: 1px solid var(--lv-line); }
.lv-cat-ico { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem;
    background: rgba(var(--primary-rgb), .1); color: var(--primary-color); }
.lv-cat strong { display: block; font-size: .98rem; margin-bottom: .2rem; }
.lv-cat small { color: var(--lv-muted); font-size: .88rem; line-height: 1.5; display: block; }

/* Resultado de Google (maqueta) */
.lv-serp { background: #fff; border: 1px solid var(--lv-line); border-radius: 18px; padding: 1.25rem 1.4rem; box-shadow: 0 20px 60px rgba(15,23,42,.08); }
.lv-serp-url { font-size: .82rem; color: #202124; display: flex; align-items: center; gap: .5rem; }
.lv-serp-url span { width: 26px; height: 26px; border-radius: 50%; background: var(--soft-bg); display: grid; place-items: center; }
.lv-serp-url span img { width: 18px; height: auto; }
.lv-serp-title { color: #1a0dab; font-size: 1.15rem; margin: .35rem 0 .2rem; font-weight: 500; }
.lv-serp-desc { color: #4d5156; font-size: .9rem; margin: 0; }

/* ---------- Pasos ---------- */
.lv-step { position: relative; padding: 1.75rem; border-radius: 20px; background: #fff; border: 1px solid var(--lv-line); height: 100%; }
.lv-step-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--bg-gradient); color: #fff; margin-bottom: 1rem; }
.lv-step h3 { font-size: 1.15rem; font-weight: 700; }
.lv-step p { color: var(--lv-muted); margin: 0; }

/* ---------- Precio ---------- */
.lv-price { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(var(--primary-rgb), .22); background: #fff; }
.lv-price-left { background: var(--bg-gradient); color: #fff; padding: clamp(1.5rem, 4vw, 3rem); height: 100%; }
.lv-price-left h3 { color: #fff; }
.lv-price-right { background: #fff; padding: clamp(1.5rem, 4vw, 3rem); }
.lv-big { font-size: clamp(2.8rem, 6vw, 4rem); font-weight: 800; line-height: 1; }
.lv-price-list { columns: 2 220px; column-gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.lv-price-list li { break-inside: avoid; padding: .35rem 0; font-size: .95rem; }
.lv-price-list i { color: #16a34a; margin-right: .4rem; }
.lv-price-note { font-size: .85rem; color: var(--lv-muted); }

/* ---------- Cifras ---------- */
.lv-stat { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1; color: var(--primary-color); }
.lv-stat-label { color: var(--lv-muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.lv-faq .accordion-item { border: 1px solid #e8ecf2; border-radius: 12px !important; margin-bottom: 1rem; overflow: hidden; background: #fff; }
.lv-faq .accordion-button { font-weight: 600; color: var(--lv-ink); background: #fff; padding: 1.1rem 1.25rem; font-size: 1rem; }
.lv-faq .accordion-button:not(.collapsed) { background-color: rgba(var(--primary-rgb), .05); color: var(--primary-color-dark); box-shadow: none; }
.lv-faq .accordion-button:focus { box-shadow: none; border-color: rgba(var(--primary-rgb), .1); }
.lv-faq .accordion-body { color: #475569; line-height: 1.65; }

/* ---------- CTA final ---------- */
.lv-cta { border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.lv-cta-idooer-wrap { position: absolute; right: 3%; bottom: 0; width: 230px; height: 92%; border-radius: 120px 120px 0 0; background: #fff; overflow: hidden; }
.lv-cta-idooer-wrap img { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 92%; }
@media (max-width: 991.98px) { .lv-cta-idooer-wrap { display: none; } }

/* Aparición al hacer scroll: necesita landing.js o la sección queda invisible */
.lv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.lv-reveal.lv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .lv-reveal { opacity: 1; transform: none; transition: none; }
    .floating-img { animation: none; }
}

/* ---------- Panel de usuario (layouts/app): barra y pie ---------- */
.lv-panel { background: #f6f8fc; }
.lv-panel .dashboard-container { padding-top: 72px; }
.lv-nav-panel .lv-nav-actions { margin-left: auto; }
@media (min-width: 992px) { .lv-nav-panel > .container { max-width: 1144px; padding-inline: 0; } }
.lv-panel-chip { display: inline-flex; align-items: center; padding: .3rem .75rem; border-radius: 999px; background: var(--soft-bg);
    color: var(--primary-color); font-size: .82rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lv-panel-chip:hover { color: var(--primary-color-dark); }
.lv-nav-panel .lv-btn i { font-size: 1.1rem; line-height: 1; }
.lv-menu-user { display: flex; flex-direction: column; padding: .4rem .75rem .2rem; max-width: 240px; }
.lv-menu-user strong { font-size: .92rem; color: var(--lv-ink); }
.lv-menu-user small { font-size: .8rem; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-panel-toggle { display: none; border: 0; background: transparent; font-size: 1.6rem; color: var(--lv-ink); padding: .25rem .4rem; line-height: 1; }
.lv-panel-footer { position: relative; margin-top: 3rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
    align-items: center; justify-content: space-between; font-size: .88rem; color: #64748b; border-top: 1px solid var(--lv-line); }
.lv-panel-footer::before { content: ""; position: absolute; top: -1px; left: 0; width: 72px; height: 3px; border-radius: 3px; background: var(--lv-stripe); }
.lv-panel-footer a { color: #475569; text-decoration: none; }
.lv-panel-footer a:hover { color: var(--primary-color); text-decoration: underline; }
.lv-panel-footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
@media (max-width: 991.98px) {
    .lv-panel-toggle { display: inline-block; }
    .lv-nav-panel > .container { max-width: none; padding-inline: 16px; } /* mismo ancho que el contenido */
}
@media (max-width: 768.98px) {
    .lv-panel-chip { display: none; }
    .lv-panel .dashboard-container { padding-top: 64px; }
    .lv-panel-footer { justify-content: center; text-align: center; }
}
@media (max-width: 575.98px) {
    .lv-nav-panel .lv-btn-sm { padding: .5rem .65rem; }
}

/* ---------- Menú lateral del panel (user/includes/dashboard-sidebar) ---------- */
/* Reemplaza .sidemenu-area del tema: columna sticky en escritorio, cajón en < 992px */
.lv-panel .dashboard-container { display: flex; align-items: flex-start; gap: 2.5rem; padding-left: 0; padding-right: 0; }
.lv-panel .main-dashboard-content { padding: 1.75rem 0 0; margin-left: 0; flex: 1 1 auto; min-width: 0; min-height: calc(100vh - 72px); }
/* El tema le pone overflow:hidden y eso anula position:sticky (vista previa del editor); clip recorta igual sin romperlo */
.lv-panel .main-dashboard-content { overflow: visible; overflow-x: clip; }
.lv-side { position: sticky; top: 72px; flex: 0 0 236px; width: 236px; max-height: calc(100vh - 72px); overflow-y: auto; padding: 1.75rem 0 1.5rem;
    display: flex; flex-direction: column; gap: 1.25rem; scrollbar-width: thin; }
.lv-side-top { display: none; }
.lv-side-section { display: flex; flex-direction: column; gap: .15rem; }
.lv-side-link { display: flex; align-items: center; gap: .7rem; padding: .62rem .85rem; border-radius: 12px; color: #334155; font-weight: 500; font-size: .95rem;
    text-decoration: none; transition: background .15s, color .15s; min-width: 0; }
.lv-side-link > i { font-size: 1.2rem; color: #64748b; flex: 0 0 auto; transition: color .15s; }
.lv-side-link:hover { background: #fff; color: var(--primary-color); }
.lv-side-link:hover > i { color: var(--primary-color); }
.lv-side-link.is-active { background: #fff; color: var(--primary-color); font-weight: 600; box-shadow: 0 4px 14px rgba(15,23,42,.06); }
.lv-side-link.is-active > i { color: var(--primary-color); }
.lv-side-badge { margin-left: auto; font-size: .72rem; font-weight: 600; padding: .12rem .5rem; border-radius: 99px; background: var(--soft-bg); color: var(--primary-color); white-space: nowrap; }
.lv-side-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 .85rem .35rem; font-size: .75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; }
.lv-side-head small { font-size: .75rem; font-weight: 600; letter-spacing: 0; }
.lv-side-page { padding-top: .45rem; padding-bottom: .45rem; font-size: .9rem; }
.lv-side-page img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: 0 0 26px; background: #fff; border: 1px solid var(--lv-line); }
.lv-side-more { padding: .2rem .85rem; font-size: .85rem; color: var(--primary-color); display: inline-flex; align-items: center; }
.lv-side-new { color: var(--primary-color); border: 1px dashed rgba(var(--primary-rgb), .35); margin-top: .35rem; font-size: .9rem; }
.lv-side-new > i { color: var(--primary-color); }
.lv-side-empty { padding: .2rem .85rem; margin: 0; font-size: .85rem; color: #94a3b8; }
.lv-side-bottom { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--lv-line); }
.lv-side-backdrop { display: none; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Sin margen la columna de 1144px toca las orillas de la ventana */
    .lv-panel .dashboard-container { padding-left: 24px; padding-right: 24px; gap: 2rem; }
    .lv-nav-panel > .container { max-width: none; padding-inline: 24px; }
}
@media (max-width: 991.98px) {
    .lv-panel .dashboard-container { display: block; padding-left: 16px; padding-right: 16px; }
    .lv-panel .main-dashboard-content { padding-top: 1.25rem; min-height: auto; }
    .lv-side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 1060; width: 290px; max-width: 85vw; max-height: none; height: 100%;
        background: #f6f8fc; padding: 1rem .9rem 1.5rem; transform: translateX(-100%); transition: transform .25s ease; box-shadow: 0 0 40px rgba(15,23,42,.18); visibility: hidden; }
    .lv-side-open .lv-side { transform: none; visibility: visible; }
    .lv-side-top { display: flex; justify-content: space-between; align-items: center; padding: 0 .35rem 0 .85rem; }
    .lv-side-title { font-weight: 700; color: var(--lv-ink); }
    .lv-side-close { border: 0; background: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 1.3rem; color: var(--lv-ink); display: grid; place-items: center; }
    .lv-side-backdrop { display: block; position: fixed; inset: 0; z-index: 1055; background: rgba(15,23,42,.45); }
    .lv-side-backdrop[hidden] { display: none; }
    .lv-side-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .lv-side { transition: none; } }

/* ---------- Editor de página bio (user/posts/edit) ---------- */
.lv-editor { color: var(--lv-ink); }
.lv-ed-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--lv-line);
    border-radius: 18px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; box-shadow: 0 6px 20px rgba(15,23,42,.04); }
.lv-ed-head-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--soft-bg); }
.lv-ed-head-text { flex: 1 1 200px; min-width: 0; }
.lv-ed-head h1 { font-size: 1.25rem; font-weight: 700; margin: 0 0 .15rem; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-ed-url { display: inline-flex; align-items: center; gap: .35rem; color: var(--primary-color); font-size: .92rem; text-decoration: none; max-width: 100%; }
.lv-ed-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-ed-url:hover { text-decoration: underline; }
.lv-ed-head-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.lv-ed-preview { position: sticky; top: 90px; }
/* El tema escala el teléfono (350x723) con transform: su caja sigue ocupando el tamaño real.
   Se escala desde la esquina, se centra a mano y se recorta el alto sobrante con margen negativo. */
.lv-ed-preview .phone-frame { transform: scale(.7); transform-origin: 0 0; margin: 0 0 calc(-723px * .3 + 12px) calc(50% - 122px); }
.lv-ed-preview-note { text-align: center; font-size: .82rem; color: #64748b; margin: 0; }

.lv-ed-tabs { display: inline-flex; gap: .25rem; padding: .3rem; background: #fff; border: 1px solid var(--lv-line); border-radius: 14px; flex-wrap: nowrap; }
.lv-ed-tabs .nav-link { display: inline-flex; align-items: center; gap: .4rem; border: 0; border-radius: 10px; padding: .55rem 1rem;
    color: #475569; font-weight: 600; font-size: .95rem; background: transparent; white-space: nowrap; }
.lv-ed-tabs .nav-link:hover { color: var(--primary-color); background: var(--soft-bg); }
.lv-ed-tabs .nav-link.active { background: var(--primary-color); color: #fff; }

.lv-ed-add { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.lv-ed-hint { font-size: .85rem; color: #64748b; margin: .9rem 0 .75rem; display: flex; align-items: center; gap: .35rem; }
.lv-ed-list { display: flex; flex-direction: column; gap: .6rem; }
.lv-block { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--lv-line); border-radius: 14px;
    padding: .7rem .75rem .7rem .4rem; box-shadow: 0 2px 8px rgba(15,23,42,.03); transition: border-color .15s, box-shadow .15s; }
.lv-block:hover { border-color: rgba(var(--primary-rgb), .35); box-shadow: 0 6px 18px rgba(15,23,42,.06); }
.lv-block.ui-sortable-helper { box-shadow: 0 16px 36px rgba(15,23,42,.16); }
.lv-block-drag { cursor: grab; color: #94a3b8; font-size: 1.35rem; padding: .25rem; line-height: 1; touch-action: none; }
.lv-block-drag:active { cursor: grabbing; }
.lv-block-img { width: 44px; height: 44px; border-radius: 10px; background: var(--soft-bg); color: var(--primary-color); flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; overflow: hidden; }
.lv-block-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.lv-block-header { background: #f8fafc; }
.lv-block-header .lv-block-img { background: #fff; color: #475569; }
.lv-block-body { flex: 1; min-width: 0; }
.lv-block-title { font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: .5rem; min-width: 0; }
.lv-block-title > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-block-url { font-size: .84rem; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-badge-hidden { flex-shrink: 0; font-size: .72rem; font-weight: 600; color: #b45309; background: #fef3c7; border-radius: 999px; padding: .1rem .5rem; text-transform: none; }
.lv-block-actions { display: flex; gap: .25rem; flex-shrink: 0; }
.lv-icon-btn { width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: #64748b; font-size: 1.1rem;
    display: inline-flex; align-items: center; justify-content: center; }
.lv-icon-btn:hover { background: var(--soft-bg); color: var(--primary-color); }
.lv-icon-btn-danger:hover { background: #fee2e2; color: #dc2626; }
.lv-ed-empty { text-align: center; padding: 2rem 1rem; border: 2px dashed var(--lv-line); border-radius: 14px; color: #64748b; }
.lv-ed-empty i { font-size: 2rem; color: var(--primary-color); }
.lv-ed-empty p { margin: .5rem 0 0; }

.lv-ed-section { margin-top: 2rem; }
.lv-ed-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.lv-ed-section-head h2 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.lv-ed-section-head p { font-size: .85rem; color: #64748b; margin: .15rem 0 0; }
.lv-block-social .lv-block-img { background: #fff; border: 1px solid var(--lv-line); font-size: 1.3rem; }

.lv-ed-card { background: #fff; border: 1px solid var(--lv-line); border-radius: 18px; padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: 0 6px 20px rgba(15,23,42,.04); }
.lv-ed-card h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .25rem; }
.lv-ed-card-sub { font-size: .88rem; color: #64748b; margin: 0 0 1.1rem; }
.lv-ed-label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: var(--lv-ink); }
.lv-ed-input { border-radius: 10px; border: 1px solid #dbe2ea; padding: .6rem .8rem; font-size: .95rem; }
.lv-ed-input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .15); }
.lv-ed-help { font-size: .82rem; color: #64748b; margin: .35rem 0 0; }
.lv-ed-slug .input-group-text { border-radius: 10px 0 0 10px; background: var(--soft-bg); border-color: #dbe2ea; color: #475569; font-size: .92rem; }
.lv-ed-slug .lv-ed-input { border-radius: 0 10px 10px 0; }
.lv-ed-cover .avatar-preview { width: 100%; height: 150px; border-radius: 14px; border: 0; box-shadow: none; overflow: hidden; background: var(--soft-bg); }
.lv-ed-cover .avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.lv-ed-profile { display: flex; gap: 1.25rem; align-items: center; margin-top: 1.25rem; }
.lv-ed-photo .avatar-upload .avatar-preview { width: 110px; height: 110px; }
.lv-ed-photo .avatar-upload .avatar-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 50% !important; }
.lv-ed-photo .avatar-upload .avatar-edit { right: 0; top: 0; }
.lv-ed-photo .avatar-upload .avatar-preview { border: 3px solid var(--soft-bg) !important; border-radius: 50% !important; background: none !important; box-shadow: none !important; overflow: hidden; }
.lv-ed-card h2 + .lv-ed-label { margin-top: .9rem; }
.lv-ed-tabs { margin-bottom: .25rem; }

.lv-ed-theme { position: relative; cursor: pointer; }
.lv-ed-theme .theme-bg-box { border-radius: 14px; overflow: hidden; border: 2px solid var(--lv-line); }
.lv-ed-theme input:checked + .theme-bg-box { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .2); }
.lv-ed-theme input:checked ~ .lv-ed-theme-name { color: var(--primary-color); }
.lv-ed-theme input:checked ~ .lv-ed-theme-name::after { content: "\eb7b"; font-family: remixicon; margin-left: .3rem; }
.lv-ed-theme-name { display: block; text-align: center; font-weight: 600; font-size: .9rem; margin-top: .5rem; }
.lv-ed-switch { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--lv-line); }
.lv-ed-switch:first-of-type { border-top: 0; padding-top: .5rem; }
.lv-ed-switch-label { font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.lv-ed-switch p { font-size: .85rem; color: #64748b; margin: .2rem 0 0; }
.lv-ed-switch .form-check-input { width: 2.6em; height: 1.4em; }
.lv-ed-switch .form-check-input:checked { background-color: var(--primary-color); border-color: var(--primary-color); }
.lv-ed-autosave { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 0; padding: .7rem 1rem; border-radius: 12px; background: var(--soft-bg); color: #64748b; font-size: .9rem; }
.lv-ed-autosave.is-saved { color: #15803d; background: #f0fdf4; }
.lv-ed-autosave.is-error { color: #b91c1c; background: #fef2f2; }
.lv-ed-autosave.is-saving i { animation: lv-girar 1s linear infinite; }
@keyframes lv-girar { to { transform: rotate(360deg); } }
.lv-ed-badge { font-size: .7rem; font-weight: 700; color: #6A1BC4; background: #f1e8fb; border-radius: 999px; padding: .1rem .5rem; }

/* Modales del editor */
.lv-panel .modal-content { border-radius: 18px; border: 0; box-shadow: 0 24px 60px rgba(15,23,42,.18); }
.lv-panel .modal-title { font-weight: 700; }
.lv-panel .social-link-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; max-height: 60vh; overflow-y: auto; }
.lv-panel .social-link-wrapper .social-link-item { margin: 0 !important; border-radius: 12px !important; transition: border-color .15s, background .15s; }
.lv-panel .social-link-wrapper .social-link-item:hover { border-color: var(--primary-color) !important; background: var(--soft-bg); }
.lv-panel .social-link-wrapper .social-link-item > a { display: none; }

@media (max-width: 767.98px) {
    .lv-ed-head { padding: .9rem 1rem; }
    .lv-ed-head-actions { width: 100%; }
    .lv-ed-head-actions .lv-btn { flex: 1; }
    .lv-ed-tabs { display: flex; width: 100%; }
    .lv-ed-tabs .nav-item { flex: 1; }
    .lv-ed-tabs .nav-link { width: 100%; justify-content: center; padding: .55rem .5rem; }
    .lv-ed-card { padding: 1.1rem; }
    .lv-ed-profile { flex-direction: column; align-items: stretch; }
    .lv-ed-photo { align-self: center; }
    .lv-panel .social-link-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .lv-ed-add { grid-template-columns: 1fr; }
    .lv-block-drag { padding: .25rem 0; }
}

/* ===== Crear página bio (user/posts/create) ===== */
.lv-cr { max-width: 1040px; }
.lv-cr-back { display: inline-flex; align-items: center; gap: .35rem; color: #64748b; font-size: .9rem; font-weight: 500; margin-bottom: .75rem; }
.lv-cr-back:hover { color: var(--primary-color); }
.lv-cr-title { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .3rem; color: var(--lv-ink); }
.lv-cr-sub { color: #64748b; margin: 0 0 1.5rem; }
.lv-cr-photo-row { display: flex; align-items: center; gap: 1.25rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--lv-line); }
.lv-cr-photo-row .lv-ed-photo { flex: 0 0 auto; }
.lv-cr-photo-row .avatar-upload { margin: 0; }
.lv-cr .lv-ed-input { color: var(--lv-ink); }
.lv-cr-opcional { font-weight: 500; color: #94a3b8; font-size: .8rem; }
.lv-cr textarea.lv-ed-input { resize: vertical; min-height: 84px; }
.lv-cr .lv-ed-input.is-invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.lv-cr-estado { display: flex; align-items: center; gap: .3rem; min-height: 1.3em; }
.lv-cr-estado.is-ok { color: #15803d; }
.lv-cr-estado.is-bad { color: #b91c1c; }
.lv-cr-estado.is-checking i { animation: lv-girar 1s linear infinite; }
.lv-cr .lv-btn .ri-arrow-right-line { margin-left: .35rem; }
.lv-cr-preview { position: sticky; top: 90px; background: linear-gradient(160deg, rgba(var(--primary-rgb), .10), rgba(var(--primary-rgb), .02)); border: 1px solid var(--lv-line); border-radius: 22px; padding: 1.5rem; text-align: center; }
.lv-cr-preview-tag { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--primary-color); margin-bottom: 1rem; }
.lv-cr-phone { background: #fff; border-radius: 26px; border: 8px solid #1e293b; max-width: 270px; margin: 0 auto; padding: 1.75rem 1.1rem 1.1rem; display: flex; flex-direction: column; align-items: center; gap: .55rem; box-shadow: 0 18px 40px rgba(15,23,42,.12); }
.lv-cr-phone img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--soft-bg); }
.lv-cr-phone strong { font-size: 1.05rem; color: var(--lv-ink); word-break: break-word; }
.lv-cr-phone p { font-size: .82rem; color: #64748b; margin: 0 0 .4rem; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lv-cr-bar { display: block; width: 100%; height: 34px; border-radius: 10px; background: rgba(var(--primary-rgb), .10); }
.lv-cr-phone small { margin-top: .5rem; font-size: .75rem; color: #94a3b8; word-break: break-all; }
.lv-cr-phone small b { color: var(--primary-color); }
@media (max-width: 575.98px) {
    .lv-cr-title { font-size: 1.4rem; }
    .lv-cr-photo-row { gap: .9rem; }
    .lv-cr-photo-row .lv-ed-photo .avatar-upload .avatar-preview { width: 84px; height: 84px; }
}

/* Clics de cada enlace en el editor */
.lv-block-clics { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .25rem; font-size: .82rem; color: #64748b; white-space: nowrap; }

/* ===== Dashboard del usuario (user/dashboard) ===== */
.lv-db { max-width: 1040px; }
.lv-db-head { margin-bottom: 1.5rem; }
.lv-db-head h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .3rem; color: var(--lv-ink); }
.lv-db-head p { color: #64748b; margin: 0; }
.lv-db-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.25rem; }
.lv-db-stat { display: flex; align-items: center; gap: .85rem; background: #fff; border: 1px solid var(--lv-line); border-radius: 16px; padding: 1.1rem 1.15rem; box-shadow: 0 6px 20px rgba(15,23,42,.04); color: inherit; text-decoration: none; min-width: 0; }
.lv-db-stat > div { min-width: 0; display: flex; flex-direction: column; }
.lv-db-stat-link:hover { border-color: rgba(var(--primary-rgb), .4); color: inherit; }
.lv-db-stat-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft-bg); color: var(--primary-color); font-size: 1.3rem; }
.lv-db-stat strong { font-size: 1.45rem; font-weight: 800; line-height: 1.15; color: var(--lv-ink); }
.lv-db-stat strong small { font-size: .9rem; font-weight: 600; color: #94a3b8; }
.lv-db-stat span:not(.lv-db-stat-icon) { font-size: .82rem; color: #64748b; }
.lv-db-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.lv-db-section-head h2 { font-size: 1.2rem; font-weight: 700; margin: 0; color: var(--lv-ink); }
.lv-db-limit { font-size: .85rem; color: #64748b; display: inline-flex; align-items: center; gap: .3rem; }
.lv-db-list { display: flex; flex-direction: column; gap: .85rem; }
.lv-db-page { display: flex; align-items: center; gap: 1.25rem; background: #fff; border: 1px solid var(--lv-line); border-radius: 16px; padding: 1rem 1.15rem; box-shadow: 0 6px 20px rgba(15,23,42,.04); }
.lv-db-page-main { display: flex; align-items: center; gap: .9rem; flex: 1 1 auto; min-width: 0; color: inherit; text-decoration: none; }
.lv-db-page-main img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 56px; border: 2px solid var(--soft-bg); background: #fff; }
.lv-db-page-text { min-width: 0; }
.lv-db-page-text h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 .15rem; color: var(--lv-ink); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.lv-db-page-main:hover h3 { color: var(--primary-color); }
.lv-db-page-url { display: block; font-size: .85rem; color: var(--primary-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-db-page-meta { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; color: #64748b; font-size: .85rem; flex: 0 0 auto; }
.lv-db-page-meta li { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.lv-db-page-actions { display: flex; align-items: center; gap: .4rem; flex: 0 0 auto; }
.lv-db-page-actions .lv-btn { margin-right: .2rem; }
.lv-db-empty { text-align: center; background: #fff; border: 1px dashed #cbd5e1; border-radius: 18px; padding: 3rem 1.5rem; }
.lv-db-empty-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--soft-bg); color: var(--primary-color); font-size: 2rem; margin-bottom: 1rem; }
.lv-db-empty h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .4rem; }
.lv-db-empty p { color: #64748b; max-width: 420px; margin: 0 auto 1.25rem; }
.lv-db-qr-modal { border-radius: 18px; }
.lv-db-qr-modal #lv-db-qr-img { width: 220px; height: 220px; border: 1px solid var(--lv-line); border-radius: 12px; padding: 8px; background: #fff; }
.lv-db-qr-url { font-weight: 600; color: var(--primary-color); margin: .75rem 0 .25rem; word-break: break-all; }
@media (max-width: 1199.98px) {
    .lv-db-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lv-db-page { flex-wrap: wrap; }
    .lv-db-page-main { flex-basis: 100%; }
    .lv-db-page-actions { margin-left: auto; }
}
@media (max-width: 575.98px) {
    .lv-db-head h1 { font-size: 1.4rem; }
    .lv-db-stats { gap: .65rem; }
    .lv-db-stat { padding: .85rem; gap: .6rem; flex-direction: column; align-items: flex-start; }
    .lv-db-stat strong { font-size: 1.2rem; }
    .lv-db-stat-icon { width: 38px; height: 38px; font-size: 1.15rem; }
    .lv-db-page { gap: .75rem; padding: .9rem; }
    .lv-db-page-meta { flex-basis: 100%; gap: .85rem; }
    .lv-db-page-actions { margin-left: 0; width: 100%; }
    .lv-db-page-actions .lv-btn { flex: 1 1 auto; justify-content: center; }
}

/* ===== Membresía (user/subscription); reutiliza .lv-db-head, .lv-db-section-head y .lv-db-stat-icon ===== */
.lv-ms-plan { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; background: linear-gradient(135deg, var(--primary-color), #2b8ae8); color: #fff; border-radius: 20px; padding: 1.5rem 1.6rem; margin-bottom: 2.25rem; box-shadow: 0 14px 34px rgba(var(--primary-rgb), .25); }
.lv-ms-plan-icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.18); font-size: 1.7rem; }
.lv-ms-plan-text { flex: 1 1 260px; min-width: 0; }
.lv-ms-plan-tag { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.lv-ms-plan h2 { font-size: 1.6rem; font-weight: 800; margin: .1rem 0 .2rem; color: #fff; }
.lv-ms-plan p { margin: 0; color: rgba(255,255,255,.88); font-size: .92rem; }
.lv-ms-plan-dates { display: flex; gap: 1.5rem; margin: 0; }
.lv-ms-plan-dates dt { font-size: .75rem; font-weight: 500; opacity: .8; }
.lv-ms-plan-dates dd { margin: 0; font-weight: 700; }
.lv-ms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.25rem; align-items: start; }
.lv-ms-card { background: #fff; border: 1px solid var(--lv-line); border-radius: 16px; padding: 1.2rem; box-shadow: 0 6px 20px rgba(15,23,42,.04); }
.lv-ms-card-head { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.lv-ms-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .15rem; color: var(--lv-ink); }
.lv-ms-card-head p, .lv-ms-billing p { font-size: .85rem; color: #64748b; margin: 0; }
.lv-ms-num { font-size: 1.6rem; font-weight: 800; color: var(--lv-ink); margin: 0 0 .5rem; line-height: 1; }
.lv-ms-num small { font-size: .95rem; font-weight: 600; color: #94a3b8; }
.lv-ms-bar { height: 8px; border-radius: 99px; background: #eef2f7; overflow: hidden; }
.lv-ms-bar span { display: block; height: 100%; border-radius: inherit; background: var(--primary-color); }
.lv-ms-bar.is-high span { background: #f59e0b; }
.lv-ms-bar.is-full span { background: #dc2626; }
.lv-ms-bar-sm { height: 5px; grid-column: 1 / -1; }
.lv-ms-note { font-size: .82rem; margin: .7rem 0 0; display: flex; gap: .3rem; }
.lv-ms-note.is-full { color: #b91c1c; }
.lv-ms-pages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; max-height: 260px; overflow-y: auto; }
.lv-ms-pages li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .75rem; align-items: center; font-size: .9rem; }
.lv-ms-pages a { color: var(--lv-ink); font-weight: 500; }
.lv-ms-pages a:hover { color: var(--primary-color); }
.lv-ms-pages-num { font-size: .82rem; color: #64748b; font-variant-numeric: tabular-nums; }
.lv-ms-empty { font-size: .9rem; color: #64748b; margin: 0; }
.lv-ms-check { display: flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; margin: 0; }
.lv-ms-check.is-yes { color: #15803d; }
.lv-ms-check.is-no { color: #64748b; }
.lv-ms-billing { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.lv-ms-billing > div { flex: 1 1 260px; }
.lv-ms-cancel { color: #b91c1c !important; border-color: #fecaca !important; }
@media (max-width: 1199.98px) { .lv-ms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
    .lv-ms-grid { grid-template-columns: 1fr; }
    .lv-ms-plan { padding: 1.2rem; }
    .lv-ms-plan h2 { font-size: 1.35rem; }
}

/* ===== Pagos (user/transactions); reutiliza .lv-db-head, .lv-db-empty y .lv-db-stat-icon ===== */
.lv-tx-summary { color: #64748b; font-size: .92rem; margin: 0 0 1rem; }
.lv-tx-summary strong { color: var(--lv-ink); }
.lv-tx-list { display: flex; flex-direction: column; gap: .75rem; }
.lv-tx-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto 7.5rem; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--lv-line); border-radius: 16px; padding: 1rem 1.15rem; box-shadow: 0 6px 20px rgba(15,23,42,.04); }
.lv-tx-main h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .15rem; color: var(--lv-ink); }
.lv-tx-main h3 small { font-weight: 500; color: #64748b; font-size: .85rem; }
.lv-tx-main p { margin: 0; font-size: .84rem; color: #64748b; }
.lv-tx-status { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; padding: .3rem .65rem; border-radius: 99px; white-space: nowrap; }
.lv-tx-status.is-paid { color: #15803d; background: #f0fdf4; }
.lv-tx-status.is-pending { color: #b45309; background: #fffbeb; }
.lv-tx-status.is-cancelled { color: #b91c1c; background: #fef2f2; }
.lv-tx-amount { font-size: 1.05rem; font-weight: 800; color: var(--lv-ink); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lv-tx-action { text-align: right; }
@media (max-width: 767.98px) {
    .lv-tx-item { grid-template-columns: auto minmax(0, 1fr) auto; gap: .6rem .85rem; }
    .lv-tx-status { grid-column: 2; justify-self: start; }
    .lv-tx-amount { grid-column: 3; grid-row: 1; }
    .lv-tx-action { grid-column: 3; grid-row: 2; }
    .lv-tx-action:empty { display: none; }
}

/* ===== Ajustes de la cuenta (user/settings); reutiliza lv-ed-*, lv-cr-photo-row, lv-tx-status ===== */
.lv-st { max-width: 760px; }
.lv-st .lv-ed-tabs { display: inline-flex; }
.lv-st .lv-ed-tabs .nav-link { display: inline-flex; align-items: center; gap: .4rem; }
.lv-st .lv-ed-input { color: var(--lv-ink); }
.lv-st .lv-ed-input:disabled { background: var(--soft-bg); color: #64748b; }
.lv-st .lv-cr-photo-row .avatar-upload { margin: 0; }
.lv-st-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lv-st-details summary::-webkit-details-marker { display: none; }
.lv-st-details summary strong { font-size: 1.05rem; color: var(--lv-ink); }
.lv-st-details summary small { display: block; color: #64748b; font-size: .85rem; margin-top: .15rem; }
.lv-st-details summary > i { font-size: 1.4rem; color: #64748b; transition: transform .2s; }
.lv-st-details[open] summary > i { transform: rotate(180deg); }
.lv-st-pass { position: relative; }
.lv-st-pass .lv-ed-input { padding-right: 2.75rem; }
.lv-st-eye { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #64748b; font-size: 1.15rem; padding: .3rem .45rem; line-height: 1; }
.lv-st-eye:hover { color: var(--primary-color); }
.lv-st-meter { height: 5px; border-radius: 99px; background: #eef2f7; margin-top: .6rem; overflow: hidden; }
.lv-st-meter span { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .2s; }
.lv-st-meter.is-cortas span { width: 15%; background: #dc2626; }
.lv-st-meter.is-debil span { width: 35%; background: #dc2626; }
.lv-st-meter.is-media span { width: 65%; background: #f59e0b; }
.lv-st-meter.is-fuerte span { width: 100%; background: #16a34a; }
.lv-st-2fa-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.lv-st-off { color: #64748b !important; background: #f1f5f9 !important; }
.lv-st-steps { list-style: none; counter-reset: paso; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.lv-st-steps > li { counter-increment: paso; position: relative; padding-left: 2.6rem; }
.lv-st-steps > li::before { content: counter(paso); position: absolute; left: 0; top: -.1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--soft-bg); color: var(--primary-color); font-weight: 700; font-size: .9rem; }
.lv-st-steps strong { color: var(--lv-ink); }
.lv-st-steps p { font-size: .88rem; color: #64748b; margin: .2rem 0 0; }
.lv-st-qr { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-top: .75rem; }
.lv-st-qr-img { background: #fff; border: 1px solid var(--lv-line); border-radius: 12px; padding: 6px; line-height: 0; }
.lv-st-qr-img svg, .lv-st-qr-img img { width: 168px; height: 168px; }
.lv-st-qr > div:last-child { flex: 1 1 220px; }
.lv-st-secret { display: inline-block; margin-top: .4rem; padding: .45rem .7rem; border-radius: 8px; background: var(--soft-bg); color: var(--lv-ink); font-size: .95rem; letter-spacing: .04em; word-break: break-all; }
.lv-st-otp { display: flex; gap: .6rem; margin-top: .6rem; max-width: 340px; }
.lv-st-otp .lv-ed-input { font-size: 1.15rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.lv-st-on-text { color: #64748b; font-size: .9rem; }
@media (max-width: 575.98px) {
    .lv-st .lv-ed-tabs { display: flex; }
    .lv-st-2fa-head { flex-direction: column; }
}

/* ===== Entrar / registro / contraseña / verificación (layouts/auth) ===== */
.lv-auth { background: #f6f8fc; color: var(--lv-ink); }
.lv-auth-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 100vh; }
.lv-auth-brand { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    padding: 2.5rem 3rem; color: #fff; background: radial-gradient(120% 80% at 0% 0%, #2E9BFF 0%, transparent 60%), linear-gradient(160deg, #1460BC 0%, #0F4C96 60%, #3b1a8f 100%); overflow: hidden; }
.lv-auth-brand::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--lv-stripe); }
.lv-auth-brand-logo { align-self: flex-start; background: #fff; border-radius: 14px; padding: .45rem .8rem; line-height: 0; }
.lv-auth-brand-logo img { height: 34px; width: auto; }
.lv-auth-brand-body { max-width: 420px; }
.lv-auth-brand h2 { color: #fff; font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .9rem; }
.lv-auth-brand p { color: rgba(255,255,255,.85); font-size: 1.02rem; margin: 0 0 1.6rem; }
.lv-auth-brand ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.lv-auth-brand li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.lv-auth-brand li i { color: #7dd3fc; font-size: 1.2rem; }
.lv-auth-brand small { color: rgba(255,255,255,.7); font-size: .82rem; }
.lv-auth-main { display: flex; flex-direction: column; align-items: center; padding: 1.75rem 1.5rem 3rem; }
.lv-auth-top { width: 100%; max-width: 440px; display: flex; justify-content: flex-end; align-items: center; margin-bottom: auto; padding-bottom: 2rem; }
.lv-auth-logo { display: none; }
.lv-auth-logo img { height: 36px; width: auto; }
.lv-auth-home { color: #64748b; font-size: .9rem; font-weight: 500; display: inline-flex; align-items: center; gap: .3rem; }
.lv-auth-home:hover { color: var(--primary-color); }
.lv-auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--lv-line); border-radius: 22px; padding: 2.25rem 2rem;
    box-shadow: 0 18px 50px rgba(15,23,42,.07); margin-bottom: auto; }
.lv-auth-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .35rem; color: var(--lv-ink); }
.lv-auth-sub { color: #64748b; margin: 0 0 1.5rem; font-size: .95rem; }
.lv-auth-sub strong { color: var(--lv-ink); word-break: break-all; }
.lv-auth-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--soft-bg); color: var(--primary-color); font-size: 1.6rem; margin-bottom: 1rem; }
.lv-auth .lv-ed-input { color: var(--lv-ink); padding: .7rem .85rem; }
.lv-auth .lv-ed-input.is-invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.1); background-image: none; padding-right: .85rem; }
.lv-auth .lv-st-pass .lv-ed-input { padding-right: 2.75rem; }
.lv-auth .form-check-input:checked { background-color: var(--primary-color); border-color: var(--primary-color); }
.lv-auth .form-check-label { font-size: .9rem; color: #475569; }
.lv-auth-link-sm { font-size: .85rem; font-weight: 500; }
.lv-auth-alert { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem .95rem; border-radius: 12px; font-size: .9rem; margin-bottom: 1.25rem; }
.lv-auth-alert i { font-size: 1.15rem; line-height: 1.3; }
.lv-auth-alert.is-error { background: #fef2f2; color: #b91c1c; }
.lv-auth-alert.is-ok { background: #f0fdf4; color: #15803d; }
.lv-auth-social { display: flex; flex-direction: column; gap: .6rem; }
.lv-auth-social-btn { display: flex; align-items: center; justify-content: center; gap: .65rem; padding: .72rem 1rem; border: 1px solid #dbe2ea; border-radius: 12px;
    background: #fff; color: var(--lv-ink); font-weight: 600; font-size: .95rem; text-decoration: none; transition: border-color .15s, background .15s; }
.lv-auth-social-btn:hover { border-color: rgba(var(--primary-rgb), .45); background: #fafcff; color: var(--lv-ink); }
.lv-auth-or { display: flex; align-items: center; gap: .85rem; margin: 1.35rem 0; color: #94a3b8; font-size: .85rem; }
.lv-auth-or::before, .lv-auth-or::after { content: ""; flex: 1; height: 1px; background: var(--lv-line); }
.lv-auth-switch { text-align: center; margin: 1.5rem 0 0; font-size: .92rem; color: #64748b; }
.lv-auth-switch a { font-weight: 600; }
.lv-auth-linkbtn { border: 0; background: none; padding: 0; color: #64748b; font-size: .9rem; text-decoration: underline; }
.lv-auth-linkbtn:hover { color: var(--primary-color); }
.lv-auth-otp { font-size: 1.5rem; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.lv-auth-details { margin-top: 1.25rem; border-top: 1px solid var(--lv-line); padding-top: 1rem; }
.lv-auth-details summary { cursor: pointer; color: var(--primary-color); font-weight: 500; font-size: .92rem; margin-bottom: .75rem; }
.lv-auth .lv-btn.is-loading { opacity: .7; pointer-events: none; }
@media (max-width: 991.98px) {
    .lv-auth-wrap { grid-template-columns: 1fr; }
    .lv-auth-brand { display: none; }
    .lv-auth-top { justify-content: space-between; }
    .lv-auth-logo { display: block; }
}
@media (max-width: 575.98px) {
    .lv-auth-main { padding: 1.1rem 1rem 2rem; }
    .lv-auth-card { padding: 1.6rem 1.25rem; border-radius: 18px; }
    .lv-auth-title { font-size: 1.4rem; }
}

/* ===== Selector de redes sociales del editor (catálogo App\Support\RedesSociales) ===== */
.lv-redes-buscar { position: relative; margin-bottom: 1rem; }
.lv-redes-buscar i { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.lv-redes-buscar .lv-ed-input { padding-left: 2.2rem; }
.lv-redes { max-height: 58vh; overflow-y: auto; margin: 0 -.25rem; padding: 0 .25rem .5rem; }
.lv-redes-grupo + .lv-redes-grupo { margin-top: 1rem; }
.lv-redes-grupo h6 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #94a3b8; margin: 0 0 .5rem; }
.lv-redes .social-link-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.lv-red-item { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border: 1px solid var(--lv-line); border-radius: 12px; background: #fff;
    color: var(--lv-ink); font-size: .9rem; font-weight: 500; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; min-width: 0; }
.lv-red-item:hover { border-color: var(--red); background: color-mix(in srgb, var(--red) 6%, #fff); }
.lv-red-icono { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 1rem;
    background: color-mix(in srgb, var(--red) 14%, #fff); color: color-mix(in srgb, var(--red) 80%, #000); }
.lv-red-icono svg { width: 1em; height: 1em; }
.lv-red-nombre { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-redes-vacio { text-align: center; color: #64748b; font-size: .9rem; margin: 1rem 0; }
.lv-red-ayuda { margin-top: .5rem; }
.lv-block-social .lv-block-img svg { width: 1em; height: 1em; }
@media (max-width: 420px) { .lv-redes .social-link-wrapper { grid-template-columns: 1fr; } }
.lv-panel .lv-redes .social-link-wrapper { max-height: none; overflow: visible; }
.lv-panel .lv-redes .lv-red-item:hover { border-color: var(--red) !important; background: color-mix(in srgb, var(--red) 6%, #fff); }

/* Vista previa del editor: aviso al recargar, botón flotante y ventana en < 1200px */
.lv-ed-preview .phone-frame, .lv-ed-preview-modal-frame { position: relative; }
.lv-ed-preview-cargando { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .4rem;
    background: rgba(255, 255, 255, .85); color: var(--primary-color); font-weight: 600; font-size: 1.1rem; opacity: 0; pointer-events: none; transition: opacity .15s; }
.lv-ed-preview .lv-ed-preview-cargando { font-size: 1.5rem; border-radius: 40px; }
.is-cargando > .lv-ed-preview-cargando { opacity: 1; }
.lv-ed-preview-cargando i { animation: lv-girar 1s linear infinite; }
.lv-ed-fab { position: fixed; right: 16px; bottom: 16px; z-index: 1040; display: inline-flex; align-items: center; gap: .45rem; padding: .75rem 1.1rem;
    border: 0; border-radius: 999px; background: var(--primary-color); color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 10px 28px rgba(var(--primary-rgb), .35); }
.lv-ed-fab i { font-size: 1.2rem; }
.lv-ed-preview-dialog { max-width: 420px; }
.lv-ed-preview-dialog .modal-content { border-radius: 24px; overflow: hidden; }
.lv-ed-preview-modal-top { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; border-bottom: 1px solid var(--lv-line); }
.lv-ed-preview-modal-frame iframe { display: block; width: 100%; height: min(78vh, 760px); border: 0; background: #fff; }
@media (max-width: 575.98px) { .lv-ed-preview-dialog { margin: .5rem; } .lv-ed-preview-modal-frame iframe { height: 82vh; } }

/* ===== Estadísticas de una página (user/posts/estadisticas) ===== */
.lv-est-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.lv-est-head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--soft-bg); background: #fff; }
.lv-est-head > div { flex: 1 1 220px; min-width: 0; }
.lv-est-head h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--lv-ink); }
.lv-est-head p { margin: .1rem 0 0; color: #64748b; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-est-periodo { display: inline-flex; background: #fff; border: 1px solid var(--lv-line); border-radius: 999px; padding: 4px; gap: 2px; }
.lv-est-periodo a { padding: .4rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #475569; text-decoration: none; white-space: nowrap; }
.lv-est-periodo a.is-active { background: var(--primary-color); color: #fff; }
.lv-est-grafica { position: relative; height: 260px; margin-top: .75rem; }
.lv-est-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.lv-est-grid .lv-ed-card h2, .lv-est .lv-ed-card h2 { margin-bottom: .9rem; }
.lv-est-barra { position: relative; display: flex; justify-content: space-between; gap: 1rem; padding: .45rem .7rem; margin-bottom: .35rem; border-radius: 8px; font-size: .9rem; overflow: hidden; z-index: 0; }
.lv-est-barra i { position: absolute; inset: 0 auto 0 0; background: var(--soft-bg); border-radius: 8px; z-index: -1; }
.lv-est-barra span { color: var(--lv-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-est-barra b { color: var(--lv-ink); font-variant-numeric: tabular-nums; }
.lv-est-vacio { color: #64748b; font-size: .9rem; margin: 0; }
.lv-est-nota { color: #94a3b8; font-size: .82rem; display: flex; gap: .35rem; align-items: center; margin: -.25rem 0 1.25rem; }
@media (max-width: 767.98px) { .lv-est-grid { grid-template-columns: 1fr; } .lv-est-periodo { width: 100%; justify-content: space-between; } }
.lv-ed-tema-grupo { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #94a3b8; margin: 1.5rem 0 .75rem; }
.lv-ed-card h2 + .lv-ed-card-sub + .lv-ed-tema-grupo { margin-top: .5rem; }

/* ===== Bloques especiales en el editor: video destacado y donaciones ===== */
.lv-ed-add-mas { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.lv-ed-add-mas > span { font-size: .85rem; color: #64748b; font-weight: 500; }
.lv-chip-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border-radius: 999px; border: 1px dashed rgba(var(--primary-rgb), .45);
    background: #fff; color: var(--primary-color); font-size: .88rem; font-weight: 600; transition: background .15s, border-color .15s; }
.lv-chip-btn:hover { background: var(--soft-bg); border-style: solid; }
.lv-chip-btn i { font-size: 1.05rem; }
.lv-block-donacion .lv-block-img { background: #ffe4e6; color: #e11d48; }
.lv-block-video .lv-block-img { background: #fee2e2; color: #dc2626; }
.lv-bloque-modal .modal-content { border-radius: 20px; }
.lv-bloque-modal .modal-body { padding-top: .75rem; }
.lv-bloque-modal .lv-ed-input { color: var(--lv-ink); }
.lv-bloque-modal .lv-ed-switch { margin-top: 1rem; }
.lv-don-montos-campos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }

/* Quitar portada / foto en Ajustes del editor */
.lv-ed-quitar { display: inline-flex; align-items: center; gap: .3rem; margin-top: .5rem; padding: .3rem .65rem; border: 1px solid #fecaca; border-radius: 999px;
    background: #fff; color: #b91c1c; font-size: .8rem; font-weight: 600; transition: background .15s; }
.lv-ed-quitar:hover { background: #fef2f2; }
.lv-ed-quitar[hidden] { display: none; }
.lv-ed-photo { display: flex; flex-direction: column; align-items: center; }
