/* ==========================================================================
   Strouse Plumbing — style.css
   Mobile-first, no build tools, no external dependencies.
   Faithful to the original BuildPress/2017 design.

   Original palette:
     Header bg:     #0c5eae  (blue)
     Link/icon:     #1fa7da  (cyan)
     Accent/CTA:    #1fa7da  (cyan)
     Body text:     #333333
     Light section: #eeeeee
     Dark section:  #2e2e2e
     White:         #ffffff
   ========================================================================== */

/* ---------- Reset & Box Model ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- Custom Properties ---------- */
:root {
  --color-blue:        #0c5eae;
  --color-blue-dark:   #094d91;
  --color-cyan:        #1fa7da;
  --color-cyan-dark:   #1b92bf;
  --color-text:        #333333;
  --color-text-light:  #666666;
  --color-bg-light:    #eeeeee;
  --color-bg-dark:     #2e2e2e;
  --color-white:       #ffffff;
  --color-border:      #dddddd;
  --color-red-accent:  #cc0000;

  --font-heading: 'Montserrat', Helvetica, Arial, sans-serif;
  --font-body:    'Source Sans Pro', Helvetica, Arial, sans-serif;

  --container-max: 1140px;
  --container-pad: 1rem;
  --radius: 3px;
  --transition: 0.2s ease;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-blue-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}
.btn-primary:hover {
  background: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  color: var(--color-white);
}
.btn-default {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-default:hover { background: var(--color-bg-light); color: var(--color-text); }
.btn-cyan {
  background: var(--color-cyan);
  color: var(--color-white);
  border-color: var(--color-cyan);
}
.btn-cyan:hover { background: var(--color-cyan-dark); border-color: var(--color-cyan-dark); color: var(--color-white); }
.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}
.btn-outline:hover { background: var(--color-blue); color: var(--color-white); }
.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.7);
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); color: var(--color-white); border-color: var(--color-white); }
.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline-white:hover { background: var(--color-white); color: var(--color-blue); }

/* ==========================================================================
   HEADER — blue top bar (logo + widgets) + white nav bar below
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* ── Blue top bar ── */
.header-top-bar {
  background: var(--color-blue);
  padding: 0.55rem 0;
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo img { width: 160px; height: auto; display: block; }

/* Contact widget row — hidden on mobile, shown on desktop */
.header-cws {
  display: none;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
/* Individual widget: icon + two-line text */
.header-cw {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1.1rem;
  color: var(--color-white);
}
.header-cw-icon {
  font-size: 1.75rem;
  line-height: 1;
  opacity: 0.85;
  flex-shrink: 0;
}
.header-cw-text strong,
.header-cw-text span { display: block; }
.header-cw-text strong {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}
.header-cw-text span { font-size: 0.78rem; opacity: 0.82; line-height: 1.35; }
.header-cw-text a { color: var(--color-white); display: inline-block; padding: 0.1rem 0; }
.header-cw-text a:hover { opacity: 0.75; color: var(--color-white); }
/* Pipe dividers between widgets */
.header-cw-sep {
  display: block;
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
/* Social icons + BBB badge */
.header-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 1.1rem;
}
.header-social-link {
  display: flex;
  align-items: center;
  color: var(--color-white);
  opacity: 0.8;
  padding: 5px;
  transition: opacity var(--transition);
}
.header-social-link:hover { opacity: 1; color: var(--color-white); }
.header-bbb img { height: 52px; width: auto; }
.header-bbb:hover img { opacity: 1; }

/* Hamburger — mobile only */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
}
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: var(--color-white); }

/* ── White nav bar ── */
.header-nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  display: none; /* hidden on mobile until hamburger opens it */
}
.header-nav.is-open { display: block; }

.nav-list { list-style: none; padding: 0; margin: 0; }
.nav-item { border-bottom: 1px solid var(--color-border); position: relative; }
.nav-link {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: color var(--transition);
}
.nav-link:hover, .nav-link.is-active { color: var(--color-blue); }

/* Mobile dropdown — always visible when parent is open */
.dropdown-menu { list-style: none; padding: 0; margin: 0; background: var(--color-bg-light); }
.dropdown-link {
  display: block;
  padding: 0.45rem 1.25rem 0.45rem 2rem;
  color: var(--color-text);
  font-size: 0.8rem;
  font-family: var(--font-heading);
}
.dropdown-link:hover, .dropdown-link.is-active { color: var(--color-blue); }

