/* ============================================================
   Fine Detail Plumbing — Design Tokens (v3, higher-energy pass)
   Palette (sampled directly from supplied logo, brightened for pop):
     --ink        #0D2B36  (near-black blue — body text only now)
     --teal       #0B7CA6  (VIVID brand-blue — header/footer/hero/section bg)
     --blue-glow  #29B6E8  (bright highlight blue — gradients, glows, badges)
     --brass      #BFD32E  (LOGO LIME — every CTA/action element)
     --brass-lt   #D9E872  (lime light — hover state, brighter)
     --paper      #F7FBFC  (background)
     --paper-dk   #E4F4FA  (section alt background, more visibly blue-tinted)
     --slate      #4C6672  (body text secondary)
     --ok         #2E8F63  (trust / success)
   v3 change: previous version used a near-black navy for header/footer/
   hero, which read as flat and corporate. Swapped that anchor colour for
   a saturated brand blue (--teal) so the whole site reads brighter and
   more energetic, while --ink is now reserved for text only (still needs
   to be near-black for AA contrast on white). Lime stays reserved for
   CTAs/action so it keeps its "pop" — using it everywhere would cancel
   out the contrast that makes it effective.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #0D2B36;
  --teal: #0B7CA6;
  --blue-glow: #29B6E8;
  --brass: #BFD32E;
  --brass-lt: #D9E872;
  --paper: #F7FBFC;
  --paper-dk: #E4F4FA;
  --slate: #4C6672;
  --ok: #2E8F63;
  --white: #FFFFFF;
  --radius: 3px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: 'Public Sans', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--slate); }
a { color: inherit; }

.mono {
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Pipe-route rule (signature element) ---------- */
.pipe-rule {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 40px;
  color: var(--brass);
}
.pipe-rule::before {
  content: "";
  width: 14px; height: 14px;
  border: 2.5px solid var(--brass);
  border-radius: 50%;
  flex: none;
}
.pipe-rule::after {
  content: "";
  flex: 1 1 auto;
  height: 2.5px;
  background: repeating-linear-gradient(90deg, var(--brass) 0 10px, transparent 10px 16px);
}
.pipe-rule span {
  font-family: 'Public Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  padding: 0 14px;
  white-space: nowrap;
}

/* ---------- Header / Nav ---------- */
header.site {
  background: linear-gradient(100deg, var(--ink) 0%, var(--teal) 60%, var(--blue-glow) 130%);
  color: var(--paper);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 3px solid var(--brass);
  box-shadow: 0 2px 12px rgba(13,43,54,0.15);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 28px;
  max-width: var(--max); margin: 0 auto;
  gap: 20px;
}
.brand {
  display: flex; flex-direction: column; text-decoration: none; color: var(--paper);
}
.brand-logo { height: 150px; width: auto; display: block; }
@media (max-width: 640px) { .brand-logo { height: 95px; } }
@media (max-width: 480px) { .brand-logo { height: 78px; } }

nav.links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
nav.links a {
  text-decoration: none; color: var(--paper); font-size: 0.92rem; font-weight: 600;
  position: relative; padding: 4px 0;
}
nav.links a:hover, nav.links a:focus-visible { color: var(--brass-lt); }
nav.links a:focus-visible { outline: 2px solid var(--brass-lt); outline-offset: 4px; }

.menu-toggle { display: none; background: none; border: 1px solid var(--paper); color: var(--paper); padding: 8px 12px; border-radius: var(--radius); font-size: 1rem; cursor: pointer; }

