@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --forest: #0b3b2a;
  --forest-2: #16523c;
  --lime: #d9f05f;
  --cream: #f5f2e9;
  --sage: #e7eee8;
  --white: #ffffff;
  --ink: #17251d;
  --muted: #58675e;
  --line: #d6dfd8;
  --shadow: 0 18px 50px rgba(11, 59, 42, .10);
  --shadow-soft: 0 8px 24px rgba(11, 59, 42, .07);
  --radius: 18px;
  --display: 'Manrope', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #9bb91c; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.shell { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  min-height: 76px;
  padding: .75rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(11, 59, 42, .14);
}
.brand-mark { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand-logo--header { width: auto; height: 48px; max-width: 190px; }
.mobile-primary { display: flex; flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
.mobile-menu-toggle { display: none; }
nav[data-component='navigation'] { display: flex; align-items: center; justify-content: flex-end; gap: .2rem 1rem; }
nav[data-component='navigation'] > a,
.nav-dd > summary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: #244536;
  font-size: .89rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  border-bottom: 2px solid transparent;
}
nav[data-component='navigation'] > a:hover,
nav[data-component='navigation'] > a[aria-current='page'],
.nav-dd > summary:hover { color: var(--forest); border-bottom-color: var(--lime); }
.nav-dd { position: relative; display: inline-flex; }
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary::after { content: '⌄'; margin-left: .3rem; color: var(--forest-2); }
.nav-dd-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% - 1px);
  right: 0;
  display: none;
  min-width: 250px;
  padding: .55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu,