/* ── Desktop header (900px+) ── */
@media (min-width: 900px) {
  .site-logo img { width: 195px; }
  .header-cws { display: flex; }
  .nav-toggle { display: none; }

  /* White nav bar always visible */
  .header-nav { display: block !important; }

  /* Centered nav with pipe separators */
  .nav-list { display: flex; align-items: stretch; justify-content: center; }
  .nav-item { border-bottom: none; border-right: 1px solid var(--color-border); }
  .nav-item:first-child { border-left: 1px solid var(--color-border); }
  .nav-link { padding: 0.9rem 1.8rem; display: flex; align-items: center; gap: 0.3rem; }
  .nav-link:hover { color: var(--color-blue); background: none; }
  .nav-link.is-active { color: var(--color-blue); background: none; }

  /* Services dropdown */
  .has-dropdown { position: relative; }
  .has-dropdown:hover .dropdown-menu { display: block; }
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--color-blue);
    border-top: 3px solid var(--color-cyan);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    z-index: 200;
    padding: 0.25rem 0;
  }
  .dropdown-link {
    padding: 0.55rem 1.25rem;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .dropdown-link:hover { color: var(--color-white); background: rgba(255,255,255,0.12); }
  .dropdown-link.is-active { color: var(--color-white); background: rgba(255,255,255,0.12); }
}

/* ==========================================================================
   HERO CAROUSEL
   ========================================================================== */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: #111;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}
.carousel-slide {
  position: relative;
  min-width: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  opacity: 0.6;
  display: block;
}
/* Caption: vertically centered, box overlay style */
.carousel-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
  color: var(--color-white);
}
/* Dark semi-transparent overlay box */
.carousel-caption-box {
  background: rgba(0,0,0,0.62);
  padding: 1.25rem 1.5rem;
  max-width: 90%;
}
/* Cyan category label with underline */
.carousel-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-cyan);
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--color-cyan);
}
.carousel-caption-box h1,
.carousel-caption-box h2 {
  color: var(--color-white);
  font-size: clamp(1.1rem, 3.5vw, 1.8rem);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.carousel-caption-box p {
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
}
.carousel-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 0.7rem;
  background: rgba(0,0,0,0.2);
  color: var(--color-white);
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition);
  line-height: 1;
}
.carousel-btn:hover { background: rgba(0,0,0,0.45); }
.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }
.carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.carousel-dot {
  /* 24×24 touch target; visual dot rendered via ::before */
  width: 24px; height: 24px; border-radius: 50%;
  background: transparent;
  border: none; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.carousel-dot::before {
  content: '';
  display: block;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background var(--transition);
}
.carousel-dot.is-active::before { background: var(--color-white); }

@media (min-width: 640px) {
  .carousel-slide img { height: 400px; }
  .carousel-caption-box { max-width: 480px; padding: 1.75rem 2rem; }
}
@media (min-width: 1024px) {
  .carousel-slide img { height: 520px; }
  .carousel-caption-box { max-width: 520px; }
  .carousel-caption-box h1,
  .carousel-caption-box h2 { font-size: 2rem; }
}

/* ==========================================================================
   TRUST BANNER — gray bar below carousel
   ========================================================================== */
.trust-banner {
  background: var(--color-bg-light);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.trust-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}
.trust-banner h2 {
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  color: var(--color-text);
  font-weight: 700;
  margin: 0;
}
.trust-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .trust-banner-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .trust-banner-actions { justify-content: flex-end; flex-shrink: 0; }
}

/* ==========================================================================
   FEATURED PAGES — 3-column cards (Residential, Commercial, Remodel)
   ========================================================================== */
.featured-pages {
  padding: 2.5rem 0;
  background: var(--color-white);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.featured-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}
