/* ==========================================================================
   Maryland Stump Removal Pros — Global Styles
   Single stylesheet for the whole static site. Mobile-first, no frameworks.
   ========================================================================== */

:root {
  --green: #2f6b3c;
  --green-dark: #235030;
  --green-light: #e7f0e6;
  --bark: #4a3526;
  --sand: #f5f1e8;
  --sand-dark: #ece4d3;
  --orange: #e8741e;
  --orange-dark: #cc6210;
  --ink: #25201b;
  --muted: #5d564d;
  --white: #ffffff;
  --line: #e2dccd;
  --shadow: 0 4px 14px rgba(37, 32, 27, 0.08);
  --shadow-lg: 0 12px 34px rgba(37, 32, 27, 0.14);
  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--bark); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
p { margin: 0 0 1rem; color: var(--muted); }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: .4rem; color: var(--muted); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.section--sand { background: var(--sand); }
.section--green { background: var(--green); }
.section--green h2, .section--green h3, .section--green p, .section--green li { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--green); margin-bottom: .6rem; }
.section--green .eyebrow { color: #cfe6cd; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1.05rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--call { background: var(--orange); color: #fff; box-shadow: var(--shadow); }
.btn--call:hover { background: var(--orange-dark); color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--white { background: #fff; color: var(--green); }
.btn--white:hover { background: var(--sand); color: var(--green-dark); }
.btn--lg { font-size: 1.15rem; padding: 17px 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Header / Nav ---------- */
.topbar { background: var(--bark); color: #fff; font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #ffd9b8; font-weight: 700; }
.topbar .topbar__msg { color: #e9e2d6; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--bark); font-size: 1.18rem; text-decoration: none; line-height: 1.1; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: 0 0 40px; }
.brand small { display: block; font-size: .72rem; color: var(--green); font-weight: 700; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--bark); font-weight: 600; font-size: 1rem; }
.nav a:hover { color: var(--green); text-decoration: none; }
.nav .btn--call { color: #fff; font-size: .98rem; padding: 11px 18px; }
.nav .btn--call:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--bark); border-radius: 2px; margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; background:
    radial-gradient(circle at 80% 20%, rgba(232,116,30,.12), transparent 45%),
    linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image:
    radial-gradient(rgba(255,255,255,.06) 2px, transparent 2px);
  background-size: 28px 28px; opacity: .5; pointer-events: none; }
.hero .container { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: #eef5ec; font-size: 1.2rem; max-width: 56ch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 26px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .98rem; }
.hero__badge svg { flex: 0 0 auto; }

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

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .4rem; }
.card p { margin-bottom: .8rem; }
.card .card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--green-light); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card a.card__link { font-weight: 700; }
.card a.card__link::after { content: " →"; }

/* feature list with check icons */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: .7rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat; }
.section--green .checks li::before { background-color: var(--orange); }

/* city / link chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 0; }
.chips li { margin: 0; }
.chips a { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-weight: 600; color: var(--bark); }
.chips a:hover { background: var(--green); color: #fff; border-color: var(--green); text-decoration: none; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { position: relative; padding-left: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; text-align: center; }
.stat { background: rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px 12px; }
.stat__num { font-size: 2rem; font-weight: 800; color: #fff; }
.stat__label { color: #e3efe1; font-size: .92rem; }

/* testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.quote__stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; font-size: 1.05rem; }
.quote p { font-style: italic; color: var(--ink); }
.quote__author { font-weight: 700; color: var(--bark); font-style: normal; }
.quote__loc { color: var(--green); font-weight: 600; font-size: .92rem; }

/* FAQ accordion (details/summary, no JS needed) */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--bark); list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq .faq__body { padding: 0 22px 18px; }
.faq .faq__body p { margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff3ea; }
.cta-band .btn--white { font-size: 1.3rem; }

/* prose blocks on detail pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; color: var(--green-dark); }
.prose ul { padding-left: 1.2rem; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.sidebar { background: var(--sand); border-radius: var(--radius-lg); padding: 26px; position: sticky; top: 90px; }
.sidebar h3 { margin-top: 0; }

/* breadcrumb */
.crumbs { font-size: .9rem; color: var(--muted); padding: 14px 0; }
.crumbs a { color: var(--green); }
.crumbs span { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bark); color: #e9e2d6; padding: 54px 0 0; }
.site-footer a { color: #e9e2d6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-brand p { color: #c9c0b2; }
.footer-call { display: inline-flex; align-items: center; gap: 8px; font-size: 1.4rem; font-weight: 800; color: #fff; margin: 6px 0 8px; }
.footer-call:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 20px 0; font-size: .85rem; color: #b8af9f; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-callbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: none;
  grid-template-columns: 1fr 1fr; gap: 0; box-shadow: 0 -4px 18px rgba(0,0,0,.18); }
.mobile-callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; font-weight: 800; color: #fff; font-size: 1.05rem; }
.mobile-callbar a:hover { text-decoration: none; }
.mobile-callbar .mc-call { background: var(--orange); }
.mobile-callbar .mc-text { background: var(--green); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 80px 22px 22px; box-shadow: var(--shadow-lg); transform: translateX(100%);
    transition: transform .25s ease; z-index: 55; }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
  .nav .btn--call { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: block; z-index: 56; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .topbar { display: none; }
  .mobile-callbar { display: grid; }
  body { padding-bottom: 56px; } /* room for call bar */
  .grid--2 { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .hero .container { padding-top: 48px; padding-bottom: 52px; }
}
@media (max-width: 480px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* nav scrim */
.nav-scrim { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 54; }
.nav-scrim.open { display: block; }
