/* ==========================================================================
   ArborWorks Tree Care — shared stylesheet
   Sturdy / dependable / friendly. Bark brown + leaf green + warm cream.
   System fonts only. No external requests.
   ========================================================================== */

:root {
  /* Palette */
  --bark-900: #362619;
  --bark-800: #4a3728;
  --bark-700: #5c4330;
  --bark-600: #6b4d35;
  --leaf-700: #3f6935;
  --leaf-600: #4a7c3f;
  --leaf-500: #5c9149;
  --leaf-400: #6b9c4a;
  --leaf-100: #e4efdc;
  --cream-100: #f7f3ec;
  --cream-200: #f1ead9;
  --cream-300: #e8ddc7;
  --ink-900: #2c2117;
  --ink-700: #4a3d31;
  --white: #ffffff;
  --gold-500: #c98a2c;

  /* Type scale */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1.05rem, 1rem + 0.2vw, 1.15rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.4rem + 0.8vw, 2rem);
  --step-3: clamp(2rem, 1.7rem + 1.3vw, 2.75rem);
  --step-4: clamp(2.5rem, 2rem + 2.2vw, 3.6rem);

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1.25rem;
  --sp-4: 2rem;
  --sp-5: 3.25rem;
  --sp-6: 5rem;

  /* Misc */
  --radius-sm: 0.6rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --shadow-soft: 0 14px 34px -14px rgba(54, 38, 25, 0.35);
  --shadow-card: 0 10px 24px -12px rgba(54, 38, 25, 0.28);
  --border-soft: 1px solid rgba(74, 55, 40, 0.14);
  --max-width: 74rem;
}

/* ---------------------------------------------------------------------- */
/* Reset & base                                                           */
/* ---------------------------------------------------------------------- */
*,
*::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: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--leaf-700);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--leaf-600);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.15;
  color: var(--bark-800);
  margin: 0 0 var(--sp-2);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--step-4);
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-1);
}

p {
  margin: 0 0 var(--sp-3);
}

ul,
ol {
  margin: 0 0 var(--sp-3);
  padding-left: 1.3rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-3);
}

@media (min-width: 48rem) {
  .container {
    padding-inline: var(--sp-4);
  }
}

.section {
  padding-block: var(--sp-6);
  position: relative;
}

.section-tight {
  padding-block: var(--sp-5);
}

.section-cream {
  background: var(--cream-100);
}

.section-tint {
  background: var(--cream-200);
}

.section-bark {
  background: var(--bark-800);
  color: var(--cream-100);
}

.section-bark h2,
.section-bark h3 {
  color: var(--cream-100);
}

.eyebrow {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--leaf-600);
  background: var(--leaf-100);
  border-radius: var(--radius-pill);
  padding: 0.3em 0.9em;
  margin-bottom: var(--sp-2);
}

.section-bark .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream-200);
}

.section-head {
  max-width: 42rem;
  margin-bottom: var(--sp-4);
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.lede {
  font-size: var(--step-1);
  color: var(--ink-700);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--leaf-600);
  color: var(--white);
  padding: 0.7em 1.2em;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-list a:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------------------------------------------------------------------- */
/* Top utility bar + header                                               */
/* ---------------------------------------------------------------------- */
.topbar {
  background: var(--bark-900);
  color: var(--cream-200);
  font-size: var(--step--1);
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-4);
  align-items: center;
  justify-content: space-between;
  padding-block: 0.5rem;
}

.topbar a {
  color: var(--cream-200);
  font-weight: 600;
}

.topbar-emergency {
  color: #f4c98a;
  font-weight: 700;
}

.topbar-emergency::before {
  content: "\26A0\FE0E";
  margin-right: 0.35em;
}

.site-header {
  background: var(--bark-800);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-2);
  gap: var(--sp-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-weight: 800;
  font-size: var(--step-1);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--cream-200);
}

.brand-mark {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
}

.brand-text-sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf-400);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--leaf-600);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.55em 1.1em;
  font-size: var(--step--1);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--leaf-500);
}

.nav-toggle-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
}

