/* ==========================================================================
   Edmond Elite Tree Service — Design Tokens & Base
   ========================================================================== */

:root {
  /* ---- Color: named after the trade's own materials ---- */
  --canopy: #16281d;        /* deep forest green — darkest surface */
  --canopy-light: #24402c;  /* lighter green for gradients / hover on dark */
  --heartwood: #b85c2c;     /* burnt-orange cut-oak accent — primary CTA */
  --heartwood-dark: #96481f;/* CTA hover/active */
  --sapwood: #f6f1e6;       /* warm cream page background */
  --sapwood-alt: #efe6d2;   /* deeper cream for alternating sections */
  --surface: #fffdf9;       /* raised card surface */
  --bark: #2a2420;          /* body text — warm near-black */
  --bark-soft: #55493f;     /* secondary/muted text */
  --moss: #5c7052;          /* secondary green accent */
  --moss-light: #eef1e8;    /* tint background for moss badges */
  --alert: #a83b22;         /* storm / emergency rust-red */
  --alert-light: #f6e6df;   /* tint background for alert badges */
  --hairline: rgba(42, 36, 32, 0.12);
  --hairline-on-dark: rgba(246, 241, 230, 0.16);

  /* ---- Type ---- */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Layout ---- */
  --max-width: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* ---- Shadows: layered, color-tinted ---- */
  --shadow-sm: 0 1px 2px rgba(22, 40, 29, 0.08), 0 1px 1px rgba(22, 40, 29, 0.04);
  --shadow-md: 0 6px 16px -4px rgba(22, 40, 29, 0.16), 0 2px 6px -2px rgba(22, 40, 29, 0.1);
  --shadow-lg: 0 20px 40px -12px rgba(22, 40, 29, 0.28), 0 8px 16px -8px rgba(22, 40, 29, 0.16);
  --shadow-cta: 0 10px 24px -8px rgba(184, 92, 44, 0.45), 0 2px 6px -2px rgba(184, 92, 44, 0.3);

  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---- Reset ---- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--bark);
  background: var(--sapwood);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--canopy); }
p { margin: 0; }

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

:focus-visible {
  outline: 3px solid var(--heartwood);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--canopy);
  color: var(--sapwood);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.2s var(--ease-spring);
}
.skip-link:focus { top: 1rem; }

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--tilt { transform: rotate(-30deg); }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Tree-ring signature texture — used sparingly on dark (canopy) surfaces only */
.ring-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ring-texture::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 60rem;
  height: 60rem;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at center,
      transparent 0,
      transparent 22px,
      rgba(246, 241, 230, 0.05) 22px,
      rgba(246, 241, 230, 0.05) 24px
    );
}
.ring-texture::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -20%;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at center,
      transparent 0,
      transparent 16px,
      rgba(246, 241, 230, 0.04) 16px,
      rgba(246, 241, 230, 0.04) 17.5px
    );
}

/* ---- Eyebrow / section labels ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heartwood);
}
.eyebrow--on-dark { color: #e8a273; }
.eyebrow--moss { color: var(--moss); }

.section-head {
  max-width: 44rem;
  margin-bottom: 2.75rem;
}
.section-head h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 0.5rem;
}
.section-head p {
  margin-top: 0.9rem;
  color: var(--bark-soft);
  font-size: 1.0625rem;
}

section { padding-block: clamp(3.5rem, 3rem + 2vw, 6rem); }
.section-alt { background: var(--sapwood-alt); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--canopy);
  min-width: 0;
}
.logo-mark {
  height: 2.6rem;
  width: auto;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
@media (min-width: 901px) {
  .logo { flex-shrink: 0; white-space: nowrap; }
}
.logo strong {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.logo strong span { color: var(--heartwood); }
.logo small {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
}

/* Footer: full logo lockup, recolored white — the artwork's dark green is
   nearly invisible against the dark footer background otherwise. */