.nav-dd[open] .nav-dd-menu { display: grid; }
.nav-dd-menu a { padding: .65rem .75rem; color: #29473a; font-size: .9rem; font-weight: 650; text-decoration: none; border-radius: 8px; }
.nav-dd-menu a:hover { background: var(--sage); color: var(--forest); }
.nav-phone { white-space: nowrap; }

.breadcrumbs {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding-inline: clamp(1rem, 4vw, 3.5rem);
  background: #f7faf7;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs.is-home { display: none; }
.breadcrumbs ol { width: min(1120px, 100%); margin: 0 auto; padding: .55rem 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .55rem; list-style: none; color: var(--muted); font-size: .88rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .55rem; }
.breadcrumbs li:not(:last-child)::after { content: '/'; color: #93a097; }
.breadcrumbs a { color: var(--forest); font-weight: 700; text-underline-offset: 3px; }
.breadcrumbs [aria-current='page'] { color: var(--ink); font-weight: 700; }

main { background: var(--white); }
.hero-bleed {
  position: relative;
  isolation: isolate;
  min-height: clamp(500px, 66vh, 680px);
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-bleed::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 31, 21, .93) 0%, rgba(8, 51, 35, .76) 40%, rgba(8, 51, 35, .22) 72%, rgba(8, 51, 35, .08) 100%); }
.hero-inner { width: min(1120px, calc(100% - 2rem)); min-height: inherit; margin-inline: auto; display: flex; align-items: center; padding: clamp(3rem, 8vh, 6rem) 0; }
.hero-panel { width: min(610px, 62%); display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.hero-brand { display: block; margin: 0 0 .1rem; }
.hero-brand img { display: none; }
.hero-brand span { display: block; }
.hero-brand strong { color: var(--white); font: 800 clamp(2.8rem, 6vw, 5.4rem)/.85 var(--display); letter-spacing: -.075em; text-shadow: 0 4px 24px rgba(0,0,0,.18); }
.hero-brand strong span { display: inline; color: var(--lime); }
.hero-brand small { display: none; }
.hero-panel h1 { max-width: 19ch; margin: .25rem 0 0; color: var(--white); font: 800 clamp(2.25rem, 4vw, 3.85rem)/1.02 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.hero-panel .lede { max-width: 44rem; margin: 0; color: rgba(255,255,255,.92); font-size: clamp(1.06rem, 1.6vw, 1.25rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: .35rem; }
.cta, a.cta, .footer-cta, a.footer-cta, .cta.secondary, a.cta.secondary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.3rem;
  color: #173326;
  background: var(--lime);
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  transition: transform .16s ease, filter .16s ease;
}
.cta:hover, a.cta:hover, .footer-cta:hover, a.footer-cta:hover,
.cta.secondary:hover, a.cta.secondary:hover { transform: translateY(-1px); filter: brightness(.97); }
/* Keep white outline variant only when explicitly needed on dark photography */
.cta.on-dark, a.cta.on-dark {
  color: var(--forest);
  background: var(--white);
  border-color: rgba(255,255,255,.5);
}
.phone-pill { display: inline-flex; min-height: 50px; align-items: center; padding: .75rem 1rem; color: var(--white); border: 1px solid rgba(255,255,255,.64); border-radius: 7px; font-weight: 800; text-decoration: none; }

.homeowner-section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}
.homeowner-section + .homeowner-section { border-top: 1px solid #edf1ed; }
.homeowner-copy > .eyebrow,
.substance-guide > .eyebrow,
.section-head .eyebrow {
  display: inline-block;
  margin: 0 0 .65rem;
  color: #557064;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.homeowner-copy > h2,
.substance-guide > h2,
.homeowner-faq > h2,
.homeowner-areas h2,
.section-head h2,
.section h2 {
  max-width: 24ch;
  margin: 0 0 1rem;
  color: var(--forest);
  font: 800 clamp(2rem, 3.6vw, 3.25rem)/1.08 var(--display);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.homeowner-copy > p,
.substance-guide > p,
.guide-lede,
.topic-lead {
  max-width: 760px;
  margin: 0 0 1rem;
  color: #344a3e;
  font-size: 1.08rem;
}

.substance-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.substance-cards.service-teasers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.substance-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
article.substance-card.service-teaser { display: flex; min-height: 230px; flex-direction: column; padding: 1.45rem; border-top: 5px solid var(--lime); }
.service-teaser h3 { margin: 0 0 .7rem; color: var(--forest); font: 800 1.25rem/1.25 var(--display); }
.service-teaser h3 a { color: inherit; text-decoration: none; }
.service-teaser p { margin: 0 0 .9rem; color: #44564c; }
.service-teaser .teaser-link { margin-top: auto; }
.service-teaser .teaser-link a { color: var(--forest); font-weight: 800; text-underline-offset: 3px; }
details.substance-card { overflow: hidden; }
details.substance-card > summary { display: flex; align-items: center; gap: .65rem; padding: 1.1rem 1.2rem; cursor: pointer; list-style: none; color: var(--forest); }
details.substance-card > summary::-webkit-details-marker { display: none; }
details.substance-card > summary h3 { flex: 0 1 auto; max-width: calc(100% - 2.4rem); margin: 0; color: inherit; font: 800 1.12rem/1.3 var(--display); }
details.substance-card > summary::after { content: '+'; flex: 0 0 auto; display: inline-grid; width: 1.55rem; height: 1.55rem; place-items: center; color: var(--forest); background: var(--sage); border: 1px solid #bbcbc0; border-radius: 999px; font: 800 1rem/1 var(--body); }
details.substance-card[open] > summary::after { content: '−'; }
details.substance-card > summary:hover { background: #f8faf8; }
.substance-card-body { padding: 0 1.2rem 1.2rem; border-top: 1px solid #e8eee9; }
.substance-card-body > :first-child { margin-top: .85rem; }
.substance-card-body p, .substance-card-body li { color: #3f5147; }
/* City condition cues are always four expandable cards — keep a 2×2 grid. */
.city-cues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.city-cues details { box-shadow: none; }

.homeowner-points { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 760px; margin: 1.25rem 0 0; padding: 0; list-style: none; pointer-events: none; }
.homeowner-points::before { content: 'Yard clues'; flex-basis: 100%; margin-bottom: .1rem; color: #6b7b71; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.homeowner-points li { display: inline-flex; width: auto; padding: .42rem .7rem; color: #294336; background: var(--sage); border: 1px solid #c9d6cc; border-radius: 999px; font-size: .91rem; font-weight: 650; }
.homeowner-facts { display: grid; max-width: 820px; margin: 1.4rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.homeowner-facts > div { display: grid; grid-template-columns: minmax(150px, .3fr) 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.homeowner-facts dt { color: var(--forest); font-weight: 800; }
.homeowner-facts dd { margin: 0; color: #425349; }
.acreage-callout {
  max-width: 820px;
  width: 100%;
  margin: 1.4rem 0; /* left-align with section copy / facts — do not center in left-rail sections */
  padding: 1.15rem 1.25rem;
  background: #f1f6e4;
  border: 1px solid #cfdb9a;
  border-left: 5px solid var(--lime);
  border-radius: 12px;
  text-align: left;
}
.section-head .acreage-callout {
  margin-inline: auto; /* keep centered only under centered contact heads */
}
.acreage-callout p { margin: 0; color: #2d4738; }
.acreage-callout strong { color: var(--forest); }
.homeowner-link-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.homeowner-link-list a { display: flex; min-height: 100px; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1rem; color: var(--forest); background: var(--white); border: 1px solid var(--line); border-radius: 12px; font: 800 1.04rem/1.3 var(--display); text-decoration: none; box-shadow: var(--shadow-soft); }
.homeowner-link-list a::after { content: '→'; color: #789410; }
.homeowner-link-list a:hover { border-color: #aaba9f; transform: translateY(-1px); }

.homeowner-faq { width: min(920px, calc(100% - 2rem)); }
.faq-list { display: grid; gap: 0; max-width: 820px; margin-top: 1.25rem; border-top: 1px solid var(--line); }
.faq-list details { background: transparent; border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.15rem 2.4rem 1.15rem 0; color: var(--forest); cursor: pointer; font: 800 1.05rem/1.4 var(--display); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: .2rem; top: 1.2rem; color: #789410; font-size: 1.35rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 760px; margin: 0 0 1rem; color: #44554b; }

.homeowner-areas { padding: clamp(3.5rem, 6vw, 5.5rem) 1rem; background: var(--sage); }
.homeowner-areas .homeowner-section { width: min(1120px, 100%); padding: 0; border: 0; }
.homeowner-areas p { max-width: 780px; margin: .25rem 0 1.25rem; color: #405349; }
.homeowner-area-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.homeowner-area-links a { display: inline-flex; min-height: 42px; align-items: center; padding: .5rem .8rem; color: var(--forest); background: var(--white); border: 1px solid #c8d5ca; border-radius: 999px; font-size: .92rem; font-weight: 750; text-decoration: none; }
.homeowner-area-links a:hover { border-color: #9faf9f; background: #fbfdfb; }

.cta-band { width: 100%; max-width: none; margin: 0 !important; padding: clamp(3rem, 6vw, 5rem) max(1rem, calc((100% - 1120px) / 2)); display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; color: var(--white); background: var(--forest); }
.cta-band p { max-width: 760px; margin: 0; color: rgba(255,255,255,.9); font-size: 1.12rem; }
.cta-band .secondary { background: var(--lime); color: #173326; border: 0; }

.section { padding: clamp(4rem, 7vw, 6rem) 0; }
.section-head { max-width: 760px; margin: 0 auto 1.8rem; text-align: center; }
.section-head h2 { max-width: none; }
.section-head p { margin: 0; color: var(--muted); }
.contact-us { background: #f8faf8; }
.cta-panel {
  display: grid;
  justify-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
}
.cta-panel > div:first-child { max-width: 40rem; }
.contact-form.callrail-form {
  display: block;
  width: min(720px, 100%);
  max-width: 720px;
  margin-inline: auto;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: left;
}
.callrail-form [id^='cr-form-'] { display: block; width: 100%; min-height: 360px; }
.callrail-form iframe { display: block; width: 100% !important; min-height: 720px; border: 0; background: var(--white); }
.callrail-form .form-fallback { display: none; margin: 0 0 1rem; padding: 1rem; border: 1px solid #96a8a0; background: #f7faf8; }
.callrail-form.is-fallback .form-fallback { display: block; }
.callrail-form.is-fallback [id^='cr-form-'] { display: none; min-height: 0; }
.quiet-note { max-width: 720px; margin: 1rem auto 0; color: var(--muted); text-align: center; font-size: .92rem; }

.process-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.process-timeline .step { position: relative; padding: 1.35rem; background: var(--sage); border-radius: 14px; }
.process-timeline .step::before { content: ''; display: block; width: 14px; height: 14px; margin-bottom: .8rem; background: var(--lime); border: 4px solid var(--forest); border-radius: 999px; }
.process-timeline h3 { margin: 0 0 .5rem; color: var(--forest); font: 800 1.12rem/1.3 var(--display); }
.process-timeline p { margin: 0; color: #405349; }

.site-footer { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; margin: 0; padding: 2.75rem 1rem 3rem; color: var(--muted); background: var(--white); border-top: 1px solid var(--line); text-align: center; }
.brand-logo--footer { width: auto; height: 44px; max-width: 190px; }
.footer-tagline { max-width: 30rem; margin: 0; }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .65rem 1rem; }
.footer-phone { color: var(--forest); font-weight: 800; text-decoration: none; }
.footer-cta { min-height: 42px; padding: .55rem .9rem; box-shadow: none; }

.sticky-cta { display: none; }
#contact-us { scroll-margin-top: 1rem; }
#contact-us.contact-us,
#contact-us.section {
  display: block;
}
#contact-us .section-head {
  width: min(760px, 100%);
  margin-inline: auto;
}
#contact-us .contact-form.callrail-form,
.contact-us .contact-form.callrail-form,
.section.shell .contact-form.callrail-form {
  margin-inline: auto;
}

@media (max-width: 980px) {
  .site-header { min-height: 68px; padding: .6rem 1rem; }
  .brand-logo--header { height: 42px; }
  .mobile-primary { flex: 0 0 auto; }
  .mobile-menu-toggle { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: .55rem .8rem; color: var(--forest); background: var(--white); border: 1px solid var(--forest); border-radius: 6px; font: 800 .9rem/1 var(--body); cursor: pointer; }
  .mobile-primary > nav { position: absolute; z-index: 70; top: 100%; right: .75rem; left: .75rem; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .65rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
  .mobile-primary[data-open='true'] > nav { display: flex; }
  nav[data-component='navigation'] > a,
  .nav-dd > summary { width: 100%; min-height: 44px; padding: .6rem .7rem; border: 0; }
  .nav-dd { display: block; width: 100%; }
  .nav-dd-menu { position: static; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); min-width: 0; padding: .25rem 0 .5rem 1rem; border: 0; box-shadow: none; }
  .nav-dd-menu a { padding: .5rem; }
  .hero-panel { width: min(680px, 78%); }
  .substance-cards.service-teasers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .breadcrumbs { min-height: 40px; padding-inline: 1rem; }
  .hero-bleed { min-height: min(560px, 74svh); }
  .hero-bleed::before { background: linear-gradient(180deg, rgba(4,31,21,.12) 0 24%, rgba(4,31,21,.64) 54%, rgba(4,31,21,.96) 100%); }
  .hero-bg { object-position: 58% 50%; }
  .hero-inner { align-items: flex-end; padding: 3rem 0 2.2rem; }
  .hero-panel { width: 100%; gap: .7rem; }
  .hero-brand strong { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-panel h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-panel .lede { font-size: .98rem; }
  .phone-pill { display: none; }
  .homeowner-section { padding: 3.4rem 0; }
  .homeowner-copy > h2,
  .substance-guide > h2,
  .homeowner-faq > h2,
  .homeowner-areas h2,
  .section-head h2,
  .section h2 { font-size: clamp(1.85rem, 8vw, 2.55rem); }
  .substance-cards,
  .substance-cards.service-teasers,
  .city-cues,
  .homeowner-link-list,
  .process-timeline { grid-template-columns: 1fr; }
  article.substance-card.service-teaser { min-height: 0; }
  .homeowner-facts > div { grid-template-columns: 1fr; gap: .25rem; }
  .homeowner-areas { padding: 3.2rem 1rem; }
  .cta-band { padding: 3rem 1rem; }
  .section { padding: 3.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
