/* ============================================
   SELF-HOSTED FONTS (variable, latin)
   Downloaded from Google Fonts 2026-07-05:
   Merriweather v33, Source Sans 3 v19
   ============================================ */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/merriweather-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/source-sans-3-latin.woff2') format('woff2');
}

/* ============================================
   GARDEN HOME PLUMBING & DRAIN LLC
   styles.css
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --green:       #2D5F2D;
  --green-dark:  #1E4A1E;
  --gold:        #C5932A;
  --gold-dark:   #BC8B29; /* darkened from #A67A1E — ensures 4.5:1 contrast with dark text */
  --white:       #FFFFFF;
  --bg-light:    #F5F5F0;
  --text-dark:   #2C2C2C;
  --text-medium: #5A5A5A;
  --footer-bg:   #1E1E1E;
  --border:      #CCCCCC;

  --font-heading: 'Merriweather', Georgia, serif;
  --font-body:    'Source Sans 3', Arial, sans-serif;

  --max-width:           1200px;
  --section-pad:         80px;
  --section-pad-mobile:  48px;
  --card-gap:            24px;
  --card-radius:         8px;
  --btn-radius:          6px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================
   KEYBOARD FOCUS STYLES (accessibility)
   ============================================ */

/* Suppress mouse-click focus rings while keeping keyboard rings */
:focus:not(:focus-visible) {
  outline: none;
}

/* Default keyboard focus ring — green on light backgrounds */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Gold ring on green/dark backgrounds where green outline would be invisible */
.site-header :focus-visible,
.hero :focus-visible,
.bottom-cta :focus-visible,
.page-header :focus-visible,
.section--green :focus-visible,
.nav-mobile-menu :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}

/* Form fields already use border+shadow focus style — suppress duplicate outline */
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
}

h1 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
}

h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

p {
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--light {
  background: var(--bg-light);
}

.section--green {
  background: var(--green);
}

.section--green h1,
.section--green h2,
.section--green h3,
.section--green p {
  color: var(--white);
}

/* ============================================
   NAVIGATION
   ============================================ */
/* Reserve the header's height before components.js injects it,
   so page content doesn't shift down on load (CLS). Must match
   .nav-inner height at all widths. */
#nav-placeholder {
  min-height: 70px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  line-height: 1.2;
}

.nav-brand:hover {
  color: rgba(255, 255, 255, 0.9);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--gold);
}

.nav-phone {
  flex-shrink: 0;
}

.nav-phone a {
  display: inline-block;
  background: var(--gold);
  color: var(--text-dark); /* dark text on gold — passes WCAG AA (5.04:1) */
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body);
  padding: 10px 18px;
  border-radius: var(--btn-radius);
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-phone a:hover {
  background: var(--gold-dark);
  color: var(--text-dark);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Hamburger open state */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown */
.nav-mobile-menu {
  display: none;
  background: var(--green-dark);
  padding: 8px 24px 20px;
}

.nav-mobile-menu.open {
  display: block;
}

.nav-mobile-menu a {
  display: block;
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile-menu a:last-child {
  border-bottom: none;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
  color: var(--white); /* was gold — gold on dark-green only 3.69:1, white is 10.23:1 */
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-mobile-phone {
  display: block;
  margin-top: 16px;
  background: var(--gold);
  color: var(--text-dark) !important;
  font-weight: 700;
  text-align: center;
  padding: 12px 20px;
  border-radius: var(--btn-radius);
  border-bottom: none !important;
  text-decoration: none !important;
}

.nav-mobile-phone:hover {
  background: var(--gold-dark);
  text-decoration: none !important;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--footer-bg);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 48px;
}

.footer-col h2 {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-col address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.footer-col address a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-col address a:hover {
  color: var(--gold);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--gold);
}

.footer-trust ul {
  gap: 12px;
}

.footer-trust li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}

.footer-trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65); /* 0.4 computed to 3.77:1 contrast on #1E1E1E; 0.65 passes WCAG AA */
  margin: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  border: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

/* Gold — primary CTA (phone calls, main actions) */
.btn-primary {
  background: var(--gold);
  color: var(--text-dark); /* dark text on gold — passes WCAG AA (5.04:1) */
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  font-size: 15px;
}

.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--text-dark);
}

/* Green — secondary CTA (internal navigation) */
.btn-secondary {
  background: var(--green);
  color: var(--white);
  padding: 12px 24px;
  font-size: 15px;
}

.btn-secondary:hover {
  background: var(--green-dark);
  color: var(--white);
}

/* Outline — low-emphasis actions */
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 11px 24px;
  font-size: 15px;
}

