/* ==========================================================================
   Green Diamond Landscaping — greendiamondland.com
   Design system v2 — elevated by Summit Automation · 2026
   Brand kept (pine/emerald/forest/leaf · Fraunces + Inter); execution rebuilt.
   ========================================================================== */

:root {
  /* Brand greens (unchanged) */
  --forest: #14351f;
  --pine: #1c4a2c;
  --emerald: #2d6a4f;
  --leaf: #52b788;
  --mint: #d8f3dc;

  /* Surfaces */
  --cream: #f6f4ec;
  --sand: #eeeadf;
  --paper: #ffffff;
  --ink: #152a1c;
  --body: #3f5448;
  --muted: #566a5d; /* darkened for WCAG AA (was #6c8073 = 3.84:1 on cream, failing) */
  --gold: #e4ad34;

  /* Hairlines */
  --line: #e7e2d5;
  --line-2: #dcd6c6;

  /* Shadows — soft, layered, restrained */
  --shadow-sm: 0 1px 2px rgba(20,53,31,.05), 0 3px 10px rgba(20,53,31,.05);
  --shadow-md: 0 10px 30px -10px rgba(20,53,31,.16);
  --shadow-lg: 0 34px 70px -22px rgba(20,53,31,.30);

  --radius: 20px;
  --radius-sm: 13px;
  --radius-lg: 26px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --section-y: clamp(76px, 8.5vw, 118px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--emerald); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--pine); }

::selection { background: var(--leaf); color: #06210f; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2a6148; /* 5.5:1 on sand alt bg — WCAG AA (was --emerald = 4.42 on #eeeadf) */
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: linear-gradient(135deg, var(--leaf), var(--emerald));
  transform: rotate(45deg);
  border-radius: 2px;
  flex-shrink: 0;
}

.section { padding: var(--section-y) 0; }
.section.alt { background: var(--sand); }
.section.dark { background: var(--forest); }
.section.dark h2, .section.dark h3 { color: #f2f8f2; }
.section.dark p { color: #c4d8c9; }
.section.dark .eyebrow { color: var(--leaf); }

.section-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(31px, 4.2vw, 46px); margin-bottom: 16px; line-height: 1.08; }
.section-head p { font-size: 18.5px; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  --btn-py: 15px;
  --btn-px: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-py) var(--btn-px);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
  line-height: 1.1;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg { --btn-py: 17px; --btn-px: 34px; font-size: 16.5px; }

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--pine));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(28,74,44,.55), inset 0 1px 0 rgba(255,255,255,.16);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(28,74,44,.6), inset 0 1px 0 rgba(255,255,255,.2); color: #fff; }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--pine);
  border-color: var(--line-2);
}
.btn-outline:hover { background: var(--paper); border-color: var(--emerald); color: var(--pine); box-shadow: var(--shadow-sm); }

.btn-light {
  background: #fff;
  color: var(--pine);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-2px); color: var(--forest); box-shadow: var(--shadow-lg); }

/* On-image ghost button (dark hero) */
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--forest);
  color: #cfe3d4;
  font-size: 13px;
  padding: 9px 0;
  letter-spacing: 0.01em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 9px; }
