/* Huntsville Tree Removal Pros — site styles
   Mobile-first. Self-hosted fonts. No third-party CSS. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
}

:root {
  --forest: #143328;
  --forest-dark: #0b1c15;
  --forest-mid: #1e4d3a;
  --leaf: #3d7a56;
  --leaf-light: #4f9a6c;
  --cream: #f4efe6;
  --cream-2: #e8e0d1;
  --paper: #fbfaf6;
  --ink: #1a1916;
  --muted: #5b564c;
  --line: #d9d1c3;
  --amber: #c4963c;
  --amber-2: #e8c56b;
  --white: #fff;
  --danger: #8b2e2e;
  --danger-bg: #f8ecec;
  --shadow: 0 12px 32px rgba(20, 51, 40, 0.12);
  --radius: 14px;
  --header-h: 4.15rem;
  --max: 72rem;
  --narrow: 42rem;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--leaf);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-mid); }
a:hover { color: var(--leaf); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--forest-dark);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--white);
  color: var(--forest);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 200;
  font-weight: 600;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.wrap-narrow { width: min(100% - 2rem, var(--narrow)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--forest-dark);
  min-width: 0;
  margin-right: auto;
}
.logo-mark { width: 2.15rem; height: 2.15rem; flex: 0 0 auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.logo-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo-tag {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  color: var(--forest);
}
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.icon-close { display: none; }

.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem;
  box-shadow: var(--shadow);
}
.nav.is-open { display: block; }
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.nav a {
  display: block;
  padding: 0.7rem 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--cream); color: var(--forest); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { color: var(--white); }
.btn-primary { background: var(--amber); color: var(--forest-dark); border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-2); color: var(--forest-dark); }
.btn-light { background: var(--white); color: var(--forest); border-color: var(--white); }
.btn-light:hover { background: var(--cream); color: var(--forest-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest-mid); }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-danger:hover { background: #6e2323; color: var(--white); }
.btn-phone {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  flex-direction: column;
  gap: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  line-height: 1.15;
}
.btn-phone:hover { background: var(--forest-mid); color: var(--white); }
.btn-phone-label { font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; opacity: 0.85; }
.btn-phone-number { font-size: 0.82rem; font-weight: 700; font-variant-ligatures: none; }
.header-phone { flex: 0 0 auto; }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  min-height: 34rem;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--forest-dark);
}
.hero-media, .hero-media img, .hero-media picture, .hero-media source {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; object-position: center 40%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,28,21,0.25) 0%, rgba(11,28,21,0.55) 45%, rgba(11,28,21,0.88) 100%),
    linear-gradient(90deg, rgba(11,28,21,0.45), transparent 55%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 2.75rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-2);
  margin-bottom: 0.75rem;
}
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lede {
  font-size: 1.12rem;
  max-width: 38rem;
  color: rgba(255,255,255,0.9);
  margin: 0.4rem 0 1.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.page-hero {
  background: var(--forest);
  color: var(--white);
  padding: 3.2rem 0 2.4rem;
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(255,255,255,0.88); max-width: 40rem; }
.page-hero .eyebrow { color: var(--amber-2); }
.crumbs {
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.crumbs a { color: var(--amber-2); }
.crumbs a:hover { color: var(--white); }

/* Notice / honesty */
.notice {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-2);
  padding: 0.9rem 0;
  font-size: 0.98rem;
  color: var(--forest);
}
.notice p { margin: 0; }
.notice strong { font-weight: 700; }

/* Sections */
section { padding: 3.25rem 0; }
.section-head { max-width: 40rem; margin-bottom: 1.75rem; }
.section-head p { color: var(--muted); }
.alt { background: var(--cream); }
.forest-band {
  background: var(--forest);
  color: var(--white);
}
.forest-band h2, .forest-band h3 { color: var(--white); }
.forest-band p, .forest-band li { color: rgba(255,255,255,0.88); }
.forest-band a { color: var(--amber-2); }
.forest-band a:hover { color: var(--white); }

