/* Piper's Plumbing 2026 — sitewide layer (header, footer, tokens). Homepage-only rules: pp-home.css */
:root {
  --pp-max: 1440px;
  --pp-pad: clamp(16px, 4vw, 48px);
  --pp-navy: #293896;
  --pp-navy-dk: #1b2566;
  --pp-ink: #141b4a;
  --pp-blue: #27aae1;
  --pp-blue-dk: #1a8fc2;
  --pp-tint: #eef7fd;
  --pp-line: #dbe6f1;
  --pp-text: #4a5568;
  --pp-radius: 14px;
  --pp-header: 80px;
}

/* ---------- header on the grid ---------- */
.site-header .container,
.footer-widgets .container,
.site-footer .container {
  width: auto;
  max-width: var(--pp-max);
  padding-left: var(--pp-pad);
  padding-right: var(--pp-pad);
}
.site-header .container > .row { display: flex; align-items: center; margin: 0; }
.site-header .container > .row > [class*="col-"] { float: none; padding: 0; }
.site-header .container > .row > .col-md-4 { flex: 0 0 auto; width: auto; }
.site-header .container > .row > .col-md-8 { flex: 1 1 auto; width: auto; display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.site-header .site-logo { max-height: 56px; width: auto; }
.site-header,
.site-header.float-header { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--pp-line); padding: 12px 0; }
#mainnav ul li a { font-weight: 600; letter-spacing: .02em; }
#mainnav ul li a:hover,
#mainnav ul li.current-menu-item > a { color: var(--pp-blue); }

.pp-header-call {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--pp-blue); color: #fff !important; font-weight: 700; font-size: 15px;
  padding: 11px 18px; border-radius: 999px; text-decoration: none; transition: background .15s;
}
.pp-header-call:hover { background: var(--pp-navy); color: #fff; }
.pp-header-call svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 1024px) {
  .site-header .container > .row > .col-md-8 { gap: 14px; }
  .pp-header-call { padding: 9px 14px; font-size: 14px; }
}
@media (max-width: 1024px) {
  .site-header .container > .row > .col-md-8 { flex-direction: row-reverse; justify-content: flex-start; margin-left: auto; }
}
@media (max-width: 560px) {
  .pp-header-call__num { display: none; }
  .site-header .site-logo { max-height: 44px; }
}