.logo-full {
  height: 4.75rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-shrink: 0;
}
.main-nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bark);
  position: relative;
  padding-block: 0.25rem;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--heartwood);
  transition: right 0.25s var(--ease-spring);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header-phone {
  gap: 0.5rem;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--canopy);
  padding: 0.4rem;
  cursor: pointer;
  font-size: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring), background 0.2s var(--ease-spring), color 0.2s var(--ease-spring);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--heartwood);
  color: #fff8f2;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { background: var(--heartwood-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--primary:focus-visible { outline-color: var(--sapwood); }

.btn--ghost-dark {
  background: transparent;
  border-color: var(--hairline-on-dark);
  color: var(--sapwood);
}
.btn--ghost-dark:hover { background: rgba(246, 241, 230, 0.1); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  border-color: var(--canopy);
  color: var(--canopy);
}
.btn--outline:hover { background: var(--canopy); color: var(--sapwood); transform: translateY(-2px); }

.btn--alert {
  background: var(--alert);
  color: #fff8f2;
  box-shadow: 0 10px 24px -8px rgba(168, 59, 34, 0.5);
}
.btn--alert:hover { background: #8c3019; transform: translateY(-2px); }

.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.0625rem; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  /* EDIT HERO PHOTO HERE — images/edmond-elite-tree-service-hero.webp */
  background: var(--canopy) url("../images/edmond-elite-tree-service-hero.webp") center 35% / cover no-repeat;
  color: var(--sapwood);
  overflow: hidden;
  padding-block: clamp(3.5rem, 3rem + 4vw, 6.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--canopy);
  mix-blend-mode: multiply;
  opacity: 0.5;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(10, 18, 13, 0.94) 0%, rgba(10, 18, 13, 0.84) 42%, rgba(10, 18, 13, 0.55) 68%, rgba(10, 18, 13, 0.28) 100%),
    linear-gradient(to top, rgba(10, 18, 13, 0.55) 0%, rgba(10, 18, 13, 0) 30%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 3vw, 4rem);
  align-items: center;
}
.hero-content h1 {
  color: var(--sapwood);
  font-size: clamp(2.25rem, 1.7rem + 2.6vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-top: 0.9rem;
}
.hero-lede {
  margin-top: 1.4rem;
  font-size: 1.125rem;
  color: rgba(246, 241, 230, 0.86);
  max-width: 42rem;
  line-height: 1.7;
}
.hero-cta-line {
  margin-top: 1.6rem;
  font-weight: 700;
  font-size: 1.0625rem;
  color: #f3d7c4;
}
.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-badges {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(246, 241, 230, 0.85);
}
.hero-badge .icon { color: var(--heartwood); font-size: 1.1rem; }

.hero-form-wrap {
  max-width: 27rem;
  margin-left: auto;
  width: 100%;
}
.hero-form-wrap .contact-form { padding: clamp(1.5rem, 2vw, 2rem); }
.hero-form-title {
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--canopy);
  margin-bottom: 1.4rem;
}

/* Desktop shows the estimate form in the hero; mobile shows the ghost CTA
   button instead and keeps the full form in the #contact section below. */
.hero-actions .btn--ghost-dark { display: none; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-wrap { display: none; }
  .hero-actions .btn--ghost-dark { display: inline-flex; }
}

/* ==========================================================================
   Service intro + cards
   ========================================================================== */

.service-intro {
  max-width: 46rem;
  color: var(--bark-soft);
  font-size: 1.0625rem;
  margin-top: 0.9rem;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

/* 5-card sections stack 3-over-2 on desktop. Fixed percentage flex-basis
   (not grid) so a leftover row of 2 centers under the row of 3 instead of
   sitting flush left with dead space beside it. */
.card-grid--thirds .service-card {
  flex: 0 1 calc(33.333% - 1rem);
  max-width: none;
}
@media (max-width: 900px) {
  .card-grid--thirds .service-card { flex-basis: calc(50% - 0.75rem); }
}
@media (max-width: 600px) {
  .card-grid--thirds .service-card { flex-basis: 100%; }
}

.service-card {
  flex: 1 1 16rem;
  max-width: 21rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--hairline);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--moss-light);
  color: var(--moss);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}
