/* tucsonplumbing.com — hand-written from the design tokens extracted off the
   WordPress theme (inventory/design/tokens.json). Shell first; page-specific
   rules are appended per page in Phase 3. */

/* Metric-matched fallbacks: while the web fonts load, text occupies the
   same space it will after the swap, so nothing reflows (CLS was 0.16 on
   pages with long hero titles). Values from Arial against each face. */
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial");
  size-adjust: 113.4%;
  ascent-override: 85%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Source Sans Fallback";
  src: local("Arial");
  size-adjust: 93.6%;
  ascent-override: 109%;
  descent-override: 42%;
  line-gap-override: 0%;
}

:root {
  --orange: #E67E23;
  --blue: #1F9BDE;
  --charcoal: #3B4149;
  --navy: #0F4C81;
  --text: #404040;
  --offwhite: #FAF8F7;
  --shadow: rgba(0, 0, 0, 0.16);
  --font-head: "Montserrat", "Montserrat Fallback", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Fallback", sans-serif;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ---------- base ---------- */
html { box-sizing: border-box; }
html, body { overflow-x: clip; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-system);
  font-size: 1rem;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
p { margin: 0 0 1.5em; font-family: var(--font-body); font-size: 18px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head) !important; }
a { color: royalblue; }
a:visited { color: purple; }
a:hover, a:focus, a:active { color: midnightblue; }
button { cursor: pointer; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  word-wrap: normal !important;
}
.skip-link:focus {
  clip-path: none;
  width: auto; height: auto;
  left: 5px; top: 5px;
  z-index: 100000;
  background: #f1f1f1;
  padding: 15px 23px 14px;
}

