/*
  Langston Plumbing — concept redesign by Timaeus.
  Palette taken from their own logo: black wordmark + #54606c slate "Plumbing".
  A deep water blue replaces the GoDaddy template's default cyan; copper appears
  only on star ratings, borrowed from the copper pipe in their own job photos.
  Light theme on purpose — matches the brand, not theme-switching.
*/
:root {
  --ink: #10141a;
  --ink-2: #1a212a;
  --slate: #54606c;          /* exact logo color */
  --slate-d: #3d4650;
  --blue: #14649c;
  --blue-d: #0e4b76;
  --blue-l: #2f8ac9;
  --copper: #b87333;
  --paper: #ffffff;
  --paper-2: #f4f7f9;
  --paper-3: #e9eef2;
  --line: #dfe6ec;
  --muted: #6b7785;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink); font-family: var(--sans);
  line-height: 1.65; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.022em; font-weight: 800; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
section[id] { scroll-margin-top: 100px; }

/* ---------- Timaeus preview ribbon ---------- */
.ribbon {
  background: var(--ink); color: #c3ccd6; text-align: center;
  font-size: 12.5px; letter-spacing: .02em; padding: 8px 16px; position: relative; z-index: 60;
}
.ribbon b { color: #fff; font-weight: 600; }
.ribbon a { color: var(--blue-l); text-decoration: none; font-weight: 600; }
.ribbon a:hover { text-decoration: underline; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; }
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.68));
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  backdrop-filter: blur(22px) saturate(1.8);
  border-bottom: 1px solid rgba(223,230,236,.8);
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 54px; width: auto; }
.nav-links { display: flex; gap: 20px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a {
  font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--ink-2);
  padding: 6px 1px; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue); color: #fff !important; padding: 11px 18px; border-radius: 10px;
  font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}
.nav-cta:hover { background: var(--blue-d); transform: translateY(-1px); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 9px; padding: 7px 12px; font-size: 17px; cursor: pointer; color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 11px;
  font-size: 15px; font-weight: 700; text-decoration: none; border: 1px solid transparent;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.17); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- hero ----------
   Logo-led, mirroring their current front page (mark left, tagline right) but
   built as a full-height dark stage: their job photo drops back to a texture. */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: #05080c; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .30; }
.hero .shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(5,8,12,.95) 0%, rgba(5,8,12,.78) 45%, rgba(5,8,12,.62) 100%),
    radial-gradient(ellipse 120% 85% at 50% 50%, transparent 30%, rgba(5,8,12,.85) 100%);
}
/* soft brand glow behind the mark */
.hero .glow {
  position: absolute; left: 18%; top: 46%; transform: translate(-50%, -50%);
  width: min(760px, 78vw); height: min(760px, 78vw); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(47,138,201,.22), rgba(47,138,201,.07) 42%, transparent 70%);
  filter: blur(14px);
}
/* padding-block only — a `padding` shorthand here would wipe out .wrap's side padding */
.hero-inner { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 76px; }

