/* Alliance Plumbing — site styles */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --brand-green: #0E4D32;
  --brand-green-dark: #093520;
  --brand-green-light: #1A6B4A;
  --brand-green-50: #E8F1ED;
  --brand-green-100: #C8DDD2;
  --accent-gold: #F59E0B;
  --accent-gold-dark: #D97706;
  --accent-gold-50: #FEF3C7;
  --emergency-red: #DC2626;
  --emergency-red-dark: #B91C1C;
  --ink: #0A0A0A;
  --text: #1F2937;
  --text-muted: #4B5563;
  --text-subtle: #6B7280;
  --border: #E5E7EB;
  --border-soft: #F1F5F9;
  --surface: #FFFFFF;
  --surface-alt: #EFF4F1;
  --surface-tint: #DFF0E7;
  --success: #16A34A;
  --info: #2563EB;

  --font-display: 'Barlow Condensed', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Quicksand', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 12px rgba(10,77,50,.08);
  --shadow-lg: 0 20px 50px -10px rgba(10,77,50,.25);

  --container: 1240px;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Prevent the off-canvas mobile menu (translated off the right edge) from
     adding horizontal scroll, which made the centered header look shifted.
     overflow-x: clip does not create a scroll container, so the sticky header
     keeps working. */
  overflow-x: clip;
}
img, picture, video, svg { max-width: 100%; display: block; }
a { color: var(--brand-green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-green-dark); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); }
h2 { font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem); }
h3 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.625rem); }
h4 { font-size: 1.125rem; font-weight: 700; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-green);
  display: inline-block;
  margin-bottom: 12px;
}

/* Container */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* Section */
.section { padding: 48px 0; }
@media (min-width: 1024px) { .section { padding: 72px 0; } }
.section--tight { padding: 36px 0; }
.section--alt { background: var(--surface-alt); }
.section--tint { background: var(--surface-tint); }
.section--green {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
  color: #fff;
}
.section--green h1, .section--green h2, .section--green h3, .section--green h4,
.section--green .eyebrow { color: #fff; }
.section--green .section-head p { color: rgba(255, 255, 255, 0.85); }
/* Headings inside white cards on a dark-green section stay ink */
.section--green .guarantee h3, .section--green .feature h3, .section--green .sign h3 { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  min-height: 48px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none !important;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}
.btn--gold { background: var(--accent-gold); color: #0A0A0A; }
.btn--gold:hover { background: var(--accent-gold-dark); color: #0A0A0A; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--green { background: var(--brand-green); color: #fff !important; }
.btn--green:hover { background: var(--brand-green-dark); color: #fff !important; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--red {
  background: var(--emergency-red);
  color: #fff !important;
  animation: pulse 2.5s infinite;
}
.btn--red:hover { background: var(--emergency-red-dark); color: #fff !important; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--brand-green) !important;
  border: 2px solid var(--brand-green);
}
.btn--ghost:hover { background: var(--brand-green); color: #fff !important; }
.btn--ghost-light {
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff;
}
.btn--ghost-light:hover { background: #fff; color: var(--brand-green) !important; }
.btn--lg { padding: 18px 32px; font-size: 1.125rem; min-height: 56px; }
.btn--sm { padding: 10px 18px; font-size: 0.875rem; min-height: 40px; }
.btn--block { width: 100%; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .btn--red { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Top utility bar */
.topbar {
  background: var(--brand-green-dark);
  color: #fff;
  font-size: 0.875rem;
  padding: 8px 0;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__items { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item .icon { width: 16px; height: 16px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--accent-gold); }
.topbar__social { display: inline-flex; gap: 12px; }
.topbar__social a { display: inline-flex; align-items: center; }
@media (max-width: 768px) {
  .topbar { font-size: 0.8125rem; }
  .topbar__items { justify-content: center; gap: 14px; width: 100%; }
  .topbar__item--hide-mobile { display: none; }
  .topbar__social { display: none; }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.is-scrolled { box-shadow: var(--shadow); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}
.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.header__brand img { height: 52px; width: auto; }
.header__brand-text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.header__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand-green);
  letter-spacing: 0;
}
.header__brand-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
/* Hide brand subtitle once the horizontal nav appears, so the centered nav has room */
@media (min-width: 1200px) {
  .header__brand-sub { display: none; }
}
.header__nav { display: none; }
@media (min-width: 1200px) {
  /* 3-column grid centers the nav in the header: brand left, nav centered, CTA right.
     The equal 1fr side columns keep the nav block centered regardless of brand/CTA width. */
  .header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: 16px;
  }
  .header__brand { justify-self: start; }
  .header__cta { justify-self: end; }
  .header__nav {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-self: center;
  }
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
/* Compact nav on all desktop widths so the centered nav fits brand + CTA on one row */
@media (min-width: 1200px) {
  .nav__link { padding: 8px 7px; font-size: 0.8125rem; gap: 2px; }
  .header__nav { gap: 1px; }
  .header__cta { gap: 6px; }
  .header__cta .btn--sm { padding: 8px 10px; font-size: 0.8125rem; min-height: 40px; }
  .header__brand img { height: 46px; }
  .header__brand-name { font-size: 1.0625rem; }
}
@media (min-width: 1200px) and (max-width: 1319px) {
  .nav__link { padding: 8px 6px; }
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brand-green); background: var(--surface-tint); }
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 10;
}
/* Invisible bridge across the gap between the tab and its dropdown so moving the
   cursor down slowly doesn't close the menu. */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown { display: block; }
.nav__dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
}
.nav__dropdown a:hover { background: var(--surface-tint); color: var(--brand-green); }
.header__cta { display: none; gap: 8px; align-items: center; }
@media (min-width: 1200px) { .header__cta { display: inline-flex; } }
.header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}
@media (min-width: 1200px) { .header__menu-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 90vw);
  background: #fff;
  z-index: 200;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 250ms ease;
  box-shadow: -20px 0 50px rgba(0,0,0,.15);
}
.mobile-menu[aria-hidden="false"] { transform: translateX(0); }
.mobile-menu__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.mobile-menu__backdrop.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.mobile-menu h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 20px 0 8px;
}
.mobile-menu a { display: block; padding: 10px 0; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border-soft); }
.mobile-menu a:hover { color: var(--brand-green); }
.mobile-menu__cta { display: grid; gap: 8px; margin-top: 24px; }