@media (max-width: 880px) {
  nav.links { position: fixed; inset: 62px 0 auto 0; background: var(--teal); flex-direction: column; align-items: flex-start; padding: 18px 28px 24px; gap: 16px; border-bottom: 3px solid var(--brass); box-shadow: 0 8px 20px rgba(13,43,54,0.15); transform: translateY(-130%); transition: transform 0.25s ease; }
  nav.links.open { transform: translateY(0); }
  .menu-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(150deg, var(--ink) 0%, var(--teal) 55%, var(--blue-glow) 130%);
  color: var(--paper);
  padding: 78px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -6%; top: -20%;
  width: 520px; height: 520px;
  border: 2px solid rgba(191,211,46,0.18);
  border-radius: 50%;
}
.hero::before {
  content: "";
  position: absolute; left: -8%; bottom: -25%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(191,211,46,0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.eyebrow {
  font-family: 'Public Sans', sans-serif; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass-lt); margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brass-lt); }

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .lede { color: #C9D3DB; font-size: 1.12rem; max-width: 46ch; margin-bottom: 30px; }

.review-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(191,211,46,0.12); border: 1px solid rgba(191,211,46,0.4);
  border-radius: 999px; padding: 9px 18px; margin-bottom: 20px;
  text-decoration: none; color: var(--paper); font-size: 0.88rem;
  transition: background 0.15s ease;
}
.review-badge:hover, .review-badge:focus-visible { background: rgba(191,211,46,0.22); }
.review-badge .stars { color: var(--brass); letter-spacing: 1px; font-size: 0.9rem; }
.review-badge strong { color: var(--brass-lt); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--radius); text-decoration: none;
  font-weight: 700; font-size: 0.98rem; transition: all 0.15s ease; border: 2px solid transparent;
}
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--brass-lt); }
.btn-ghost { border-color: rgba(246,244,238,0.4); color: var(--paper); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--brass-lt); color: var(--brass-lt); }
.btn:focus-visible { outline: 2px solid var(--brass-lt); outline-offset: 3px; }

/* ---------- Job-ticket card (hero signature widget) ---------- */
.ticket {
  background: var(--paper); color: var(--ink);
  border-radius: 6px; padding: 26px 26px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  border-top: 5px solid var(--brass);
}
.ticket .t-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; border-bottom: 1px dashed #C9C2AE; padding-bottom: 12px; }
.ticket .t-head strong { font-family: 'Poppins', sans-serif; font-size: 1.05rem; }
.ticket .t-head span { font-family: 'Public Sans', sans-serif; font-size: 0.68rem; color: var(--slate); }
.ticket dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 0.88rem; }
.ticket dt { color: var(--slate); font-family: 'Public Sans', sans-serif; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; align-self: center; }
.ticket dd { margin: 0; font-weight: 600; }
.ticket .badge-ok { color: var(--ok); font-weight: 700; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--paper-dk); }
.section-ink { background: var(--teal); color: var(--paper); }
.section-ink p { color: #C9D3DB; }
.section-ink h2 { color: var(--white); }

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid #DCEAF1; border-radius: 8px;
  padding: 26px 24px; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  border-top: 3px solid var(--teal);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11,124,166,0.16); border-top-color: var(--brass); }
