/* =========================================================================
   EVERETT TREE REMOVAL — global styles
   Palette: deep forest green (#2D5A3D) on warm mist cream, rust-amber CTA
   Type: Fraunces (display) / Inter (body)
   ========================================================================= */

:root {
  --accent: #8B4513;
  --accent-dark: #5C2D0A;
  --accent-light: #F5EDE8;
  --bg: #FAF9F7;
  --bg-alt: #EEF1F4;
  --ink: #1E2530;
  --ink-soft: #47535F;
  --border: #D3DAE1;
  --call: #B5651D;
  --call-dark: #8F4F16;
  --white: #FFFFFF;
  --radius: 10px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--accent-dark); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; }

.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--accent-dark); color: white; padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 10px 18px; border-radius: var(--radius);
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-call { background: var(--call); color: white; }
.btn-call:hover { background: var(--call-dark); }
.btn-text { background: var(--accent); color: white; }
.btn-text:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline:hover { background: var(--accent-light); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px; gap: 16px; flex-wrap: wrap;
  position: relative;
}
.brand-block { display: flex; flex-direction: column; gap: 1px; }
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  color: var(--accent-dark) !important; text-decoration: none !important;
  line-height: 1.1;
}
.brand-phone {
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  color: var(--call) !important; text-decoration: none !important;
  letter-spacing: 0.01em;
}
.brand-phone:hover { color: var(--call-dark) !important; text-decoration: none !important; }
.main-nav { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.main-nav > a {
  color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: 6px;
}
.main-nav > a:hover { color: var(--accent-dark); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Dropdown trigger (Services / Locations) */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  color: var(--ink); background: none; border: none; cursor: pointer;
  padding: 8px 10px; border-radius: 6px;
}
.nav-dropdown-trigger:hover { color: var(--accent-dark); }
.nav-dropdown-trigger .caret { font-size: 0.65em; margin-top: 2px; }

.dropdown-menu {
  display: none;
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 220px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 12px 28px rgba(34,39,31,0.12);
  z-index: 200;
}
.dropdown-menu li a {
  display: block; padding: 9px 12px; border-radius: 6px;
  color: var(--ink); font-weight: 500; text-decoration: none; font-size: 0.95rem;
}
.dropdown-menu li a:hover { background: var(--accent-light); color: var(--accent-dark); }

/* Show dropdown on hover, keyboard focus, or JS-toggled click state */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  display: block;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  width: 32px; height: 26px; position: relative;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: var(--accent-dark); border-radius: 2px;
}
.nav-toggle-bars { top: 12px; }
.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { top: 8px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .header-actions .btn { padding: 9px 12px; font-size: 0.85rem; }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 10px 24px 18px;
    box-shadow: 0 12px 28px rgba(34,39,31,0.10);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 12px 4px; border-bottom: 1px solid var(--border); border-radius: 0; }

  /* On mobile, dropdowns behave as inline accordions, not floating panels */
  .nav-dropdown { border-bottom: 1px solid var(--border); }
  .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 12px 4px; }
  .dropdown-menu {
    position: static; display: none; box-shadow: none; border: none;
    padding: 0 0 8px 12px; min-width: 0;
  }
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: none; /* no hover on touch; rely on tap-toggle only */
  }
  .nav-dropdown.is-open .dropdown-menu { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at top right, var(--accent-light) 0%, transparent 60%),
    var(--bg);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 760px; }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-light);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 620px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent-dark);
  color: white;
  padding: 40px 0;
}
.cta-band--compact { padding: 26px 0; }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-band-text { max-width: 460px; }
.cta-heading { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: white; margin-bottom: 4px; }
.cta-band-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band .btn-outline { border-color: white; color: white; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.card h3 { margin-bottom: 4px; }
.card p { color: var(--ink-soft); margin-bottom: 12px; flex-grow: 1; }
.card-link { font-weight: 600; color: var(--accent-dark); }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pill {
  background: var(--accent-light); color: var(--accent-dark);
  font-size: 0.85rem; font-weight: 500; padding: 5px 12px; border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--ink); font-family: var(--font-body); font-weight: 700; }
.faq-item p { margin: 0; color: var(--ink-soft); }

/* ---------- Service / location hero pages ---------- */
.page-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-soft); }
.prose { max-width: 720px; }
.prose p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Homepage form section ---------- */
.home-form-section { padding-top: 32px; padding-bottom: 48px; }
.home-form-wrap {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.home-form-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-dark);
  text-align: center;
  margin-bottom: 20px;
}
.home-form-wrap .lead-form { text-align: left; max-width: 100%; }

/* ---------- Form ---------- */
.lead-form {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; max-width: 640px;
}
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-row label { font-weight: 600; font-size: 0.9rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; min-width: 0; max-width: 100%;
  font-family: var(--font-body); font-size: 1rem; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--bg);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0; }
.form-two-col > .form-row { min-width: 0; }
@media (max-width: 560px) { .form-two-col { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; }
.contact-alt {
  background: var(--accent-light); border-radius: 14px; padding: 24px; margin-top: 24px;
}

.disclosure-callout {
  margin: 20px 0;
  padding: 18px 22px;
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--ink-soft);
}
.disclosure-callout .callout-label {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--accent-dark); color: #DCE7DE; padding: 48px 0 28px; margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: white; margin-bottom: 10px; }
.footer-contact { margin: 0 0 6px; color: #C7D8CB; font-size: 0.92rem; }
.footer-contact a { color: white; }
.footer-contact-note { color: #93AB98; margin-left: 6px; }
.footer-contact-note a { color: #C7D8CB; }
.footer-heading { color: white; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #C7D8CB; font-size: 0.92rem; }
.footer-links a:hover { color: white; }
.disclosure {
  border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; margin-top: 8px;
  font-size: 0.82rem; color: #A9BFAE; max-width: 900px; line-height: 1.6;
}
.copyright { font-size: 0.8rem; color: #93AB98; margin-top: 14px; margin-bottom: 0; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* Trust-stat strip (Twin Falls homepage) */
.trust-strip-section { padding-top: 0; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  background: var(--accent-light);
}
.trust-stat { display: flex; flex-direction: column; gap: 0.35rem; text-align: center; }
.trust-stat-num { font-size: 1.75rem; font-weight: 700; color: var(--accent-dark); line-height: 1.1; }
.trust-stat-label { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.35; }
@media (max-width: 768px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (max-width: 460px) {
  .trust-strip { grid-template-columns: 1fr; }
}