.topbar .tb-right { color: #a9c6b1; }
.topbar .stars { color: var(--gold); letter-spacing: 1px; }
.topbar .tb-dot { opacity: .5; }
.topbar strong { color: #fff; font-weight: 600; }
/* legacy subpage topbars still render a tel: link + a .tb-note span */
.topbar a { color: #fff; font-weight: 600; }
@media (max-width: 780px) {
  .topbar .tb-right { display: none; }
  .topbar .tb-left span.tb-note { display: none; }
  .topbar .wrap { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 236, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(20,53,31,.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
  max-width: 1300px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
/* height applies to the mark-only lockup AND any legacy full-logo <img> still
   used by not-yet-rebuilt subpages, so their headers never blow up. */
.brand img, .brand .brand-mark { height: 42px; width: auto; flex-shrink: 0; }
.brand-text { line-height: 1.05; white-space: nowrap; display: flex; flex-direction: column; }
.brand-text .bn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--forest);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.brand-text .bt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #566a5d; /* 5.1:1 on header cream — WCAG AA (was --muted #6c8073 = 3.83) */
  white-space: nowrap;
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 26px; flex-shrink: 0; margin-left: auto; }
.main-nav > a, .nav-drop > button {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  position: relative;
}
.main-nav > a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
  transition: right .22s var(--ease);
}
.main-nav > a:hover::after, .main-nav > a.active::after { right: 0; }
.main-nav > a:hover, .nav-drop > button:hover { color: var(--emerald); }
.main-nav > a.active { color: var(--emerald); font-weight: 600; }

.nav-drop { position: relative; }
.nav-drop .caret { width: 10px; height: 10px; transition: transform 0.2s var(--ease); }
.drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 10px;
  min-width: 268px;
  display: none;
}
.nav-drop::before {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 18px;
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }
.nav-drop:hover .caret { transform: rotate(180deg); }
.drop-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.drop-menu a:hover { background: var(--mint); color: var(--pine); }
.drop-menu a span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--forest);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.header-phone .hp-ico {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--mint);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.header-phone svg { width: 16px; height: 16px; color: var(--emerald); flex-shrink: 0; }
.header-phone:hover { color: var(--emerald); }
.header-phone .hp-label { display: flex; flex-direction: column; line-height: 1.05; }
.header-phone .hp-cap { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.header-cta .btn { --btn-py: 12px; --btn-px: 22px; font-size: 15px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--forest);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(360px, 90vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 104px 32px 40px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateX(105%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
    z-index: 90;
    margin-left: 0;
  }
  .nav-open .main-nav { transform: translateX(0); }
  .main-nav > a, .nav-drop > button { font-size: 18px; padding: 12px 0; width: 100%; }
  .main-nav > a::after { display: none; }
  .nav-drop { width: 100%; }
  .nav-drop .drop-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding: 0 0 6px 16px;
    min-width: 0;
  }
  .nav-drop .drop-menu a { padding: 8px 12px; font-size: 15px; }
  .nav-toggle { display: block; z-index: 95; }
  .header-cta .btn:not(.nav-toggle) { display: none; }
  body.nav-open::after {
    content: "";
    position: fixed; inset: 0;
    background: rgba(10,26,16,.5);
    z-index: 80;
  }
}
@media (max-width: 620px) {
  .header-phone .hp-num, .header-phone .hp-label { display: none; }
  .header-phone { gap: 0; }
  .brand-text .bn { font-size: 17px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img, .hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg img { animation: heroZoom 20s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(101deg, rgba(9,28,16,0.92) 0%, rgba(11,32,19,0.80) 38%, rgba(13,36,21,0.34) 78%, rgba(13,36,21,0.12) 100%),
    linear-gradient(to top, rgba(9,26,15,.55), transparent 40%);
}
.hero .wrap { padding-top: 92px; padding-bottom: 92px; width: 100%; }
.hero-inner { max-width: 660px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(6px);
  padding: 8px 17px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 26px;
  color: #eaf4ec;
}
.hero-badge .stars { color: var(--gold); letter-spacing: 1.5px; }
.hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--leaf);
}
.hero p.lead {
  font-size: 19.5px;
  line-height: 1.6;
  color: #dcebe0;
  max-width: 552px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 0; }
.hero-trust .ht {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 2px 28px;
  position: relative;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: #bcd3c3;
}
.hero-trust .ht:first-child { padding-left: 0; }
.hero-trust .ht + .ht::before {
  content: "";
  position: absolute;
  left: 0; top: 5px; bottom: 5px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.hero-trust .ht strong {
  font-family: var(--font-display);
  font-size: 33px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* Hero with lead form (home) */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 54px;
  align-items: center;
  width: 100%;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-form {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius);
  padding: 30px 30px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
}
.hero-form h2 { font-size: 24px; margin-bottom: 5px; letter-spacing: -0.02em; }
.hero-form .ep-sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; display: flex; align-items: center; gap: 7px; }
.hero-form .ep-sub::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(82,183,136,.25);
  flex-shrink: 0;
}
.hero-form .field { margin-bottom: 13px; }
.hero-form .btn { width: 100%; margin-top: 4px; }
.hero-form .form-note { margin-top: 11px; text-align: center; }