/* Hero */
.hero {
  position: relative;
  background: var(--brand-green-dark);
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,53,32,0.92) 0%, rgba(14,77,50,0.85) 60%, rgba(14,77,50,0.6) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 60px 0 80px;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.2fr 1fr; gap: 48px; padding: 88px 0 96px; }
}
.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero__rating .stars { color: var(--accent-gold); display: inline-flex; gap: 1px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 16px;
}
.hero h1 .highlight { color: var(--accent-gold); display: block; }
.hero__sub {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  font-size: 0.875rem;
}
.hero__trust-item { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.9); }
.hero__trust-item .icon { color: var(--accent-gold); width: 18px; height: 18px; }

/* Hero inline form */
.hero__form {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero__form h2 {
  color: var(--brand-green);
  font-size: 1.625rem;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.hero__form p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.9375rem; }

/* Forms */
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.form-field label .req { color: var(--emergency-red); margin-left: 2px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  min-height: 48px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field textarea { min-height: 110px; resize: vertical; font-family: var(--font-body); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(14,77,50,0.15);
}
.form-helper { font-size: 0.8125rem; color: var(--text-subtle); margin-top: 4px; }
.form-disclaimer { font-size: 0.75rem; color: var(--text-subtle); margin-top: 8px; line-height: 1.5; }

/* Trust strip */
.trust-strip {
  background: var(--surface-tint);
  padding: 24px 0;
  border-bottom: 1px solid var(--brand-green-100);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .trust-strip__grid { grid-template-columns: repeat(5, 1fr); } }
.trust-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}
.trust-strip__item .icon { width: 28px; height: 28px; color: var(--brand-green); }

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  text-decoration: none !important;
  color: inherit;
}
.service-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-tint);
  border-radius: var(--radius);
  color: var(--brand-green);
}
.service-card__icon .icon { width: 32px; height: 32px; }
.service-card h3 {
  font-size: 1.375rem;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0;
}
.service-card p { color: var(--text-muted); font-size: 0.9375rem; flex: 1; }
.service-card__more {
  font-weight: 700;
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9375rem;
}

/* 3 step section */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  text-align: center;
  position: relative;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--accent-gold);
  color: var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  margin: 0 auto 16px;
  box-shadow: 0 6px 0 var(--accent-gold-dark);
}
.step h3 { text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--text-muted); max-width: 280px; margin: 0 auto; }