.primary-nav {
  width: 100%;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.nav-list a {
  display: block;
  color: var(--cream-100);
  text-decoration: none;
  font-weight: 600;
  padding: 0.85em 0.4em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-list a:hover {
  color: var(--leaf-400);
}

.nav-list [aria-current="page"] {
  color: var(--leaf-400);
}

.nav-cta {
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
}

@media (max-width: 63.9375rem) {
  .primary-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--bark-800);
    padding: 0 var(--sp-3) var(--sp-3);
    box-shadow: var(--shadow-soft);
  }
  .primary-nav[hidden] {
    display: none;
  }
}

@media (min-width: 64rem) {
  .nav-toggle {
    display: none;
  }
  .site-header .container {
    flex-wrap: nowrap;
  }
  .primary-nav {
    width: auto;
  }
  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }
  .nav-list a {
    border-top: none;
    border-radius: var(--radius-pill);
    padding: 0.55em 1em;
  }
  .nav-list a:hover,
  .nav-list [aria-current="page"] {
    background: rgba(255, 255, 255, 0.1);
  }
  .nav-cta {
    margin: 0 0 0 0.35rem;
    padding: 0;
  }
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: inherit;
  font-weight: 700;
  font-size: var(--step-0);
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 0.85em 1.7em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  line-height: 1.1;
}

.btn-primary {
  background: var(--leaf-600);
  color: var(--white);
  box-shadow: 0 10px 22px -10px rgba(74, 124, 63, 0.6);
}

.btn-primary:hover {
  background: var(--leaf-500);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(74, 124, 63, 0.65);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--white);
  border-color: var(--bark-600);
  color: var(--bark-700);
}

.btn-outline:hover {
  background: var(--cream-200);
  color: var(--bark-800);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--bark-800) 0%, var(--bark-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-6) var(--sp-5);
}

.hero .container {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 60rem) {
  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream-100);
  border-radius: var(--radius-pill);
  padding: 0.4em 1em;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-3);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--sp-3);
}

.hero-lede {
  font-size: var(--step-1);
  color: var(--cream-200);
  max-width: 34rem;
  margin-bottom: var(--sp-4);
}

.hero-art {
  width: 100%;
  height: auto;
}

.hero-trust {
  margin-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-4);
  font-size: var(--step--1);
  color: var(--cream-200);
}

.hero-trust li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
}

.hero-trust svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  color: var(--leaf-400);
}

/* Curved divider under hero */
.hero-divider {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1px;
}

/* ---------------------------------------------------------------------- */
/* Stats bar                                                              */
/* ---------------------------------------------------------------------- */
.stats-bar {
  background: var(--leaf-700);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  text-align: center;
  padding-block: var(--sp-4);
}

@media (min-width: 48rem) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-num {
  display: block;
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: var(--step--1);
  color: var(--leaf-100);
  font-weight: 600;
}

/* ---------------------------------------------------------------------- */
/* Cards                                                                  */
/* ---------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 60rem) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-card);
  border: var(--border-soft);
  height: 100%;
}

.card-icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: var(--radius-md);
  background: var(--leaf-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-2);
  flex: none;
}

.card-icon svg {
  width: 1.9rem;
  height: 1.9rem;
  color: var(--leaf-700);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card .btn {
  margin-top: var(--sp-2);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 700;
  margin-top: var(--sp-1);
}

/* ---------------------------------------------------------------------- */
/* Why choose us                                                          */
/* ---------------------------------------------------------------------- */
.feature-list {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 40rem) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-item {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  border: var(--border-soft);
}

.feature-item svg {
  width: 1.8rem;
  height: 1.8rem;
  flex: none;
  color: var(--leaf-600);
  margin-top: 0.15rem;
}

.feature-item h3 {
  font-size: var(--step-0);
  margin-bottom: 0.2rem;
}

.feature-item p {
  margin: 0;
  font-size: var(--step--1);
  color: var(--ink-700);
}

