/* ==========================================================================
   ArborCircle Home Care — site stylesheet
   Palette: deep greens + warm cream/ivory + soft gold accents
   Zero external dependencies. System fonts only.
   ========================================================================== */

:root {
  --green-950: #0f2b21;
  --green-900: #14352a;
  --green-800: #1c4233;
  --green-700: #234d3b;
  --green-600: #2c5c46;
  --green-100: #dce8df;
  --cream: #faf7f0;
  --cream-2: #f3edde;
  --ivory: #fffdf8;
  --gold: #c9a15a;
  --gold-dark: #a8813f;
  --gold-soft: #e9d9b8;
  --ink: #2a322c;
  --muted: #5d6b62;
  --line: #e4dccb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 53, 42, 0.08);
  --font-head: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--green-900);
  line-height: 1.22;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.05rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1em; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }

.container {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 78px 0; }
.section.alt { background: var(--ivory); }
.section.tint { background: var(--cream-2); }

section[id], div[id] { scroll-margin-top: 130px; }

.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head p { color: var(--muted); font-size: 1.06rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.7rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(180deg, #d5ae68, #bd9350);
  color: #2c2413;
  box-shadow: 0 6px 18px rgba(168, 129, 63, 0.35);
}
.btn-gold:hover { color: #1f1a0d; box-shadow: 0 8px 22px rgba(168, 129, 63, 0.45); }

.btn-ghost {
  border-color: rgba(255, 253, 246, 0.6);
  color: #fffdf6;
}
.btn-ghost:hover { background: rgba(255, 253, 246, 0.12); color: #fff; }

.btn-green {
  background: var(--green-700);
  color: var(--cream);
  box-shadow: 0 6px 18px rgba(20, 53, 42, 0.22);
}
.btn-green:hover { background: var(--green-800); color: #fff; }

.btn-outline {
  border-color: var(--green-700);
  color: var(--green-700);
}
.btn-outline:hover { background: var(--green-700); color: var(--cream); }

/* Phone CTA button inside main nav — keeps .btn look where .nav a
   defaults would otherwise override padding, radius, and color */
.nav a.btn { padding: 0.55rem 1.25rem; border-radius: 999px; font-size: 0.9rem; margin-left: 6px; }
.nav a.btn-gold, .nav a.btn-gold:visited { color: #2c2413; }
.nav a.btn-gold:hover {
  background: linear-gradient(180deg, #d5ae68, #bd9350);
  color: #1f1a0d;
  box-shadow: 0 8px 22px rgba(168, 129, 63, 0.45);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-900);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--green-950);
  color: rgba(250, 247, 240, 0.92);
  font-size: 0.84rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar a { color: var(--gold-soft); font-weight: 700; text-decoration: none; }
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(20, 53, 42, 0.06);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-svg { width: 46px; height: 46px; }
.logo-ring { fill: none; stroke: var(--gold); stroke-width: 2.6; }
.logo-canopy { fill: var(--green-700); }
.logo-trunk, .logo-branch {
  fill: none;
  stroke: var(--green-800);
  stroke-width: 2.6;
  stroke-linecap: round;
}
.brand-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--green-900);
  line-height: 1.1;
}
.brand-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  padding: 0.5rem 0.72rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--green-800);
  text-decoration: none;
}
.nav a:hover { background: var(--cream-2); color: var(--green-900); }
.nav a.active { background: var(--green-800); color: var(--cream); }

.nav-toggle { display: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2.4px;
  border-radius: 2px;
  background: var(--green-800);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

@media (max-width: 1023px) {
  .nav-burger { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -24px;
    right: -24px;
    background: var(--ivory);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(20, 53, 42, 0.14);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 24px 20px;
    gap: 4px;
  }
  .nav a { padding: 0.7rem 0.9rem; font-size: 1rem; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }
  .topbar-inner { justify-content: center; }
  .topbar-note { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background:
    repeating-radial-gradient(circle at 92% -12%, rgba(244, 238, 225, 0.05) 0 2px, transparent 2px 64px),
    radial-gradient(circle at 88% 14%, rgba(201, 161, 90, 0.16), transparent 44%),
    radial-gradient(circle at 6% 96%, rgba(44, 92, 70, 0.5), transparent 52%),
    linear-gradient(133deg, var(--green-900) 0%, var(--green-700) 58%, #2f6a50 100%);
  color: var(--cream);
  padding: 86px 0 92px;
}
.hero-inner { max-width: 860px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fffdf6; margin-bottom: 0.5em; }
.hero .lede {
  font-size: 1.14rem;
  line-height: 1.7;
  color: rgba(250, 247, 240, 0.93);
  max-width: 780px;
  margin-bottom: 1.8rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-checks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px 30px;
  margin: 2.4rem 0 0;
  padding: 0;
  max-width: 860px;
}
.hero-checks li {
  position: relative;
  padding-left: 1.9rem;
  color: rgba(250, 247, 240, 0.95);
  font-size: 0.99rem;
}
.hero-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ==========================================================================
   Cards, lists, callouts
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.card-grid.narrow { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.card h3, .card h4 { margin-bottom: 0.45rem; }
.card p { color: var(--muted); margin-bottom: 0.8rem; }
.card p:last-child { margin-bottom: 0; }
.card .card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.93rem;
  text-decoration: none;
  color: var(--gold-dark);
}
.card .card-link:hover { color: var(--green-700); }

.icon-tile {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--cream-2);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile svg * { stroke: currentColor; }

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ticks li {
  position: relative;
  padding: 0.32rem 0 0.32rem 2rem;
  margin: 0;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.32rem;
  color: var(--gold-dark);
  font-weight: 700;
}

.callout {
  background: var(--cream-2);
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  padding: 26px 30px;
  margin: 0;
}
.callout h3 { margin-top: 0; }

.notice {
  background: #fdf6e7;
  border: 1px solid var(--gold-soft);
  border-left: 5px solid var(--gold-dark);
  border-radius: 12px;
  padding: 26px 30px;
}
.notice h3 { color: #7a5c1e; margin-top: 0; }
.notice p:last-child, .callout p:last-child { margin-bottom: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}
.two-col.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 880px) {
  .two-col, .two-col.even { grid-template-columns: 1fr; gap: 30px; }
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 1.45rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}
.step-card h3 { margin-bottom: 0.4rem; }
.step-card p { color: var(--muted); margin-bottom: 0; }

/* Values / mini cards */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
}
.mini h4 { margin: 0 0 0.3rem; color: var(--green-800); }
.mini p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* County cards */
.county-card { text-align: left; }

/* Related services */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.related-grid a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 16px 18px;
  text-decoration: none;
  font-weight: 700;
  color: var(--green-800);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.related-grid a:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--green-900); }
.related-grid a span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 2px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 860px; margin: 0 auto; }
details.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 58px 19px 24px;
  font-weight: 700;
  color: var(--green-800);
  font-size: 1.03rem;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold-dark);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}