/* ---------- footer CTA band + footer on the grid ---------- */
.footer-widgets { background: var(--pp-blue) !important; color: #fff; padding: 72px 0 !important; }
.footer-widgets .container > .sidebar-column { float: none; width: 100%; padding: 0; }
.footer-widgets .widget { margin: 0; padding: 0; }
.footer-widgets .textwidget {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon title btn" "icon text btn" "icon meta btn";
  column-gap: 32px; row-gap: 4px; align-items: center; text-align: left;
}
.footer-widgets .textwidget > img { grid-area: icon; width: 72px; height: 72px; }
.footer-widgets .textwidget > h2 { grid-area: title; color: #fff; margin: 0; font-size: clamp(26px, 3vw, 34px); }
.footer-widgets .textwidget > p:first-of-type { grid-area: text; color: rgba(255,255,255,.92); margin: 0; font-size: 18px; max-width: 720px; }
.footer-widgets .textwidget > p:last-of-type { grid-area: meta; color: rgba(255,255,255,.8); margin: 6px 0 0; font-size: 14px; }
.footer-widgets .textwidget > br { display: none; }
.footer-widgets .textwidget > a {
  grid-area: btn; display: inline-block; background: var(--pp-navy); color: #fff !important; border: 0 !important;
  font-weight: 700; padding: 15px 26px; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: background .15s;
}
.footer-widgets .textwidget > a:hover { background: var(--pp-ink); }
@media (max-width: 860px) {
  .footer-widgets .textwidget { grid-template-columns: 1fr; grid-template-areas: "icon" "title" "text" "btn" "meta"; text-align: center; justify-items: center; row-gap: 12px; }
  .footer-widgets .textwidget > a { white-space: normal; }
}
.site-footer { background: var(--pp-ink) !important; padding: 22px 0; }
.site-footer .site-info .pipers { font-size: 15px; }
.site-footer a:hover { color: var(--pp-blue) !important; }

/* inline SVG icons use cut-outs */
.pp-header-call svg path, .pp-hero svg path, .pp-section svg path, .pp-stats svg path { fill-rule: evenodd; }
.footer-widgets .textwidget > a { text-transform: none; letter-spacing: 0; font-size: 16px; }
.go-top { background-color: var(--pp-navy) !important; border-radius: 50%; }
.go-top:hover { background-color: var(--pp-blue) !important; }
.site-header, .site-header.float-header, .site-header.fixed { background: #fff !important; }
@media (max-width: 560px) {
  .site-header .container > .row > .col-md-4 { flex: 1 1 auto; min-width: 0; }
  .site-header .container > .row > .col-md-8 { flex: 0 0 auto; gap: 10px; }
  .site-header .site-logo { max-height: 40px; max-width: 100%; height: auto; }
  .pp-header-call { width: 40px; height: 40px; padding: 0; justify-content: center; }
}

/* ---------- big footer (2026-11) ---------- */
.pp-footer { background: var(--pp-ink) !important; padding: 0 !important; color: rgba(255,255,255,.78); font-size: 15px; text-align: left; }
.pp-footer .pp-wrap { max-width: var(--pp-max); margin: 0 auto; padding-left: var(--pp-pad); padding-right: var(--pp-pad); box-sizing: border-box; }
.pp-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.25fr; gap: 48px; padding-top: 72px !important; padding-bottom: 56px !important; }
.pp-footer a { color: #fff; text-decoration: none; transition: color .15s; }
.pp-footer a:hover { color: var(--pp-blue) !important; }
.pp-footer__logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pp-footer__logo img { width: 52px; height: 52px; }
.pp-footer__logo strong { display: block; font-family: "Raleway", sans-serif; font-size: 24px; line-height: 1.1; color: #fff; }
.pp-footer__logo small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--pp-blue); margin-top: 2px; }
.pp-footer__brand p { line-height: 1.7; margin: 0 0 20px; max-width: 420px; }
.pp-footer__badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-footer__badges li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 7px 12px; }
.pp-footer__badges svg { width: 15px; height: 15px; color: var(--pp-blue); }
.pp-footer__h { font-family: "Raleway", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--pp-blue); margin: 6px 0 18px; }
.pp-footer__col ul { list-style: none; margin: 0; padding: 0; }
.pp-footer__col li { margin: 0 0 11px; line-height: 1.45; }
.pp-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.pp-footer__contact li > svg { width: 18px; height: 18px; color: var(--pp-blue); flex: none; margin-top: 2px; }
.pp-footer__contact small { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 2px; }
.pp-footer__contact a { font-weight: 600; overflow-wrap: anywhere; }
.pp-footer__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pp-footer .pp-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; line-height: 1; padding: 12px 20px; border-radius: 999px; border: 2px solid transparent; }
.pp-footer .pp-btn svg { width: 16px; height: 16px; }
.pp-footer .pp-btn--blue { background: var(--pp-blue); color: #fff; }
.pp-footer .pp-btn--blue:hover { background: #fff; color: var(--pp-ink) !important; }
.pp-footer .pp-btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.pp-footer .pp-btn--ghost:hover { background: #fff; color: var(--pp-ink) !important; }
.pp-footer__bar { border-top: 1px solid rgba(255,255,255,.12); }
.pp-footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px !important; padding-bottom: 20px !important; font-size: 14px; }
.pp-footer__bar p { margin: 0; color: rgba(255,255,255,.65); }
.pp-footer__bar span { margin: 0 10px; opacity: .4; }
@media (max-width: 1100px) { .pp-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (max-width: 600px) {
  .pp-footer__grid { grid-template-columns: 1fr; padding-top: 52px !important; }
  .pp-footer__bar-inner { flex-direction: column; }
}
/* ABN/Lic now in the footer bar — drop the duplicate line from the CTA band */
.footer-widgets .textwidget > p:last-of-type { display: none; }
@media (max-width: 600px) {
  .pp-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .pp-footer__brand, .pp-footer__contact { grid-column: 1 / -1; }
}
