/* ============================================================
   YellowBlock — Web comercial · Dirección C "Brillo"
   Uses tokens from theme.css (.dir-c). Wrap page in .dir-c.lp
   ============================================================ */

.lp { background: var(--page); color: var(--ink); font-family: var(--font-ui); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.lp * { box-sizing: border-box; }
.lp ::selection { background: var(--yb-yellow); color: #1C1A17; }

.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp section { position: relative; }
.lp h1, .lp h2, .lp h3 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; font-weight: 700; }
.lp p { margin: 0; }

/* ---- type scale ---- */
.lp-h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; }
.lp-h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; }
.lp-h3 { font-size: 20px; line-height: 1.25; }
.lp-lead { font-size: clamp(16px, 1.7vw, 19px); color: var(--muted); line-height: 1.6; }
.lp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yb-yellow-deep); }

/* ---- buttons ---- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-ui);
  font-weight: 600; font-size: 15px; border: none; cursor: pointer; border-radius: 12px; padding: 13px 20px;
  transition: transform .15s, box-shadow .2s, background .2s; text-decoration: none; white-space: nowrap; }
.lp-btn:active { transform: translateY(1px); }
.lp-btn-yellow { background: var(--yb-yellow); color: #1C1A17; box-shadow: 0 1px 2px rgba(230,161,0,.25), 0 8px 22px rgba(255,200,61,.32); }
.lp-btn-yellow:hover { background: #FFD15C; box-shadow: 0 1px 2px rgba(230,161,0,.3), 0 12px 30px rgba(255,200,61,.45); }
.lp-btn-dark { background: #1C1A17; color: #fff; }
.lp-btn-dark:hover { background: #2c2820; }
.lp-btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.lp-btn-ghost:hover { background: var(--surface-2); }
.lp-btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }

/* ---- nav ---- */
.lp-nav { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s, border-color .25s;
  border-bottom: 1px solid transparent; }
.lp-nav.solid { background: rgba(255,255,255,.82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.lp-nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.lp-nav-links { display: flex; gap: 26px; margin-left: 14px; }
.lp-nav-links a { font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .15s; }
.lp-nav-links a:hover { color: var(--ink); }
.lp-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lp-nav-actions .link { font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.lp-burger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }

/* ---- hero ---- */
.lp-hero { padding: 56px 0 84px; overflow: hidden; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lp-hero-glow { position: absolute; top: -120px; right: -160px; width: 620px; height: 620px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,200,61,.30), rgba(255,200,61,0) 62%); z-index: 0; }
.lp-hero-grid > * { position: relative; z-index: 1; }
.lp-toggle { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.lp-toggle button { border: none; background: transparent; font-family: var(--font-ui); font-weight: 600; font-size: 13.5px;
  color: var(--muted); padding: 7px 16px; border-radius: 999px; cursor: pointer; transition: all .18s; }
.lp-toggle button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.lp-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.lp-hero-note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-top: 18px; }

/* hero product visual */
.lp-shot { position: relative; }
.lp-shot-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px; }
.lp-float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 10px 30px rgba(20,22,30,.12); padding: 12px 14px; display: flex; align-items: center; gap: 10px; z-index: 2; }

/* ---- logos / trust strip ---- */
.lp-trust { padding: 26px 0 8px; }
.lp-trust-label { text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--faint); text-transform: uppercase; margin-bottom: 20px; }
.lp-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 40px; }
.lp-logo { display: flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 700; font-size: 16px; opacity: .7; }