/* Cards / grids */
.grid-4, .grid-3, .grid-2, .areas-grid, .steps {
  display: grid;
  gap: 1rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3, .grid-4, .areas-grid, .steps { grid-template-columns: 1fr; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(20,51,40,0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
a.card:hover { border-color: var(--leaf); box-shadow: var(--shadow); color: inherit; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--cream-2); }
.card-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); font-size: 0.98rem; }
.card-link { margin-top: auto; padding-top: 0.6rem; font-weight: 700; color: var(--forest-mid); }

.area-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  text-decoration: none;
  color: inherit;
}
.area-card:hover { border-color: var(--leaf); color: inherit; box-shadow: var(--shadow); }
.area-card h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.area-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.area-card .more { font-weight: 700; color: var(--forest-mid); font-size: 0.92rem; margin-top: 0.45rem; display: inline-block; }

.steps article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid var(--line);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.split figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* FAQ */
.faq { display: grid; gap: 0.6rem; max-width: 48rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.15rem 0.2rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 1rem;
  list-style: none;
  color: var(--forest-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  font-weight: 600;
  color: var(--leaf);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1rem 1rem; color: var(--muted); }

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.form-card h2 { margin-bottom: 0.35rem; }
.form-intro { color: var(--muted); margin-bottom: 1.1rem; }
.form-grid {
  display: grid;
  gap: 0.85rem;
}
.form-row { display: grid; gap: 0.85rem; }
label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.3rem; color: var(--forest-dark); }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--leaf-light);
  outline-offset: 1px;
  border-color: var(--leaf);
  background: var(--white);
}
textarea { min-height: 7.5rem; resize: vertical; }
.req { color: var(--danger); }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
}
.consent input { width: auto; margin-top: 0.25rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-top: 0.4rem; }
.form-note { font-size: 0.88rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.86);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}
.site-footer a { color: var(--amber-2); }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  gap: 1.5rem;
}
.site-footer h2 {
  color: var(--white);
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
  letter-spacing: 0;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.35rem; }
.legal {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}
.legal p { margin: 0 0 0.5rem; }
.credits { font-size: 0.82rem; opacity: 0.85; }

/* Article pages */
.prose { max-width: 42rem; }
.prose h2 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.3rem 0; }
.lead-img { margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; }
.lead-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.caption { font-size: 0.85rem; color: var(--muted); padding: 0.45rem 0 0; }

.cta-band {
  background: var(--cream);
  border-top: 1px solid var(--cream-2);
  padding: 2.5rem 0;
}
.cta-band .cta-inner { display: flex; flex-direction: column; gap: 1rem; }
.todo-note {
  font-size: 0.8rem;
  color: var(--muted);
  background: #fff6d8;
  border: 1px dashed var(--amber);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  display: inline-block;
  margin-top: 0.5rem;
}

.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--leaf);
}

.thankyou { padding: 4.5rem 0 5rem; text-align: center; }
.thankyou h1 { margin-bottom: 0.6rem; }

/* Utilities */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (min-width: 700px) {
  .grid-2, .form-row, .split, .cta-band .cta-inner, .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .steps { grid-template-columns: repeat(3, 1fr); }
  .grid-4, .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 1.75rem 1.8rem; }
  .hero { min-height: 38rem; }
  .cta-band .cta-inner { align-items: center; justify-content: space-between; display: grid; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .nav ul { flex-direction: row; align-items: center; gap: 0.15rem; }
  .nav a { padding: 0.45rem 0.7rem; }
  .grid-4, .areas-grid { grid-template-columns: repeat(4, 1fr); }
  .areas-grid.areas-home { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .hero-inner { padding: 8rem 0 3.4rem; }
  .logo-name { font-size: 1.05rem; }
}

@media (max-width: 560px) {
  .logo-place { display: none; }
  .logo-name { font-size: 0.92rem; }
  .btn-phone-number { font-size: 0.72rem; }
}

.form-wrap { max-width: 48rem; }
.mt-md { margin-top: 1.1rem; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 2rem; }
.actions-center { justify-content: center; margin-top: 1.5rem; }
