/* LogicByte homepage (v6.1). Loaded after site-v2.css; prefix lbh-.
   One colour thread runs through the page: practice = blue, tests = marigold, certificate = mint. */
.lbh { --h-practice: #2457e6; --h-practice-bg: #e8eeff; --h-test: #e08a1e; --h-test-bg: #fff2df; --h-cert: #12a877; --h-cert-bg: #e3f7ef; }


/* Sections */
.lbh-section { padding: clamp(56px, 8vw, 96px) 0; }
.lbh-tint { background: var(--x-paper); }
.lbh-head { max-width: 640px; margin-bottom: 36px; }
.lbh-head h2 { margin: 0; font: 800 clamp(28px, 3.4vw, 42px)/1.1 var(--x-display); letter-spacing: -.02em; color: var(--x-ink); }
.lbh-head h3 { margin: 0; font: 800 clamp(22px, 2.4vw, 28px)/1.2 var(--x-display); letter-spacing: -.015em; color: var(--x-ink); }
.lbh-head p { margin: 12px 0 0; font-size: 17px; line-height: 1.65; color: var(--x-ink-2); }
.lbh-head-compare { margin: clamp(48px, 6vw, 72px) 0 22px; }
.lbh-note { margin: 26px 0 0; font-size: 15.5px; color: var(--x-ink-2); }

/* What you get: three pillars in the order they are used */
.lbh-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--x-ink); }
.lbh-pillars li { position: relative; padding: 28px 28px 30px; border-left: 1px solid var(--x-line); }
.lbh-pillars li:first-child { border-left: 0; padding-left: 0; }
.lbh-pillars li::before { content: ""; position: absolute; top: -3px; left: 0; right: 0; height: 3px; background: var(--pill); }

.lbh-pillars .is-practice { --pill: var(--h-practice); --pill-bg: var(--h-practice-bg); }
.lbh-pillars .is-test { --pill: var(--h-test); --pill-bg: var(--h-test-bg); }
.lbh-pillars .is-cert { --pill: var(--h-cert); --pill-bg: var(--h-cert-bg); }
.lbh-pill-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--pill-bg); }
.lbh-pill-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--pill); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lbh-pillars h3 { margin: 18px 0 10px; font: 800 21px/1.25 var(--x-display); color: var(--x-ink); }
.lbh-pillars p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.65; color: var(--x-ink-2); }
.lbh-pillars small { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--pill); }
.lbh-pillars .is-test small { color: #a8600c; }
.lbh-pillars .is-cert small { color: #0c7d58; }

.lbh-also { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; align-items: center; margin-top: 40px; padding: 18px 22px; border-radius: 16px; background: var(--x-paper); }
.lbh-also > p { margin: 0; font-weight: 700; color: var(--x-ink); }
.lbh-also ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.lbh-also a { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--x-line); text-decoration: none; transition: border-color .2s; }
.lbh-also a:hover, .lbh-also a:focus-visible { border-color: var(--x-blue); }
.lbh-also strong { color: var(--x-ink); font-size: 15px; }
.lbh-also span { color: var(--x-muted); font-size: 13.5px; line-height: 1.45; }

/* Skills */
.lbh-skills { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.lbh-skills a { display: grid; gap: 8px; align-content: start; height: 100%; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--x-line); text-decoration: none; transition: border-color .2s, transform .2s var(--x-ease); }
.lbh-skills a:hover, .lbh-skills a:focus-visible { border-color: var(--x-blue); transform: translateY(-2px); }
.lbh-skills img { width: 44px; height: 44px; }
.lbh-skills strong { margin-top: 6px; font: 800 19px/1.2 var(--x-display); color: var(--x-ink); }
.lbh-skills span { font-size: 14.5px; line-height: 1.55; color: var(--x-ink-2); }

/* How it works: a real sequence, so it is numbered */
.lbh-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.lbh-steps::before { content: ""; position: absolute; top: 21px; left: 22px; right: calc(25% - 2px); height: 2px; background: linear-gradient(90deg, var(--x-ink) 0 25%, var(--h-practice) 25% 50%, var(--h-test) 50% 75%, var(--h-cert) 75%); opacity: .35; }
.lbh-steps li { position: relative; --step: var(--x-ink); }
.lbh-steps .is-practice { --step: var(--h-practice); }
.lbh-steps .is-test { --step: var(--h-test); }
.lbh-steps .is-cert { --step: var(--h-cert); }
.lbh-step-n { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--step); color: #fff; font: 800 18px/1 var(--x-display); box-shadow: 0 0 0 6px #fff; }
.lbh-steps h3 { margin: 18px 0 8px; font: 800 19px/1.25 var(--x-display); color: var(--x-ink); }
.lbh-steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--x-ink-2); }

/* Pricing section spacing (cards come from offers.css) */
.lbh-pricing .lbo-pricing-head h2 { font: 800 clamp(28px, 3.4vw, 42px)/1.1 var(--x-display); letter-spacing: -.02em; }

/* Certificate + internship use the shared lbx styles; only spacing here */


.lbh .lbx-faq { padding: clamp(56px, 8vw, 96px) 0; }

@media (max-width: 1080px) {
  .lbh-skills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lbh-also { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .lbh-pillars { grid-template-columns: 1fr; border-top: 0; }
  .lbh-pillars li, .lbh-pillars li:first-child { padding: 22px 0 24px 20px; border-left: 3px solid var(--pill); border-top: 0; }
  .lbh-pillars li + li { margin-top: 8px; }
  .lbh-pillars li::before { display: none; }
  .lbh-also ul { grid-template-columns: 1fr; }
  .lbh-steps { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .lbh-steps::before { display: none; }
}
@media (max-width: 560px) {
  .lbh-skills { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lbh-skills a { padding: 16px; }
  .lbh-skills li:last-child { grid-column: 1 / -1; }
  .lbh-steps { grid-template-columns: 1fr; }
  .lbh-steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .lbh-steps h3 { margin: 10px 0 6px; }
  .lbh-steps p { grid-column: 2; }
  .lbh-step-n { grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) { .lbh-skills a { transition: none; } .lbh-skills a:hover { transform: none; } }
