/* SKH PLUMBING — static demo stylesheet.
   A restrained refinement of the existing dark/blue identity: near-black
   technical surfaces, saturated trade-blue linework, a warm brass accent used
   only for rules and small details, and a compact grotesk hierarchy.
   No framework, no web fonts, no external assets. */

:root {
  --ink: #0b0e13;
  --ink-2: #131922;
  --ink-3: #1c242f;
  --slate: #46586d;
  --slate-soft: #6b7d90;
  --blue: #1b70c9;
  --blue-bright: #4da3f0;
  --blue-pale: #dfeaf6;
  --brass: #c8a15a;
  --surface: #ffffff;
  --paper: #f4f6f9;
  --line: #dde3ea;
  --line-strong: #c4cdd7;
  --maxw: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17.5px;
  line-height: 1.66;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

svg { max-width: 100%; }

h1, h2, h3 {
  margin: 0 0 .4em;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.3rem, 4.7vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.032em;
  line-height: 1.04;
}
h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.028em;
}
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 30px;
}

section[id] { scroll-margin-top: 92px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 100;
  min-height: 44px; display: inline-flex; align-items: center;
  background: var(--blue); color: #fff; padding: 10px 16px;
  border-radius: 0 0 6px 6px; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Compact uppercase section label with a measured brass rule. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 .9em;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: none;
  background: var(--brass);
}

/* ---------- Controls ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: 3px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-lg { min-height: 60px; padding: 17px 30px; font-size: 1.05rem; }

.btn-call {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.btn-call:hover, .btn-call:focus-visible { background: #155ba6; }
.btn-call-icon { display: inline-flex; width: 18px; height: 18px; }
.btn-call-icon svg { width: 100%; height: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 2px solid var(--brass);
  padding-bottom: 2px;
}
.link-arrow::after { content: "\2192"; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 14, 19, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  min-height: 44px;
  text-decoration: none;
  color: #fff;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 3px;
  background: var(--ink-3);
  color: var(--blue-bright);
  box-shadow: inset 0 0 0 1px rgba(77, 163, 240, .35);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.site-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #b8c6d6;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; border-bottom-color: var(--brass); }

.header-call { min-height: 48px; padding: 12px 20px; font-size: .95rem; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 3px;
  cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: #fff; position: relative;
}
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #e8eef5;
  padding: 68px 0 72px;
  /* Faint blueprint grid: the technical surface the linework sits on. */
  background-image:
    linear-gradient(rgba(77, 163, 240, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 163, 240, .07) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
  border-bottom: 3px solid var(--brass);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 58px;
  align-items: center;
}
.hero-brand {
  margin: 0 0 1em;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.hero-copy h1 { color: #fff; max-width: 16ch; margin-bottom: .4em; }
.hero-lede {
  font-size: 1.12rem;
  line-height: 1.64;
  color: #b6c5d6;
  max-width: 40ch;
  margin-bottom: 1.5em;
}
.hero .link-arrow { color: var(--blue-bright); }

/* The verified call module replaces the current site's hero form column. */
.hero-module {
  background: var(--ink-2);
  border: 1px solid rgba(77, 163, 240, .28);
  border-top: 3px solid var(--brass);
  border-radius: 3px;
  padding: 30px 32px 26px;
}
.module-label {
  margin: 0 0 .5em;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8fa5bb;
}
/* The module carries one call control only: the verified number, set as the
   action itself rather than duplicated as a number plus a button. */
.module-call {
  width: 100%;
  min-height: 72px;
  font-size: clamp(1.35rem, 2.3vw, 1.6rem);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.module-call .btn-call-icon { width: 22px; height: 22px; }
.module-linework { margin-top: 26px; }
.module-linework svg { display: block; width: 100%; height: auto; }

/* ---------- Service ledger ---------- */

.section-ledger {
  background: var(--surface);
  padding: 72px 0 76px;
  border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: 40px; }
.section-head h2 { margin-bottom: .45em; }
.section-lede {
  margin: 0;
  font-size: 1.06rem;
  color: var(--slate);
  max-width: 44ch;
}

/* Four full-width typographic rows. The family leads; the labels read as a
   compact index, so eight topics never become eight equal blocks. */
.ledger { border-top: 2px solid var(--ink); }
.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 16px 48px;
  align-items: baseline;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}
.ledger-family {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
}
.ledger-family::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 8px; height: 8px;
  background: var(--brass);
}
.ledger-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ledger-labels li {
  position: relative;
  padding-left: 16px;
  font-size: 1.04rem;
  line-height: 1.5;
  color: var(--slate);
}
.ledger-labels li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px; height: 1.5px;
  background: var(--line-strong);
}

/* ---------- Trust band ---------- */

.trust-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 34px;
}
.trust-rating {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45em;
  font-size: 1.05rem;
}
.trust-rating strong { font-weight: 800; font-variant-numeric: tabular-nums; }
.stars { color: var(--brass); letter-spacing: .1em; font-size: .95em; }
.trust-address {
  margin: 0;
  font-style: normal;
  font-size: .97rem;
  font-weight: 600;
  color: var(--slate);
  padding-left: 30px;
  border-left: 1px solid var(--line-strong);
}