/* ---------------------------------------------------------------------- */
/* Testimonials                                                           */
/* ---------------------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

@media (min-width: 55rem) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: var(--cream-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  border: var(--border-soft);
  position: relative;
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  color: var(--gold-500);
  margin-bottom: var(--sp-2);
}

.testimonial-stars svg {
  width: 1.1rem;
  height: 1.1rem;
}

.testimonial blockquote {
  margin: 0 0 var(--sp-2);
  font-size: var(--step-0);
  color: var(--ink-900);
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
  color: var(--bark-700);
  font-size: var(--step--1);
  display: block;
}

.testimonial cite span {
  display: block;
  font-weight: 500;
  color: var(--ink-700);
}

/* ---------------------------------------------------------------------- */
/* CTA banner                                                             */
/* ---------------------------------------------------------------------- */
.cta-banner {
  background: var(--bark-800);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: var(--white);
}

.cta-banner p {
  color: var(--cream-200);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: var(--sp-3);
}

.cta-banner .btn-group {
  justify-content: center;
}

.cta-ring {
  position: absolute;
  opacity: 0.12;
  color: var(--leaf-400);
}

.cta-ring.ring-1 {
  width: 14rem;
  height: 14rem;
  top: -4rem;
  left: -4rem;
}

.cta-ring.ring-2 {
  width: 10rem;
  height: 10rem;
  bottom: -3rem;
  right: -2rem;
}

/* ---------------------------------------------------------------------- */
/* Wood-ring section divider                                             */
/* ---------------------------------------------------------------------- */
.ring-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-block: var(--sp-4);
  color: var(--bark-600);
}

.ring-divider svg {
  width: 2.6rem;
  height: 2.6rem;
}

.ring-divider .rule {
  height: 2px;
  width: 100%;
  max-width: 6rem;
  background: var(--cream-300);
  border-radius: var(--radius-pill);
}

/* ---------------------------------------------------------------------- */
/* Service area list                                                      */
/* ---------------------------------------------------------------------- */
.area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

@media (min-width: 40rem) {
  .area-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 60rem) {
  .area-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.area-list li {
  background: var(--white);
  border: var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 0.6em 1em;
  font-weight: 600;
  font-size: var(--step--1);
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--bark-700);
}

.area-list svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--leaf-600);
}

.area-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: var(--border-soft);
  padding: var(--sp-4);
  box-shadow: var(--shadow-card);
}

.area-detail h3 {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.area-detail svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--leaf-600);
  flex: none;
}

/* ---------------------------------------------------------------------- */
/* About page: team, values, timeline                                    */
/* ---------------------------------------------------------------------- */
.team-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  text-align: center;
  border: var(--border-soft);
  box-shadow: var(--shadow-card);
}

.avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  margin: 0 auto var(--sp-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--step-1);
  color: var(--white);
  background: linear-gradient(145deg, var(--leaf-600), var(--bark-600));
  overflow: hidden;
}

.avatar svg {
  width: 100%;
  height: 100%;
}

.team-card h3 {
  margin-bottom: 0.1rem;
}

.team-role {
  color: var(--leaf-700);
  font-weight: 700;
  font-size: var(--step--1);
  margin-bottom: var(--sp-2);
  display: block;
}

.team-card p {
  font-size: var(--step--1);
  color: var(--ink-700);
  margin-bottom: 0;
}