.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

/* White outline — used on dark/green backgrounds */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 11px 24px;
  font-size: 15px;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--green);
}

/* Large phone number button */
.btn-phone {
  display: inline-block;
  background: var(--gold);
  color: var(--text-dark); /* dark text on gold — passes WCAG AA (5.04:1) */
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: var(--btn-radius);
  transition: background 0.2s;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-phone:hover {
  background: var(--gold-dark);
  color: var(--text-dark);
}

/* ============================================
   PAGE HEADER BANNERS (inner pages)
   ============================================ */
.page-header {
  background: var(--green);
  padding: 64px 24px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
  max-width: 620px;
  margin: 0 auto;
}

/* ============================================
   HERO (homepage)
   ============================================ */
.hero {
  background: var(--green);
  padding: var(--section-pad) 24px;
  text-align: center;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-tagline {
  margin-top: 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
  padding: 48px 24px;
}

.trust-badges-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 0 0 200px;
}

.trust-badge-icon {
  width: 68px;
  height: 68px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.trust-badge-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.35;
}

/* ============================================
   SERVICE CARDS (homepage grid)
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  margin-bottom: 40px;
}

.service-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
  transform: translateY(-2px);
}

.service-card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 18px;
  color: var(--green);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col-text h2 {
  margin-bottom: 20px;
}

.two-col-text p {
  color: var(--text-medium);
}

.two-col-text .btn {
  margin-top: 12px;
}

/* Reverse column order: text left, image right */
.two-col--reversed {
  direction: rtl;
}

.two-col--reversed > * {
  direction: ltr;
}

@media (max-width: 960px) {
  .two-col--reversed {
    direction: ltr;
  }
}

/* ============================================
   IMAGE PLACEHOLDERS
   ============================================ */
.img-placeholder {
  background: var(--bg-light);
  color: var(--text-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 14px;
  font-family: var(--font-body);
  font-style: italic;
  border-radius: var(--card-radius);
  line-height: 1.5;
  width: 100%;
}

.img-placeholder--hero   { aspect-ratio: 16 / 9; }
.img-placeholder--square { aspect-ratio: 1 / 1;  }
.img-placeholder--service { aspect-ratio: 4 / 3; }

/* Real photos — replaces placeholders once images are available */
.photo {
  width: 100%;
  display: block;
  border-radius: var(--card-radius);
  object-fit: cover;
}

.photo--square  { aspect-ratio: 1 / 1; }
.photo--service { aspect-ratio: 4 / 3; }

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap);
  margin-bottom: 40px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
  padding: 32px 28px;
  transition: box-shadow 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
}

.testimonial-quote {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  padding-left: 28px;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 60px;
  color: var(--gold);
  line-height: 1;
  position: absolute;
  left: -4px;
  top: -10px;
}

.testimonial-author {
  font-weight: 700;
  font-size: 15px;
  color: var(--green);
}

.testimonial-location {
  font-size: 14px;
  color: var(--text-medium);
  margin-top: 2px;
}

/* ============================================
   BOTTOM CTA STRIP
   ============================================ */
.bottom-cta {
  background: var(--green);
  padding: var(--section-pad) 24px;
  text-align: center;
}

.bottom-cta h2 {
  color: var(--white);
  margin-bottom: 28px;
}

.bottom-cta .cta-support {
  margin-top: 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
}

/* ============================================
   SERVICE AREA GRID
   ============================================ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 40px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.area-grid-item {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.area-grid-item--full {
  grid-column: 1 / -1;
}

/* ============================================
   NOT SURE BLOCK (service area page)
   ============================================ */
.not-sure-block {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.not-sure-block h2 {
  margin-bottom: 16px;
}

.not-sure-block p {
  font-size: 18px;
  color: var(--text-medium);
  line-height: 1.7;
}

.not-sure-block a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
}

/* ============================================
   REVIEW SUMMARY BAR
   ============================================ */
.review-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 36px 24px;
  background: var(--bg-light);
  border-radius: var(--card-radius);
  margin-bottom: 48px;
}

.review-stat {
  text-align: center;
}

.review-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.review-stat-label {
  font-size: 14px;
  color: var(--text-medium);
}

/* ============================================
   EXTERNAL REVIEW LINKS
   ============================================ */
.review-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--card-gap);
}

.review-link-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  color: var(--text-dark);
  flex: 0 0 340px;
  max-width: 100%;
}

.review-link-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
  transform: translateY(-2px);
  color: var(--text-dark);
}