/* Process / "How It Works" — connected icon circles */
.process__track { position: relative; display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 560px) { .process__track { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (min-width: 768px) {
  .process__track:not(.process__track--4) { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .process__track:not(.process__track--4)::before {
    content: ""; position: absolute; top: 46px; left: 17%; right: 17%;
    border-top: 2px dashed var(--brand-green-100); z-index: 0;
  }
}
@media (min-width: 1000px) {
  .process__track--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  /* dashed connector line running behind the circles */
  .process__track--4::before {
    content: ""; position: absolute; top: 46px; left: 12%; right: 12%;
    border-top: 2px dashed var(--brand-green-100); z-index: 0;
  }
}
.process__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.process__step { text-align: center; position: relative; z-index: 1; }
.process__node { position: relative; display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 18px; }
.process__circle {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px var(--brand-green-50), var(--shadow);
  transition: transform 320ms cubic-bezier(.34,1.56,.64,1), background 300ms ease, color 300ms ease, box-shadow 320ms ease;
}
.process__icon { width: 40px; height: 40px; }
.process__badge {
  margin-top: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.8rem;
  box-shadow: 0 0 0 5px var(--surface-alt);
  transition: transform 300ms ease, background 300ms ease, color 300ms ease;
}
.process__step h3 { text-transform: uppercase; margin-bottom: 8px; }
.process__step p { color: var(--text-muted); max-width: 300px; margin: 0 auto; font-size: 0.9375rem; }
/* fun hover effect */
.process__step:hover .process__circle {
  transform: translateY(-8px) scale(1.08);
  background: var(--accent-gold);
  color: var(--brand-green-dark);
  box-shadow: 0 0 0 8px var(--accent-gold-50), var(--shadow-lg);
}
.process__step:hover .process__icon { animation: process-pop 550ms ease; }
.process__step:hover .process__badge { background: var(--accent-gold); color: var(--brand-green-dark); transform: scale(1.15); }
@keyframes process-pop {
  0%, 100% { transform: none; }
  30% { transform: scale(1.22) rotate(-8deg); }
  60% { transform: scale(1.05) rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .process__step:hover .process__circle { transform: none; }
  .process__step:hover .process__icon { animation: none; }
  .process__step:hover .process__badge { transform: none; }
}

/* Why us / feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  display: flex;
  gap: 16px;
}
.feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--surface-tint);
  color: var(--brand-green);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 1.125rem; text-transform: uppercase; margin-bottom: 4px; }
.feature p { color: var(--text-muted); font-size: 0.9375rem; }
/* fun hover on feature cards */
.feature { transition: transform 260ms ease; }
.feature:hover { transform: translateY(-4px); }
.feature__icon { transition: background 260ms ease, color 260ms ease, transform 260ms ease; }
.feature:hover .feature__icon { background: var(--brand-green); color: #fff; transform: rotate(-6deg) scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .feature:hover { transform: none; }
  .feature:hover .feature__icon { transform: none; }
}

/* Guarantee cards */
.guarantee-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .guarantee-grid { grid-template-columns: repeat(3, 1fr); } }
.guarantee {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 320ms cubic-bezier(.34,1.56,.64,1), box-shadow 320ms ease, border-color 320ms ease;
}
.guarantee:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--brand-green-100); }
.guarantee__icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--brand-green-50);
  color: var(--brand-green);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 320ms ease, color 320ms ease, transform 320ms ease;
}
.guarantee__icon .icon { width: 30px; height: 30px; }
.guarantee:hover .guarantee__icon { background: var(--accent-gold); color: var(--brand-green-dark); transform: scale(1.1) rotate(-6deg); }
.guarantee h3 { text-transform: uppercase; font-size: 1.0625rem; margin-bottom: 8px; }
.guarantee p { color: var(--text-muted); font-size: 0.9375rem; }
@media (prefers-reduced-motion: reduce) {
  .guarantee:hover { transform: none; }
  .guarantee:hover .guarantee__icon { transform: none; }
}

/* Signs / symptom cards */
.signs-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .signs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .signs-grid { grid-template-columns: repeat(3, 1fr); } }
/* Inline variant: lives inside the 760px prose column — cap at 2-up, tighter */
.signs-grid--inline { gap: 12px; margin: 20px 0 28px; }
@media (min-width: 1024px) { .signs-grid--inline { grid-template-columns: repeat(2, 1fr); } }
.sign {
  display: flex; gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}
