/*
Theme Name: Apex Plumbing Projects
Theme URI: https://apexplumbingprojects.com.au
Author: JRNY Digital
Description: Custom theme for Apex Plumbing Projects
Version: 1.0.0
License: Private
Text Domain: apex-plumbing
*/

/* ============================================================
   BASE / VARIABLES
   ============================================================ */

:root {
  --teal: #35676A;
  --dark: #2C4949;
  --deep: #054D42;
  --lt-teal: #69ADB6;
  --copper: #35676A;
  --gold: #D7B791;
  --cream: #F5EEDC;
  --bg: #FAFAF7;
  --white: #FFFFFF;
  --tx: #1A1A1A;
  --mu: #5F6B6B;
  --bd: #DDE3E0;
  --lt: #F0F4F2;
}

* { box-sizing: border-box; margin: 0; }
::selection { background: #35676A; color: #fff; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  min-height: 100vh;
  color: var(--tx);
}

a { text-decoration: none; }

/* ============================================================
   TOP BAR
   ============================================================ */

.top-bar {
  background: var(--dark);
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.8px;
}
.top-bar a { color: #fff; font-weight: 600; text-decoration: none; }

/* ============================================================
   NAV
   ============================================================ */

nav.main-nav {
  background: var(--white);
  padding: 0 5%;
  border-bottom: 1px solid var(--bd);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 44px; width: auto; }
.footer-logo-img { height: 80px; width: auto; margin-bottom: 16px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--tx); cursor: pointer; font-size: 13px; font-weight: 500; letter-spacing: 0.3px; text-decoration: none; }
.nav-link:hover, .nav-link.active { color: var(--teal); }
.nav-phone {
  background: var(--teal);
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* SERVICES DROPDOWN */
.svc-dropdown { position: relative; padding: 10px 0; }
.svc-dropdown-btn {
  color: var(--tx);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: inherit;
}
.svc-dropdown-btn:hover, .svc-dropdown-btn.active { color: var(--teal); }
.svc-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  padding-top: 4px;
  z-index: 200;
}
.svc-dropdown:hover .svc-dropdown-menu { display: block; }
.svc-dropdown-inner {
  background: var(--white);
  border: 1px solid var(--bd);
  border-radius: 6px;
  padding: 6px 0;
  min-width: 220px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.svc-dropdown-inner a {
  display: block;
  padding: 9px 20px;
  color: var(--tx);
  font-size: 13px;
  text-decoration: none;
}
.svc-dropdown-inner a:hover { background: var(--lt); color: var(--lt-teal); }

/* MOBILE NAV */
.mob-toggle {
  display: none;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.mob-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--dark);
  margin: 4px 0;
}
.mob-menu {
  display: none;
  padding: 12px 0;
  border-top: 1px solid var(--bd);
}
.mob-menu.open { display: block; }
.mob-menu a {
  display: block;
  padding: 10px 0;
  color: var(--tx);
  font-size: 14px;
  text-decoration: none;
  text-transform: capitalize;
}
.mob-menu .mob-svc-link {
  padding: 7px 0;
  color: var(--mu);
  font-size: 13px;
}
.mob-menu .mob-divider { height: 1px; background: var(--bd); margin: 6px 0; }

/* ============================================================
   STICKY HEADER
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
}

body {
  padding-top: 130px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(44,73,73,0.88), rgba(44,73,73,0.35));
  display: flex;
  align-items: center;
  padding: 0 5%;
}
.hero-content { max-width: 1200px; margin: 0 auto; width: 100%; }
.hero h1 {
  color: #fff;
  font-size: 50px;
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 500;
  max-width: 540px;
}
.hero p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 540px;
}
.hero-btns { display: flex; gap: 12px; }
.btn-primary {
  background: var(--copper);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  padding: 14px 28px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
}
.btn-outline-dark {
  border: 1px solid var(--bd);
  color: var(--tx);
  border-radius: 3px;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: none;
  text-decoration: none;
  display: inline-block;
}

/* PAGE HERO (smaller) */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.page-hero-bg.photo-bg {
  position: absolute !important;
  min-height: 0;
}
.page-hero.small { min-height: 320px; }
.page-hero-bg {
  position: absolute !important;
  inset: 0;
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 0 5%;
}
.page-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.page-hero h1 {
  color: #fff;
  font-size: 48px;
  font-family: 'DM Serif Display', Georgia, serif;
  margin: 0;
  font-weight: 500;
}
.page-hero-dark {
  background: var(--dark);
  padding: 64px 5%;
}

