/* Piper's Plumbing 2026 — homepage (front-page.php). Tokens in pp-2026.css */

/* undo the Sydney page wrappers so sections can run full width */
.pp-layout .header-image { display: none !important; }
.pp-layout .page-wrap { padding: 0 !important; }
.pp-layout .page-wrap > .container.content-wrapper { width: auto; max-width: none; padding: 0; }
.pp-layout .page-wrap > .container.content-wrapper > .row { margin: 0; }

.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-section { padding: 88px 0; }
@media (max-width: 768px) { .pp-section { padding: 56px 0; } }
.pp-section h2, .pp-hero h1 { font-family: "Raleway", sans-serif; color: var(--pp-ink); font-weight: 700; letter-spacing: -.01em; }
.pp-section h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin: 0 0 16px; }
.pp-section p { color: var(--pp-text); line-height: 1.7; }
.pp-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--pp-blue) !important; margin: 0 0 10px; }
.pp-head { max-width: 760px; margin: 0 0 44px; }
.pp-head p:last-child { margin-bottom: 0; font-size: 18px; }
.pp-head--light h2 { color: #fff; }

/* ---------- buttons ---------- */
.pp-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pp-btns--center { justify-content: center; margin-top: 44px; }
.pp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 16px; line-height: 1; padding: 16px 26px; border-radius: 999px;
  text-decoration: none !important; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; cursor: pointer;
}
.pp-btn svg { width: 18px; height: 18px; flex: none; }
.pp-btn--blue { background: var(--pp-blue); color: #fff !important; }
.pp-btn--blue:hover { background: var(--pp-blue-dk); }
.pp-btn--navy { background: var(--pp-navy); color: #fff !important; }
.pp-btn--navy:hover { background: var(--pp-ink); }
.pp-btn--ghost { border-color: rgba(255,255,255,.75); color: #fff !important; }
.pp-btn--ghost:hover { background: #fff; color: var(--pp-ink) !important; }
.pp-btn--outline { border-color: var(--pp-navy); color: var(--pp-navy) !important; background: transparent; }
.pp-btn--outline:hover { background: var(--pp-navy); color: #fff !important; }
.pp-btn--sm { padding: 12px 20px; font-size: 15px; }

/* ---------- hero: photo + navy overlay, form card over it ---------- */
.pp-hero { position: relative; color: #fff; padding: calc(var(--pp-header) + 64px) 0 80px; overflow: hidden; background: var(--pp-ink); }
.pp-hero__media, .pp-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,27,74,.94) 0%, rgba(27,37,102,.86) 48%, rgba(41,56,150,.55) 100%); }
.pp-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: center; }
.pp-eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pp-blue); background: rgba(39,170,225,.14); border: 1px solid rgba(39,170,225,.45); padding: 8px 14px; border-radius: 999px; margin: 0 0 20px; }
.pp-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; margin: 0 0 18px; }
.pp-hero__lead { color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.7; max-width: 640px; margin: 0; }
.pp-badges { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pp-badges li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 10px 14px 10px 10px; font-size: 14px; color: rgba(255,255,255,.88); margin: 0; }
.pp-badges strong { color: #fff; display: block; font-size: 15px; }
.pp-badge__icon { width: 34px; height: 34px; border-radius: 9px; background: var(--pp-blue); color: #fff; display: grid; place-items: center; flex: none; }
.pp-badge__icon svg { width: 18px; height: 18px; }

.pp-hero__form { background: #fff; color: var(--pp-text); border-radius: var(--pp-radius); padding: 30px 30px 24px; box-shadow: 0 24px 60px rgba(8, 12, 40, .35); }
.pp-hero__form-title { font-family: "Raleway", sans-serif; font-weight: 700; font-size: 24px; color: var(--pp-ink); margin: 0 0 4px; }
.pp-hero__form-sub { font-size: 15px; margin: 0 0 16px; color: var(--pp-text); }
.pp-hero__form .wpcf7-form p { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--pp-ink); }
.pp-hero__form .wpcf7-form br { display: none; }
.pp-hero__form .wpcf7-form-control-wrap { display: block; margin-top: 5px; }
.pp-hero__form input[type="text"], .pp-hero__form input[type="email"], .pp-hero__form input[type="tel"], .pp-hero__form textarea {
  width: 100%; box-sizing: border-box; border: 1px solid var(--pp-line); background: #f7fafd; border-radius: 9px; padding: 11px 13px; font-size: 15px; color: var(--pp-ink); margin: 0;
}
.pp-hero__form textarea { height: 92px; resize: vertical; }
.pp-hero__form input:focus, .pp-hero__form textarea:focus { outline: 2px solid var(--pp-blue); border-color: var(--pp-blue); background: #fff; }
.pp-hero__form .wpcf7-form > p:nth-of-type(1), .pp-hero__form .wpcf7-form > p:nth-of-type(2) { display: inline-block; width: calc(50% - 6px); vertical-align: top; }
.pp-hero__form .wpcf7-form > p:nth-of-type(1) { margin-right: 8px; }
.pp-hero__form .wpcf7-form > p:nth-of-type(3), .pp-hero__form .wpcf7-form > p:nth-of-type(4) { display: inline-block; width: calc(50% - 6px); vertical-align: top; }
.pp-hero__form .wpcf7-form > p:nth-of-type(3) { margin-right: 8px; }
.pp-hero__form input[type="submit"] { width: 100%; background: var(--pp-blue); color: #fff; border: 0; border-radius: 999px; padding: 15px; font-weight: 700; font-size: 16px; text-transform: none; letter-spacing: 0; cursor: pointer; transition: background .15s; }
.pp-hero__form input[type="submit"]:hover { background: var(--pp-navy); }
.pp-hero__form .wpcf7-spinner { display: none; }
.pp-hero__form .wpcf7-response-output { margin: 8px 0 0 !important; font-size: 14px; border-radius: 8px; }

@media (max-width: 1100px) {
  .pp-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .pp-hero__form { max-width: 640px; }
}
@media (max-width: 560px) {
  .pp-hero { padding: calc(var(--pp-header) + 36px) 0 48px; }
  .pp-hero__form { padding: 22px 18px 16px; }
  .pp-hero__form .wpcf7-form > p { display: block !important; width: auto !important; margin-right: 0 !important; }
  .pp-badges li { flex: 1 1 calc(50% - 10px); }
  .pp-btns .pp-btn { flex: 1 1 100%; }
}

/* ---------- intro: copy + contact cards ---------- */
.pp-intro { background: #fff; }
.pp-intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.pp-intro__copy p { font-size: 17px; }
.pp-intro__cards { display: grid; gap: 14px; }
.pp-info { display: flex; gap: 16px; align-items: flex-start; background: var(--pp-tint); border: 1px solid var(--pp-line); border-radius: var(--pp-radius); padding: 20px 22px; color: var(--pp-text); text-decoration: none !important; transition: border-color .15s, transform .15s; }
a.pp-info:hover { border-color: var(--pp-blue); transform: translateY(-2px); }
.pp-info--primary { background: var(--pp-navy); border-color: var(--pp-navy); color: rgba(255,255,255,.85); }
.pp-info__icon { width: 44px; height: 44px; border-radius: 11px; background: var(--pp-blue); color: #fff; display: grid; place-items: center; flex: none; }
.pp-info__icon svg { width: 22px; height: 22px; }
.pp-info__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pp-blue); margin-bottom: 2px; }
.pp-info strong { display: block; color: var(--pp-ink); font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.pp-info--primary strong { color: #fff; font-size: 24px; }
.pp-info__note { display: block; font-size: 14px; line-height: 1.55; margin-top: 4px; }
@media (max-width: 960px) { .pp-intro__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- stats band ---------- */
.pp-stats { background: var(--pp-navy); color: #fff; padding: 56px 0; }
.pp-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pp-stat { text-align: center; padding: 8px 12px; border-left: 1px solid rgba(255,255,255,.18); }
.pp-stat:first-child { border-left: 0; }
.pp-stat strong { display: block; font-family: "Raleway", sans-serif; font-size: clamp(36px, 4vw, 52px); line-height: 1; color: #fff; font-weight: 700; }
.pp-stat span { display: block; margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.82); }
@media (max-width: 760px) {
  .pp-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .pp-stat:nth-child(3) { border-left: 0; }
}

/* ---------- cards ---------- */
.pp-cards { display: grid; gap: 24px; }
.pp-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .pp-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .pp-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pp-cards--3, .pp-cards--4 { grid-template-columns: 1fr; } }
.pp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pp-line); border-radius: var(--pp-radius); padding: 28px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pp-card:hover { box-shadow: 0 18px 40px rgba(20, 27, 74, .1); transform: translateY(-3px); border-color: #c4d8ea; }
.pp-card h3 { font-family: "Raleway", sans-serif; font-size: 21px; line-height: 1.3; color: var(--pp-ink); margin: 18px 0 12px; font-weight: 700; }
.pp-card p { font-size: 16px; margin: 0 0 20px; }
.pp-card .pp-btn { margin-top: auto; align-self: flex-start; }
.pp-card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--pp-tint); color: var(--pp-navy); display: grid; place-items: center; }
.pp-card__icon svg { width: 28px; height: 28px; }
.pp-card__img-icon { width: 56px; height: 56px; }
.pp-ticks { list-style: none; margin: 0 0 22px; padding: 0; }
.pp-ticks li { position: relative; padding-left: 26px; margin: 0 0 8px; color: var(--pp-text); font-size: 16px; line-height: 1.5; }
.pp-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--pp-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- services ---------- */
.pp-services { background: var(--pp-tint); }
.pp-advice { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--pp-navy); border-radius: var(--pp-radius); padding: 34px 38px; color: #fff; }
.pp-advice h3 { color: #fff; font-family: "Raleway", sans-serif; font-size: 24px; margin: 0 0 8px; }
.pp-advice p { color: rgba(255,255,255,.85); margin: 0; max-width: 760px; }
.pp-advice .pp-btns { margin-top: 0; flex: none; }
@media (max-width: 960px) { .pp-advice { flex-direction: column; align-items: flex-start; padding: 28px 24px; } }

/* ---------- why ---------- */
.pp-why { background: #fff; }
.pp-card--why { background: var(--pp-tint); border-color: transparent; }

/* ---------- clients ---------- */
.pp-clients { background: var(--pp-tint); }
.pp-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pp-logos li { background: #fff; border: 1px solid var(--pp-line); border-radius: var(--pp-radius); display: grid; place-items: center; padding: 18px 22px; min-height: 110px; margin: 0; }
.pp-logos img { max-width: 100%; max-height: 76px; width: auto; height: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.pp-logos li:hover img { filter: none; opacity: 1; }
@media (max-width: 860px) { .pp-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- testimonials rotator ---------- */
.pp-testis { background: var(--pp-navy-dk); }
.pp-testis .pp-kicker { color: var(--pp-blue) !important; }
.pp-rotator { position: relative; }
.pp-rotator__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.pp-rotator__track::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) { .pp-rotator__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 680px) { .pp-rotator__track { grid-auto-columns: 100%; } }
.pp-testi { scroll-snap-align: start; margin: 0; background: #fff; border-radius: var(--pp-radius); padding: 30px; display: flex; flex-direction: column; }
.pp-testi__stars { color: #f5b301; letter-spacing: 2px; font-size: 18px; }
.pp-testi__quote { margin: 14px 0 22px; }
.pp-testi__quote p { color: var(--pp-text); font-size: 16px; line-height: 1.7; margin: 0 0 10px; }
.pp-testi__who { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--pp-line); }
.pp-testi__who strong { display: block; color: var(--pp-ink); font-size: 17px; }
.pp-testi__who span { display: block; color: var(--pp-blue-dk); font-size: 14px; margin-top: 2px; }
.pp-rotator__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.pp-rotator__btn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; padding: 0; transition: background .15s, border-color .15s; }
.pp-rotator__btn:hover { background: var(--pp-blue); border-color: var(--pp-blue); }
.pp-testis .pp-btns--center { margin-top: 28px; }

/* fixes after first render */
.pp-hero__form .wpcf7-form { background: none !important; padding: 0 !important; border: 0; margin: 0; }
.pp-hero__form .wpcf7-form-control-wrap input, .pp-hero__form .wpcf7-form-control-wrap textarea { width: 100% !important; max-width: none; }
.pp-hero__form .wpcf7-form > p:last-of-type { margin: 4px 0 0; }
.pp-hero__form .wpcf7-form > p { display: block !important; width: auto !important; margin-right: 0 !important; }
.pp-hero__form textarea { height: 80px; }

/* ================= inner pages (page.php) ================= */
.pp-bg-white { background: #fff; }
.pp-bg-tint { background: var(--pp-tint); }
.pp-bg-tint .pp-card--why { background: #fff; }
.pp-head--wide { max-width: 920px; }
.pp-head p { font-size: 18px; }

.pp-hero--inner { padding: calc(var(--pp-header) + 48px) 0 64px; }
.pp-hero--inner h1 { font-size: clamp(36px, 4.6vw, 60px); }
.pp-hero__lead--big { font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; color: #fff; max-width: 680px; }
.pp-hero--noform .pp-hero__grid { grid-template-columns: minmax(0, 1fr); }
.pp-hero--noform .pp-hero__copy { max-width: 820px; }
.pp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.75); margin: 0 0 16px; }
.pp-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pp-crumbs a:hover { color: var(--pp-blue); }

/* prose + sticky contact aside */
.pp-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; }
.pp-prose { max-width: 820px; }
.pp-prose p, .pp-prose li { font-size: 17px; line-height: 1.75; color: var(--pp-text); }
.pp-prose h2 { font-family: "Raleway", sans-serif; color: var(--pp-ink); font-size: clamp(26px, 2.6vw, 34px); margin: 32px 0 14px; }
.pp-prose h2:first-child, .pp-prose .pp-kicker + h2 { margin-top: 0; }
.pp-prose h3 { font-family: "Raleway", sans-serif; color: var(--pp-ink); font-size: 21px; margin: 28px 0 10px; }
.pp-prose strong { color: var(--pp-ink); }
.pp-prose ul { padding-left: 0; list-style: none; margin: 0 0 20px; }
.pp-prose ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.pp-prose ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--pp-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat; }
.pp-prose a { color: var(--pp-blue-dk); }
.pp-aside { position: sticky; top: calc(var(--pp-header) + 24px); }
@media (max-width: 1000px) { .pp-content-grid { grid-template-columns: 1fr; gap: 40px; } .pp-aside { position: static; } }

.pp-info-cards { display: grid; gap: 14px; }
.pp-info-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .pp-info-cards--2 { grid-template-columns: 1fr; } }

/* testimonials page */
.pp-testi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pp-testi--full { border: 1px solid var(--pp-line); }
@media (max-width: 860px) { .pp-testi-grid { grid-template-columns: 1fr; } }

/* contact page */
.pp-contact { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 56px; align-items: start; }
.pp-contact h2 { font-size: clamp(24px, 2.4vw, 32px); }
.pp-contact .pp-hero__form { box-shadow: 0 18px 50px rgba(20, 27, 74, .12); border: 1px solid var(--pp-line); }
.pp-contact__areas { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-weight: 600; color: var(--pp-ink) !important; }
.pp-contact__areas svg { width: 20px; height: 20px; color: var(--pp-blue); flex: none; }
@media (max-width: 1000px) { .pp-contact { grid-template-columns: 1fr; } }

/* logos with links */
.pp-logos a { display: grid; place-items: center; width: 100%; height: 100%; }
.pp-testi-grid > .pp-testi:last-child:nth-child(odd) { grid-column: 1 / -1; }