/* ---------- utilities (as used by the theme) ---------- */
.flex { display: flex; }
.justify-content-center { justify-content: center; }
.text-center { text-align: center; }
.m-0 { margin: 0; }
.mb-0 { margin-bottom: 0; }
.mx-0 { margin-left: 0; margin-right: 0; }
.lh-1 { line-height: 1; }
.w-60 { width: 60%; margin: 0 auto; }
.grid-1-1 { display: grid; grid-template-columns: 1fr 1fr; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1250px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  /* live equivalent: .mobile-1000 column stacking */
  .grid-1-1, .grid-2-1 { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .grid-4 { grid-template-columns: 1fr; }
}
.gap-20 { gap: 20px; }
.py-50 { padding: 50px 0; }
.orange-text { color: var(--orange); }
.orange-header {
  color: var(--orange);
  border-bottom: 5px solid var(--blue);
  line-height: 1.3;
  width: fit-content;
}
.orange-underline {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 15px;
  margin-bottom: -5px;
}
.plain-link, .plain-link:visited, .plain-link:hover, .plain-link:focus,
.plain-link:active { color: inherit; text-decoration: none; }

/* ---------- fixed desktop header ---------- */
#masthead {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 9999;
}
#masthead * { font-weight: bolder !important; }
.site-branding { background: #fff; height: 172px; }
.site-branding .w-60 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.site-branding .w-60 > div { flex: 30%; }
#header_statement span, .header-phone, .header-cta { font-size: 2em; }
#header_statement, #header_logo {
  transition: all 0.2s ease-in;
  opacity: 1;
  transform: translateX(0);
}
html.scrolled #header_statement, html.scrolled #header_logo {
  transform: translateX(-200px);
  opacity: 0;
  flex: 0;
  width: 0;
  overflow: hidden;
}
#header_logo { text-align: center; position: relative; top: 15px; }
#header_statement { padding-left: 10px; }
.header-phone { color: #000; text-align: center; }
.header-phone a, .header-phone a:visited, .header-phone a:hover {
  color: #000; text-decoration: none; font-size: 36px;
}
html.scrolled .header-phone a { font-size: 48px; }
.header-cta {
  position: absolute;
  right: 20%;
  top: 50px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease-in;
}
html.scrolled .header-cta { visibility: visible; opacity: 1; }
.schedule-a-service--header {
  color: var(--orange) !important;
  text-decoration: underline !important;
  font-size: 36px;
}

/* ---------- desktop nav ---------- */
.main-navigation { background: var(--orange); }
.main-navigation .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 62px;
}
.main-navigation .menu > .menu-item { position: relative; }
.main-navigation .menu > .menu-item > a {
  font-family: var(--font-head);
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  padding: 0 20px;
  border-right: 2px solid #fff;
  display: block;
}
.main-navigation .menu > .menu-item:last-child > a { border-right: none; }
.main-navigation .menu > .menu-item > a:hover,
.main-navigation .current-menu-item > a { color: var(--charcoal); }
.main-navigation .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: -999em;
  top: 100%;
  min-width: 400px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  z-index: 99999;
}
.main-navigation .menu-item:hover > .sub-menu,
.main-navigation .menu-item:focus-within > .sub-menu { left: 0; }
.main-navigation .sub-menu a {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: normal !important;
  color: #777879;
  text-decoration: none;
  display: block;
  padding: 12px 15px;
  border-bottom: 1px solid #000;
}
.main-navigation .sub-menu .menu-item:hover { background: var(--orange); }
.main-navigation .sub-menu .menu-item:hover > a { color: #fff; }
.main-navigation .menu > .current-menu-item > a { color: var(--charcoal); }

/* ---------- mobile header bar + slide-over panel ---------- */
.mob-menu-header-holder, .mobmenu-panel, .mobmenu-overlay { display: none; }

/* ---------- hero covers ---------- */
.hero-cover {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-cover.home_cover { min-height: 668px; }
/* Live inner-page heroes are the same tall cover as home (the 334px
   "page-title" variant from the theme CSS research is overridden on live;
   every before-screenshot shows ~630-670px heroes with 60px titles). */
.hero-cover.page-title { min-height: 640px; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 33% 50%;
}
.hero-dim {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.5;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-title {
  color: #fff;
  font-size: 60px;
  line-height: 70px;
  margin: 0 0 20px;
  max-width: 1150px;
}
.page-title .hero-title { max-width: 1150px; }
.page-title .hero-subline { font-weight: 700; font-family: var(--font-head); }
.hero-subline {
  color: var(--orange);
  font-size: 32px;
  line-height: 34px;
  margin: 0 0 28px;
  font-weight: 400;
}
.schedule-a-service, .schedule-a-service:visited {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid currentColor;
  border-radius: 9999px;
  padding: 0.667em 1.333em;
  font-size: 22px;
  font-weight: 400;
  text-decoration: none;
  margin-bottom: 40px;
}
.schedule-a-service:hover, .schedule-a-service:focus {
  background: orange;
  border-color: orange;
  color: #fff;
}

/* accreditation strip inside heroes */
.header-social--desktop { padding: 12px 0; }
.header-social--desktop.inner-social { margin-top: 30px; }
.header-social--desktop .wrapper {
  display: flex;
  max-width: 1200px;
  gap: 20px;
  align-items: center;
}
.header-social--desktop .accredited {
  height: 100px;
  width: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

/* ---------- main ---------- */
.site-main { padding-top: 200px; }
#page { position: relative; }

/* ---------- footer ---------- */
#colophon { background: var(--charcoal); position: relative; }
.mobile-phone-number { display: none; }
.patterned-background {
  height: 125px;
  background: url(/img/pattern.png);
  background-repeat: repeat;
  background-size: contain;
  background-color: rgba(255, 255, 255, 0.9);
}
.footer-top {
  background: var(--orange);
  min-height: 475px;
  padding: 50px 0;
}
#footer_form {
  max-width: 1166px;
  margin: -7em auto 0;
  background: var(--offwhite);
  box-shadow: 0 13px 15px var(--shadow);
  padding: 30px 0;
}
#footer_form-title {
  display: inline-block;
  margin-left: 24px;
  font-size: 1.75em;
  font-weight: 400;
  font-family: var(--font-head);
  color: var(--blue);
  text-decoration-thickness: 3px;
  text-align: left; /* the live .text-center class has no effect on its inline span */
}
.form-ctn { padding: 30px 90px; }
#footer_form-text { max-width: 332px; }
#footer_form-text p, #footer_form-text h2 {
  font-family: var(--font-body);
  font-size: 1.75em;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}
#footer_form-text h2 {
  color: var(--orange);
  font-family: var(--font-head) !important;
  font-weight: 700;
  font-size: 1.45em;
}
.site-info {
  text-align: center;
  padding: 66px 0 49px;
  position: relative;
}
#footer-social {
  position: absolute;
  right: 300px;
  top: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
}
#footer-social .accredited { width: 117px; height: 53px; }
#footer-social a { color: #fff; }
.icon-facebook { width: 30px; height: 30px; }
#footer-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0 12px 32px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}
#footer-nav .menu > .menu-item > a {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
#footer-nav .menu > .menu-item > a:visited { color: #fff; }
#footer-nav .menu > .menu-item > a:hover { color: var(--charcoal); }
#footer-nav .sub-menu, #footer-nav .mob-expand { display: none !important; }
#footer_copyright { text-align: center; padding: 0 0 13px; }
#footer_copyright span { color: #fff; font-size: 2em; font-weight: 400; }