/* Sub-page hero */
.page-hero {
  position: relative;
  padding: clamp(72px, 9vw, 104px) 0 clamp(60px, 7vw, 84px);
  background: var(--forest);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.page-hero .ph-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(101deg, rgba(11,32,19,0.93) 0%, rgba(13,36,21,0.72) 55%, rgba(13,36,21,0.44) 100%);
}
.page-hero .crumbs {
  font-size: 13.5px;
  color: #9fbfa8;
  margin-bottom: 18px;
}
.page-hero .crumbs a { color: #eaf3ec; text-decoration: underline; }
/* WCAG 1.4.1 — in-content prose links must be distinguishable by more than color */
p a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
/* Gold stars on LIGHT backgrounds need AA contrast (bright --gold is fine on dark headers/hero) */
.gbadge .stars, .review-card .stars { color: #7d6200 !important; }
.page-hero h1 { color: #fff; font-size: clamp(33px, 4.8vw, 54px); max-width: 820px; margin-bottom: 18px; letter-spacing: -0.02em; }
.page-hero p { font-size: 18.5px; color: #d9e8dd; max-width: 660px; }
.page-hero .hero-ctas { margin: 32px 0 0; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 0;
}
.trust-strip .ts {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 4px 34px;
  position: relative;
}
.trust-strip .ts + .ts::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 20px; background: var(--line-2);
}
.trust-strip .ts svg { width: 21px; height: 21px; color: var(--emerald); }
@media (max-width: 760px) {
  .trust-strip .ts { padding: 4px 16px; font-size: 14px; }
  .trust-strip .ts + .ts::before { display: none; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-2); }

.svc-card { display: flex; flex-direction: column; }
.svc-card .sc-img { height: 200px; overflow: hidden; position: relative; }
.svc-card .sc-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,36,21,.22), transparent 55%);
}
.svc-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.svc-card:hover .sc-img img { transform: scale(1.07); }
.svc-card .sc-body { padding: 24px 25px 26px; flex: 1; display: flex; flex-direction: column; }
.svc-card h3 { font-size: 21px; margin-bottom: 9px; letter-spacing: -0.015em; }
.svc-card p { font-size: 15.5px; flex: 1; color: var(--body); }
.svc-card .sc-link {
  margin-top: 18px;
  font-weight: 600;
  font-size: 15px;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-card .sc-link svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.svc-card:hover .sc-link svg { transform: translateX(5px); }

/* Feature list — elevated check-badge rows (robust to all markup variants:
   <strong>Term</strong> — desc · <strong>Term.</strong> desc · plain text) */
.feature-list { list-style: none; display: block; }
.feature-list li {
  position: relative;
  padding: 14px 0 14px 42px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--body);
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 26px; height: 26px;
  border-radius: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 15px 15px no-repeat,
    linear-gradient(135deg, var(--leaf), var(--emerald));
  box-shadow: 0 4px 10px -3px rgba(45,106,79,.5);
}
.feature-list li strong { color: var(--ink); font-weight: 700; }
/* When the list sits on a dark section */
.section.dark .feature-list li { color: #cfe0d3; border-color: rgba(255,255,255,.12); }
.section.dark .feature-list li strong { color: #fff; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 68px); align-items: center; }
.split .split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  align-self: stretch;
  min-height: 340px;
}
.split .split-img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(29px, 3.8vw, 40px); margin-bottom: 20px; line-height: 1.08; }
.split p { margin-bottom: 16px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 34px; } .split .split-img { min-height: 300px; } }

/* Floating stat badge over an image */
.img-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px);
}
.img-badge .ib-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--pine); line-height: 1; }
.img-badge .ib-txt { font-size: 13px; font-weight: 500; color: var(--body); line-height: 1.35; }
.img-badge .ib-txt strong { color: var(--ink); font-weight: 700; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; position: relative; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  counter-increment: step;
  box-shadow: var(--shadow-sm);
  z-index: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  color: transparent;
  background: linear-gradient(135deg, var(--leaf), var(--emerald));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0;
  display: block;
  margin-bottom: 14px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.step h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { font-size: 15.5px; color: var(--body); }

/* Stat-callout variant of .step (About page "By the Numbers") */
.step.stat-block::before { display: none; content: none; }

/* ---------- Reviews ---------- */
.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.review-card .stars { color: var(--gold); font-size: 19px; letter-spacing: 2.5px; margin-bottom: 16px; }
.review-card blockquote {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.review-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--emerald);
  font-size: 15px;
}
.review-card .rc-src { font-size: 13px; color: var(--muted); display: block; margin-top: 3px; }

.gbadge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: var(--shadow-sm);
}
.gbadge .g-num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1; }
.gbadge .stars { color: var(--gold); letter-spacing: 1.5px; font-size: 16px; }
.gbadge .g-sub { font-size: 13px; color: var(--muted); }