/* ---------- Contact ---------- */

.section-contact {
  background: var(--ink-2);
  color: #c4d2e0;
  padding: 68px 0 72px;
  border-top: 3px solid var(--brass);
}
.section-contact .eyebrow { color: var(--blue-bright); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas:
    "copy    details"
    "actions details";
  gap: 0 60px;
  align-items: start;
}
.contact-copy { grid-area: copy; }
.contact-actions { grid-area: actions; padding-top: 4px; }
.contact-details { grid-area: details; margin: 0; }
.contact-copy h2 { color: #fff; margin-bottom: .42em; max-width: 16ch; }
.contact-lede {
  color: #a9bacc;
  font-size: 1.06rem;
  max-width: 34ch;
  margin-bottom: 1.7em;
}

.contact-details dt {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 800;
  color: #8fa5bb;
  padding-top: 20px;
}
.contact-details dt:first-of-type { padding-top: 4px; }
.contact-details dd {
  margin: 6px 0 0;
  padding-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.55;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.contact-details dd:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contact-tel {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--blue-bright);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.contact-tel:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #a9bacc;
  padding: 46px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.footer-name {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #fff;
}
.footer-address { font-style: normal; font-size: .95rem; line-height: 1.72; color: #9db0c3; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #cbd9e7;
  font-size: .96rem;
  text-decoration: none;
}
.footer-nav a:hover, .footer-nav a:focus-visible { color: #fff; text-decoration: underline; }
.footer-phone { margin: 0; }
.footer-phone a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--blue-bright);
  font-size: 1.12rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.footer-phone a:hover { text-decoration: underline; }

.footer-base {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 20px;
  padding-bottom: 22px;
}
.footer-base p { margin: 0; font-size: .83rem; color: #8296ab; }

/* ---------- Mobile call bar ----------
   Parked by default; script.js reveals it only once the hero has left the
   viewport and retires it when the contact section's own call action arrives. */

.mobile-call { display: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { gap: 42px; }
  .contact-grid { gap: 0 40px; }
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 32px; }
  .section-ledger { padding: 54px 0; }
  .section-contact { padding: 52px 0 56px; }
  .section-head { margin-bottom: 30px; }
  .ledger-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

@media (max-width: 780px) {
  body { font-size: 16.5px; }
  .header-inner { min-height: 62px; gap: 12px; }
  .brand-name { font-size: .95rem; letter-spacing: .07em; }
  /* The fixed bottom bar carries the mobile call action, so the header keeps
     one control only. */
  .header-call { display: none; }

  .site-nav {
    display: none;
    order: 4;
    flex-basis: 100%;
    margin-top: 10px;
    padding: 4px 0 8px;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a {
    display: flex;
    min-height: 50px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .header-inner { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .brand { order: 1; }
  .menu-toggle { order: 2; display: inline-flex; margin-left: auto; }

  .hero { padding: 34px 0 38px; background-size: 34px 34px, 34px 34px; }
  .hero-copy h1 { max-width: none; }
  .hero-lede { font-size: 1.01rem; margin-bottom: 1.2em; }
  .hero-module { padding: 22px 20px 20px; }
  .module-call { min-height: 64px; font-size: 1.28rem; }
  .module-linework { margin-top: 20px; }

  .section-lede { font-size: 1.01rem; }
  .ledger-row { padding: 18px 0 20px; }
  .ledger-family { font-size: .95rem; letter-spacing: .06em; }
  .ledger-labels { gap: 6px 22px; }
  .ledger-labels li { font-size: 1rem; padding-left: 15px; }

  .trust-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .trust-address { padding-left: 0; border-left: 0; font-size: .93rem; }

  .contact-copy .btn,
  .contact-actions .btn { width: 100%; }
  .contact-lede { max-width: none; }
  /* Mobile order runs heading, then details, then the call action, so the fixed
     bar keeps a clear band to occupy until the page's own call action arrives. */
  .contact-grid {
    grid-template-areas:
      "copy"
      "details"
      "actions";
    gap: 24px;
  }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .footer-nav ul { display: flex; gap: 24px; }
  .site-footer { padding-top: 34px; }
  /* Clearance lives on .site-footer so the narrower-mobile .container padding
     rule cannot strip it and let the bar cover the copyright line. */
  .site-footer { padding-bottom: 84px; }

  .mobile-call {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(19, 25, 34, .97);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(77, 163, 240, .3);
    transform: translateY(118%);
    visibility: hidden;
    pointer-events: none;
    will-change: transform;
    transition: transform .28s ease, visibility .28s ease;
  }
  .mobile-call.is-visible {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .mobile-call-btn { width: 100%; }
}

@media (max-width: 460px) {
  .container { padding: 0 18px; }
  .stars { letter-spacing: .04em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .mobile-call { transition: none; }
}
