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

:root {
  --green:      #1D6B3E;
  --green-dark: #0F4728;
  --green-lt:   #E8F4EE;
  --accent:     #D4670A;
  --text:       #1A1A1A;
  --text-mid:   #4A4A4A;
  --text-lt:    #6B6B6B;
  --border:     #D9D9D2;
  --bg:         #FAFAF8;
  --white:      #FFFFFF;
  --radius:     8px;
  --max:        1100px;
  --font:       'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; }
img  { max-width: 100%; display: block; }
a    { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ────────────────────────────────────── */
.container   { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section     { padding: 72px 0; }
.section--sm { padding: 48px 0; }
.section--gray { background: #F2F2EE; }

/* ── Typography ─────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 600; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin-top: 0.75em; color: var(--text-mid); }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }

/* ── Buttons ────────────────────────────────────── */
.btn       { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; cursor: pointer; border: 2px solid transparent; transition: opacity .15s, transform .1s; }
.btn:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }
.btn-primary   { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-secondary { background: var(--white); color: var(--green); border-color: var(--green); }
.btn-accent    { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-ghost-white { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.btn-ghost-white:hover { background: rgba(255,255,255,.9); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; min-width: 210px; }

/* ── Nav ────────────────────────────────────────── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 68px;
}
.nav-logo { font-size: 1.15rem; font-weight: 700; color: var(--green); line-height: 1.2; }
.nav-logo span { display: block; font-size: 0.7rem; font-weight: 400; color: var(--text-lt); letter-spacing: .04em; }

.nav-links { display: flex; gap: 18px; align-items: center; list-style: none; }
.nav-links > li { display: flex; align-items: center; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--text); white-space: nowrap; }
.nav-links a:hover, .nav-links a.nav-active { color: var(--green); text-decoration: none; }
.nav-links .nav-cta a { background: var(--green); color: white; padding: 8px 16px; border-radius: var(--radius); font-size: 0.875rem; }
.nav-links .nav-cta a:hover { opacity: .88; }
.nav-phone { font-weight: 700; color: var(--green) !important; font-size: 0.875rem !important; white-space: nowrap; }
/* Phone hidden in desktop nav; shown only in the mobile hamburger menu */
.nav-links > .nav-phone-item { display: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.4rem; color: var(--green); padding: 4px; }

/* ── Nav dropdown ───────────────────────────────── */
.nav-has-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none; border: none; cursor: pointer;
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  padding: 0; font-family: var(--font);
  letter-spacing: 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
  line-height: inherit;
}
.nav-dropdown-toggle:hover { color: var(--green); }
.nav-dropdown-toggle .dd-caret {
  font-size: 0.6rem; opacity: .7; transition: transform .2s;
  display: inline-block;
}
.nav-has-dropdown.open .dd-caret { transform: rotate(180deg); }
/* invisible bridge so mouse can travel from button to panel */
.nav-has-dropdown::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 10px;
}
.nav-dropdown {
  display: none;
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
  min-width: 190px; z-index: 200;
  list-style: none; padding: 4px 0 6px; margin: 0;
}
.nav-has-dropdown.open .nav-dropdown { display: block; }
.nav-dropdown li a {
  display: block; padding: 9px 16px;
  color: var(--text-mid); font-size: 0.875rem;
  white-space: nowrap;
}
.nav-dropdown li a:hover { background: var(--green-lt); color: var(--green); text-decoration: none; padding-left: 20px; }

/* ── Breadcrumb bar ─────────────────────────────── */
.breadcrumb-bar {
  background: #f4f6f0;
  border-bottom: 1px solid #dce5d3;
  padding: 9px 0;
}
.breadcrumb-list {
  list-style: none; display: flex; align-items: center;
  flex-wrap: wrap; gap: 2px 4px; margin: 0; padding: 0;
  font-size: 0.82rem;
}
.breadcrumb-list a { color: var(--green); font-weight: 500; }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list li[aria-current="page"] { color: var(--text-mid); }
.bc-sep { color: var(--text-lt); padding: 0 2px; }

/* ── Hero ───────────────────────────────────────── */
.hero {
  background:
    linear-gradient(rgba(15,50,25,.62), rgba(15,50,25,.68)),
    url('/images/hero-bg.jpg') center center / cover no-repeat;
  color: white; padding: 96px 24px 80px; text-align: center;
}
.hero h1 { color: white; margin-bottom: 20px; }
.h1-geo   { display: block; font-size: 1rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-top: 14px; }
.hero p   { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 580px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-badge { margin-top: 40px; display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.hero-badge-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: rgba(255,255,255,.9); }

/* ── Cards / Grids ──────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-icon { font-size: 2rem; margin-bottom: 12px; }
.card h3   { margin-bottom: 8px; }

/* ── Service cards ──────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 20px 16px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: border-color .15s;
}
.service-card:hover { border-color: var(--green); text-decoration: none; }
.service-card-icon { font-size: 1.6rem; flex-shrink: 0; }
.service-card-text strong { display: block; font-size: 0.95rem; color: var(--text); }
.service-card-text span   { font-size: 0.8rem; color: var(--text-lt); }

/* ── Rebate banner ──────────────────────────────── */
.rebate-banner {
  background: #FFF3E6; border: 1px solid #F5C07A;
  border-radius: var(--radius); padding: 28px 32px;
  display: flex; gap: 20px; align-items: flex-start;
}
.rebate-banner-icon { font-size: 2.5rem; flex-shrink: 0; }
.rebate-banner h3 { color: var(--accent); margin-bottom: 6px; }

/* ── Rebate guide ────────────────────────────────── */
.rebate-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 40px 0 0; }
.rebate-stat { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; text-align: center; }
.rebate-stat-value { font-size: 2rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.rebate-stat-label { font-size: .82rem; color: var(--text-lt); margin-top: 6px; }
/* ── Timeline steps ──────────────────────────────── */
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 0; }
.timeline-spine { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 56px; }
.step-badge { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: white; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 0 4px var(--green-lt); }
.timeline-line { width: 2px; flex: 1; background: var(--green); opacity: .2; min-height: 32px; }
.timeline-item:last-child .timeline-line { display: none; }
.timeline-content { flex: 1; padding: 4px 0 40px 24px; }
.timeline-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.timeline-content p { color: var(--text-mid); margin-bottom: 10px; line-height: 1.65; }
.timeline-content p:last-child { margin-bottom: 0; }
.timeline-step-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.rebate-alert { background: #FFF8ED; border-left: 4px solid #F5A623; border-radius: 0 6px 6px 0; padding: 12px 16px; margin-top: 14px; font-size: .875rem; line-height: 1.55; }
.rebate-tip   { background: var(--green-lt); border-left: 4px solid var(--green); border-radius: 0 6px 6px 0; padding: 12px 16px; margin-top: 14px; font-size: .875rem; line-height: 1.55; }

/* ── Trust bar ──────────────────────────────────── */
.trust-bar { background: var(--green-dark); color: white; padding: 16px 24px; text-align: center; }
.trust-bar-inner { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }

/* ── Reviews ────────────────────────────────────── */
.stars { color: #F5B400; font-size: 1.1rem; }
.review-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.review-card p { font-style: italic; }
.reviewer { font-weight: 600; font-size: 0.9rem; margin-top: 12px !important; color: var(--text); font-style: normal; }

/* ── CTA band ───────────────────────────────────── */
.cta-band { background: var(--green); color: white; text-align: center; padding: 64px 24px; }
.cta-band h2 { color: white; margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,.85); margin-bottom: 28px; }

/* ── Page header ────────────────────────────────── */
.page-header { background: var(--green); color: white; padding: 56px 24px 48px; }
.page-header h1 { color: white; }
.page-header p  { color: rgba(255,255,255,.85); margin-top: 10px; font-size: 1.1rem; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.8); }

/* ── Combo / location pages ─────────────────────── */
.combo-hero { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: white; padding: 64px 24px; }
.combo-hero h1 { color: white; }
.location-cities { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.city-pill { color: var(--green-dark); font-size: 0.875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.city-pill:hover { color: var(--green); text-decoration: underline; }
.city-pill::after { content: ' →'; font-size: .8rem; font-weight: 400; text-decoration: none; display: inline-block; }

/* ── Service × City matrix (service-area page) ─── */
.svc-city-table { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.svc-city-row { display: flex; align-items: baseline; gap: 20px; padding: 14px 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.svc-city-row:last-child { border-bottom: none; }
.svc-city-row:nth-child(odd) { background: var(--white); }
.svc-city-row:nth-child(even) { background: #f8faf8; }
.svc-city-label { font-size: .9rem; font-weight: 700; color: var(--text); min-width: 180px; flex-shrink: 0; }
.svc-city-label a { color: inherit; text-decoration: none; }
.svc-city-label a:hover { color: var(--green-dark); text-decoration: underline; }
.svc-city-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.svc-city-links a { font-size: .82rem; color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.svc-city-links a:hover { color: var(--green); }

/* ── Forms ──────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 1rem; font-family: var(--font);
  background: white; color: var(--text);
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--green); }
.form-group textarea { min-height: 130px; resize: vertical; }

/* ── FAQ ────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-q { font-weight: 600; font-size: 1.05rem; cursor: pointer; display: flex; justify-content: space-between; }
.faq-a { margin-top: 10px; color: var(--text-mid); display: none; }

/* ── Blog ───────────────────────────────────────── */
.blog-card { display: flex; flex-direction: column; }
.blog-date { font-size: 0.8rem; color: var(--text-lt); }
.blog-tag  { font-size: 0.75rem; background: var(--green-lt); color: var(--green-dark); padding: 2px 8px; border-radius: 4px; display: inline-block; margin-bottom: 8px; }
.read-more { font-weight: 600; font-size: 0.9rem; margin-top: auto; display: inline-block; padding-top: 12px; }

/* ── Footer ─────────────────────────────────────── */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.8); padding: 56px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: var(--max); margin: 0 auto; }
.footer-brand h3 { color: white; font-size: 1.15rem; margin-bottom: 10px; }
.footer-brand p  { font-size: 0.9rem; color: rgba(255,255,255,.9); }
.footer-col h4   { color: white; font-size: 0.9rem; margin-bottom: 14px; }
.footer-col ul   { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a    { color: rgba(255,255,255,.7); font-size: 0.875rem; }
.footer-col a:hover { color: white; text-decoration: none; }
/* Fixed: was two conflicting margin rules — consolidated to one */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin: 40px auto 0;
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  max-width: var(--max);
  color: rgba(255,255,255,.55);
}
.footer-bottom p { color: rgba(255,255,255,.6); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-phone { font-size: 1.2rem; font-weight: 700; color: white; display: block; margin-top: 16px; margin-bottom: 4px; }
.footer-hours { font-size: 0.85rem; color: rgba(255,255,255,.6); }

/* ── Mobile floating call button ─────────────────── */
.mobile-call-btn {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--green);
  color: white;
  text-align: center;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  z-index: 200;
  text-decoration: none;
  box-shadow: 0 -2px 12px rgba(0,0,0,.15);
}
.mobile-call-btn:hover { background: var(--green-dark); text-decoration: none; opacity: 1; }

/* ── Related services box ────────────────────────── */
.related-services { background: var(--green-lt); border: 1px solid var(--green); border-radius: var(--radius); padding: 20px 24px; margin-top: 32px; }
.related-services h3 { color: var(--green-dark); margin-bottom: 12px; font-size: 1rem; }
.related-services ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.related-services a { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px; font-size: .875rem; color: var(--green-dark); font-weight: 500; display: inline-block; }
.related-services a:hover { border-color: var(--green); text-decoration: none; }

/* ── Blog publish date ───────────────────────────── */
.blog-publish { font-size: .8rem; color: var(--text-lt); margin-bottom: 24px; display: block; }


@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .mobile-call-btn { display: block; }
  body { padding-bottom: 56px; }

  /* Mobile nav: hidden by default, revealed with .nav-open class */
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    z-index: 99;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links.nav-open > .nav-phone-item { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 24px; font-size: 1rem; }
  .nav-links .nav-cta a { background: none; color: var(--green); padding: 12px 24px; border-radius: 0; font-weight: 700; }
  .nav-phone { font-size: 1rem !important; }

  /* Mobile dropdown — inline, not floating */
  .nav-dropdown-toggle { display: block; padding: 12px 24px; font-size: 1rem; width: 100%; text-align: left; }
  .nav-dropdown {
    position: static; transform: none;
    box-shadow: none; border: none; border-radius: 0;
    background: var(--green-lt); padding: 0;
  }
  .nav-has-dropdown.open .nav-dropdown { display: block; }
  .nav-dropdown li a { padding: 10px 24px 10px 36px; font-size: 0.95rem; }
  .breadcrumb-bar { display: none; }

  .hero { padding: 64px 20px 56px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .rebate-banner { flex-direction: column; }
  .trust-bar-inner { gap: 16px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { gap: 16px; }
}

/* ── Skip to content link (accessibility) ────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  background: var(--green);
  color: white;
  padding: 8px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top .1s;
}
.skip-link:focus { top: 0; }

/* ── Service hub cards (/services page) ──────── */
.service-hub-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  transition: box-shadow .15s, transform .1s, border-color .15s;
}
.service-hub-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.09);
  transform: translateY(-2px);
  border-color: var(--green);
  text-decoration: none;
}
.shc-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.shc-body h3 { font-size: 1.15rem; color: var(--text); margin-bottom: 8px; }
.shc-body p  { font-size: .9rem; color: var(--text-mid); margin-top: 0; line-height: 1.55; }
.shc-link    { font-size: .85rem; font-weight: 600; color: var(--green); display: inline-block; margin-top: 10px; }

/* ── Service area city grid ─────────────────── */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.area-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.area-card:hover {
  border-color: var(--green);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transform: translateY(-2px);
  text-decoration: none;
}
.area-card-name { font-size: 1rem; font-weight: 600; color: var(--green-dark); }
.area-card-sub  { font-size: .8rem; color: var(--text-lt); margin-top: 3px; }

/* ─── ABOUT PHOTOS ──────────────────────────────────────────────────────── */
.about-photo-wrap { display: flex; flex-direction: column; gap: 10px; }
.about-photo-cap  { font-size: .82rem; color: var(--text-light); font-style: italic; padding: 0 2px; }

/* ─── GALLERY ────────────────────────────────────────────────────────────── */
.gallery-project { display: flex; flex-direction: column; gap: 16px; }
.gallery-caption { padding: 0 4px; }
.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gallery-tag {
  display: inline-block;
  background: var(--green-lt);
  color: var(--green-dark);
  border: 1px solid var(--green);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
}