.value-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 60rem) {
  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .cert-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cert-item {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  background: var(--cream-100);
  border: var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
}

.cert-item svg {
  width: 1.9rem;
  height: 1.9rem;
  flex: none;
  color: var(--gold-500);
}

.cert-item h3 {
  font-size: var(--step-0);
  margin-bottom: 0.2rem;
}

.cert-item p {
  margin: 0;
  font-size: var(--step--1);
  color: var(--ink-700);
}

/* ---------------------------------------------------------------------- */
/* Contact page                                                          */
/* ---------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 60rem) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  border: var(--border-soft);
  box-shadow: var(--shadow-card);
}

.form-row {
  margin-bottom: var(--sp-3);
}

.form-row label {
  display: block;
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--bark-700);
  margin-bottom: 0.35rem;
}

.form-row .hint {
  font-weight: 400;
  color: var(--ink-700);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: var(--step-0);
  padding: 0.75em 1em;
  border-radius: var(--radius-sm);
  border: 2px solid var(--cream-300);
  background: var(--cream-100);
  color: var(--ink-900);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--leaf-600);
  background: var(--white);
}

.form-row-cols {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

@media (min-width: 36rem) {
  .form-row-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.form-note {
  font-size: var(--step--1);
  color: var(--ink-700);
  margin-top: var(--sp-2);
}

.contact-info-card {
  background: var(--bark-800);
  color: var(--cream-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  margin-bottom: var(--sp-3);
}

.contact-info-card h3 {
  color: var(--white);
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
}

.contact-info-list li {
  display: flex;
  gap: 0.7em;
  align-items: flex-start;
}

.contact-info-list svg {
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
  color: var(--leaf-400);
  margin-top: 0.15rem;
}

.contact-info-list a {
  color: var(--cream-100);
  font-weight: 700;
}

.emergency-callout {
  background: linear-gradient(135deg, var(--leaf-700), var(--leaf-600));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-3);
  display: flex;
  gap: var(--sp-2);
  align-items: center;
}

.emergency-callout svg {
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
}

.emergency-callout h3 {
  color: var(--white);
  margin-bottom: 0.1rem;
  font-size: var(--step-0);
}

.emergency-callout p {
  margin: 0;
  font-size: var(--step--1);
}

.emergency-callout a {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border-soft);
}

.hours-table caption {
  text-align: left;
  font-weight: 800;
  color: var(--bark-800);
  padding: var(--sp-2) var(--sp-3) var(--sp-1);
  font-size: var(--step-0);
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.65em 1em;
  font-size: var(--step--1);
  border-top: 1px solid var(--cream-300);
}

.hours-table th {
  color: var(--bark-700);
  font-weight: 700;
  width: 55%;
}

.hours-table tbody tr:nth-child(even) {
  background: var(--cream-100);
}

/* ---------------------------------------------------------------------- */
/* Map placeholder (no external requests: CSS/SVG art)                   */
/* ---------------------------------------------------------------------- */
.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-soft);
  box-shadow: var(--shadow-card);
  background: var(--leaf-100);
}

.map-card svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */
.site-footer {
  background: var(--bark-900);
  color: var(--cream-200);
  padding-block: var(--sp-5) var(--sp-3);
}

.footer-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  margin-bottom: var(--sp-4);
}

@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-weight: 800;
  font-size: var(--step-1);
  text-decoration: none;
  margin-bottom: var(--sp-2);
}

.footer-brand svg {
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
}

.site-footer address {
  font-style: normal;
  font-size: var(--step--1);
  color: var(--cream-200);
  line-height: 1.8;
}

.site-footer a {
  color: var(--cream-200);
}

.footer-heading {
  color: var(--white);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  margin-bottom: var(--sp-2);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: var(--step--1);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--sp-2);
}