/* Cards with a real photo bleed it to the card edges via negative margins
   that cancel the card's own padding, instead of the small icon badge. */
.service-card-photo {
  display: block;
  width: calc(100% + 3.5rem);
  max-width: calc(100% + 3.5rem); /* override the global img{max-width:100%} reset, or the bleed gets clamped back to the card's padded width */
  height: 12.5rem;
  object-fit: cover;
  margin: -1.75rem -1.75rem 1.1rem -1.75rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.service-card h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--bark-soft);
  font-size: 0.95rem;
}

/* Emergency section — alert-tinted, stands apart from the calm green/cream rhythm */
.emergency {
  position: relative;
  /* EDIT EMERGENCY PHOTO HERE — images/edmond-elite-tree-service-storm-damage.webp */
  background: #241b16 url("../images/edmond-elite-tree-service-storm-damage.webp") center 40% / cover no-repeat;
  color: var(--sapwood);
  overflow: hidden;
}
.emergency::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2b160e;
  mix-blend-mode: multiply;
  opacity: 0.6;
}
.emergency-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(36, 27, 22, 0.94) 0%, rgba(58, 32, 22, 0.82) 55%, rgba(168, 59, 34, 0.55) 130%),
    linear-gradient(to top, rgba(20, 12, 8, 0.6) 0%, rgba(20, 12, 8, 0) 35%);
}
.emergency > .container { position: relative; z-index: 1; }
.emergency .section-head h2 { color: var(--sapwood); }
.emergency .section-head p { color: rgba(246, 241, 230, 0.82); }
.emergency .service-card {
  background: rgba(246, 241, 230, 0.06);
  border-color: rgba(246, 241, 230, 0.14);
}
.emergency .service-card h3 { color: var(--sapwood); }
.emergency .service-card p { color: rgba(246, 241, 230, 0.78); }
.emergency .service-card-icon { background: rgba(246, 241, 230, 0.12); color: #f3b28c; }
.emergency-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.emergency-cta p {
  font-weight: 700;
  font-size: 1.05rem;
}

/* ==========================================================================
   Why choose us
   ========================================================================== */

.why-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}
.why-item {
  display: flex;
  gap: 1rem;
}
.why-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.why-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 40, 29, 0.4) 0%, rgba(22, 40, 29, 0.05) 55%);
  mix-blend-mode: multiply;
}
.why-photo { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .why-inner { grid-template-columns: 1fr; }
  .why-photo-wrap { max-width: 30rem; aspect-ratio: 16 / 10; }
}
.why-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--canopy);
  color: #f3d7c4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.why-item p {
  color: var(--bark-soft);
  font-size: 0.95rem;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-table-wrap {
  margin-top: 2.25rem;
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--hairline);
}
table.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  min-width: 32rem;
}
.pricing-table caption { text-align: left; padding: 1rem 1.25rem 0; font-size: 0.85rem; color: var(--bark-soft); caption-side: bottom; }
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.95rem;
}
.pricing-table thead th {
  background: var(--canopy);
  color: var(--sapwood);
  font-weight: 600;
  font-size: 0.9rem;
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:nth-child(even) { background: var(--sapwood-alt); }
.pricing-table td:last-child { font-weight: 700; color: var(--heartwood-dark); white-space: nowrap; }
.pricing-note {
  margin-top: 1.25rem;
  color: var(--bark-soft);
  font-size: 0.95rem;
  max-width: 40rem;
}

/* ==========================================================================
   Service area
   ========================================================================== */

.service-area-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 3rem;
  align-items: center;
}
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--moss-light);
  color: var(--moss);
  font-weight: 600;
  font-size: 0.875rem;
}
.area-chip .icon { font-size: 0.95rem; }
.area-chip--primary { background: var(--heartwood); color: #fff8f2; }
.service-area-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 20rem;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
@media (max-width: 860px) {
  .service-area-inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { max-width: 46rem; margin-top: 2rem; }
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0.25rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--canopy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  flex-shrink: 0;
  color: var(--heartwood);
  transition: transform 0.25s var(--ease-spring);
}
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 0.25rem 1.5rem;
  color: var(--bark-soft);
  font-size: 0.98rem;
  max-width: 42rem;
}
.faq-answer strong { color: var(--bark); }