.hero-lockup { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.hero-mark { display: flex; justify-content: center; }
.hero-mark img {
  width: 100%; max-width: 470px; height: auto;
  filter: drop-shadow(0 22px 60px rgba(0,0,0,.75));
}
.hero .eyebrow {
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
  color: #8ec5ea; margin-bottom: 22px;
}
.hero h1 { display: flex; flex-direction: column; gap: 2px; margin-bottom: 26px; }
.hero h1 span {
  font-size: clamp(36px, 5vw, 66px); font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; line-height: 1.04;
  background: linear-gradient(180deg, #ffffff 30%, #b8cbdb 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { font-size: clamp(17px, 1.9vw, 21px); color: #e4ecf3; font-weight: 500; margin-bottom: 14px; max-width: 40ch; }
.hero p.sub em { font-style: normal; color: #8ec5ea; }
.hero p.lede { font-size: clamp(15px, 1.5vw, 17px); max-width: 46ch; color: #a9b7c4; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 13px; flex-wrap: wrap; }

/* ---------- trust strip ---------- */
.trust { background: var(--ink); color: #fff; padding: 0; }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; padding-bottom: 22px; }
.trust .item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #cbd5de; }
.trust .item b { color: #fff; font-weight: 700; }
.trust svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--blue-l); fill: none; stroke-width: 2; }

/* ---------- section heads ---------- */
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow {
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  color: var(--blue); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }
.alt { background: var(--paper-2); }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,20,26,.10); border-color: #c8d4de; }
.card .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; flex: 1; }
.card .more { font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none; }
.card .more:hover { text-decoration: underline; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.narrow-img { grid-template-columns: 1.05fr .95fr; }
.split img.shot { border-radius: 18px; box-shadow: 0 22px 60px rgba(16,20,26,.16); width: 100%; }
.split h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 18px; }
.split p { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; }
.split .quoteline {
  border-left: 3px solid var(--blue); padding: 4px 0 4px 18px; margin: 24px 0;
  font-size: 17px; color: var(--ink); font-weight: 500;
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.stat .n { font-size: clamp(32px, 4vw, 46px); font-weight: 800; color: var(--blue); letter-spacing: -.03em; line-height: 1; }
.stat .l { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; font-weight: 600; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.gallery figure { position: relative; border-radius: 13px; overflow: hidden; background: var(--paper-3); aspect-ratio: 4 / 3; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(9,13,18,.86));
  color: #fff; font-size: 13px; font-weight: 600;
}
.gallery figure.tall { aspect-ratio: 3 / 4; }

/* ---------- reviews ---------- */
.rating-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.rating-head .big { font-size: 54px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 20px; height: 20px; fill: var(--copper); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.quote p { font-size: 16px; color: var(--ink); flex: 1; }
.quote .who { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.quote .who b { color: var(--ink); display: block; font-weight: 700; font-size: 14.5px; }
.trunc { color: var(--muted); font-style: italic; font-size: 13px; }

/* ---------- counties ---------- */
.counties { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.county { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 28px; }
.county h3 { font-size: 21px; margin-bottom: 6px; }
.county .n { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 16px; }
.county ul { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.county li { font-size: 13.5px; color: var(--slate); background: var(--paper-2); border: 1px solid var(--line); padding: 5px 11px; border-radius: 7px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-size: 17.5px; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--blue); transition: transform .2s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .a { padding: 0 40px 22px 0; color: var(--muted); font-size: 16px; }

/* ---------- CTA panel ---------- */
.cta-panel { background: var(--ink); color: #fff; }
.cta-panel h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; }
.cta-panel p { color: #b8c3ce; font-size: 17px; max-width: 56ch; margin-bottom: 28px; }
.cta-panel .btns { display: flex; gap: 13px; flex-wrap: wrap; }
.cta-panel .btn-primary { background: var(--blue-l); }
.cta-panel .btn-primary:hover { background: var(--blue); }

/* ---------- page header (subpages) ---------- */
.page-head { position: relative; color: #fff; padding: 92px 0 76px; overflow: hidden; background: var(--ink); }
.page-head .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-head .shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9,13,18,.9), rgba(9,13,18,.55)); }
.page-head .wrap { position: relative; z-index: 2; }
.page-head .crumb { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #8fb9d8; font-weight: 700; margin-bottom: 14px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 16px; max-width: 20ch; }
.page-head p { color: #c9d4de; font-size: 17.5px; max-width: 58ch; }

/* ---------- prose ---------- */
.prose h2 { font-size: 28px; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--slate); font-size: 16.5px; }
.prose ul { margin: 0 0 20px 22px; color: var(--slate); font-size: 16.5px; }
.prose li { margin-bottom: 9px; }
.prose > :first-child { margin-top: 0; }

/* ---------- checklist ---------- */
.checks { list-style: none; display: grid; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--slate); }
.checks svg { width: 21px; height: 21px; flex-shrink: 0; margin-top: 2px; stroke: var(--blue); fill: none; stroke-width: 2.4; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.info-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.info-card h3 { font-size: 19px; margin-bottom: 18px; }
.info-row { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.info-row:last-child { border-bottom: 0; }
.info-row .k { color: var(--muted); min-width: 92px; font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.info-row .v { color: var(--ink); font-weight: 600; }
.info-row .v a { color: var(--blue); text-decoration: none; }
.info-row .v a:hover { text-decoration: underline; }
.hours-tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hours-tbl td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--slate); }
.hours-tbl td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.hours-tbl tr:last-child td { border-bottom: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.form-card h3 { font-size: 19px; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--ink); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue-l); outline-offset: -1px; border-color: var(--blue); }
.field textarea { min-height: 118px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.55; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #9aa7b4; padding: 58px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 38px; padding-bottom: 44px; }
.footer img.mark { height: 52px; width: auto; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: #9aa7b4; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .lic { font-size: 13px; color: #78838f; margin-top: 14px; line-height: 1.7; }
.footer-legal {
  border-top: 1px solid #262e38; padding: 20px 0; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 13px; color: #6f7b87;
}
.footer-legal .credit a { color: var(--blue-l); text-decoration: none; font-weight: 600; }
.footer-legal .credit a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .split.narrow-img { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 1080px) {
  /* nine nav items + logo + CTA stop fitting one row well before this */
  .hero-lockup { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-mark img { max-width: 380px; }
  .hero h1 { align-items: center; }
  .hero p.sub, .hero p.lede { max-width: 52ch; margin-left: auto; margin-right: auto; }
  .hero-btns, .chip-row { justify-content: center; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px; box-shadow: 0 18px 40px rgba(16,20,26,.13);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); border-left: 0; }
  .nav-links a.active { border-bottom-color: var(--line); }
  .nav-cta { justify-content: center; margin-top: 12px; border-bottom: 0 !important; }
}
@media (max-width: 860px) {
  section { padding: 62px 0; }
  .nav-logo img { height: 44px; }
  .hero { min-height: 0; }
  .hero-mark img { max-width: 300px; }
  .hero-inner { padding-top: 62px; padding-bottom: 62px; }
  .trust .wrap { justify-content: flex-start; gap: 14px 26px; }
  .rating-head .big { font-size: 42px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery figcaption { font-size: 11.5px; padding: 20px 9px 9px; }
  .btn { padding: 13px 18px; font-size: 14.5px; }
  .hero-btns .btn, .cta-panel .btns .btn { flex: 1 1 100%; justify-content: center; }
  .info-row { flex-direction: column; gap: 3px; }
}