/* ---------- Gallery ---------- */
.masonry {
  columns: 3;
  column-gap: 20px;
}
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }
.masonry a {
  display: block;
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.masonry a img { transition: transform 0.4s var(--ease); width: 100%; }
.masonry a:hover img { transform: scale(1.05); }

dialog.lightbox {
  border: none;
  background: transparent;
  max-width: min(92vw, 1100px);
  padding: 0;
}
dialog.lightbox::backdrop { background: rgba(10, 22, 14, 0.88); }
dialog.lightbox img { border-radius: 12px; max-height: 86vh; width: auto; max-width: 100%; margin: 0 auto; }
dialog.lightbox button {
  position: absolute;
  top: -6px; right: -6px;
  background: #fff;
  border: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 19px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

/* ---------- Areas ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 11px; }
.area-chips a, .area-chips span {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px 19px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease), box-shadow .18s var(--ease);
}
.area-chips a:hover { border-color: var(--emerald); background: var(--mint); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.area-chips .chip-hot {
  background: linear-gradient(135deg, var(--emerald), var(--pine));
  color: #fff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 8px 18px -8px rgba(28,74,44,.5);
}

.city-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}
.city-block h3 { font-size: 24px; margin-bottom: 12px; }
.city-block p { margin-bottom: 14px; }
.city-block .cb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.city-block .cb-tags span {
  font-size: 13px;
  background: var(--mint);
  color: var(--pine);
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
}

/* ---------- Map / FAQ ---------- */
.map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 42%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.map-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.foot-map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  margin-top: 14px;
}
.foot-map iframe { display: block; width: 100%; height: 250px; border: 0; }

.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--emerald);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; font-size: 15.5px; }

/* ---------- Forms ---------- */
.estimate-panel {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 42px;
}
.estimate-panel h2 { font-size: 27px; margin-bottom: 6px; letter-spacing: -0.02em; }
.estimate-panel .ep-sub { font-size: 15px; color: var(--muted); margin-bottom: 26px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line-2);
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #9aab9f; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }

/* Honeypot anti-spam field */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.svc-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 9px; }
.svc-checks label {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--cream);
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.svc-checks label:has(input:checked) {
  border-color: var(--emerald);
  background: var(--mint);
  color: var(--pine);
}
.svc-checks input { accent-color: var(--emerald); width: 16px; height: 16px; }