.featured-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.featured-card-img { width: 100%; height: 200px; object-fit: cover; }
.featured-card-body { padding: 1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.featured-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.featured-card-body p { font-size: 0.88rem; color: var(--color-text-light); flex: 1; margin-bottom: 0.75rem; }
.read-more {
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
}
.read-more:hover { color: var(--color-cyan-dark); }

/* ==========================================================================
   WHY CHOOSE US + WHO WE ARE — 2-column
   ========================================================================== */
.why-who-section {
  padding: 2.5rem 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}
.why-who-grid { display: grid; gap: 2.5rem; }
.section-widget-title {
  font-size: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.45rem;
  margin-bottom: 1.1rem;
  color: var(--color-text);
}
/* Why pillars */
.why-pillar { margin-bottom: 1rem; }
.why-pillar-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.why-check { color: var(--color-blue); font-size: 0.95rem; flex-shrink: 0; }
.why-pillar-heading .accent { color: var(--color-red-accent); }
.why-pillar p { font-size: 0.87rem; color: var(--color-text-light); margin: 0 0 0 1.5rem; }
/* Who images */
.who-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.who-images img { width: 100%; height: 120px; object-fit: cover; }
.who-text p { font-size: 0.88rem; color: var(--color-text-light); }

@media (min-width: 768px) {
  .why-who-grid { grid-template-columns: 1fr 1fr; }
  .who-images img { height: 145px; }
}

/* ==========================================================================
   TESTIMONIALS — gray + pattern
   ========================================================================== */
.testimonials-section {
  padding: 2.5rem 0;
  background-color: var(--color-bg-light);
  background-image: url('/images/title-area-pattern.png');
  background-repeat: repeat;
}
.testimonials-inner { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-slide { min-width: 100%; padding: 0 0.2rem; }
.testimonial-card {
  background: var(--color-white);
  border-left: 3px solid var(--color-blue);
  padding: 1.25rem 1.5rem;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--color-text);
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.75;
  quotes: "\201C" "\201D";
}
.testimonial-card blockquote::before {
  content: open-quote;
  font-size: 1.4em;
  color: var(--color-blue);
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 0.15em;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.86rem;
  display: block;
}
.testimonials-nav {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.9rem;
}
.testimonials-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-border);
  border: none; cursor: pointer; padding: 0;
  transition: background var(--transition);
}
.testimonials-dot.is-active { background: var(--color-blue); }

/* ==========================================================================
   CTA SECTION — cyan background
   ========================================================================== */
.cta-section {
  padding: 2.5rem 0;
  background: var(--color-blue);
  text-align: center;
}
.cta-section h2 { color: var(--color-white); font-size: clamp(1.1rem, 2.5vw, 1.6rem); margin-bottom: 0.6rem; }
.cta-section p { color: rgba(255,255,255,0.92); margin-bottom: 1.1rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { background: var(--color-white); color: var(--color-blue); border-color: var(--color-white); }
.cta-section .btn-primary:hover { background: var(--color-bg-light); border-color: var(--color-bg-light); }
.cta-section .btn-outline-white { margin-left: 0.5rem; }

/* ==========================================================================
   INTERIOR PAGE BANNER — light gray + pattern
   ========================================================================== */
.page-banner {
  background-color: var(--color-bg-light);
  background-image: url('/images/title-area-pattern.png');
  background-repeat: repeat;
  padding: 1.4rem 0 0;
}
.page-banner h1 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--color-text);
  margin-bottom: 0;
}
.breadcrumb {
  background: none;
  padding: 0.45rem 0;
  font-size: 0.8rem;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  margin-top: 0.65rem;
}
.breadcrumb a { color: var(--color-blue); }
.breadcrumb a:hover { color: var(--color-blue-dark); }

/* ==========================================================================
   INTERIOR PAGE — main content + sidebar
   ========================================================================== */
.page-layout { padding: 2.5rem 0; }
.page-layout-inner { display: grid; gap: 2rem; }

.page-main::after { content: ''; display: block; clear: both; }
.page-main h2,
.about-text h2 { font-size: 1.25rem; margin: 1.5rem 0 0.6rem; color: var(--color-text); }
.page-main h3 { font-size: 1.05rem; margin: 1.1rem 0 0.4rem; }
.page-main ul { margin-bottom: 1rem; }
.page-main ul li { margin-bottom: 0.3rem; }
.page-main p { color: var(--color-text); }
/* Underline inline links in body content for non-color distinguishability */
.page-main a:not(.btn),
.about-text a:not(.btn) { text-decoration: underline; text-underline-offset: 0.15em; }
/* Inline float image — top-right, text wraps around */
.page-float-img {
  float: right;
  margin: 0.2rem 0 1.25rem 1.75rem;
  width: 320px;
  max-width: 42%;
  height: auto;
  display: block;
}