/* ---------- responsive ---------- */
@media (max-width: 1800px) {
  html.scrolled .header-phone a { font-size: 42px; }
  .schedule-a-service--header { font-size: 32px; }
}
@media (max-width: 1700px) {
  .w-60 { width: 70%; }
}
@media (max-width: 1550px) {
  .main-navigation .menu > .menu-item > a { font-size: 18px; }
}
@media (max-width: 1350px) {
  .main-navigation .menu > .menu-item > a { font-size: 18px !important; padding: 0 15px; }
  #footer-nav .menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 20px 50px;
  }
  #footer_form { max-width: 100%; }
  #footer-social { right: 50px; }
}
@media (max-width: 1250px) {
  .hero-inner { width: 90%; }
  .home_cover-text { padding-left: 0; }
}

/* mobile switch — the desktop header is replaced by the mobile bar */
@media (max-width: 1150px) {
  #masthead { display: none; }
  /* Live gives the page 50px top padding while the 80px white logo band
     overlaps the first 30px of content — kept for parity. */
  .site-main { padding-top: 50px; }
  /* Tall centered heroes keep titles clear of the bar and pill on mobile;
     explicit top padding covers heroes whose text is taller than the box. */
  .hero-cover.page-title { min-height: 640px; }
  .page-title .hero-inner { padding-top: 80px; padding-bottom: 30px; }

  .mob-menu-header-holder {
    display: flex;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    z-index: 100000;
    align-items: center;
    justify-content: space-between;
  }
  .mob-menu-logo-holder a {
    display: block;
    width: 60px; height: 60px;
    margin-left: 10px;
    background: url(/img/logo-hd.gif) no-repeat center / 60px 60px;
  }
  .mobmenu-trigger {
    background: none;
    border: none;
    color: #000;
    margin-right: 24px;
    padding: 10px;
  }
  .mobmenu-trigger svg { width: 20px; height: 20px; }
  .mobmenu-trigger .icon-close, body.nav-open .mobmenu-trigger .icon-burger { display: none; }
  body.nav-open .mobmenu-trigger .icon-close { display: inline; }

  .mobmenu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.83);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
    z-index: 100001;
  }
  body.nav-open .mobmenu-overlay { opacity: 1; pointer-events: auto; }

  .mobmenu-panel {
    display: block;
    position: fixed;
    top: 0; right: 0;
    width: 270px;
    height: 100%;
    background: #F7F7F7;
    transform: translateX(100%);
    transition: transform 0.5s;
    z-index: 100002;
    overflow-y: auto;
    padding-top: 20px;
  }
  .panel-close {
    display: block;
    margin-left: auto;
    background: none;
    border: none;
    color: #666;
    padding: 4px 14px 10px;
  }
  body.nav-open .mobmenu-panel { transform: translateX(0); }
  html.no-scroll, html.no-scroll body { overflow: hidden; }

  .mobmenu-panel .menu { list-style: none; margin: 0; padding: 0; }
  .mobmenu-panel .menu-item { position: relative; }
  .mobmenu-panel .menu a {
    display: block;
    padding: 14px 44px 14px 20px;
    color: #666;
    text-decoration: none;
    font-family: var(--font-head);
    border-bottom: 1px solid #e3e3e3;
  }
  .mobmenu-panel .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #3a3a3a;
    display: none;
  }
  .mobmenu-panel .sub-menu.show-sub-menu { display: block; }
  .mobmenu-panel .sub-menu a { color: #fff; border-bottom-color: #4a4a4a; }
  .mob-expand {
    position: absolute;
    top: 0; right: 0;
    width: 44px; height: 49px;
    background: none;
    border: none;
    color: #666;
  }
  .mob-expand .chev { transition: transform 0.3s; }
  .mob-expand[aria-expanded="true"] .chev { transform: rotate(180deg); }

  .mobile-phone-number, .mobile-phone-number:visited {
    display: flex;
    position: fixed;
    top: 50px;
    right: 80px;
    width: 140px;
    height: 50px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 100000; /* same as the bar; later in the DOM, paints above it */
  }
}
@media (max-width: 786px) {
  .mobile-phone-number { top: 60px; }
}
@media (max-width: 950px) {
  .header-social--desktop { display: none; }
}
@media (max-width: 1000px) {
  .form-ctn { grid-template-columns: 1fr; padding: 30px; }
  #footer_form-text { max-width: none; text-align: center; }
}
@media (max-width: 800px) {
  #footer-nav .menu { grid-template-columns: 1fr; gap: 14px; justify-items: center; }
}
@media (max-width: 750px) {
  #footer-social {
    position: static;
    justify-content: center;
    margin-top: 20px;
  }
}
@media (max-width: 650px) {
  .hero-title { line-height: inherit; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 45px !important; }
}