.sign:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-gold); }
.sign__icon {
  flex-shrink: 0; width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-gold-50);
  color: var(--accent-gold-dark);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 260ms ease;
}
.sign:hover .sign__icon { transform: scale(1.12) rotate(-6deg); }
.sign__icon .icon { width: 22px; height: 22px; }
.sign h3 { font-size: 1rem; text-transform: uppercase; margin-bottom: 2px; }
.sign p { color: var(--text-muted); font-size: 0.9rem; }
@media (prefers-reduced-motion: reduce) { .sign:hover { transform: none; } .sign:hover .sign__icon { transform: none; } }

/* Careers page */
.careers-split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .careers-split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.careers-split h2 { margin-top: 8px; margin-bottom: 12px; }
.careers-split p { color: var(--text-muted); margin-bottom: 14px; }
.careers-split ul { margin: 0 0 20px; padding-left: 20px; }
.careers-split li { margin-bottom: 8px; color: var(--text-muted); }
.benefit-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform 300ms cubic-bezier(.34,1.56,.64,1), box-shadow 300ms ease;
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.benefit__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--surface-tint); color: var(--brand-green);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
  transition: background 300ms ease, color 300ms ease;
}
.benefit:hover .benefit__icon { background: var(--brand-green); color: #fff; }
.benefit__icon .icon { width: 28px; height: 28px; }
.benefit h3 { text-transform: uppercase; margin-bottom: 12px; }
.benefit ul { list-style: none; padding: 0; margin: 0; }
.benefit li { position: relative; padding-left: 32px; margin-bottom: 10px; color: var(--text-muted); font-size: 0.9375rem; }
.benefit li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 21px; height: 21px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E4D32' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10.25'/%3E%3Cpath d='M7.3 12.6l3.2 3.2 6.2-6.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (prefers-reduced-motion: reduce) { .benefit:hover { transform: none; } }

/* Service area grid */
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .area-grid { grid-template-columns: repeat(5, 1fr); } }
.area-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}
.area-tile:hover {
  border-color: var(--brand-green);
  background: var(--surface-tint);
  color: var(--brand-green);
  transform: translateY(-2px);
}
.area-tile .icon { width: 18px; height: 18px; color: var(--brand-green); flex-shrink: 0; }

/* Photo gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(9,53,32,0.92), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--accent-gold);
}
.review__stars .icon { width: 20px; height: 20px; fill: currentColor; }
.review__quote {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
}
.review__author { font-weight: 700; color: var(--ink); }
.review__meta { font-size: 0.875rem; color: var(--text-muted); }
.review__source { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--text-subtle); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border-soft); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--brand-green);
  border-bottom: 2px solid var(--brand-green);
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__answer { padding: 0 0 24px; color: var(--text-muted); max-width: 740px; }
.faq__answer p { margin-bottom: 12px; }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.cta-strip h2 { color: #fff; text-transform: uppercase; margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 24px; }
.cta-strip__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Footer */
.footer {
  background: var(--brand-green-dark);
  color: rgba(255,255,255,0.85);
  padding: 72px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h3, .footer h4 {
  color: #fff;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer a { color: rgba(255,255,255,0.8); font-weight: 500; }
.footer a:hover { color: var(--accent-gold); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { height: 56px; width: auto; filter: brightness(0) invert(1); }
.footer__brand-text { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.5rem; }
.footer__desc { color: rgba(255,255,255,0.7); margin-bottom: 16px; max-width: 360px; }
.footer__contact { display: grid; gap: 8px; font-size: 0.9375rem; }
.footer__contact div { display: flex; gap: 8px; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--accent-gold); }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--accent-gold); color: var(--ink); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 56px;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  box-shadow: 0 -8px 24px rgba(0,0,0,.1);
}
@media (min-width: 768px) { .mobile-cta { display: none; } }
.mobile-cta .btn { padding: 12px 6px; font-size: 0.875rem; min-height: 46px; gap: 5px; }
.mobile-cta .btn .icon { width: 16px; height: 16px; }
body { padding-bottom: 76px; }
@media (min-width: 768px) { body { padding-bottom: 0; } }

/* Google reviews widget mount + fallback */
.reviews-widget {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.reviews-widget__embed:empty + .reviews-widget__fallback { display: block; }
.reviews-widget__fallback {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}
.reviews-widget__stars { color: var(--accent-gold); font-size: 1.5rem; letter-spacing: 2px; }
.reviews-widget__count { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); margin: 6px 0 4px; text-transform: uppercase; }
.reviews-widget__sub { color: var(--text-muted); margin-bottom: 18px; }
/* Live Featurable Google-reviews widget (real, auto-updating reviews) */
.reviews-widget--live { max-width: 1120px; }
.reviews-widget--live .reviews-widget__sub { max-width: 640px; margin: 0 auto 22px; }
.reviews-widget--live [id^="featurable-"] { min-height: 120px; }
.reviews-widget__cta { margin-top: 26px; }
/* Compact inline reviews mount used inside service/combo "why pick us" blocks */
.reviews-inline {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--surface-tint);
  border: 1px solid var(--brand-green-100);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.reviews-inline__left { display: flex; align-items: center; gap: 12px; }