/* ==========================================================================
   Contact / estimate form
   ========================================================================== */

.contact {
  /* Desktop uses the hero form instead; this section is mobile-only (see 900px media query below) */
  display: none;
  position: relative;
  background: linear-gradient(160deg, var(--canopy) 0%, var(--canopy-light) 70%);
  color: var(--sapwood);
  overflow: hidden;
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.contact-info .section-head p { color: rgba(246, 241, 230, 0.82); }
.contact-info .section-head h2 { color: var(--sapwood); }
.contact-details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.9rem; }
.contact-detail .icon {
  color: var(--heartwood);
  font-size: 1.3rem;
  margin-top: 0.15rem;
}
.contact-detail a { text-decoration: none; font-weight: 700; }
.contact-detail span { display: block; color: rgba(246, 241, 230, 0.7); font-size: 0.85rem; margin-bottom: 0.15rem; }

.contact-form {
  position: relative;
  z-index: 1;
  background: var(--surface);
  color: var(--bark);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 2vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0; /* grid/flex items don't shrink below content width by default — this fixes phone-field overflow in narrow two-column rows */
}
.form-field label { font-size: 0.875rem; font-weight: 600; color: var(--bark); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: #fffefb;
  color: var(--bark);
  transition: border-color 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--heartwood);
  box-shadow: 0 0 0 3px rgba(184, 92, 44, 0.15);
}
.form-field textarea { resize: vertical; min-height: 7rem; }
/* honeypot field — hidden from real visitors, catches basic bots */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Shown in place of the form after a successful AJAX submit (js/script.js) */
.form-success { text-align: center; padding: 2rem 0.5rem; }
.form-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--moss-light);
  color: var(--moss);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.form-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--bark-soft); font-size: 0.95rem; }

.form-error {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--alert-light);
  color: var(--alert);
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #0f1c14;
  color: rgba(246, 241, 230, 0.75);
  padding-block: 3.5rem 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-tagline { margin-top: 1rem; font-size: 0.9rem; max-width: 20rem; color: rgba(246, 241, 230, 0.65); }
.footer-col h4 {
  font-family: var(--font-body);
  color: var(--sapwood);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { text-decoration: none; font-size: 0.9rem; color: rgba(246, 241, 230, 0.75); transition: color 0.2s; }
.footer-col a:hover { color: var(--sapwood); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(246, 241, 230, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(246, 241, 230, 0.5);
}
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Sticky mobile call bar (thumb-reach CTA — high-intent local-service pattern)
   ========================================================================== */

.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--canopy);
  padding: 0.7rem 1rem;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.2);
}
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--heartwood);
  color: #fff8f2;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

/* ==========================================================================
   Responsive: nav & general
   ========================================================================== */

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-phone span.header-phone-text { display: none; }
  .header-phone { padding-inline: 0.7rem; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 4.2rem; }
  .contact { display: block; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .logo strong { font-size: 1rem; }
  .logo small { font-size: 0.625rem; letter-spacing: 0.06em; }
}

.main-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--sapwood);
  border-bottom: 1px solid var(--hairline);
  padding: 1rem 1.5rem 1.5rem;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-badges { gap: 0.6rem 1.1rem; }
}