/* ---------- content utilities (Phase 3 pages) ---------- */
.wp-block-cover {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cover-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cover-dim {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.5;
  z-index: 1;
}
.cover-dim--none { opacity: 0; }
.cover-dim--light { background: #f8f8f8; opacity: 0.9; }
.wp-block-cover > .cover-inner { position: relative; z-index: 2; width: 100%; }

.max-w-1200 { max-width: 1154px; margin-left: auto; margin-right: auto; }
.max-w-1150 { max-width: 1150px; margin-left: auto; margin-right: auto; }
.max-w-1000 { max-width: 1020px; margin-left: auto; margin-right: auto; }
.max-w-600 { max-width: 612px; margin-left: auto; margin-right: auto; }
.w-70 { width: 70%; margin: 0 auto; }
.py-40 { padding: 40px 0; }
.py-75 { padding: 75px 0; }
.py-100 { padding: 100px 0; }
.p-30 { padding: 30px; }
.mb-40 { margin-bottom: 40px; }
.band-blue { background: var(--blue); }
.band-gray { background: #f8f8f8; }
.has-white-color { color: #fff; }

.section-heading { font-size: 38px; margin: 0 0 30px; }
.orange-link, .orange-link:visited, .orange-link:hover { color: var(--orange); }
.blue--link, .blue--link:visited, .blue--link:hover { color: var(--blue); }
.white-link, .white-link:visited, .white-link:hover { color: #fff; }
.blue-separator { background: var(--navy); height: 4px; width: 80%; border: 0; margin: 20px auto; }
.blue--separator { border-bottom: 4px solid var(--blue); margin-bottom: 12px; }
.orange--hr { height: 3px; background: var(--orange); border: none; }
.sub-text { font-size: 17px; color: var(--offwhite); text-align: center; max-width: 1150px; margin: 0 auto 1.5em; }

.orange-btn a, .orange-btn a:visited,
span.orange-btn,
a.orange-btn, a.orange-btn:visited {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  border-radius: 9999px;
  padding: 0.667em 1.333em;
  font-size: 22px;
  text-decoration: none;
}
.orange-btn a:hover, a.orange-btn:hover { background: var(--blue) !important; color: #fff !important; }
.beige-btn a, a.beige-btn { background: #E8BD7B; }

.checkmark {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 20px;
}
.checkmark .check-circle {
  flex: none;
  width: 75px; height: 75px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkmark .check-circle svg { width: 34px; height: 34px; }

.hover_card {
  width: 248px;
  min-height: 278px;
  background: #fff;
  box-shadow: 0 3px 6px var(--shadow);
  padding: 20px;
  text-align: center;
}
.hover_card p { display: none; }
.hover_card:hover { background: var(--orange); }
.hover_card:hover h2 { display: none; }
.hover_card:hover p { display: block; color: #fff; }
@media (max-width: 1300px) {
  .hover_card { pointer-events: none; }
  .hover_card p { display: block; }
}

.faq-list { list-style: none; margin: 0 auto; padding: 0; }
.faq-list li { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; font-family: var(--font-body); font-size: 18px; font-weight: 700; }
.faq-list li::before { content: "\2022"; color: var(--orange); font-size: 50px; line-height: 0.5; flex: none; }

.img-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}
.img-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }

.icon-inline { width: 1em; height: 1em; vertical-align: -0.12em; color: var(--orange); }
.heading-blue { color: var(--blue); }
.post-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 28px 32px;
  max-width: 700px;
  margin: 0 auto 140px;
}
.post-card:last-child { margin-bottom: 40px; }
@media (max-width: 480px) {
  /* live mobile body copy drops to ~16px; headings keep desktop scale */
  p, .faq-list li { font-size: 16px; }
}

/* ---------- homepage ---------- */
.tagline-band { font-size: 30px; line-height: 1.4; }
.cover-dim--light { background: #f8f8f8; opacity: 0.5; }
.van-section { min-height: 600px; }
.home_story {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1450px;
  margin: 0 auto;
  padding: 40px;
}
.home_story-text { flex: 1 1 50%; max-width: 620px; margin-left: auto; }
.vanZone { flex: 1 1 50%; position: relative; min-height: 460px; }
/* Live renders the van oversized (theme: img 145%) bleeding off the right
   viewport edge; the cover's overflow:hidden crops it there. */
.vanZone img { position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 145%; max-width: none; height: auto; }
#vanimate { transform: translate(60vw, -50%); }
#logo { opacity: 0; width: 34%; left: 33%; }
#vanWithLogo { opacity: 0; }
.drive #vanimate { animation: van-in 1.5s ease-out forwards, van-out 0.8s ease 3.2s forwards; }
.drive #logo { animation: fade-in 0.4s ease 1.6s forwards, van-out 0.8s ease 3.2s forwards; }
.drive #vanWithLogo { animation: fade-in 0.8s ease 3.4s forwards; }
/* JS pins the end state once the sequence finishes; screenshots and late
   repaints then don't depend on animation-fill persistence. */
.done #vanimate, .done #logo { animation: none; opacity: 0; }
.done #vanWithLogo { animation: none; opacity: 1; }
@keyframes van-in { to { transform: translate(0, -50%); } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes van-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  #vanimate, #logo { display: none; }
  #vanWithLogo { opacity: 1; animation: none; }
}
@media (max-width: 1200px) {
  .vanZone { display: none; }
  .home_story-text { max-width: 1020px; margin: 0 auto; }
}

.testimonial-slider { position: relative; background: #000; padding: 40px 0; }
.testimonial-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/img/home/testimonial-bg.webp) center / cover;
  opacity: 0.45;
}
.testimonial-track {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}
.testimonial-slider::after {
  /* live darkens the whole band, not an inset card */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.testimonial-slide { position: relative; z-index: 1; }
.testimonial-card {
  max-width: 1150px;
  width: 100%;
  min-height: 400px;
  padding: 50px 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-card .t-quote { max-width: 65%; }
@media (max-width: 800px) { .testimonial-card .t-quote { max-width: none; } }
.testimonial-card p { margin: 0; }
.t-quote { font-size: 24px; font-weight: 700; }
.t-name { font-size: 22px; font-weight: 700; margin-top: 40px !important; }
.t-loc { font-size: 17px; }

.our-services-section .services {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1250px) { .our-services-section .services { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 800px) { .our-services-section .services { grid-template-columns: 1fr; } }
.services h2 {
  text-align: center;
  font-size: 22px;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.services h2 a, .services h2 a:visited {
  color: #fff;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 10px 0;
  max-width: 239px;
}
.services h2 a:hover::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 115px; height: 115px;
  border-radius: 50%;
  background: orange;
  z-index: -1;
}
@media (max-width: 800px) { .services h2 { font-size: 20px; } }

.logos-band { margin: 60px 0 0; }
.logos-band .cover-inner { padding: 40px 0; }
#contact-anchor { height: 20px; }
.home_logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 1450px;
  margin: 0 auto;
  padding: 20px;
}
.home_logos img { width: auto; }
.home_logos img[alt^="Construction"] { max-height: 160px; }
.home_logos img[alt^="Plumbing"] { max-height: 100px; }
.home_logos a img { max-height: 140px; }
@media (max-width: 1100px) {
  .home_logos { flex-direction: column; gap: 30px; }
}
@media (max-width: 600px) { .tagline-band { font-size: 24px; padding-left: 16px; padding-right: 16px; } }

/* specials: one coupon per row, centered, like live */
.coupon-list figure { margin: 0 0 40px; text-align: center; }
.coupon-list img, .max-w-1200 > figure img[src*="specials"] {
  width: 100%;
  max-width: 810px;
  height: auto;
}
.project-types h2 { font-size: 22px; text-align: center; }

/* ---------- fixes from the full visual verification ---------- */
.band-blue ul li { margin-bottom: 1em; }
.band-blue a:not([class]) { color: #fff; text-decoration: underline; }
figcaption { font-weight: 700; font-size: 19px; }
.coupon-list figcaption, .coupon-list + figure figcaption { font-size: 24px; }
.img-constrain { width: 100%; max-width: min(380px, 100%); height: 460px; object-fit: cover; }
.img-wide { width: 100%; max-width: 1150px; height: auto; }
.mw-600 { max-width: 612px; }
.btn-18 a { font-size: 18px; }
.self-center { align-self: center; }
.grid-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: 20px; }
.team-photo { width: 100%; height: 310px; object-fit: cover; }
.gallery-400 { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 40px 200px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 210px)); justify-content: center; gap: 24px; align-items: start; }
.brands-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 30px; margin: 0; padding: 0; }
@media (max-width: 1000px) {
  .grid-2-3 { grid-template-columns: 1fr; }
  .gallery-400 { grid-template-columns: 1fr; gap: 30px; }
  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
  .img-first-m > figure { order: -1; }
}
@media (max-width: 800px) {
  .stack-800 { flex-direction: column; align-items: center; }
  .brands-grid { grid-template-columns: 1fr; }
  .center-m { text-align: center; }
  /* live mobile gutters: ~22px sides; width utilities stop double-indenting */
  .site-main section, .site-main > div { padding-left: 22px; padding-right: 22px; }
  .w-60, .w-70 { width: 100%; }
  .max-w-1200, .max-w-1150, .max-w-1000 { margin-left: 0; margin-right: 0; }
}
.post-h2 { font-size: 32px; margin: 0 0 18px; }
.lg-32 { font-size: 32px; font-weight: 700; }
.band-pattern { background: url(/img/pattern.png) repeat; background-size: contain; background-color: rgba(255,255,255,0.9); }
.max-w-1400 { max-width: 1400px; margin-left: auto; margin-right: auto; }
.crop-290 { width: 100%; max-width: 520px; height: 290px; object-fit: cover; }
.vcenter-figs > figure { align-self: center; }
.gallery-250 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; }
.gallery-250 figure img { height: 250px; width: auto; object-fit: contain; margin: 0 auto; display: block; }
.grid-2-3 figure img { width: 100%; height: 310px; object-fit: cover; }
@media (max-width: 1000px) { .gallery-250 { grid-template-columns: 1fr; align-items: center; } }