/* ---- generic section header ---- */
.lp-sec { padding: 86px 0; }
.lp-sec.alt { background: var(--surface-2); }
.lp-sec.dark { background: #1C1A17; color: #fff; }
.lp-sec-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.lp-sec-head .lp-lead { margin-top: 16px; }

/* ---- metrics band ---- */
.lp-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-metric { text-align: center; }
.lp-metric .n { font-family: var(--font-display); font-size: clamp(34px, 4vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.lp-metric .l { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---- bento ---- */
.lp-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 18px; }
.lp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; }
.lp-card .ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.lp-card h3 { margin-bottom: 8px; }
.lp-card p { font-size: 14.5px; color: var(--muted); }
.span3 { grid-column: span 3; } .span2 { grid-column: span 2; } .span4 { grid-column: span 4; } .span6 { grid-column: span 6; }

/* ---- process ---- */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.lp-step { position: relative; }
.lp-step .badge-n { width: 40px; height: 40px; border-radius: 50%; background: #1C1A17; color: var(--yb-yellow); font-family: var(--font-display);
  font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.lp-step h3 { font-size: 18px; margin-bottom: 7px; }
.lp-step p { font-size: 14px; color: var(--muted); }
.lp-step-line { position: absolute; top: 20px; left: 100%; width: 22px; height: 2px; background: var(--line-strong);
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px); }

/* ---- verticals tabs ---- */
.lp-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.lp-tab { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 18px;
  font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: all .18s; }
.lp-tab.on { background: #1C1A17; color: #fff; border-color: #1C1A17; }
.lp-vert { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.lp-reqs { display: flex; flex-wrap: wrap; gap: 9px; }
.lp-req { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }

/* ---- security pillars ---- */
.lp-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-pillar { border-radius: 18px; padding: 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.lp-pillar .ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,200,61,.16); color: var(--yb-yellow);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.lp-pillar h3 { font-size: 17px; margin-bottom: 8px; }
.lp-pillar p { font-size: 13.5px; color: rgba(255,255,255,.62); }

/* ---- pricing ---- */
.lp-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.lp-price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.lp-price-card.feature { border: 2px solid var(--yb-yellow); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.lp-stage { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; align-self: flex-start; margin-bottom: 14px; }
.lp-price-note { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 26px; }
.lp-price-note a { color: var(--yb-yellow-deep); font-weight: 700; text-decoration: none; }
.lp-qty { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 34px; }
.lp-qty button { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 20px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
  line-height: 1; transition: background .15s, border-color .15s; }
.lp-qty button:hover { background: var(--surface-2); border-color: var(--yb-yellow); }
.lp-price-card.dark { background: #1C1A17; color: #fff; border: none; }
.lp-price-amt { display: flex; align-items: baseline; gap: 6px; }
.lp-price-amt .num { font-family: var(--font-display); font-size: 52px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.lp-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 7px; border-radius: 4px; background: var(--surface-2); outline: none; margin: 14px 0 6px; }
.lp-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--yb-yellow);
  border: 3px solid #fff; box-shadow: 0 2px 8px rgba(230,161,0,.5); cursor: pointer; }
.lp-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--yb-yellow); border: 3px solid #fff; cursor: pointer; }
.lp-incl { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.lp-incl li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; list-style: none; }
.lp-incl .ck { color: var(--c-emerald); flex: 0 0 auto; margin-top: 1px; }
.lp-incl { padding: 0; }

/* ---- testimonials ---- */
.lp-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-quote { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.lp-quote p { font-size: 15.5px; line-height: 1.55; margin-bottom: 20px; }
.lp-quote .who { display: flex; align-items: center; gap: 11px; }

/* ---- faq ---- */
.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-q { border-bottom: 1px solid var(--line); }
.lp-q-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; cursor: pointer; }
.lp-q-head h3 { font-size: 17px; font-family: var(--font-ui); font-weight: 600; }
.lp-q-icon { flex: 0 0 auto; color: var(--muted); transition: transform .2s; }
.lp-q.open .lp-q-icon { transform: rotate(45deg); color: var(--yb-yellow-deep); }
.lp-q-body { overflow: hidden; max-height: 0; transition: max-height .28s ease, padding .28s ease; }
.lp-q.open .lp-q-body { max-height: 240px; padding: 0 4px 22px; }
.lp-q-body p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---- final cta ---- */
.lp-final { text-align: center; border-radius: 32px; padding: 70px 40px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1C1A17, #2c2820 60%, #3a3326); color: #fff; }
.lp-final .glow { position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,200,61,.28), transparent 55%); }
.lp-final > * { position: relative; }

/* ---- footer ---- */
.lp-foot { background: #fff; border-top: 1px solid var(--line); padding: 60px 0 36px; }
.lp-foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.lp-foot h4 { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.lp-foot a { display: block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 10px; }
.lp-foot a:hover { color: var(--ink); }
.lp-foot-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ---- mobile menu drawer ---- */
.lp-mobile-menu {
  display: none; flex-direction: column;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  padding: 8px 28px 22px;
}
.lp-mobile-menu.open { display: flex; }
.lp-mobile-menu a {
  font-size: 16px; font-weight: 600; color: var(--ink);
  text-decoration: none; padding: 14px 2px; border-bottom: 1px solid var(--line);
}
.lp-mobile-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; align-items: flex-start; }
.lp-mobile-actions .link { font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }

/* ============================ responsive ============================ */
@media (max-width: 980px) {
  .lp-nav-links { display: none; }
  .lp-burger { display: flex; }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .lp-metrics { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .lp-bento { grid-template-columns: repeat(2, 1fr); }
  .span3, .span2, .span4, .span6 { grid-column: span 1; }
  .lp-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .lp-step-line { display: none; }
  .lp-vert { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .lp-pillars { grid-template-columns: repeat(2, 1fr); }
  .lp-price-grid { grid-template-columns: 1fr; }
  .lp-quotes { grid-template-columns: 1fr; }
  .lp-foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .lp-wrap { padding: 0 18px; }
  .lp-sec { padding: 60px 0; }
  .lp-hero { padding: 36px 0 60px; }
  .lp-metrics { grid-template-columns: repeat(2, 1fr); }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-pillars { grid-template-columns: 1fr; }
  .lp-foot-grid { grid-template-columns: 1fr; }
  .lp-foot-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .lp-hero-cta .lp-btn { flex: 1; }
  /* in the top bar keep only logo + burger; full nav lives in the drawer */
  .lp-nav-actions .link, .lp-nav-cta { display: none; }
  .lp-mobile-menu { padding-left: 18px; padding-right: 18px; }
  .lp-final { padding: 54px 22px; border-radius: 24px; }
  .lp-vert { padding: 22px; }
}