.reviews-inline__stars { color: var(--accent-gold); font-size: 1.25rem; letter-spacing: 1px; }
.reviews-inline strong { font-family: var(--font-display); }

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
  color: #fff;
  padding: 60px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; text-transform: uppercase; margin-bottom: 12px; }
.page-hero__lede { color: rgba(255,255,255,0.92); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); max-width: 720px; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.breadcrumb {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--accent-gold); }
.breadcrumb span[aria-current] { color: var(--accent-gold); }
.breadcrumb__sep { margin: 0 8px; opacity: 0.5; }

/* Thank-you page reassurance split (copy + Theo photo) */
.thanks-grid { display: grid; gap: 32px; align-items: center; max-width: 1060px; margin: 0 auto; }
@media (min-width: 900px) { .thanks-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
.thanks-grid figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: auto; }
.thanks-grid figcaption { margin-top: 10px; color: var(--text-muted); font-size: 0.9375rem; text-align: center; font-style: italic; }

/* Two-column content */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) { .content-grid { grid-template-columns: 2fr 1fr; gap: 56px; } }
.prose { max-width: 760px; font-size: 1.0625rem; line-height: 1.7; color: var(--text); }
.prose h2 { margin-top: 40px; margin-bottom: 14px; text-transform: uppercase; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; text-transform: uppercase; }
.prose p, .prose ul, .prose ol { margin-bottom: 16px; }
.prose ol { padding-left: 22px; }
.prose ol li { margin-bottom: 6px; }
.prose strong { color: var(--ink); font-weight: 700; }

/* Content lists: outlined bubble-check bullets + colored lead-in term
   (TN Standard style, in brand colors: green ring/check + gold lead-in) */
.prose ul, .careers-split ul { list-style: none; padding-left: 0; margin-left: 0; }
.prose ul li, .careers-split ul li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 11px;
  line-height: 1.6;
  color: var(--text-muted);
}
.prose ul li::before, .careers-split ul li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E4D32' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10.25'/%3E%3Cpath d='M7.3 12.6l3.2 3.2 6.2-6.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.prose ul li > strong:first-child,
.careers-split ul li > strong:first-child { color: #B45309; }

/* Multi-color headings: green base + gold keyword highlights (span.hl) */
.prose h2, .prose h3, .section-head h2, .careers-split h2 { color: var(--brand-green); }
.hl { color: #B45309; }
.page-hero h1 .hl, .hero h1 .hl, .cta-strip .hl, .section--green .hl { color: var(--accent-gold); }
.section--green .section-head h2, .section--green h2 { color: #fff; }
.prose blockquote {
  border-left: 4px solid var(--brand-green);
  background: var(--surface-tint);
  padding: 16px 20px;
  margin: 24px 0;
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 20px;
}
.sidebar__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar__card--green { background: var(--brand-green); color: #fff; border-color: var(--brand-green-dark); }
.sidebar__card--green h3 { color: #fff; text-transform: uppercase; margin-bottom: 8px; }
.sidebar__card--green p { color: rgba(255,255,255,0.9); margin-bottom: 18px; font-size: 0.9375rem; }
.sidebar__card--green .btn--gold { width: 100%; margin-bottom: 8px; }
.sidebar__card--green .btn--ghost-light { width: 100%; }
.sidebar__list { list-style: none; padding: 0; display: grid; gap: 4px; }
.sidebar__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition);
}
.sidebar__list a:hover, .sidebar__list a[aria-current="page"] {
  background: var(--surface-tint);
  color: var(--brand-green);
}
.sidebar__list .icon { width: 16px; height: 16px; color: var(--brand-green); }

/* Section header */
.section-head { text-align: center; max-width: 740px; margin: 0 auto 36px; }
.section-head h2 { text-transform: uppercase; margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 1.0625rem; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Icon helper */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-green-100);
  color: var(--brand-green);
}

/* Print: hide nav etc. */
@media print {
  .topbar, .header, .mobile-cta, .footer, .hero__form, .btn { display: none !important; }
  body { color: #000; background: #fff; }
}