.footer-social a {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social svg {
  width: 1.2rem;
  height: 1.2rem;
}

.footer-social a:hover {
  background: var(--leaf-600);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: space-between;
  font-size: var(--step--1);
  color: var(--cream-300);
}

.footer-bottom a {
  color: var(--cream-300);
}

/* ---------------------------------------------------------------------- */
/* Page header (interior pages)                                          */
/* ---------------------------------------------------------------------- */
.page-header {
  background: var(--bark-800);
  color: var(--white);
  padding-block: var(--sp-5) var(--sp-4);
  position: relative;
  overflow: hidden;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.page-header p {
  color: var(--cream-200);
  max-width: 40rem;
  margin-bottom: 0;
  font-size: var(--step-1);
}

.breadcrumbs {
  font-size: var(--step--1);
  color: var(--cream-300);
  margin-bottom: var(--sp-2);
}

.breadcrumbs a {
  color: var(--cream-300);
}

.page-header-ring {
  position: absolute;
  right: -3rem;
  top: -3rem;
  width: 16rem;
  height: 16rem;
  opacity: 0.1;
  color: var(--leaf-400);
}

/* ---------------------------------------------------------------------- */
/* Coverage blurb / financing box                                        */
/* ---------------------------------------------------------------------- */
.info-box {
  background: var(--leaf-100);
  border: 1px solid rgba(74, 124, 63, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.info-box svg {
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  color: var(--leaf-700);
}

.info-box h3 {
  margin-bottom: 0.3rem;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------- */
/* Utility                                                                */
/* ---------------------------------------------------------------------- */
.flow > * + * {
  margin-top: var(--sp-3);
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

/* ==========================================================================
   Booking / Portal / Estimate — added for booking.html, portal.html,
   estimate.html. Appended only; nothing above this line was changed.
   ========================================================================== */

:root {
  --urgent-700: #7a2e22;
  --urgent-600: #96392a;
  --urgent-100: #f6e3de;
}

/* ---------------------------------------------------------------------- */
/* Toggle pills (shared: emergency switch, booking type, estimate toggles) */
/* ---------------------------------------------------------------------- */
.toggle-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  font-family: inherit;
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--bark-700);
  background: var(--cream-100);
  border: 2px solid var(--cream-300);
  border-radius: var(--radius-pill);
  padding: 0.65em 1.2em;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.toggle-pill:hover {
  border-color: var(--leaf-500);
}

.toggle-pill--active {
  background: var(--leaf-600);
  border-color: var(--leaf-600);
  color: var(--white);
}

.toggle-pill--active:hover {
  background: var(--leaf-500);
  border-color: var(--leaf-500);
}

.toggle-pill--block {
  display: flex;
  width: 100%;
  text-align: left;
}

.faq-list {
  display: grid;
  gap: var(--sp-2);
  max-width: 48rem;
  margin-inline: auto;
}

.faq-item {
  background: var(--white);
  border: var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-3);
}

.faq-item summary {
  font-weight: 700;
  color: var(--bark-800);
  cursor: pointer;
  padding: 0.4em 0;
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.faq-item p {
  margin: 0.4em 0 0.6em;
  color: var(--ink-700);
  font-size: var(--step--1);
}

/* ---------------------------------------------------------------------- */
/* Booking tool                                                          */
/* ---------------------------------------------------------------------- */
.booking-tool {
  max-width: 44rem;
  margin-inline: auto;
}

.emergency-switch {
  background: var(--cream-200);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.emergency-switch-label {
  font-weight: 700;
  color: var(--bark-800);
  margin-bottom: var(--sp-2);
}

.emergency-switch-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.urgent-callout {
  background: linear-gradient(135deg, var(--urgent-700), var(--urgent-600));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-3);
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
}

.urgent-callout svg {
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
}

.urgent-callout h3 {
  color: var(--white);
  margin-bottom: 0.2rem;
}

.urgent-callout p {
  margin: 0 0 var(--sp-2);
  font-size: var(--step--1);
}

.urgent-callout a {
  color: var(--white);
}

.booking-type-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.calendar {
  margin-bottom: var(--sp-3);
}

.calendar-header h3 {
  text-align: center;
  margin-bottom: var(--sp-2);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
  text-align: center;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--bark-600);
  margin-bottom: 0.4rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  font-size: var(--step--1);
  background: var(--leaf-100);
  color: var(--leaf-700);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}

.calendar-day:hover:not(:disabled) {
  border-color: var(--leaf-600);
}

.calendar-day--blank {
  background: transparent;
  cursor: default;
}

.calendar-day--unavailable {
  background: var(--cream-200);
  color: var(--cream-300);
  cursor: not-allowed;
  text-decoration: line-through;
}

.calendar-day--selected {
  background: var(--leaf-600);
  color: var(--white);
  border-color: var(--leaf-700);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-3);
  align-items: center;
  justify-content: center;
  font-size: var(--step--1);
  color: var(--ink-700);
  margin: var(--sp-2) 0 0;
}

.legend-dot {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  margin-right: 0.3em;
}

.legend-dot--available {
  background: var(--leaf-100);
  border: 2px solid var(--leaf-600);
}

.legend-dot--unavailable {
  background: var(--cream-200);
  border: 2px solid var(--cream-300);
}

.slot-panel {
  margin-bottom: var(--sp-3);
}

.slot-panel h3 {
  font-size: var(--step-0);
  margin-bottom: var(--sp-2);
}

.slot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
}

@media (min-width: 32rem) {
  .slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.slot {
  font-family: inherit;
  font-weight: 700;
  font-size: var(--step--1);
  background: var(--white);
  color: var(--bark-700);
  border: 2px solid var(--cream-300);
  border-radius: var(--radius-pill);
  padding: 0.7em 1em;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.slot:hover {
  border-color: var(--leaf-500);
}

.slot--selected {
  background: var(--leaf-600);
  border-color: var(--leaf-600);
  color: var(--white);
}

.booking-confirmation {
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.booking-confirmation.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.booking-confirmation .confirmation-icon {
  width: 3.2rem;
  height: 3.2rem;
  color: var(--leaf-600);
  margin: 0 auto var(--sp-2);
}

.confirmation-ref-line {
  font-size: var(--step-0);
}

@media (prefers-reduced-motion: reduce) {
  .booking-confirmation {
    transition: none;
  }
}

/* ---------------------------------------------------------------------- */
/* Client portal: login, dashboard, ETA, invoices                        */
/* ---------------------------------------------------------------------- */
.login-card {
  max-width: 28rem;
  margin-inline: auto;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: var(--sp-3) 0;
  color: var(--ink-700);
  font-size: var(--step--1);
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cream-300);
}

.dashboard-header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}

.dashboard-header h2 {
  margin-bottom: 0.1rem;
}

.dashboard-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

@media (min-width: 60rem) {
  .dashboard-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.eta-panel h3 {
  margin-bottom: var(--sp-2);
}

.eta-window {
  font-size: var(--step--1);
  color: var(--ink-700);
}

.eta-countdown {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  margin: var(--sp-2) 0;
}

.eta-countdown-num {
  font-size: var(--step-3);
  font-weight: 800;
  color: var(--leaf-700);
}

.eta-countdown-label {
  font-size: var(--step--1);
  color: var(--ink-700);
  font-weight: 600;
}

.eta-progress {
  height: 0.6rem;
  background: var(--cream-200);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: var(--sp-3);
}

.eta-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--leaf-600);
  border-radius: var(--radius-pill);
  transition: width 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .eta-progress-fill {
    transition: none;
  }
}

.priority-flag {
  border-top: 1px solid var(--cream-300);
  padding-top: var(--sp-3);
}

.status-badge {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 700;
  padding: 0.3em 0.9em;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-2);
}

.status-badge--standard {
  background: var(--cream-200);
  color: var(--bark-700);
}

.status-badge--priority {
  background: var(--urgent-100);
  color: var(--urgent-700);
}

.status-badge--paid {
  background: var(--leaf-100);
  color: var(--leaf-700);
}

.status-badge--due {
  background: rgba(201, 138, 44, 0.18);
  color: #8a5c15;
}

.status-badge--complete {
  background: var(--leaf-100);
  color: var(--leaf-700);
}

.status-badge--scheduled {
  background: rgba(74, 124, 63, 0.14);
  color: var(--leaf-700);
}

.priority-explain {
  font-size: var(--step--1);
  color: var(--ink-700);
  margin-bottom: var(--sp-2);
}

.appointment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
}