details.faq[open] summary::after { content: "–"; }
details.faq[open] summary { border-bottom: 1px solid var(--line); }
.faq-body { padding: 18px 24px 20px; color: var(--ink); }
.faq-body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Forms & contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 34px 30px;
}
.form-note {
  background: var(--cream-2);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--green-900);
}
.field .req { color: #b0562d; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--ivory);
  font: inherit;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(44, 92, 70, 0.15);
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--muted);
}
.consent-row input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }

.form-foot { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); }

.form-confirm {
  margin-top: 22px;
  background: #eef5ee;
  border: 1px solid #bcd7bd;
  border-left: 5px solid var(--green-600);
  border-radius: 10px;
  padding: 18px 20px;
  color: var(--green-900);
}
.form-confirm p:last-child { margin-bottom: 0; }

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.info-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin: 0 0 6px;
}
.info-card p { margin: 0; color: var(--ink); font-size: 0.98rem; }
.info-card a { font-weight: 700; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background:
    repeating-radial-gradient(circle at 8% 10%, rgba(244, 238, 225, 0.05) 0 2px, transparent 2px 60px),
    radial-gradient(circle at 12% 88%, rgba(201, 161, 90, 0.18), transparent 46%),
    linear-gradient(133deg, var(--green-950), var(--green-800) 70%);
  color: var(--cream);
  padding: 74px 0;
  text-align: center;
}
.cta-band h2 { color: #fffdf6; }
.cta-band p {
  max-width: 680px;
  margin: 0 auto 1.7rem;
  color: rgba(250, 247, 240, 0.92);
  font-size: 1.08rem;
}
.cta-band .hero-ctas { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--green-950);
  color: rgba(250, 247, 240, 0.85);
  font-size: 0.95rem;
}
.footer a { color: rgba(250, 247, 240, 0.85); text-decoration: none; }
.footer a:hover { color: var(--gold-soft); }
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
  gap: 38px;
  padding: 60px 0 46px;
}
.footer .logo-svg { width: 42px; height: 42px; }
.footer .logo-canopy { fill: #f0e8d2; }
.footer .logo-trunk, .footer .logo-branch { stroke: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand .brand-name { color: #fffdf6; }
.footer h4 {
  color: var(--gold);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 9px; }
.footer .contact-line { margin: 0 0 10px; }
.footer .tagline { color: var(--gold-soft); font-style: italic; font-family: var(--font-head); }

.footer-notices {
  border-top: 1px solid rgba(250, 247, 240, 0.14);
  padding: 26px 0 10px;
  font-size: 0.8rem;
  color: rgba(250, 247, 240, 0.62);
  line-height: 1.6;
}
.footer-notices p { margin: 0 0 10px; }
.footer-bottom {
  border-top: 1px solid rgba(250, 247, 240, 0.14);
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

/* Focus visibility */
a:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, label:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Utility */
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.center { text-align: center; }
[hidden] { display: none !important; }