.icon-badge {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(11,124,166,0.12), rgba(191,211,46,0.18));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card .icon { width: 26px; height: 26px; color: var(--teal); }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 10px; font-size: 0.95rem; }
.card a.more { font-family: 'Public Sans', sans-serif; font-size: 0.78rem; font-weight: 600; color: var(--teal); text-decoration: none; }
.card a.more:hover { color: var(--brass); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-ink .pipe-rule span, .section-ink .pipe-rule { color: var(--brass-lt); }
.section-ink .pipe-rule::before, .section-ink .pipe-rule::after { border-color: var(--brass-lt); background: repeating-linear-gradient(90deg, var(--brass-lt) 0 10px, transparent 10px 16px); }

/* ---------- Stat strip ---------- */
.stats { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding: 44px 0; }
.stat { flex: 1; min-width: 140px; }
.stat .num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.5rem; color: var(--brass-lt); line-height: 1; }
.stat .lbl { font-family: 'Public Sans', sans-serif; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #C9D3DB; margin-top: 8px; }

/* ---------- Areas list ---------- */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tags a, .area-tags span {
  font-family: 'Public Sans', sans-serif; font-size: 0.82rem; font-weight: 600;
  border: 1px solid #C9C2AE; border-radius: 999px; padding: 8px 16px; text-decoration: none; color: var(--ink);
  background: var(--white);
}
.area-tags a:hover { border-color: var(--brass); color: var(--brass); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid #DAD4C2; padding: 22px 0; }
.faq-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.faq-item p { margin: 0; }

/* ---------- Testimonials ---------- */
.testi { background: var(--white); border-left: 4px solid var(--brass); padding: 22px 24px; border-radius: 0 var(--radius) var(--radius) 0; }
.testi p { font-style: italic; color: var(--ink); margin-bottom: 10px; }
.testi .who { font-family: 'Public Sans', sans-serif; font-size: 0.76rem; color: var(--slate); font-style: normal; }
.stars { color: var(--brass); letter-spacing: 2px; margin-bottom: 8px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid #DAD4C2; }
.step:last-child { border-bottom: none; }
.step .n {
  counter-increment: step; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--brass);
  flex: none; width: 48px;
}
.step .n::before { content: counter(step, decimal-leading-zero); }

/* ---------- Final CTA band ---------- */
.cta-band { background: var(--brass); padding: 56px 0; text-align: center; }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: #2C3E1F; max-width: 50ch; margin: 0 auto 26px; }
.cta-band .btn-primary { background: var(--ink); color: var(--white); }
.cta-band .btn-primary:hover { background: var(--teal); }

/* ---------- Footer ---------- */
footer.site {
  background: var(--teal); color: #B9C1CC; padding: 54px 0 26px; font-size: 0.92rem;
}
footer.site .fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 40px; }
@media (max-width: 780px) { footer.site .fgrid { grid-template-columns: 1fr 1fr; } }
footer.site h4 { color: var(--paper); font-family: 'Public Sans', sans-serif; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
footer.site a { color: #B9C1CC; text-decoration: none; display: block; margin-bottom: 9px; }
footer.site a:hover { color: var(--brass-lt); }
footer.site .fbottom { border-top: 1px solid #2A3A54; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; }

/* ---------- Breadcrumb ---------- */
.crumb { font-family: 'Public Sans', sans-serif; font-size: 0.76rem; color: var(--slate); padding: 18px 0 0; }
.crumb a { color: var(--slate); text-decoration: none; } .crumb a:hover { color: var(--brass); }

/* ---------- Page hero (service/inner pages) ---------- */
.page-hero { background: var(--teal); color: var(--paper); padding: 44px 0 54px; border-bottom: 3px solid var(--brass); }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: #C9D3DB; max-width: 60ch; }

/* ---------- Utility ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
ul.check { list-style: none; margin: 0; padding: 0; }
ul.check li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); }
ul.check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 700; font-family: 'Public Sans', sans-serif; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.18);
}
@media (max-width: 720px) {
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 56px; }
}
.mobile-call-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 10px; text-decoration: none; font-weight: 700;
  font-family: 'Public Sans', sans-serif; font-size: 0.92rem;
}
.mobile-call-bar .call-part { background: var(--brass); color: var(--ink); border-top: 2px solid var(--ink); }
.mobile-call-bar .text-part { background: var(--teal); color: var(--white); border-top: 2px solid var(--ink); }

/* ---------- Trust badge strip ---------- */
.trust-strip {
  background: var(--paper-dk);
  border-top: 1px solid #DCEAF1; border-bottom: 1px solid #DCEAF1;
  padding: 22px 0;
}
.trust-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 42px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-family: 'Public Sans', sans-serif; font-size: 0.92rem; font-weight: 600; color: var(--teal); }
.trust-item svg { width: 20px; height: 20px; color: var(--brass); flex: none; }

/* ---------- Offer / discount badges ---------- */
.offer-strip { display: flex; flex-wrap: wrap; gap: 20px; }
.offer-card {
  flex: 1 1 260px; background: var(--white); border: 2px dashed var(--brass);
  border-radius: 8px; padding: 22px 24px; position: relative;
}
.offer-card .pct {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.1rem; color: var(--teal); line-height: 1;
}
.offer-card h3 { margin: 6px 0 6px; }
.offer-card p { font-size: 0.9rem; margin-bottom: 0; }