.appointment-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: var(--sp-2);
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  color: var(--ink-700);
}

.appointment-list strong {
  color: var(--bark-800);
  font-size: var(--step-0);
}

.account-details {
  margin: 0;
  display: grid;
  gap: var(--sp-2);
}

.account-details dt {
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--bark-700);
}

.account-details dd {
  margin: 0;
  font-size: var(--step--1);
  color: var(--ink-700);
}

.table-scroll {
  overflow-x: auto;
}

.service-history-table {
  min-width: 32rem;
}

.invoice-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .invoice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.invoice-card {
  background: var(--cream-100);
  border: var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
}

.invoice-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
  font-weight: 700;
  color: var(--bark-800);
}

.invoice-items,
.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
  margin-bottom: var(--sp-2);
}

.invoice-items td,
.breakdown-table td,
.breakdown-table th {
  padding: 0.4em 0.2em;
  border-top: 1px solid var(--cream-300);
  text-align: left;
}

.breakdown-table th {
  color: var(--bark-700);
  font-weight: 700;
}

.invoice-items td:last-child,
.breakdown-table td:last-child,
.breakdown-table th:last-child {
  text-align: right;
}

.invoice-total-row td {
  font-weight: 800;
  color: var(--bark-800);
  border-top: 2px solid var(--bark-600);
}

