/* =====================================================================
   Landing comercial (dominio raiz). Usa los tokens de app.css,
   asi hereda el color de marca y el tema claro/oscuro.
   ===================================================================== */

.lp { background: var(--surface) !important; color: var(--text); font-size: 16px;
  /* Vidrios de la marca Vitrecia */
  --vidrio-teal: #14B8A6; --vidrio-ambar: #F59E0B; --vidrio-coral: #F43F5E; --vidrio-cielo: #38BDF8; --indigo-noche: #1E1B4B; }
.lp a { text-decoration: none; }
.lp h1, .lp h2, .lp h3 { margin: 0; letter-spacing: -.025em; }
.lp [hidden] { display: none !important; }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp .btn { border-radius: 12px; font-weight: 600; }
.lp .btn-lg { height: 52px; padding: 0 24px; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; }
.lp .btn-light { background: #fff; color: #0B1220 !important; border: 0; }
.lp-fine { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

/* Barra de promocion */
.lp-promo { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 16px; font-size: 14px; text-align: center;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 92%, #000), color-mix(in srgb, var(--brand) 75%, var(--indigo-noche))); color: #fff; }
.lp-promo b { color: #fff; }
.lp-promo a { color: #fff !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; }

/* Navegacion */
.lp-nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--border); }
.lp-nav__inner { height: 68px; display: flex; align-items: center; gap: 24px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text) !important; letter-spacing: -.02em; }
.lp-nav__links { display: flex; gap: 4px; margin-right: auto; }
.lp-nav__links a { color: var(--text-2) !important; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.lp-nav__links a:hover { background: var(--surface-2); color: var(--text) !important; }
.lp-nav__actions { display: flex; align-items: center; gap: 8px; }
.lp-nav__burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 20px; }
.lp-login { padding: 14px !important; width: 300px; }
.lp-login label { font-size: 13px; color: var(--muted); }
.lp-login .input-group { margin-bottom: 10px; }

/* Hero */
.lp-hero { position: relative; overflow: hidden; padding: 72px 0 88px;
  background:
    radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(700px 380px at -10% 20%, color-mix(in srgb, var(--vidrio-coral) 12%, transparent), transparent 70%); }
.lp-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000, transparent); }
.lp-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--brand-soft); color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); }
.lp-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; font-weight: 800; margin: 20px 0; letter-spacing: -.04em; }
.lp-hero h1 span { background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--vidrio-coral))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 560px; margin: 0 0 28px; }
.lp-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-checks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.lp-checks i { color: var(--success); margin-right: 4px; }
.lp-checks--light { color: rgba(255,255,255,.85); flex-direction: column; gap: 10px; }
.lp-checks--light i { color: #86EFAC; }

/* Maqueta del portal */
.lp-mock { position: relative; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg), 0 0 0 8px color-mix(in srgb, var(--brand) 6%, transparent); overflow: visible; }
.lp-mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); border-radius: 18px 18px 0 0; }
.lp-mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.lp-mock__bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 3px 12px; }
.lp-mock__body { display: grid; grid-template-columns: 64px 1fr; min-height: 300px; }
.lp-mock__side { border-right: 1px solid var(--border); padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.lp-mock__logo { width: 32px; height: 32px; border-radius: 10px; background: var(--brand); margin-bottom: 8px; }
.lp-mock__side i { width: 32px; height: 8px; border-radius: 4px; background: var(--border); }
.lp-mock__side i.is-on { background: color-mix(in srgb, var(--brand) 45%, transparent); }
.lp-mock__main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.lp-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-mock__kpis div { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.lp-mock__kpis small { display: block; font-size: 11px; color: var(--muted); }
.lp-mock__kpis b { display: block; font-size: 18px; letter-spacing: -.02em; }
.lp-mock__kpis em { font-style: normal; font-size: 11px; color: var(--muted); }
.lp-mock__kpis em.up { color: var(--success); }
.lp-mock__charts { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.lp-mock__chart, .lp-mock__donut { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 10px; }
.lp-mock__chart .bars rect { fill: color-mix(in srgb, var(--brand) 22%, transparent); }
.lp-mock__chart .bars rect.hl { fill: var(--brand); }
.lp-mock__chart .line { fill: none; stroke: var(--vidrio-coral); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lp-mock__donut .track { fill: none; stroke: var(--border); stroke-width: 12; }
.lp-mock__donut .val { fill: none; stroke: var(--brand); stroke-width: 12; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 60px 60px; }
.lp-mock__donut text { font-size: 20px; font-weight: 700; fill: var(--text); }
.lp-mock__float { position: absolute; left: -28px; bottom: -24px; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); animation: lp-float 5s ease-in-out infinite; }
.lp-mock__float i { width: 36px; height: 36px; border-radius: 10px; background: var(--success-soft); color: var(--success); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.lp-mock__float b { display: block; font-size: 14px; }
.lp-mock__float small { color: var(--muted); font-size: 12px; }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .lp-mock__float { animation: none; } }

/* Franja de datos */
.lp-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.lp-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-strip__grid div { padding: 26px 20px; display: flex; gap: 14px; align-items: center; border-left: 1px solid var(--border); }
.lp-strip__grid div:first-child { border-left: 0; }
.lp-strip b { font-size: 34px; font-weight: 800; letter-spacing: -.04em; color: var(--brand); }
.lp-strip span { font-size: 14px; color: var(--text-2); line-height: 1.35; }

/* Secciones */
.lp-section { padding: 96px 0; }
.lp-section--alt { background: var(--bg); }
.lp-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.lp-head--left { text-align: left; margin: 0; }
.lp-head h2, .lp-section h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.12; margin: 10px 0 14px; }
.lp-head p, .lp-section > .lp-wrap > div > p { font-size: 17px; color: var(--text-2); line-height: 1.6; }
.lp-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
[data-theme="dark"] .lp-eyebrow, [data-theme="dark"] .lp-pill { color: var(--brand-light); }

/* Funciones */
.lp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-feature { padding: 24px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); transition: transform .2s, box-shadow .2s, border-color .2s; }
.lp-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 30%, var(--border)); }
.lp-feature > i { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
[data-theme="dark"] .lp-feature > i { color: var(--brand-light); }
.lp-feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.lp-feature p { font-size: 14.5px; color: var(--text-2); margin: 0; line-height: 1.55; }

/* Calculadora */
.lp-saving { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.lp-range { display: block; margin-top: 24px; }
.lp-range span { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.lp-range b { color: var(--brand); font-size: 22px; }
.lp-range input { width: 100%; accent-color: var(--brand); height: 6px; }
.lp-saving__card { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 22px; }
.lp-bar-row__top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-2); margin-bottom: 8px; }
.lp-bar-row__top b { color: var(--text); font-size: 16px; white-space: nowrap; }
.lp-bar-row__top small { color: var(--muted); }
.lp-bar { height: 14px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.lp-bar i { display: block; height: 100%; border-radius: 999px; background: var(--brand); transition: width .35s ease; }
.lp-bar i.is-gray { background: var(--subtle); }
.lp-bar i.is-alt { background: linear-gradient(90deg, var(--brand), var(--vidrio-coral)); }
.lp-saving__result { padding: 14px 16px; border-radius: 12px; background: var(--success-soft); color: var(--text); font-size: 15px; }
.lp-saving__result i { color: var(--success); margin-right: 4px; }

/* Pasos */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: paso; }
.lp-step { position: relative; padding: 28px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.lp-step span { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--brand); margin-bottom: 16px; }
.lp-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.lp-step p { color: var(--text-2); margin: 0; font-size: 15px; }

/* Planes */
.lp-toggles { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.lp-seg { display: inline-flex; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.lp-seg button { border: 0; background: transparent; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.lp-seg button.is-on { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.lp-seg--sm button { padding: 8px 14px; font-size: 14px; }
.lp-seg__tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--success-soft); color: var(--success); }
.lp-seg button.is-on .lp-seg__tag { background: rgba(255,255,255,.22); color: #fff; }
.lp-plans__note { text-align: center; color: var(--text-2); font-size: 14.5px; max-width: 760px; margin: 0 auto 28px; }
.lp-plans__note i { color: var(--brand); }
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
/* Cuatro planes: una fila de cuatro en pantallas anchas, dos por fila en las medianas */
.lp-plans--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-plans--4 .lp-plan__amount { font-size: 34px; }
.lp-plans--4 .lp-plan__price { flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 1199px) and (min-width: 992px) { .lp-plans--4 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; } }
.lp-plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.lp-plan.is-featured { border: 2px solid var(--brand); box-shadow: 0 24px 48px -16px color-mix(in srgb, var(--brand) 40%, transparent); transform: translateY(-6px); }
.lp-plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.lp-plan__name { font-size: 20px; font-weight: 700; }
.lp-plan__desc { color: var(--text-2); font-size: 14.5px; min-height: 44px; margin: 6px 0 18px; }
.lp-plan__price { display: flex; align-items: baseline; min-height: 54px; }
.lp-plan__amount { font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.lp-plan__amount--sm { font-size: 30px; }
.lp-plan__per { color: var(--muted); font-size: 15px; margin-left: 6px; }
.lp-plan__bill { font-size: 13.5px; color: var(--muted); min-height: 40px; margin: 6px 0 18px; }
.lp-save { color: var(--success); font-weight: 600; }
.lp-plan .btn-block { height: 46px; display: flex; align-items: center; justify-content: center; }
.lp-plan__list { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.lp-plan__list i { color: var(--brand); margin-right: 8px; }
[data-theme="dark"] .lp-plan__list i, [data-theme="dark"] .lp-plans__note i { color: var(--brand-light); }
body[data-ciclo="mensual"] [data-ciclo="anual"], body[data-ciclo="anual"] [data-ciclo="mensual"] { display: none !important; }
.lp-all { margin-top: 40px; padding: 28px; border-radius: 20px; border: 1px dashed var(--border-strong); text-align: center; }
.lp-all h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.lp-all ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; color: var(--text-2); font-size: 14.5px; }
.lp-all i { color: var(--success); margin-right: 4px; }

/* Todo incluido */
.lp-managed { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.lp-timeline { list-style: none; padding: 0; margin: 32px 0 0; position: relative; }
.lp-timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), color-mix(in srgb, var(--brand) 10%, transparent)); }
.lp-timeline li { position: relative; padding: 0 0 24px 44px; }
.lp-timeline li::before { content: ''; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 4px solid var(--brand); }
.lp-timeline b { display: block; font-size: 16px; }
.lp-timeline span { color: var(--text-2); font-size: 15px; }
.lp-managed__box { padding: 30px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--border); position: sticky; top: 92px; }
.lp-managed__box h3 { font-size: 17px; font-weight: 700; margin: 0 0 12px; display: flex; gap: 8px; align-items: center; }
.lp-managed__box h3 + ul { margin-bottom: 24px; }
.lp-managed__box ul { padding-left: 20px; color: var(--text-2); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.lp-managed__own { margin: 0; padding: 14px; border-radius: 12px; background: var(--brand-soft); font-size: 14.5px; color: var(--text); }
[data-theme="dark"] .lp-managed__own { background: color-mix(in srgb, var(--brand) 14%, transparent); }

/* Comparativa */
.lp-compare { overflow-x: auto; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); }
.lp-compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.lp-compare th, .lp-compare td { padding: 16px 22px; border-bottom: 1px solid var(--border); text-align: left; font-size: 15px; }
.lp-compare thead th { font-size: 16px; background: var(--surface-2); }
.lp-compare tbody tr:last-child td { border-bottom: 0; }
.lp-compare td:first-child { font-weight: 600; color: var(--text); width: 32%; }
.lp-compare td { color: var(--text-2); }

/* FAQ */
.lp-faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.lp-faq__list { display: flex; flex-direction: column; gap: 10px; }
.lp-q { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.lp-q summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary i { color: var(--muted); transition: transform .2s; }
.lp-q[open] summary i { transform: rotate(45deg); color: var(--brand); }
.lp-q p { padding: 0 20px 18px; margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* Contacto */
.lp-cta { color: #fff; background:
    radial-gradient(800px 400px at 100% 0%, color-mix(in srgb, var(--vidrio-coral) 40%, transparent), transparent 60%),
    linear-gradient(150deg, color-mix(in srgb, var(--brand) 85%, #000), #0B1220); }
.lp-cta__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.lp-cta h2 { color: #fff !important; }
.lp-cta__copy p { color: rgba(255,255,255,.8); font-size: 17px; }
.lp-cta__contact { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.lp-cta__mail { color: #fff !important; font-weight: 600; }
.lp-form { padding: 30px; border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.lp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.lp-form label { font-size: 13px; font-weight: 600 !important; color: var(--text-2); margin: 0; display: block; }
.lp-form label .form-control { margin-top: 6px; font-weight: 400; }
.lp-form__full { grid-column: 1 / -1; }
.lp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pie */
.lp-footer { padding: 48px 0 28px; border-top: 1px solid var(--border); background: var(--surface); }
.lp-footer__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.lp-footer__grid p { color: var(--muted); font-size: 14px; max-width: 340px; margin-top: 12px; }
.lp-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.lp-footer nav a { color: var(--text-2) !important; font-size: 14px; }
.lp-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }

/* Responsive */
@media (max-width: 1100px) {
  .lp-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .lp-nav__links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .lp-nav__links.is-open { display: flex; }
  .lp-nav__inner { justify-content: space-between; }
  .lp-nav__burger { display: inline-flex; align-items: center; justify-content: center; }
  .lp-hero__grid, .lp-saving, .lp-managed, .lp-faq, .lp-cta__grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-plans, .lp-steps { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .lp-plan.is-featured { transform: none; }
  .lp-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .lp-strip__grid div:nth-child(3) { border-left: 0; }
  .lp-managed__box { position: static; }
  .lp-mock__float { left: 12px; }
}
@media (max-width: 600px) {
  .lp-wrap { padding: 0 16px; }
  .lp-section { padding: 64px 0; }
  .lp-hero { padding: 48px 0 64px; }
  .lp-features, .lp-form__grid { grid-template-columns: 1fr; }
  .lp-strip__grid { grid-template-columns: 1fr; }
  .lp-strip__grid div { border-left: 0; border-top: 1px solid var(--border); padding: 18px 4px; }
  .lp-strip__grid div:first-child { border-top: 0; }
  .lp-nav__actions > .btn-primary { display: none; }
  .lp-mock__kpis b { font-size: 15px; }
  .lp-mock__charts { grid-template-columns: 1fr; }
  .lp-mock__donut { display: none; }
  .lp-seg button { padding: 9px 12px; font-size: 14px; }
  .lp-form, .lp-saving__card, .lp-plan { padding: 22px 18px; }
}

/* Lo nuevo */
.lp-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-news__item { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.lp-news__meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.lp-news__item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.lp-news__item p { color: var(--text-2); font-size: 15px; margin: 0; line-height: 1.6; }
@media (max-width: 991px) { .lp-news { grid-template-columns: 1fr; } }

/* =====================================================================
   Marca Vitrecia: franja de vitral, logotipo, vitral de la portada
   ===================================================================== */
.lp-vitral { display: grid; grid-template-columns: 3fr 1fr 2fr 1fr; height: 4px; }
.lp-vitral i:nth-child(1) { background: var(--brand); }
.lp-vitral i:nth-child(2) { background: var(--vidrio-teal); }
.lp-vitral i:nth-child(3) { background: var(--vidrio-ambar); }
.lp-vitral i:nth-child(4) { background: var(--vidrio-coral); }
.lp-vitral--pie { position: absolute; top: 0; left: 0; right: 0; }
.lp-brand__word { font-weight: 800; font-size: 21px; letter-spacing: -.035em; }
.lp-brand .brand-mark--img { border-radius: 9px; }
.lp-nav__spacer { margin-right: auto; }
.lp-hero h1 span { background: linear-gradient(90deg, var(--brand), var(--vidrio-coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Vitral grande detras de la maqueta */
.lp-hero__visual { position: relative; }
.lp-hero__vitral { position: absolute; width: 78%; right: -10%; top: -14%; opacity: .55; pointer-events: none; }
.lp-hero__vitral .v0 { fill: color-mix(in srgb, var(--brand) 10%, transparent); }
.lp-hero__vitral .v1 { fill: color-mix(in srgb, var(--vidrio-teal) 35%, transparent); }
.lp-hero__vitral .v2 { fill: color-mix(in srgb, var(--vidrio-ambar) 35%, transparent); }
.lp-hero__vitral .v3 { fill: color-mix(in srgb, var(--vidrio-coral) 32%, transparent); }
.lp-hero__vitral .v4 { fill: color-mix(in srgb, var(--brand) 30%, transparent); }
.lp-hero__vitral .brillo { fill: #fff; opacity: .25; }
.lp-hero__vitral .marco { fill: none; stroke: color-mix(in srgb, var(--brand) 45%, transparent); stroke-width: 10; stroke-linejoin: round; }
.lp-hero__vitral .plomo { fill: none; stroke: color-mix(in srgb, var(--brand) 30%, transparent); stroke-width: 5; }
.lp-mock { z-index: 1; }

/* Los iconos y pasos toman los colores de los vidrios */
.lp-feature:nth-child(4n+2) > i { background: color-mix(in srgb, var(--vidrio-teal) 14%, transparent); color: #0F766E; }
.lp-feature:nth-child(4n+3) > i { background: color-mix(in srgb, var(--vidrio-ambar) 16%, transparent); color: #B45309; }
.lp-feature:nth-child(4n+4) > i { background: color-mix(in srgb, var(--vidrio-coral) 13%, transparent); color: #BE123C; }
[data-theme="dark"] .lp-feature:nth-child(4n+2) > i { color: #5EEAD4; }
[data-theme="dark"] .lp-feature:nth-child(4n+3) > i { color: #FCD34D; }
[data-theme="dark"] .lp-feature:nth-child(4n+4) > i { color: #FDA4AF; }
.lp-step:nth-child(2) span { background: var(--vidrio-teal); }
.lp-step:nth-child(3) span { background: var(--vidrio-coral); }
.lp-strip__grid div:nth-child(2) b { color: var(--vidrio-teal); }
.lp-strip__grid div:nth-child(3) b { color: var(--vidrio-ambar); }
.lp-strip__grid div:nth-child(4) b { color: var(--vidrio-coral); }

/* Compra en cada plan */
.lp-plan .btn-block i { margin-right: 6px; }
.lp-plan__trial { display: block; text-align: center; font-size: 13.5px; color: var(--text-2) !important; margin-top: 10px; text-decoration: underline !important; text-underline-offset: 3px; }

/* Pie */
.lp-footer { position: relative; }
.lp-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.lp-footer nav { flex-direction: column; gap: 10px; }
.lp-footer nav b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
.lp-footer__empresa { display: flex; align-items: center; gap: 8px; font-size: 13px !important; }
@media (max-width: 991px) {
  .lp-hero__vitral { width: 70%; right: -6%; top: -8%; }
  .lp-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lp-footer__grid { grid-template-columns: 1fr; }
  .lp-brand__word { font-size: 19px; }
}

/* =====================================================================
   Paginas internas del sitio: compra y textos legales
   ===================================================================== */
.lp-pagina { padding: 56px 0 88px; background: var(--bg); min-height: 60vh; }
.lp-pagina__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
.lp-caja { padding: 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.lp-caja h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.lp-caja h2 { font-size: 18px; font-weight: 700; margin: 0 0 14px; }
.lp-caja > p { color: var(--text-2); }
.lp-resumen { position: sticky; top: 92px; }
.lp-resumen__plan { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.lp-resumen__plan b { font-size: 20px; }
.lp-resumen dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 16px 0; font-size: 15px; }
.lp-resumen dt { font-weight: 400; color: var(--text-2); }
.lp-resumen dd { margin: 0; text-align: right; font-weight: 600; }
.lp-resumen .lp-resumen__total { font-size: 18px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--text); }
.lp-seguro { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-top: 16px; }
.lp-seguro i { color: var(--success); font-size: 18px; }
.lp-disponible { font-size: 13px; margin-top: 6px; min-height: 18px; }
.lp-disponible.ok { color: var(--success); }
.lp-disponible.no { color: #DC2626; }
.lp-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; color: var(--text-2); }
.lp-check input { margin-top: 4px; }
.lp-estado { text-align: center; padding: 20px 0; }
.lp-estado__icono { width: 72px; height: 72px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 34px; margin-bottom: 18px; background: var(--brand-soft); color: var(--brand); }
.lp-estado__icono.ok { background: var(--success-soft); color: var(--success); }
.lp-acceso { text-align: left; margin: 22px 0; padding: 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 15px; }
.lp-acceso dt { color: var(--text-2); font-weight: 400; }
.lp-acceso dd { margin: 0; font-weight: 600; word-break: break-all; }
.lp-legal { max-width: 820px; margin: 0 auto; }
.lp-legal h1 { font-size: 34px; font-weight: 800; margin-bottom: 6px; }
.lp-legal h2 { font-size: 20px; font-weight: 700; margin: 30px 0 10px; }
.lp-legal p, .lp-legal li { color: var(--text-2); line-height: 1.7; font-size: 15.5px; }
.lp-legal__fecha { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.lp-legal__aviso { padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
@media (max-width: 991px) {
  .lp-pagina__grid { grid-template-columns: 1fr; }
  .lp-resumen { position: static; }
}

.lp-seg a.btn-seg { padding: 7px 12px; border-radius: 10px; font-weight: 600; font-size: 13px; color: var(--text-2) !important; }
.lp-seg a.btn-seg.is-on { background: var(--brand); color: #fff !important; }