.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-msg { margin-top: 16px; font-weight: 600; font-size: 15px; display: none; }
.form-msg.ok { display: block; color: var(--emerald); }
.form-msg.err { display: block; color: #b3402a; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--forest) 0%, #0f2c1a 55%, var(--pine) 130%);
  color: #fff;
  padding: clamp(64px, 8vw, 96px) 0;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.30), transparent 65%);
  z-index: -1;
}
.cta-band::after {
  content: "";
  position: absolute;
  left: -180px; bottom: -220px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.42), transparent 65%);
  z-index: -1;
}
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 34px; }
.cta-band h2 { color: #fff; font-size: clamp(29px, 4vw, 42px); margin-bottom: 12px; max-width: 620px; line-height: 1.08; letter-spacing: -0.02em; }
.cta-band p { color: #c4d8c9; max-width: 520px; font-size: 17.5px; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #0e2416; color: #a9c4b1; font-size: 15px; }
.site-footer .foot-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding: clamp(52px, 6vw, 70px) 0 50px;
}
@media (max-width: 940px) { .site-footer .foot-main { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .site-footer .foot-main { grid-template-columns: 1fr; } }
.site-footer h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer a { color: #a9c4b1; }
.site-footer a:hover { color: #fff; }
.foot-brand { text-align: center; }
.foot-brand .brand-mark { height: 54px; margin-bottom: 16px; width: auto; }
.foot-brand img { height: 150px; margin: 0 auto 18px; width: auto; display: block; }
.foot-brand p { font-size: 14.5px; line-height: 1.7; max-width: 300px; margin-left: auto; margin-right: auto; }
.foot-brand .stars { color: var(--gold); letter-spacing: 1.5px; }
.foot-contact li { display: flex; gap: 11px; align-items: flex-start; }
.foot-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--leaf); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0;
  font-size: 13px;
  color: #8aa595;
}
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.foot-bottom a { color: #a9c4b1; }

/* ---------- Mobile call bar ---------- */
.mobile-callbar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 110;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -6px 24px rgba(20, 53, 31, 0.12);
}
@media (max-width: 720px) {
  .mobile-callbar { display: flex; }
  .mobile-callbar .btn { flex: 1; --btn-py: 13px; --btn-px: 10px; font-size: 15px; }
  body { padding-bottom: 74px; }
}

/* ---------- Reveal animation ---------- */
.rv { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rv.rv-hide { opacity: 0; transform: translateY(28px); }
.rv.rv-hide.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv.rv-hide { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Chat widget ---------- */
#gd-chat { position: fixed; right: 18px; bottom: 18px; z-index: 130; font-family: var(--font-body); }
@media (max-width: 720px) {
  #gd-chat { bottom: 84px; }
  #gd-chat-fab { opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
  #gd-chat.gdc-visible #gd-chat-fab { opacity: 1; pointer-events: auto; }
}
#gd-chat-fab {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--emerald), var(--pine));
  color: #fff; border: none; cursor: pointer;
  padding: 14px 22px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; font-family: var(--font-body);
  box-shadow: 0 12px 30px rgba(20, 53, 31, 0.4);
  transition: transform 0.18s var(--ease);
}
#gd-chat-fab:hover { transform: translateY(-2px); }
#gd-chat-fab svg { width: 20px; height: 20px; }
.gdc-open #gd-chat-fab { display: none; }
#gd-chat-panel {
  position: absolute; right: 0; bottom: 0;
  width: min(370px, calc(100vw - 36px));
  height: min(540px, calc(100vh - 120px));
  background: #fff; border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 35, 22, 0.35);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
}
#gd-chat-panel[hidden] { display: none; }
.gdc-head {
  background: linear-gradient(135deg, var(--pine), var(--forest));
  color: #fff; padding: 15px 18px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
}
.gdc-title { font-weight: 700; font-size: 16px; line-height: 1.25; }
.gdc-title span { display: block; font-weight: 400; font-size: 11.5px; color: #b9d4c1; margin-top: 3px; }
.gdc-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; padding: 0 2px; }
.gdc-body { flex: 1; overflow-y: auto; padding: 16px 14px; background: var(--cream); display: flex; flex-direction: column; gap: 10px; }
.gdc-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.gdc-bot { background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.gdc-bot a { font-weight: 600; }
.gdc-user { background: var(--emerald); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.gdc-typing span {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--muted); margin: 0 2px;
  animation: gdcBlink 1s infinite;
}
.gdc-typing span:nth-child(2) { animation-delay: 0.18s; }
.gdc-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes gdcBlink { 0%, 70%, 100% { opacity: 0.25; } 35% { opacity: 1; } }
.gdc-dot { width: 9px; height: 9px; border-radius: 50%; background: #39c16c; flex: none; margin-top: 6px; }
.gdc-badge { position: absolute; top: -3px; right: -3px; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; }
#gd-chat-fab { position: relative; }
.gdc-opts { display: flex; flex-direction: column; gap: 7px; padding: 6px 14px 10px; background: var(--cream); max-height: 220px; overflow-y: auto; }
.gdc-opts:empty { display: none; }
.gdc-opt {
  text-align: left; background: #fff; border: 1.5px solid var(--line); color: var(--pine);
  font-weight: 600; font-size: 13.5px; padding: 9px 13px; border-radius: 10px;
  cursor: pointer; font-family: var(--font-body); text-decoration: none; display: block;
  transition: background 0.15s, border-color 0.15s;
}
.gdc-opt:hover { background: var(--mint); border-color: var(--emerald); color: var(--pine); }
.gdc-cta { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); background: #fff; }
.gdc-cta a {
  flex: 1; text-align: center; padding: 10px 6px; border-radius: 9px;
  font-size: 13.5px; font-weight: 700; text-decoration: none;
}
.gdc-cta-call { background: linear-gradient(135deg, var(--emerald), var(--pine)); color: #fff; }
.gdc-cta-call:hover { color: #fff; }
.gdc-cta-est { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.gdc-cta-est:hover { background: var(--mint); color: var(--pine); }
.gdc-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.gdc-input[hidden] { display: none; }
.gdc-input input {
  flex: 1; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-size: 14.5px; font-family: var(--font-body);
}
.gdc-input input:focus { outline: none; border-color: var(--emerald); }
.gdc-input button {
  background: var(--emerald); color: #fff; border: none; border-radius: 50%;
  width: 42px; height: 42px; font-size: 16px; cursor: pointer;
}

/* ---------- Blog ---------- */
.post-card .sc-img { height: 190px; }
.post-card .pc-date { font-size: 12.5px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.post-card h2 { font-size: 22px; margin-bottom: 10px; }
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h2 { font-size: 29px; margin: 42px 0 14px; letter-spacing: -0.015em; }
.article-body h3 { font-size: 21px; margin: 30px 0 10px; }
.article-body p { margin-bottom: 16px; font-size: 17px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 8px; }
.article-meta { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.article-cta {
  background: var(--mint); border: 1px solid var(--leaf);
  border-radius: var(--radius-sm); padding: 22px 26px; margin: 34px 0;
}
.article-cta strong { color: var(--pine); }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.badge-note {
  display: inline-block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
}