.invoice-paid-note {
  color: var(--leaf-700);
  font-weight: 700;
  font-size: var(--step--1);
  text-align: center;
  margin: 0;
}

/* ---------------------------------------------------------------------- */
/* Payment modal (shared by portal.html and estimate.html)               */
/* ---------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 33, 23, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
  z-index: 300;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  max-width: 28rem;
  width: 100%;
  max-height: calc(100vh - 2 * var(--sp-3));
  overflow-y: auto;
  box-shadow: var(--shadow-soft);
}

.modal-close {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-200);
  border: none;
  border-radius: 50%;
  color: var(--bark-700);
  cursor: pointer;
}

.modal-close:hover {
  background: var(--cream-300);
}

.payment-trust-note {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--step--1);
  color: var(--ink-700);
  margin: var(--sp-2) 0;
}

.payment-trust-note svg {
  width: 1rem;
  height: 1rem;
  color: var(--leaf-600);
  flex: none;
}

.form-error {
  background: var(--urgent-100);
  color: var(--urgent-700);
  border-radius: var(--radius-sm);
  padding: 0.6em 1em;
  font-size: var(--step--1);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.payment-spinner {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 4px solid var(--cream-300);
  border-top-color: var(--leaf-600);
  margin: var(--sp-4) auto;
  animation: aw-spin 0.9s linear infinite;
}

@keyframes aw-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .payment-spinner {
    animation-duration: 2.4s;
  }
}

#payment-success-view .confirmation-icon,
#deposit-step-3 .confirmation-icon {
  width: 3.2rem;
  height: 3.2rem;
  color: var(--leaf-600);
  margin: 0 auto var(--sp-2);
  display: block;
}

#payment-success-view,
#deposit-step-3 {
  text-align: center;
}

/* ---------------------------------------------------------------------- */
/* Estimate builder                                                      */
/* ---------------------------------------------------------------------- */
.estimate-intro {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  align-items: center;
  margin-bottom: var(--sp-4);
}

@media (min-width: 56rem) {
  .estimate-intro {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.diagram-art {
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  border-radius: var(--radius-lg);
}

.estimate-tool {
  max-width: 46rem;
  margin-inline: auto var(--sp-3);
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .estimate-tool {
    grid-template-columns: 1fr 1fr;
  }
}

.estimate-controls {
  display: grid;
  gap: var(--sp-3);
  align-content: start;
}

.estimate-field label,
.estimate-field-label {
  display: block;
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--bark-700);
  margin-bottom: 0.35rem;
}

.estimate-field select {
  width: 100%;
  font-family: inherit;
  font-size: var(--step-0);
  padding: 0.65em 0.9em;
  border-radius: var(--radius-sm);
  border: 2px solid var(--cream-300);
  background: var(--cream-100);
  color: var(--ink-900);
}

.estimate-field select:focus {
  outline: none;
  border-color: var(--leaf-600);
  background: var(--white);
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  background: var(--cream-100);
  border: 2px solid var(--cream-300);
  border-radius: var(--radius-pill);
  padding: 0.3rem;
}

.stepper-btn {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--leaf-700);
  font-size: var(--step-1);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.stepper-btn:hover {
  background: var(--leaf-100);
}

.stepper-value {
  width: 3rem;
  text-align: center;
  font-weight: 800;
  font-size: var(--step-0);
  border: none;
  background: transparent;
  color: var(--ink-900);
  font-family: inherit;
}

.stepper-value::-webkit-inner-spin-button,
.stepper-value::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.estimate-summary {
  background: var(--cream-100);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  align-self: start;
}

.estimate-summary-label {
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--bark-700);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-range {
  font-size: var(--step-3);
  font-weight: 800;
  color: var(--leaf-700);
  margin-bottom: var(--sp-2);
}

.deposit-card {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.deposit-amount-line {
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--bark-800);
}

.deposit-card .btn-group {
  justify-content: center;
}