/* Sidebar */
.sidebar-widget {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: var(--color-blue);
  padding: 0.5rem 0.85rem;
}
.sidebar-widget-body { padding: 1rem; }
.sidebar-cta-phone {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-blue);
  display: block;
  margin-bottom: 0.4rem;
}
.sidebar-cta-phone:hover { color: var(--color-blue-dark); }
.sidebar-widget-body p { font-size: 0.85rem; color: var(--color-text-light); margin-bottom: 0.5rem; }
.sidebar-services { list-style: none; padding: 0; }
.sidebar-services li { border-bottom: 1px solid var(--color-border); }
.sidebar-services li:last-child { border-bottom: none; }
.sidebar-services a {
  display: block;
  padding: 0.38rem 0;
  font-size: 0.85rem;
  color: var(--color-text);
  font-family: var(--font-heading);
  transition: color var(--transition), padding-left var(--transition);
}
.sidebar-services a:hover { color: var(--color-blue-dark); padding-left: 0.3rem; }

@media (min-width: 768px) {
  .page-layout-inner { grid-template-columns: 1fr 260px; }
  .page-sidebar { order: 2; }
  .page-main { order: 1; }
}

/* Service page brand list */
.brand-list { list-style: none; padding: 0; display: grid; gap: 0.7rem; margin-bottom: 1.25rem; }
.brand-list li { padding: 0.85rem 1rem; background: var(--color-bg-light); border-left: 3px solid var(--color-blue); font-size: 0.9rem; }
.brand-list li strong { display: block; margin-bottom: 0.15rem; color: var(--color-text); }

/* Diagnosis list */
.diagnosis-list { list-style: none; padding: 0; display: grid; gap: 0.55rem; margin-bottom: 1.25rem; }
.diagnosis-list li { padding: 0.6rem 0.9rem; background: var(--color-bg-light); border-left: 3px solid var(--color-cyan); font-size: 0.9rem; }
.diagnosis-list li strong { color: var(--color-text); }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-content { display: grid; gap: 2rem; }
.about-text p { margin-bottom: 1rem; }
.about-image { width: 100%; border: 1px solid var(--color-border); }
.about-pillars { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.pillar { padding: 1rem 1.15rem; background: var(--color-bg-light); border-top: 3px solid var(--color-blue); }
.pillar h3 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }

.about-credentials { margin-top: 0.85rem; }
.about-credentials h3 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--color-text); margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border); padding-bottom: 0.3rem;
}
.about-credentials ul { padding-left: 1.2rem; margin: 0; }
.about-credentials li { font-size: 0.88rem; color: var(--color-text-light); margin-bottom: 0.3rem; }
.about-cta {
  margin-top: 0.85rem; padding: 1.1rem 1.25rem;
  background: var(--color-bg-light); border-top: 3px solid var(--color-blue);
}
.about-cta h3 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.about-cta p { font-size: 0.88rem; color: var(--color-text-light); margin-bottom: 0.85rem; }
.about-cta .btn { margin-right: 0.5rem; margin-bottom: 0.35rem; }

@media (min-width: 768px) {
  .about-content { grid-template-columns: 1fr 1fr; }
  .about-pillars { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
/* Full-width map strip */
.contact-map { line-height: 0; }
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }

.contact-section { padding: 2.5rem 0; }
.contact-layout { display: grid; gap: 2.5rem; }
.contact-info h2, .contact-form-wrap h2 {
  font-size: 1.25rem; margin: 0 0 0.75rem; color: var(--color-text);
}
/* Icon + text rows */
.contact-details { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin-bottom: 0.8rem; font-size: 0.92rem; line-height: 1.5;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-icon { flex-shrink: 0; color: var(--color-blue); margin-top: 0.1rem; }
.contact-detail a { color: var(--color-blue); text-decoration: underline; text-underline-offset: 0.15em; }
.contact-detail a:hover { color: var(--color-blue-dark); }
.contact-hours { font-size: 0.92rem; line-height: 1.65; margin: 1.1rem 0 1.1rem; color: var(--color-text); }
/* Social icons in contact column */
.contact-social { display: flex; gap: 0.55rem; align-items: center; }
.contact-social-link { color: var(--color-blue); display: flex; align-items: center; transition: opacity var(--transition); }
.contact-social-link:hover { opacity: 1; }

/* Form */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem; color: var(--color-text); }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.55rem 0.8rem;
  border: 1px solid var(--color-border);
  font-family: var(--font-body); font-size: 1rem;
  color: var(--color-text); background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(31,167,218,0.15);
}
.form-group textarea { min-height: 160px; resize: vertical; }
.form-success { padding: 0.9rem 1rem; background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; margin-bottom: 1rem; }