/* PHOTO BG SCENES */
.photo-bg { min-height: 400px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.photo-bg.hero-scene { background: linear-gradient(135deg, #054D42 0%, #2C4949 40%, #1F3D3D 100%); min-height: 520px; }
.photo-bg.team-scene { background: linear-gradient(135deg, #2C4949 0%, #054D42 60%, #1C3535 100%); }
.photo-bg.work-scene { background: linear-gradient(135deg, #054D42 0%, #1A3838 50%, #2C4949 100%); }
.photo-bg.bathroom-scene { background: linear-gradient(135deg, #2C4949 0%, #054D42 40%, #1A3838 100%); min-height: 500px; }
.photo-bg.service-scene { background: linear-gradient(135deg, #054D42 0%, #2C4949 50%, #1C3535 100%); min-height: 320px; }
.photo-bg svg.scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.8; }

/* ============================================================
   STATS BAR
   ============================================================ */

.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--bd);
}
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stat {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--bd);
}
.stat:last-child { border-right: none; }
.stat-value {
  color: var(--teal);
  font-size: 26px;
  font-weight: 600;
  font-family: 'DM Serif Display', Georgia, serif;
}
.stat-label { color: var(--mu); font-size: 11px; margin-top: 2px; }

/* ============================================================
   SECTION LABEL
   ============================================================ */

.label {
  color: var(--copper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.label.dark { color: var(--gold); }

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: 80px 5%; }
.section .container { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 34px;
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--dark);
  margin: 0 0 12px;
  font-weight: 500;
}
.section-title.sm { font-size: 28px; }
.section-title.md { font-size: 30px; }
.section-subtitle {
  color: var(--mu);
  font-size: 14px;
  margin-bottom: 40px;
  max-width: 520px;
}

/* ============================================================
   SERVICE GRID
   ============================================================ */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bd);
}
.svc-card {
  background: var(--white);
  padding: 32px 28px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: block;
}
.svc-card:hover { background: var(--lt); }
.svc-card h3 { font-size: 15px; color: var(--dark); margin: 0 0 6px; font-weight: 600; }
.svc-card p { color: var(--mu); font-size: 13px; margin: 0 0 14px; line-height: 1.5; }
.svc-card .learn-more {
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   ABOUT SPLIT
   ============================================================ */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.split-content {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.features-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0 28px;
}
.feature-mini {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.feature-mini .chk { margin-top: 3px; flex-shrink: 0; }
.feature-mini h4 { color: var(--dark); font-size: 13px; font-weight: 600; margin: 0; }
.feature-mini p { color: var(--mu); font-size: 12px; margin: 0; }

/* ============================================================
   REVIEWS
   ============================================================ */

.review-grid {
  display: grid;
  gap: 20px;
}
.review-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
.review-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.review-card {
  padding: 26px 22px;
  border: 1px solid var(--bd);
  border-radius: 4px;
  background: var(--white);
}
.stars { display: flex; gap: 2px; margin-bottom: 12px; }
.review-card p { color: var(--tx); font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.review-card .author { color: var(--mu); font-size: 12px; font-weight: 600; }

/* ============================================================
   AREA TAGS
   ============================================================ */

.area-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tag {
  padding: 10px 20px;
  border: 1px solid var(--bd);
  border-radius: 3px;
  font-size: 13px;
  color: var(--tx);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  background: none;
}
.area-tag:hover { border-color: var(--teal); color: var(--lt-teal); }

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  background: var(--dark);
  padding: 72px 5%;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: 30px;
  font-family: 'DM Serif Display', Georgia, serif;
  margin: 0 0 12px;
  font-weight: 500;
}
.cta-band p { color: rgba(255,255,255,0.4); font-size: 14px; margin: 0 0 28px; }
.cta-band .cta-btns { display: flex; gap: 12px; justify-content: center; }
.cta-band .btn-copper {
  background: var(--copper);
  color: #fff;
  padding: 14px 40px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.cta-band .btn-ghost {
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 14px 40px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: none;
  cursor: pointer;
}
.cta-band .btn-white {
  background: var(--white);
  color: var(--dark);
  padding: 14px 40px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* ============================================================
   WHY CHOOSE
   ============================================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  padding: 36px 28px;
  border: 1px solid var(--bd);
  border-radius: 4px;
}
.why-card h3 { font-size: 16px; color: var(--dark); margin: 0 0 10px; font-weight: 600; }
.why-card p { color: var(--mu); font-size: 13px; line-height: 1.7; margin: 0; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-card {
  padding: 28px 22px;
  border: 1px solid var(--bd);
  border-radius: 4px;
  background: var(--white);
  border-top: 3px solid var(--copper);
}
.process-num {
  color: var(--copper);
  font-size: 28px;
  font-weight: 300;
  font-family: 'DM Serif Display', Georgia, serif;
  margin-bottom: 10px;
}
.process-card h3 { color: var(--dark); font-size: 14px; margin: 0 0 6px; font-weight: 600; }
.process-card p { color: var(--mu); font-size: 12px; line-height: 1.6; margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */

.faq-item { border-bottom: 1px solid var(--bd); }
.faq-q {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--tx);
  font-size: 15px;
  font-weight: 500;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.faq-q .plus { flex-shrink: 0; margin-left: 16px; transition: transform 0.2s; }
.faq-q.open .plus { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding-bottom: 18px;
  color: var(--mu);
  font-size: 14px;
  line-height: 1.7;
}
.faq-a.open { display: block; }

/* ============================================================
   QUOTE FORM
   ============================================================ */

.qf { display: flex; flex-direction: column; gap: 12px; }
.qf input, .qf select, .qf textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--bd);
  border-radius: 3px;
  color: var(--tx);
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.qf select { color: var(--mu); }
.qf textarea { min-height: 80px; resize: vertical; }
.qf .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qf button {
  background: var(--copper);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

/* ============================================================
   CONTACT CARDS
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bd);
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: 4px;
}
.contact-card {
  background: var(--white);
  padding: 24px 22px;
}
.contact-card .card-label {
  color: var(--mu);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.contact-card a { color: var(--dark); font-size: 13px; font-weight: 600; text-decoration: none; word-break: break-all; display: block; }
.contact-card .card-sub { color: var(--mu); font-size: 11px; margin-top: 4px; }
.contact-card .card-value { color: var(--dark); font-size: 13px; font-weight: 600; }

/* ============================================================
   CONTENT GRID
   ============================================================ */

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.content-grid.sidebar {
  grid-template-columns: 1fr 380px;
  gap: 56px;
}

/* ============================================================
   SIDEBAR FORM
   ============================================================ */

.sidebar-form {
  background: var(--white);
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 28px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.sidebar-form h3 { font-size: 16px; color: var(--dark); margin: 0 0 4px; font-weight: 600; }
.sidebar-form .form-sub { color: var(--mu); font-size: 12px; margin: 0 0 20px; }
.sidebar-form .call-info { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--bd); }
.sidebar-form .call-info .call-label { color: var(--mu); font-size: 11px; margin-bottom: 8px; }
.sidebar-form .call-info a { display: block; text-decoration: none; }
.sidebar-form .call-info .phone-main { color: var(--dark); font-size: 15px; font-weight: 600; }
.sidebar-form .call-info .phone-alt { color: var(--mu); font-size: 13px; margin-top: 2px; }

/* ============================================================
   SERVICE PAGE
   ============================================================ */

.breadcrumb { color: rgba(255,255,255,0.3); font-size: 12px; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.3); text-decoration: none; }
.breadcrumb .current { color: rgba(255,255,255,0.6); }
.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.55); font-size: 12px; }
.svc-desc { color: var(--mu); font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 40px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 3px;
  border: 1px solid var(--bd);
}
.feature-item span { color: var(--tx); font-size: 13px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bd);
  border-radius: 4px;
  overflow: hidden;
}
.related-card {
  background: var(--white);
  padding: 28px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}
.related-card:hover { background: var(--lt); }
.related-card h3 { color: var(--dark); font-size: 14px; margin: 0 0 4px; font-weight: 600; }
.related-card p { color: var(--mu); font-size: 12px; margin: 0 0 10px; line-height: 1.5; }
.related-card .learn { color: var(--teal); font-size: 12px; font-weight: 600; }

/* WHAT HAPPENS NEXT */
.next-steps {
  background: var(--white);
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 24px;
}
.next-steps h3 { font-size: 15px; color: var(--dark); margin: 0 0 10px; font-weight: 600; }
.next-step { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.next-step:last-child { margin-bottom: 0; }
.next-step .chk { margin-top: 3px; flex-shrink: 0; }
.next-step h4 { color: var(--dark); font-size: 13px; font-weight: 600; margin: 0; }
.next-step p { color: var(--mu); font-size: 12px; line-height: 1.5; margin: 0; }

/* ABOUT BADGE */
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--bd);
  border-radius: 3px;
  padding: 7px 14px;
  margin-bottom: 28px;
}
.about-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.about-badge span { color: var(--mu); font-size: 12px; letter-spacing: 1px; }

/* ============================================================
   AREAS MAP
   ============================================================ */

.areas-map {
  background: #2C4949;
  min-height: 300px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.contact-map {
  background: #2C4949;
  min-height: 300px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.regions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bd);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 40px;
}
.region-card {
  background: var(--white);
  padding: 24px 20px;
}
.region-card h4 { color: var(--dark); font-size: 14px; margin: 0 0 8px; font-weight: 600; }
.region-card p { color: var(--mu); font-size: 12px; line-height: 1.6; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--deep);
}
.footer-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--gold), var(--copper));
}
.footer-inner {
  padding: 64px 5% 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { color: #fff; font-weight: 700; font-size: 15px; font-family: 'DM Serif Display', Georgia, serif; letter-spacing: 2px; margin-bottom: 14px; }
.footer-desc { color: #fff; font-size: 13px; line-height: 1.7; margin: 0 0 14px; max-width: 280px; }
.footer-heading { color: #fff; font-size: 10px; letter-spacing: 2px; margin-bottom: 12px; font-weight: 600; }
.footer-link { color: #fff; font-size: 12px; padding: 4px 0; display: block; text-decoration: none; }
.footer-link:hover { color: rgba(255,255,255,0.7); }
.footer-phone { color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; display: block; margin-bottom: 4px; }
.footer-phone-alt { color: #fff; font-size: 13px; text-decoration: none; display: block; margin-bottom: 12px; }
.footer-email { color: #fff; font-size: 12px; }
.footer-addr { color: #fff; font-size: 12px; margin-top: 8px; }
.footer-hours { color: #fff; font-size: 11px; margin-top: 4px; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
}
.footer-copy { color: #fff; font-size: 11px; }
.footer-credit { color: #fff; font-size: 11px; }
.footer-credit span { color: #FFC500; }

/* ============================================================
   AREAS SERVICE CARDS
   ============================================================ */

.areas-svc-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  text-decoration: none;
  transition: transform 0.3s;
}
.areas-svc-card:hover { transform: scale(1.02); }
.areas-svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,77,66,0.85) 0%, rgba(5,77,66,0.3) 45%, transparent 100%);
  border-radius: 10px;
}
.areas-svc-card h4 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 22px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  padding: 20px 24px;
  margin: 0;
}

/* ============================================================
   SERVICE PAGE HERO
   ============================================================ */

.service-hero {
  position: relative;
  min-height: 320px;
}
.service-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-hero-bg svg.scene-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}
.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(44,73,73,0.88), rgba(44,73,73,0.3));
  display: flex;
  align-items: center;
  padding: 0 5%;
}
.service-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.service-hero h1 {
  color: #fff;
  font-size: 40px;
  font-family: 'DM Serif Display', Georgia, serif;
  margin: 0 0 10px;
  font-weight: 500;
}
.service-hero p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin: 0 0 24px;
  max-width: 520px;
}
.service-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.service-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
}

/* SIDEBAR EXTRAS */
.sidebar-call {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bd);
}
.sidebar-phone {
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: block;
}
.sidebar-phone-alt {
  color: var(--mu);
  font-size: 13px;
  text-decoration: none;
  display: block;
  margin-top: 2px;
}

/* PROCESS CARD NUM (alternate class) */
.process-card-num {
  color: var(--copper);
  font-size: 22px;
  font-weight: 300;
  font-family: 'DM Serif Display', Georgia, serif;
  margin-bottom: 8px;
}

/* SERVICE GRID (3 cols variant) */
.svc-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

/* REVIEW GRID default */
.review-grid:not(.cols-6):not(.cols-3) {
  grid-template-columns: repeat(3, 1fr);
}

/* SVG ICONS */
.icon-chk, .icon-arr, .icon-star, .icon-plus { display: inline-block; vertical-align: middle; }

/* BACKGROUNDS */
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-light { background: var(--bg); }
.bg-dark { background: var(--dark); }

/* ============================================================
   RESPONSIVE (base)
   ============================================================ */

@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .mob-toggle { display: block !important; }
  h1 { font-size: 30px !important; }
  .hero { min-height: 400px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4), .stat:nth-child(5) { border-top: 1px solid var(--bd); }
  .svc-grid { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: 1fr; }
  .split-content { padding: 40px 20px; }
  .review-grid.cols-6, .review-grid.cols-3 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid.sidebar { grid-template-columns: 1fr; }
  .sidebar-form { position: static; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .features-mini { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .regions-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .cta-band .cta-btns { flex-direction: column; align-items: center; }
  .top-bar { flex-direction: column; gap: 4px; text-align: center; }
  .hero-badges { flex-direction: column; gap: 8px; }
  .service-badges { flex-direction: column; gap: 8px; }
  .service-hero { min-height: 260px; }
  .svc-grid.three { grid-template-columns: 1fr; }
  .area-tags { justify-content: center; }
  .section { padding: 48px 5%; }
  .page-hero { min-height: 260px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .regions-grid { grid-template-columns: 1fr; }
  .qf .row { grid-template-columns: 1fr; }
}


/* ============================================================
   HOMEPAGE-SPECIFIC OVERRIDES (body.home)
   ============================================================ */

/* Hero bg with background image */
body.home .hero-bg {
  position: absolute !important;
  inset: 0;
  overflow: hidden;
  background: url('https://apexplumbingprojects.com.au/wp-content/uploads/2026/03/hero.png') center/cover no-repeat !important;
}
body.home .hero-bg svg {
  display: none;
}

/* Homepage uses larger section titles */
body.home .section-title {
  font-size: 44px;
  margin: 0 0 16px;
}
body.home .section-title.sm { font-size: 38px; }
body.home .section-title.md { font-size: 40px; }

/* Homepage uses larger section subtitle */
body.home .section-subtitle {
  font-size: 17px;
  line-height: 1.7;
  max-width: 600px;
}

/* Homepage uses larger label */
body.home .label {
  font-size: 14px;
}

/* Homepage stats grid uses 4 columns */
body.home .stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Homepage btn-outline-dark variant */
body.home .btn-outline-dark {
  border: 2px solid var(--deep);
  color: var(--deep);
  border-radius: 6px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  align-self: flex-start;
  transition: all 0.3s;
}
body.home .btn-outline-dark:hover {
  background: var(--deep);
  color: #fff;
}

/* CTA band with background image (homepage + areas) */
body.home .cta-band,
body.page-template-page-areas .cta-band {
  background: url('https://apexplumbingprojects.com.au/wp-content/uploads/2026/03/1.png') center/cover no-repeat;
  position: relative;
}
body.home .cta-band::before,
body.page-template-page-areas .cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
body.home .cta-band > *,
body.page-template-page-areas .cta-band > * { position: relative; z-index: 1; }
body.home .cta-band h2 {
  font-size: 42px;
  margin: 0 0 14px;
}
body.home .cta-band p { font-size: 18px; color: rgba(255,255,255,0.5); margin: 0 0 32px; }
body.home .cta-band .btn-copper {
  padding: 20px 56px;
  border-radius: 6px;
  font-size: 18px;
  transition: background 0.3s;
}
body.home .cta-band .btn-copper:hover { background: #2C5558; }
body.home .cta-band .btn-ghost {
  border: 2px solid rgba(255,255,255,0.35);
  padding: 18px 56px;
  border-radius: 6px;
  font-size: 18px;
  transition: all 0.3s;
}
body.home .cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* Homepage features-mini larger variant */
body.home .features-mini {
  gap: 20px;
  margin: 24px 0 32px;
}
body.home .feature-mini {
  gap: 14px;
  background: var(--bg);
  border-radius: 10px;
  padding: 18px 20px;
  border: 1px solid var(--bd);
}
body.home .feature-mini .chk {
  margin-top: 2px;
  width: 28px;
  height: 28px;
  background: rgba(166,108,68,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.home .feature-mini .chk svg { width: 16px; height: 16px; }
body.home .feature-mini h4 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
body.home .feature-mini p { font-size: 13px; line-height: 1.5; }

/* IMAGE SERVICE CARDS */
.svc-grid-images {
  gap: 16px;
  background: none;
}
.svc-grid-images .svc-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  padding: 0;
  transition: transform 0.3s;
}
.svc-grid-images .svc-card:hover {
  background-color: var(--dark);
  transform: scale(1.02);
}
.svc-grid-images .svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,77,66,0.85) 0%, rgba(5,77,66,0.3) 45%, transparent 100%);
  border-radius: 10px;
}
.svc-grid-images .svc-card h3 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 36px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  padding: 24px 28px;
  margin: 0;
}
.svc-grid-images .svc-card p,
.svc-grid-images .svc-card .learn-more {
  display: none;
}

/* FEATURED SERVICE CARDS */
.svc-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.svc-featured {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  text-decoration: none;
  transition: transform 0.3s;
}
.svc-featured:hover { transform: scale(1.02); }
.svc-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,77,66,0.9) 0%, rgba(5,77,66,0.5) 40%, rgba(5,77,66,0.1) 70%, transparent 100%);
  border-radius: 10px;
}
.svc-featured-content {
  position: relative;
  z-index: 1;
  padding: 28px;
}
.svc-featured-content h3 {
  color: #fff;
  font-size: 32px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  margin: 0 0 8px;
}
.svc-featured-content p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.svc-featured-cta {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.svc-featured:hover .svc-featured-cta { gap: 10px; }

/* ICON SERVICE CARDS */
.svc-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bd);
  border-radius: 8px;
  overflow: hidden;
}
.svc-icon-card {
  background: var(--white);
  padding: 32px 28px;
  text-decoration: none;
  display: block;
  transition: background 0.25s;
}
.svc-icon-card:hover { background: var(--lt); }
.svc-icon-card:last-child:nth-child(3n+1) { grid-column: 2; }
.svc-icon-card .svc-icon {
  width: 44px;
  height: 44px;
  background: rgba(53,103,106,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.svc-icon-card .svc-icon svg { width: 22px; height: 22px; }
.svc-icon-card h3 { font-size: 15px; color: var(--dark); margin: 0 0 6px; font-weight: 600; }
.svc-icon-card p { color: var(--mu); font-size: 13px; margin: 0 0 14px; line-height: 1.5; }
.svc-icon-card .learn-more {
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.svc-icon-card:hover .learn-more { gap: 8px; }

/* AREAS SECTION (homepage) */
.areas-section {
  background: var(--dark);
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
}
.areas-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.areas-text .label.dark { color: var(--gold); }
.areas-text h2 {
  font-size: 42px;
  font-family: 'DM Serif Display', Georgia, serif;
  color: #fff;
  margin: 0 0 20px;
  font-weight: 500;
}
.areas-text p {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 480px;
}
.areas-text .area-cta {
  display: inline-block;
  padding: 18px 40px;
  background: var(--copper);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}
.areas-text .area-cta:hover { background: #2C5558; }
.areas-map svg { width: 100%; height: auto; display: block; }
.map-pin { cursor: pointer; }
.map-pin-dot { transition: fill 0.3s, stroke-width 0.3s; }
.map-pin:hover .map-pin-dot { fill: #fff; stroke: var(--copper); stroke-width: 2.5; }
.map-pin-label {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  fill: #fff;
  pointer-events: none;
}
.map-pin-label-bg {
  fill: rgba(5,77,66,0.85);
  rx: 4;
  ry: 4;
  pointer-events: none;
  transition: fill 0.3s;
}
.map-pin:hover .map-pin-label-bg { fill: rgba(166,108,68,0.9); }

/* Homepage responsive overrides */
@media (max-width: 768px) {
  .svc-grid-images .svc-card { min-height: 200px; }
  .svc-featured-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-featured { min-height: 280px; }
  .svc-featured-content h3 { font-size: 26px; }
  .svc-icon-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-inner { grid-template-columns: 1fr; gap: 32px; }
  .areas-text { text-align: center; }
  .areas-text p { max-width: 100%; }
  .area-tags { min-height: auto; padding: 20px; }
  .areas-map { min-height: auto; }
}

@media (max-width: 480px) {
  .svc-featured-grid { grid-template-columns: 1fr; }
  .svc-featured { min-height: 260px; }
  .svc-icon-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   LANDING PAGE (body.page-template-page-landing-residential)
   All rules scoped to the landing page template
   ============================================================ */

body.page-template-page-landing-residential *,
body.page-template-page-landing-residential *::before,
body.page-template-page-landing-residential *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.page-template-page-landing-residential {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #1A1A1A;
  background: #FAFAF7;
  -webkit-font-smoothing: antialiased;
}

body.page-template-page-landing-residential a { text-decoration: none; color: inherit; }
body.page-template-page-landing-residential ul { list-style: none; }
body.page-template-page-landing-residential svg { display: block; }

body.page-template-page-landing-residential .w { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
body.page-template-page-landing-residential .btn { display: inline-block; padding: 14px 32px; border-radius: 4px; font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; border: none; }
body.page-template-page-landing-residential .btn-c { background: #35676A; color: #fff; }
body.page-template-page-landing-residential .btn-c:hover { background: #2C5558; }
body.page-template-page-landing-residential .btn-o { background: none; border: 1px solid rgba(255,255,255,0.5); color: #fff; }
body.page-template-page-landing-residential .btn-o:hover { border-color: rgba(255,255,255,0.8); }

/* LANDING TOPBAR */
body.page-template-page-landing-residential .topbar { background: #2C4949; padding: 8px 0; text-align: center; font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 0.5px; }
body.page-template-page-landing-residential .topbar b { color: #fff; }

/* LANDING NAV */
body.page-template-page-landing-residential .nav { background: #fff; border-bottom: 1px solid #DDE3E0; position: sticky; top: 0; z-index: 100; }
body.page-template-page-landing-residential .nav .w { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
body.page-template-page-landing-residential .nav .logo { display: inline-flex; align-items: center; }
body.page-template-page-landing-residential .nav .logo-img { height: 56px; width: auto; display: block; }
body.page-template-page-landing-residential .nav-btn { background: #35676A; color: #fff; padding: 9px 20px; border-radius: 4px; font-size: 13px; font-weight: 600; }

/* LANDING HERO */
body.page-template-page-landing-residential .hero { background: linear-gradient(to right, rgba(5,77,66,0.88) 0%, rgba(44,73,73,0.75) 50%, rgba(26,56,56,0.65) 100%), url('https://ik.imagekit.io/2z8yysunx/Apex%20Plumbing/Landing%20Page%20Pics/1.png?tr=f-webp,w-1600') center/cover no-repeat; padding: 56px 0 64px; position: relative; min-height: auto; display: block; }
body.page-template-page-landing-residential .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 5px 14px; font-size: 10px; font-weight: 600; letter-spacing: 0.5px; color: #fff; margin-bottom: 20px; }
body.page-template-page-landing-residential .hero-badge i { width: 5px; height: 5px; border-radius: 50%; background: #D7B791; display: inline-block; }
body.page-template-page-landing-residential .hero h1 { font-family: 'DM Serif Display', serif; font-size: 38px; color: #fff; line-height: 1.15; margin-bottom: 16px; font-weight: 400; max-width: 680px; }
body.page-template-page-landing-residential .hero-sub { color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.7; margin-bottom: 28px; max-width: 560px; }
body.page-template-page-landing-residential .hero-grid { display: grid; grid-template-columns: auto auto; gap: 8px 40px; margin-bottom: 32px; justify-content: start; }
body.page-template-page-landing-residential .hero-grid li { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 500; }
body.page-template-page-landing-residential .hchk { width: 16px; height: 16px; flex-shrink: 0; }
body.page-template-page-landing-residential .hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
body.page-template-page-landing-residential .hero-or { color: #fff; font-size: 13px; }
body.page-template-page-landing-residential .hero-or b { color: #fff; }
body.page-template-page-landing-residential .hero-or a { color: #fff; }

/* LANDING TRUST */
body.page-template-page-landing-residential .trust { background: #F0F4F2; border-bottom: 1px solid #DDE3E0; padding: 20px 0; }
body.page-template-page-landing-residential .trust .w { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
body.page-template-page-landing-residential .trust span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #2C4949; font-weight: 600; letter-spacing: 0.2px; }
body.page-template-page-landing-residential .trust span svg { width: 20px; height: 20px; flex-shrink: 0; }

/* LANDING SECTIONS */
body.page-template-page-landing-residential .sec { padding: 56px 0; }
body.page-template-page-landing-residential .sec-w { background: #fff; }
body.page-template-page-landing-residential .sec-d { background: linear-gradient(160deg, #1A3838 0%, #2C4949 50%, #054D42 100%); position: relative; overflow: hidden; }
body.page-template-page-landing-residential .sec-g { background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.75) 60%, rgba(0,0,0,0.88) 100%), url('https://ik.imagekit.io/2z8yysunx/Apex%20Plumbing/Landing%20Page%20Pics/11.png?tr=f-webp,w-1600') center/cover no-repeat; }
body.page-template-page-landing-residential .lbl { color: #A66C44; font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 8px; }
body.page-template-page-landing-residential .lbl-g { color: #D7B791; }
body.page-template-page-landing-residential .ttl { font-family: 'DM Serif Display', serif; font-size: 28px; color: #2C4949; line-height: 1.2; margin-bottom: 14px; font-weight: 400; }
body.page-template-page-landing-residential .ttl-w { color: #fff; }
body.page-template-page-landing-residential .txt { color: #5F6B6B; font-size: 14px; line-height: 1.75; max-width: 600px; }
body.page-template-page-landing-residential .txt p { margin-bottom: 12px; }
body.page-template-page-landing-residential .txt strong { color: #1A1A1A; }

/* LANDING S1 PROBLEM */
body.page-template-page-landing-residential .prob-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
body.page-template-page-landing-residential .prob-img { width: 100%; border-radius: 6px; display: block; object-fit: cover; }
body.page-template-page-landing-residential .plist { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
body.page-template-page-landing-residential .plist li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #1A1A1A; font-weight: 500; }
body.page-template-page-landing-residential .plist li svg { flex-shrink: 0; }
body.page-template-page-landing-residential .callout { margin-top: 20px; padding: 20px 24px; background: #F0F4F2; border-left: 3px solid #35676A; border-radius: 0 4px 4px 0; font-size: 13.5px; color: #2C4949; font-weight: 600; line-height: 1.7; }

/* LANDING S2 DIFFERENCE */
body.page-template-page-landing-residential .diff-head { text-align: center; margin-bottom: 40px; }
body.page-template-page-landing-residential .diff-head .ttl { margin-bottom: 10px; }
body.page-template-page-landing-residential .diff-head .txt { max-width: 600px; margin: 0 auto; }
body.page-template-page-landing-residential .dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.page-template-page-landing-residential .dc { padding: 32px 28px; border-radius: 10px; background: #fff; position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; border: 1px solid #E8ECE9; }
body.page-template-page-landing-residential .dc:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(44,73,73,0.12); }
body.page-template-page-landing-residential .dc-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #35676A, #054D42); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
body.page-template-page-landing-residential .dc-icon svg { width: 22px; height: 22px; }
body.page-template-page-landing-residential .dc-num { position: absolute; top: 16px; right: 20px; font-family: 'DM Serif Display', serif; font-size: 40px; color: rgba(53,103,106,0.06); line-height: 1; font-weight: 400; }
body.page-template-page-landing-residential .dc h3 { font-size: 16px; color: #2C4949; font-weight: 700; margin-bottom: 8px; }
body.page-template-page-landing-residential .dc p { font-size: 13.5px; color: #5F6B6B; line-height: 1.65; }
body.page-template-page-landing-residential .dc-bar { height: 3px; background: linear-gradient(90deg, #A66C44, #D7B791); border-radius: 2px; margin-top: 18px; width: 40px; transition: width 0.3s; }
body.page-template-page-landing-residential .dc:hover .dc-bar { width: 100%; }
body.page-template-page-landing-residential .cen { text-align: center; margin-top: 36px; }

/* LANDING S3 SERVICES */
body.page-template-page-landing-residential .svc-head { text-align: center; margin-bottom: 40px; }
body.page-template-page-landing-residential .svc-head .ttl { margin-bottom: 10px; }
body.page-template-page-landing-residential .sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 0; }
body.page-template-page-landing-residential .sc { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 1 / 1; }
body.page-template-page-landing-residential .sc-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
body.page-template-page-landing-residential .sc:hover .sc-img { transform: scale(1.08); }
body.page-template-page-landing-residential .sc-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,30,25,0.85) 0%, rgba(5,30,25,0.3) 40%, transparent 65%); transition: background 0.3s; z-index: 1; }
body.page-template-page-landing-residential .sc:hover .sc-overlay { background: linear-gradient(to top, rgba(5,30,25,0.9) 0%, rgba(5,30,25,0.4) 50%, rgba(5,30,25,0.15) 100%); }
body.page-template-page-landing-residential .sc-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; z-index: 2; }
body.page-template-page-landing-residential .sc h3 { font-family: 'DM Serif Display', serif; font-size: 20px; color: #fff; font-weight: 400; margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
body.page-template-page-landing-residential .sc ul { display: flex; flex-direction: column; gap: 4px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s, opacity 0.3s, margin 0.3s; margin-top: 0; }
body.page-template-page-landing-residential .sc:hover ul { max-height: 200px; opacity: 1; margin-top: 12px; }
body.page-template-page-landing-residential .sc ul li { font-size: 13px; color: rgba(255,255,255,0.8); padding-left: 14px; position: relative; line-height: 1.55; }
body.page-template-page-landing-residential .sc ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: #D7B791; }

/* LANDING S4 WHY APEX */
body.page-template-page-landing-residential .sec-why { position: relative; overflow: hidden; padding: 72px 0; }
body.page-template-page-landing-residential .why-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
body.page-template-page-landing-residential .pipe-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
body.page-template-page-landing-residential .pf { fill: none; stroke-linecap: round; will-change: stroke-dashoffset; }
body.page-template-page-landing-residential .pf1 { stroke: #35676A; stroke-width: 1.5; opacity: 0.07; stroke-dasharray: 12 20; animation: flowR 5s linear infinite; }
body.page-template-page-landing-residential .pf2 { stroke: #2C4949; stroke-width: 1; opacity: 0.05; stroke-dasharray: 8 28; animation: flowR 9s linear infinite; }
body.page-template-page-landing-residential .pf3 { stroke: #A66C44; stroke-width: 1.2; opacity: 0.045; stroke-dasharray: 14 22; animation: flowL 7s linear infinite; }
body.page-template-page-landing-residential .pf4 { stroke: #35676A; stroke-width: 1; opacity: 0.06; stroke-dasharray: 10 18; animation: flowD 8s linear infinite; }
body.page-template-page-landing-residential .pf5 { stroke: #2C4949; stroke-width: 1.5; opacity: 0.05; stroke-dasharray: 6 24; animation: flowD 11s linear infinite; }
body.page-template-page-landing-residential .pf6 { stroke: #35676A; stroke-width: 1.2; opacity: 0.06; stroke-dasharray: 14 16; animation: flowR 6.5s linear infinite; }
body.page-template-page-landing-residential .pf7 { stroke: #A66C44; stroke-width: 0.8; opacity: 0.04; stroke-dasharray: 8 20; animation: flowL 10s linear infinite; }
body.page-template-page-landing-residential .pf8 { stroke: #2C4949; stroke-width: 1; opacity: 0.05; stroke-dasharray: 12 24; animation: flowR 8s linear infinite; }
body.page-template-page-landing-residential .pn { fill: #35676A; }
body.page-template-page-landing-residential .pna { opacity: 0.05; animation: npulse 4s ease-in-out infinite; }
body.page-template-page-landing-residential .pnb { opacity: 0.05; animation: npulse 5s ease-in-out infinite 1.5s; }
body.page-template-page-landing-residential .pnc { opacity: 0.05; animation: npulse 3.5s ease-in-out infinite 3s; }
body.page-template-page-landing-residential .wpart { position: absolute; border-radius: 50%; background: #35676A; pointer-events: none; will-change: transform, opacity; }
body.page-template-page-landing-residential .wp1 { width: 6px; height: 6px; left: 12%; bottom: -6px; animation: partUp 8s ease-in-out infinite; }
body.page-template-page-landing-residential .wp2 { width: 4px; height: 4px; left: 30%; bottom: -4px; animation: partUp 10s ease-in-out infinite 2s; }
body.page-template-page-landing-residential .wp3 { width: 8px; height: 8px; left: 52%; bottom: -8px; animation: partUp 7s ease-in-out infinite 4s; }
body.page-template-page-landing-residential .wp4 { width: 5px; height: 5px; left: 72%; bottom: -5px; animation: partUp 9s ease-in-out infinite 1s; }
body.page-template-page-landing-residential .wp5 { width: 3px; height: 3px; left: 88%; bottom: -3px; animation: partUp 11s ease-in-out infinite 3s; }
body.page-template-page-landing-residential .wp6 { width: 7px; height: 7px; left: 42%; bottom: -7px; animation: partUp 8.5s ease-in-out infinite 5.5s; }
body.page-template-page-landing-residential .wrpl { position: absolute; border-radius: 50%; border: 1px solid #35676A; pointer-events: none; width: 8px; height: 8px; will-change: transform, opacity; }
body.page-template-page-landing-residential .wr1 { top: 28%; left: 18%; animation: rplOut 5s ease-out infinite; }
body.page-template-page-landing-residential .wr2 { top: 55%; right: 14%; animation: rplOut 6s ease-out infinite 2s; }
body.page-template-page-landing-residential .wr3 { bottom: 22%; left: 58%; animation: rplOut 7s ease-out infinite 3.5s; }

@keyframes flowR { to { stroke-dashoffset: -200; } }
@keyframes flowL { to { stroke-dashoffset: 200; } }
@keyframes flowD { to { stroke-dashoffset: -160; } }
@keyframes npulse { 0%,100% { opacity: 0.04; } 50% { opacity: 0.12; } }
@keyframes partUp { 0% { opacity: 0; transform: translateY(0); } 12% { opacity: 0.07; } 88% { opacity: 0.04; } 100% { opacity: 0; transform: translateY(-320px); } }
@keyframes rplOut { 0% { opacity: 0.08; transform: scale(1); } 100% { opacity: 0; transform: scale(14); } }

body.page-template-page-landing-residential .why-center { text-align: center; padding: 20px 0; position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
body.page-template-page-landing-residential .why-center .ttl { font-size: 30px; margin-bottom: 24px; line-height: 1.3; }
body.page-template-page-landing-residential .stgrid { display: flex; justify-content: center; gap: 0; margin-top: 8px; }
body.page-template-page-landing-residential .stc { padding: 0 32px; text-align: center; }
body.page-template-page-landing-residential .stc + .stc { border-left: 1px solid #DDE3E0; }
body.page-template-page-landing-residential .stc .v { font-family: 'DM Serif Display', serif; font-size: 32px; color: #2C4949; margin-bottom: 2px; }
body.page-template-page-landing-residential .stc .v .suf { color: #A66C44; font-size: 18px; font-family: 'Inter', sans-serif; font-weight: 700; }
body.page-template-page-landing-residential .stc .l { font-size: 11px; color: #5F6B6B; font-weight: 500; }

/* LANDING S4B TESTIMONIALS */
body.page-template-page-landing-residential .sec-test { background: #FFFFFF; }
body.page-template-page-landing-residential .test-head { margin-bottom: 36px; }
body.page-template-page-landing-residential .test-head .ttl { margin-bottom: 0; }
body.page-template-page-landing-residential .tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
body.page-template-page-landing-residential .tc { background: #fff; border-radius: 8px; padding: 28px 24px; border: 1px solid #E8E2D8; }
body.page-template-page-landing-residential .tc-stars { display: flex; gap: 3px; margin-bottom: 16px; }
body.page-template-page-landing-residential .tc-stars svg { width: 16px; height: 16px; }
body.page-template-page-landing-residential .tc q { display: block; font-size: 14px; color: #2C4949; line-height: 1.65; font-style: normal; margin-bottom: 14px; }
body.page-template-page-landing-residential .tc cite { font-size: 12.5px; color: #A66C44; font-weight: 600; font-style: normal; }

/* LANDING S5 CONFIDENCE */
body.page-template-page-landing-residential .conf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
body.page-template-page-landing-residential .conf-left .ttl-w { font-size: 30px; margin-bottom: 16px; line-height: 1.25; }
body.page-template-page-landing-residential .conf-sub { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.7; margin-bottom: 28px; max-width: 420px; }
body.page-template-page-landing-residential .conf-right { padding-left: 64px; border-left: 1px solid rgba(255,255,255,0.1); }
body.page-template-page-landing-residential .conf-list { display: flex; flex-direction: column; gap: 22px; list-style: none; }
body.page-template-page-landing-residential .conf-list li { display: flex; align-items: flex-start; gap: 14px; }
body.page-template-page-landing-residential .conf-list .cm { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
body.page-template-page-landing-residential .conf-list h4 { font-size: 14px; color: #fff; font-weight: 600; margin-bottom: 3px; }
body.page-template-page-landing-residential .conf-list p { font-size: 12.5px; color: rgba(255,255,255,0.6); line-height: 1.55; }

/* LANDING FINAL CTA */
body.page-template-page-landing-residential .final { padding: 64px 0; text-align: center; }
body.page-template-page-landing-residential .final h2 { font-family: 'DM Serif Display', serif; font-size: 30px; color: #fff; margin-bottom: 10px; font-weight: 400; }
body.page-template-page-landing-residential .final-sub { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 28px; }
body.page-template-page-landing-residential .final-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
body.page-template-page-landing-residential .final-area { margin-top: 24px; font-size: 11px; color: rgba(255,255,255,0.6); letter-spacing: 0.4px; }

/* LANDING FOOTER */
body.page-template-page-landing-residential .ft { background: #054D42; }
body.page-template-page-landing-residential .ft-a { height: 3px; background: linear-gradient(90deg, #A66C44, #D7B791, #A66C44); }
body.page-template-page-landing-residential .ft-i { padding: 28px 0; text-align: center; }
body.page-template-page-landing-residential .ft-b { color: #fff; font-family: 'DM Serif Display', serif; font-size: 13px; letter-spacing: 2px; margin-bottom: 4px; }
body.page-template-page-landing-residential .ft-c { color: rgba(255,255,255,0.2); font-size: 10px; }
body.page-template-page-landing-residential .ft-cr { color: rgba(255,255,255,0.2); font-size: 10px; margin-top: 2px; }
body.page-template-page-landing-residential .ft-cr span { color: #FFC500; }

/* LANDING ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  body.page-template-page-landing-residential *,
  body.page-template-page-landing-residential *::before,
  body.page-template-page-landing-residential *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body.page-template-page-landing-residential a:focus-visible,
body.page-template-page-landing-residential .btn:focus-visible { outline: 2px solid #35676A; outline-offset: 2px; border-radius: 2px; }
body.page-template-page-landing-residential .nav-btn:focus-visible { outline-color: #fff; }

/* LANDING RESPONSIVE */
@media (max-width: 768px) {
  body.page-template-page-landing-residential .w { padding: 0 20px; }
  body.page-template-page-landing-residential .hero { padding: 40px 0 48px; }
  body.page-template-page-landing-residential .hero h1 { font-size: 26px; }
  body.page-template-page-landing-residential .hero-grid { grid-template-columns: 1fr; gap: 6px; }
  body.page-template-page-landing-residential .hero-cta { flex-direction: column; align-items: flex-start; }
  body.page-template-page-landing-residential .dgrid { grid-template-columns: 1fr; }
  body.page-template-page-landing-residential .sgrid { grid-template-columns: 1fr; }
  body.page-template-page-landing-residential .stgrid { grid-template-columns: 1fr 1fr; }
  body.page-template-page-landing-residential .sec { padding: 40px 0; }
  body.page-template-page-landing-residential .ttl { font-size: 24px; }
  body.page-template-page-landing-residential .final h2 { font-size: 24px; }
  body.page-template-page-landing-residential .final-btns { flex-direction: column; align-items: center; }
  body.page-template-page-landing-residential .trust .w { gap: 14px; }
  body.page-template-page-landing-residential .prob-row { grid-template-columns: 1fr; }
  body.page-template-page-landing-residential .tgrid { grid-template-columns: 1fr; }
  body.page-template-page-landing-residential .conf-row { grid-template-columns: 1fr; gap: 32px; }
  body.page-template-page-landing-residential .conf-right { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; }
  body.page-template-page-landing-residential .nav .w { padding: 10px 20px; }
  body.page-template-page-landing-residential .nav .logo-img { height: 44px; }
}
@media (max-width: 480px) {
  body.page-template-page-landing-residential .hero h1 { font-size: 22px; }
  body.page-template-page-landing-residential .stgrid { grid-template-columns: 1fr; }
  body.page-template-page-landing-residential .trust .w { flex-direction: column; align-items: center; gap: 8px; }
}


/* ============================================================
   CONTACT FORM 7 OVERRIDES
   ============================================================ */

.wpcf7 .wpcf7-form { display: flex; flex-direction: column; gap: 12px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 13px 16px;
  background: #FFFFFF;
  border: 1px solid #DDE3E0;
  border-radius: 3px;
  color: #1A1A1A;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.wpcf7 select { color: #5F6B6B; }
.wpcf7 textarea { min-height: 80px; resize: vertical; }
.wpcf7 .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wpcf7 input[type="submit"] {
  background: #35676A;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}
.wpcf7 .wpcf7-response-output { border: none !important; padding: 10px 0 !important; font-size: 13px; }
.wpcf7 .wpcf7-not-valid-tip { font-size: 12px; color: #c0392b; margin-top: 4px; }
@media (max-width: 480px) {
  .wpcf7 .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   WPFORMS OVERRIDES (sidebar quote form)
   ============================================================ */

/* Hide WPForms field labels — rely on placeholders */
.sidebar-form .wpforms-container .wpforms-field-label { display: none !important; }
.sidebar-form .wpforms-container .wpforms-field-sublabel { display: none !important; }
.sidebar-form .wpforms-container .wpforms-field-description { display: none !important; }

/* Remove WPForms default margins/padding */
.sidebar-form .wpforms-container { margin: 0; padding: 0; }
.sidebar-form .wpforms-container .wpforms-form { display: flex; flex-direction: column; gap: 10px; }
.sidebar-form .wpforms-container .wpforms-field-container { display: flex !important; flex-direction: column !important; gap: 10px !important; }
.sidebar-form .wpforms-container .wpforms-field { margin: 0 !important; padding: 0 !important; }
.sidebar-form .wpforms-container .wpforms-field-row { margin: 0 !important; padding: 0 !important; }
.sidebar-form .wpforms-container .wpforms-field * { margin-bottom: 0 !important; }
.sidebar-form .wpforms-container .wpforms-field[style*="width: 1px"],
.sidebar-form .wpforms-container .wpforms-field[style*="height: 1px"] { display: none !important; }

/* Name field — force single column for first/last or just full name */
.sidebar-form .wpforms-container .wpforms-field-name .wpforms-field-row { display: flex; flex-direction: column; gap: 10px; margin: 0 !important; padding: 0 !important; }
.sidebar-form .wpforms-container .wpforms-field-name .wpforms-field-row-block { width: 100% !important; flex: 1; margin: 0 !important; padding: 0 !important; }
.sidebar-form .wpforms-container .wpforms-field-name .wpforms-field-row-block input { margin: 0 !important; }

/* Unified input styling */
.sidebar-form .wpforms-container input[type="text"],
.sidebar-form .wpforms-container input[type="tel"],
.sidebar-form .wpforms-container input[type="email"],
.sidebar-form .wpforms-container input[type="number"],
.sidebar-form .wpforms-container select,
.sidebar-form .wpforms-container textarea {
  width: 100% !important;
  padding: 15px 18px !important;
  background: #FFFFFF !important;
  border: 1px solid #DDE3E0 !important;
  border-radius: 6px !important;
  color: #1A1A1A !important;
  font-size: 15px !important;
  outline: none !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  transition: border-color 0.2s !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
}
.sidebar-form .wpforms-container input:focus,
.sidebar-form .wpforms-container select:focus,
.sidebar-form .wpforms-container textarea:focus {
  border-color: var(--teal) !important;
}
.sidebar-form .wpforms-container select {
  color: #5F6B6B !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235F6B6B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 40px !important;
}
.sidebar-form .wpforms-container textarea {
  min-height: 100px !important;
  resize: vertical !important;
}

/* Hide phone intl-tel-input country selector if present */
.sidebar-form .wpforms-container .iti { width: 100% !important; }
.sidebar-form .wpforms-container .iti__flag-container,
.sidebar-form .wpforms-container .iti__country-container { display: none !important; }
.sidebar-form .wpforms-container .iti input { padding-left: 18px !important; }

/* Submit button — full-width teal */
.sidebar-form .wpforms-container .wpforms-submit-container { margin: 0 !important; padding: 0 !important; }
.sidebar-form .wpforms-container button[type="submit"],
.sidebar-form .wpforms-container input[type="submit"],
.sidebar-form .wpforms-container .wpforms-submit {
  display: block !important;
  width: 100% !important;
  background: #35676A !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 16px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  letter-spacing: 0.3px !important;
  transition: background 0.2s !important;
  text-align: center !important;
}
.sidebar-form .wpforms-container button[type="submit"]:hover,
.sidebar-form .wpforms-container input[type="submit"]:hover,
.sidebar-form .wpforms-container .wpforms-submit:hover {
  background: #2C4949 !important;
}

/* Hide WPForms required asterisk styling */
.sidebar-form .wpforms-container .wpforms-required-label { display: none !important; }

/* Hide WPForms branding/footer */
.sidebar-form .wpforms-container .wpforms-recaptcha-container { margin-top: 0 !important; }

/* Hide WPForms loading spinner overlay */
.sidebar-form .wpforms-container .wpforms-submit-spinner { display: none !important; }

/* Force WPForms field containers to full width */
.sidebar-form .wpforms-container .wpforms-field-row,
.sidebar-form .wpforms-container .wpforms-field-row-block,
.sidebar-form .wpforms-container .wpforms-field input,
.sidebar-form .wpforms-container .wpforms-field select,
.sidebar-form .wpforms-container .wpforms-field textarea {
  max-width: 100% !important;
}

/* Override WPForms page-break and divider */
.sidebar-form .wpforms-container .wpforms-page-indicator { display: none !important; }
.sidebar-form .wpforms-container .wpforms-field-divider { display: none !important; }

/* Sidebar call section styling */
.sidebar-call { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--bd); }
.sidebar-phone {
  display: block;
  color: var(--dark);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}
.sidebar-phone-alt {
  display: block;
  color: var(--mu);
  font-size: 14px;
  text-decoration: none;
  margin-top: 2px;
}

/* Contact page form — override sidebar structural styles */
.contact-quote-form {
  position: static !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  align-self: auto !important;
}