.review-link-card .review-platform {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.review-link-card p {
  font-size: 15px;
  color: var(--text-medium);
  margin: 0 0 12px;
}

.review-link-arrow {
  font-size: 18px;
  color: var(--gold);
  font-weight: 700;
}

/* ============================================
   SERVICES LIST PAGE (alternating)
   ============================================ */
.service-detail {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.service-detail + .service-detail {
  border-top: 1px solid #e8e8e3;
}

/* Alternate rows get a light background */
.service-detail--alt {
  background: var(--bg-light);
}

/* Flip column order for alt rows: image moves to right, text to left */
.service-detail--alt .two-col {
  direction: rtl;
}

.service-detail--alt .two-col > * {
  direction: ltr;
}

@media (max-width: 960px) {
  /* Restore normal stacking order on tablet/mobile */
  .service-detail--alt .two-col {
    direction: ltr;
  }
}

/* ============================================
   PRICING BLOCK
   ============================================ */
.pricing-block {
  border-left: 5px solid var(--gold);
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 40px 48px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pricing-block h2 {
  margin-bottom: 16px;
}

.pricing-block p {
  font-size: 17px;
  color: var(--text-medium);
  line-height: 1.75;
  margin: 0;
}

/* ============================================
   CREDENTIALS GRID
   ============================================ */
.credentials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.credential-item {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 24px 16px;
  text-align: center;
  flex: 0 0 calc(25% - 15px);
}

.credential-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.credential-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

/* ============================================
   GUARANTEE BLOCK
   ============================================ */
.guarantee-block {
  background: var(--bg-light);
  border-radius: var(--card-radius);
  padding: 48px 56px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.guarantee-block h2 {
  margin-bottom: 16px;
}

.guarantee-block p {
  font-size: 17px;
  color: var(--text-medium);
  line-height: 1.75;
  margin: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-detail-row {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.contact-detail-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  min-width: 60px;
  flex-shrink: 0;
}

.contact-detail-value {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.5;
}

.contact-detail-value a {
  color: var(--green);
  text-decoration: underline;
}

.contact-note {
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-medium);
  font-style: italic;
}

/* Contact form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 95, 45, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 13px;
  color: var(--text-medium);
  margin-top: 12px;
  font-style: italic;
}

.form-success {
  display: none;
  background: var(--bg-light);
  border-left: 4px solid var(--green);
  border-radius: var(--card-radius);
  padding: 20px 24px;
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ============================================
   PHONE CTA BLOCK (large centered)
   ============================================ */
.phone-cta-block {
  text-align: center;
  padding: 48px 24px;
}

/* ============================================
   SECTION HEADING (centered with optional sub)
   ============================================ */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  font-size: 18px;
  color: var(--text-medium);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   UTILITY
   ============================================ */
.text-center  { text-align: center; }
.text-green   { color: var(--green); }
.text-gold    { color: var(--gold); }
.text-medium  { color: var(--text-medium); }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }

/* ============================================
   RESPONSIVE — TABLET  (≤ 960px)
   ============================================ */
@media (max-width: 960px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-badges-grid {
    gap: 32px;
  }

  .credential-item {
    flex: 0 0 calc(50% - 10px);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-main .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .area-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pricing-block {
    padding: 36px 36px;
  }

  .guarantee-block {
    padding: 40px 40px;
  }
}

/* ============================================
   RESPONSIVE — NAV SWITCH  (≤ 1080px)
   The desktop nav (6 links + Call Now button) needs ~1050px
   to fit; below that it clipped Contact and the phone CTA
   off-screen, so the hamburger takes over well above phone
   size. Keep this breakpoint ≥ the nav's natural width.
   ============================================ */
@media (max-width: 1080px) {
  .nav-links     { display: none; }
  .nav-phone     { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================
   RESPONSIVE — MOBILE  (≤ 640px)
   ============================================ */
@media (max-width: 640px) {
  body { font-size: 16px; }

  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }

  .section { padding: var(--section-pad-mobile) 0; }

  .nav-brand {
    font-size: 14px;
  }

  /* Grids → single column */
  .services-grid      { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .area-grid          { grid-template-columns: repeat(2, 1fr); }

  .trust-badges-grid {
    gap: 24px;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px 32px;
  }

  .footer-main .footer-col:last-child {
    grid-column: auto;
  }

  /* Large phone button */
  .btn-phone {
    font-size: 24px;
    padding: 15px 28px;
  }

  .page-header {
    padding: 48px 20px;
  }

  .page-header p {
    font-size: 17px;
  }

  .pricing-block,
  .guarantee-block {
    padding: 32px 24px;
  }

  .review-summary {
    gap: 28px;
  }
}