@media (min-width: 768px) { .contact-layout { grid-template-columns: 1fr 1.6fr; } }

/* ==========================================================================
   FOOTER — dark, 3 columns
   ========================================================================== */
.site-footer { background: var(--color-bg-dark); color: #bbb; font-size: 0.87rem; }
.footer-top { padding: 3rem 0 2rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-heading {
  font-family: var(--font-heading); font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-white); margin-bottom: 0.9rem;
  padding-bottom: 0.35rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
/* Logo stacked above paragraph */
.footer-about-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-logo-link { display: inline-block; }
.footer-logo { width: 220px; height: auto; display: block; }
.footer-about p { font-size: 0.82rem; color: #999; line-height: 1.65; margin: 0; }

.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 0.3rem; }
.footer-nav a { color: #999; font-size: 0.82rem; display: block; padding: 0.3rem 0; }
.footer-nav a:hover { color: var(--color-white); }

/* Contact column — tighter br-lines within blocks, more space between blocks */
.footer-address { line-height: 1.4; }
.footer-addr-block {
  color: #999;
  margin-bottom: 0.85rem;
  line-height: 1.4;
}
.footer-addr-block strong { color: #ccc; display: block; margin-bottom: 0.1rem; }
.footer-addr-item {
  color: #999;
  margin-bottom: 0.65rem;
  line-height: 1.4;
}
.footer-addr-item:last-child { margin-bottom: 0; }
.footer-address a { color: #999; display: inline-block; padding: 0.2rem 0; }
.footer-address a:hover { color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 0.7rem 0;
  text-align: center;
  font-size: 0.76rem;
  color: var(--color-white);
}
.footer-bottom a { color: #aaa; display: inline-block; padding: 0.2rem 0.1rem; text-decoration: underline; text-underline-offset: 0.15em; }
.footer-bottom a:hover { color: var(--color-white); }

@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 0.9fr 1.2fr; gap: 3.5rem; } }

/* ==========================================================================
   404
   ========================================================================== */
.error-404 { padding: 5rem 0; text-align: center; }
.error-404 h1 { font-size: clamp(4rem, 12vw, 7rem); color: var(--color-blue); line-height: 1; }
.error-404 h2 { font-size: 1.4rem; margin: 0.5rem 0 1rem; }
.error-404 p { color: var(--color-text-light); margin-bottom: 1.5rem; }

/* ==========================================================================
   HEADER WIDGET LAYOUT (header.html classes)
   ========================================================================== */
.header-widgets-left {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  flex: 1;
}
.header-widgets-right {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-shrink: 0;
}
/* .widget-item is the individual contact widget (phone/address/hours) */
.widget-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-white);
  font-size: 0.82rem;
}
.widget-item a { color: var(--color-white); }
.widget-item a:hover { opacity: 0.75; color: var(--color-white); }
/* .widget-social is the social link in the right bar */
.widget-social {
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  opacity: 0.8;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
}
.widget-social:hover { opacity: 1; color: var(--color-white); background: rgba(255,255,255,0.1); }

/* ==========================================================================
   CAROUSEL — BEM modifier class aliases
   ========================================================================== */
.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }
.carousel-img { width: 100%; height: 300px; object-fit: cover; display: block; }

@media (min-width: 640px)  { .carousel-img { height: 400px; } }
@media (min-width: 1024px) { .carousel-img { height: 500px; } }

/* ==========================================================================
   TRUST BANNER inner layout
   ========================================================================== */
.trust-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}
.trust-text h2 {
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  color: var(--color-text);
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.trust-text p { font-size: 0.85rem; color: var(--color-text-light); margin: 0; }
.trust-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }

