/* Duct Bank One - landing page system (page-landing.php + the LP blocks).
   Shared tokens, buttons, eyebrow, check lists, and the template's bar/footer/dock.
   Loaded on any page that uses an LP block, and inside the block editor. */

:root {
  --lp-ink: #1c1c1c;
  --lp-ink-2: #282828;
  --lp-steel: #3a3a3a;
  --lp-concrete: #f2f0ec;
  --lp-line: #dedad3;
  --lp-muted: #6b6760;
  --lp-orange: var(--primary, #f1592a);
  --lp-flare: var(--tertiary, #ff7c53);
  --lp-bar-h: 76px;
  --lp-radius: 4px;
  --lp-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
}

/* ---- buttons ------------------------------------------------------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: var(--lp-radius);
  font-family: var(--font1), "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.lp-btn:hover { transform: translateY(-2px); text-decoration: none; }
.lp-btn::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
}
.lp-btn.lp-btn-plain::after { display: none; }

.lp-btn-primary { background: var(--lp-orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(241, 89, 42, .8); }
.lp-btn-primary:hover { background: #d9481d; color: #fff; }
.lp-btn-dark { background: var(--lp-ink); color: #fff; }
.lp-btn-dark:hover { background: #000; color: #fff; }
.lp-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.lp-btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.lp-btn-ghost-dark { background: transparent; color: var(--lp-ink); border-color: var(--lp-ink); }
.lp-btn-ghost-dark:hover { background: var(--lp-ink); color: #fff; }
.lp-btn i { font-size: 15px; }

.lp-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.lp-cta-note { font-size: 14px; color: var(--lp-muted); font-weight: 500; }
.lp-cta-note a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---- eyebrow ------------------------------------------------------- */
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lp-orange);
}
.lp-eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.lp-on-dark .lp-eyebrow { color: var(--lp-flare); }

/* ---- check list ---------------------------------------------------- */
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-checks li {
  position: relative;
  padding-left: 34px;
  margin: 0;
  font-weight: 600;
  line-height: 1.45;
}
.lp-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .12em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lp-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.4l3 3 6-6.6'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---- dark sections ------------------------------------------------- */
.lp-on-dark,
.lp-on-dark h1, .lp-on-dark h2, .lp-on-dark h3, .lp-on-dark h4,
.lp-on-dark p, .lp-on-dark li { color: #fff; }

/* shared headline scale, set on classes (never on bare heading tags) */
.lp-display { font-family: var(--font1), "Montserrat", sans-serif; font-weight: 900; letter-spacing: -.02em; line-height: 1.04; }
.lp-head { font-weight: 800; letter-spacing: -.015em; line-height: 1.12; margin: 0 0 18px; }
.lp-lede { color: var(--lp-muted); max-width: 640px; margin: 0; }
.lp-on-dark .lp-lede { color: rgba(255, 255, 255, .78); }

/* ================= template: bar / footer / dock ==================== */
body.dbo-lp { background: #fff; }
body.dbo-lp .footer-form { display: none; }

.lp-bar {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--lp-bar-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--lp-line);
}
.admin-bar .lp-bar { top: 32px; }
.lp-bar-inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.lp-bar-logo { display: block; line-height: 0; }
.lp-bar-logo img { height: 46px; width: auto; }
.lp-bar-actions { display: flex; align-items: center; gap: 24px; }
.lp-bar-tag {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lp-muted);
  padding-right: 24px;
  border-right: 1px solid var(--lp-line);
}
.lp-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-ink);
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  letter-spacing: .01em;
}
.lp-bar-phone i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lp-concrete);
  color: var(--lp-orange);
  font-size: 14px;
}
.lp-bar-phone:hover { color: var(--lp-orange); text-decoration: none; }
.lp-bar-quote { min-height: 46px; padding: 0 22px; font-size: 14px; }

.lp-foot { background: var(--lp-ink); color: rgba(255, 255, 255, .7); }
.lp-foot-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 34px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.lp-foot-logo { height: 40px; width: auto; }
.lp-foot-copy { flex: 1; }
.lp-foot-phone { color: #fff; font-weight: 800; text-decoration: none; font-size: 16px; }

.lp-dock { display: none; }

/* anchor offset for the form */
#quote { scroll-margin-top: calc(var(--lp-bar-h) + 16px); }

@media (max-width: 1199px) {
  .lp-bar-tag { display: none; }
  .lp-bar-inner { padding: 0 24px; }
}

@media (max-width: 767px) {
  :root { --lp-bar-h: 64px; }
  .lp-bar-inner { padding: 0 16px; }
  .lp-bar-logo img { height: 38px; }
  .lp-bar-quote { display: none; }
  .lp-bar-phone span { display: none; }
  .lp-bar-phone i { width: 42px; height: 42px; font-size: 16px; background: var(--lp-orange); color: #fff; }
  .lp-btn { width: 100%; }
  .lp-cta-row { flex-direction: column; align-items: stretch; text-align: center; }
  .lp-foot-inner { flex-direction: column; text-align: center; gap: 14px; padding: 30px 16px 96px; }

  .lp-dock {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(28, 28, 28, .97);
    transition: transform .25s ease;
  }
  .lp-dock.is-hidden { transform: translateY(110%); }
  .lp-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border-radius: var(--lp-radius);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .lp-dock-call { background: #fff; color: var(--lp-ink); }
  .lp-dock-quote { background: var(--lp-orange); color: #fff; }
}