@media (min-width: 768px) {
  .trust-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .trust-actions { justify-content: flex-end; flex-shrink: 0; }
}

/* ==========================================================================
   FEATURED SERVICES section + cards
   ========================================================================== */
.featured-services {
  padding: 2.5rem 0;
  background: var(--color-white);
}
.featured-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.section-header { margin-bottom: 1.5rem; }
.section-header h2 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

.featured-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.featured-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.09); }
.featured-card > a { display: block; overflow: hidden; }
.featured-card-img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.3s ease; }
.featured-card > a:hover .featured-card-img { transform: scale(1.03); }
.featured-card-body { padding: 1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.featured-card-body h3 { font-size: 0.95rem; margin-bottom: 0.45rem; }
.featured-card-body h3 a { color: var(--color-text); display: block; padding: 0.2rem 0; }
.featured-card-body h3 a:hover { color: var(--color-blue-dark); }
.featured-card-body p { font-size: 0.87rem; color: var(--color-text-light); flex: 1; margin-bottom: 0.75rem; }

@media (min-width: 640px) { .featured-cards { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   WHY/WHO columns + why list
   ========================================================================== */
.why-col h2,
.who-col h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.why-list .why-check { color: var(--color-blue); flex-shrink: 0; margin-top: 0.15em; }
.who-col p { font-size: 0.88rem; color: var(--color-text-light); }

/* ==========================================================================
   TESTIMONIALS carousel wrapper + dots
   ========================================================================== */
.testimonials-section h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 1.25rem;
  text-align: center;
}
.testimonials-carousel { position: relative; overflow: hidden; }
.testimonials-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.9rem;
}
/* Static 50/50 testimonials grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

/* blockquote used as .testimonial-card directly */
blockquote.testimonial-card {
  background: var(--color-white);
  border-left: 3px solid var(--color-blue);
  padding: 1.25rem 1.5rem;
}
blockquote.testimonial-card p {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.75;
}
blockquote.testimonial-card footer cite {
  font-style: normal;
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.86rem;
}

/* ==========================================================================
   CTA SECTION inner layout
   ========================================================================== */
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.cta-text h2 { color: var(--color-white); font-size: clamp(1.1rem, 2.5vw, 1.6rem); margin-bottom: 0.4rem; }
.cta-text p { color: rgba(255,255,255,0.92); margin: 0; }
.cta-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }

/* Gold button — used on cyan background */
.btn-gold {
  background: #f7c51e;
  color: #222;
  border-color: #f7c51e;
}
.btn-gold:hover { background: #eeb908; border-color: #eeb908; color: #222; }

/* White outline button — used on dark/cyan backgrounds */
.btn-white-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn-white-outline:hover { background: var(--color-white); color: var(--color-blue); }

@media (min-width: 768px) {
  .cta-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .cta-actions { flex-shrink: 0; justify-content: flex-end; }
}

/* ==========================================================================
   INTERIOR PAGE content wrapper
   ========================================================================== */
.page-content { padding: 2.5rem 0; }

/* Sidebar CTA widget */
.sidebar-cta h3,
.sidebar-services h3 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: var(--color-blue);
  padding: 0.5rem 0.85rem;
  margin: 0;
}
.sidebar-cta p {
  padding: 0.75rem 1rem 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}
.sidebar-btn {
  display: block;
  width: calc(100% - 2rem);
  margin: 0.4rem 1rem;
  text-align: center;
}
.sidebar-services-list {
  list-style: none;
  padding: 0.3rem 0 0;
  margin: 0;
}
.sidebar-services-list li { border-bottom: 1px solid var(--color-border); }
.sidebar-services-list li:last-child { border-bottom: none; }
.sidebar-services-list a {
  display: block;
  padding: 0.38rem 0.85rem;
  font-size: 0.85rem;
  color: var(--color-text);
  font-family: var(--font-heading);
  transition: color var(--transition), padding-left var(--transition);
}
.sidebar-services-list a:hover,
.sidebar-services-list a.is-active { color: var(--color-blue); padding-left: 1.1rem; }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
