/* ==========================================================================
   MARSHALL TREE SERVICE - MASTER STYLESHEET
   California High-End Modern Aesthetic | Spacious & Editorial Layout
   Owner: Joseph "Joe" Marshall | Auberry, CA | License #1022937
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* California Light & Airy Palette */
  --bg-primary: #FAF9F5;       /* Warm California Alabaster / Off-white */
  --bg-secondary: #F2F4EF;     /* Soft Sage Alabaster */
  --bg-white: #FFFFFF;         /* Crisp White Card Surface */
  --bg-subtle: #E9ECE5;        /* Light Accent Tint */
  --bg-dark: #161F18;          /* Deep Forest Charcoal Footer */
  --bg-dark-surface: #1E2820;  /* Elevated Dark Charcoal Surface */

  /* Earthy Tones & California Olive Green */
  --olive-primary: #2D4233;    /* Deep California Cypress Olive */
  --olive-hover: #3C5744;      /* Interactive Hover Olive */
  --olive-light: #5A7156;      /* Sunlit Sierra Sage */
  --olive-pale: #EBF0E9;       /* Ultra-soft Sage Tint for Badges */

  /* California Timber & Gold Accents */
  --amber-gold: #C88D37;       /* Warm Amber Timber / Gold Accent */
  --amber-light: #F7EEDB;      /* Warm Amber Badge Background */
  --amber-dark: #9A661F;

  /* Typography / High-Contrast Charcoal (Never pure black) */
  --text-primary: #1A231D;     /* Deep Woodland Charcoal */
  --text-secondary: #4A564E;   /* Balanced Muted Charcoal for Body */
  --text-muted: #738076;       /* Subtitle & Metadata Gray */
  --text-white: #FFFFFF;
  --text-white-muted: #D1D9D3;

  /* Borders & Dividers */
  --border-subtle: rgba(45, 66, 51, 0.09);
  --border-medium: rgba(45, 66, 51, 0.16);
  --border-light: rgba(255, 255, 255, 0.15);

  /* Elevation & 3D Lighting Shadows */
  --shadow-sm: 0 4px 12px rgba(22, 31, 24, 0.04);
  --shadow-md: 0 12px 32px -8px rgba(22, 31, 24, 0.08), 0 2px 6px rgba(22, 31, 24, 0.02);
  --shadow-lg: 0 24px 50px -12px rgba(22, 31, 24, 0.12), 0 4px 12px rgba(22, 31, 24, 0.04);
  --shadow-3d: 0 35px 70px -15px rgba(22, 31, 24, 0.18), 0 10px 24px -5px rgba(22, 31, 24, 0.08);

  /* Typography Stacks */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale ("Khula-Khula" / Open Breathing Room) */
  --section-pad-desktop: 110px;
  --section-pad-mobile: 70px;
  --container-max: 1240px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 9999px;

  /* Smooth Transitions */
  --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-medium: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

section[id] {
  scroll-margin-top: 85px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.75;
  letter-spacing: 0.01em;
  font-weight: 400;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--trans-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* --- Typography System --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 700;
}

p.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Section Header Shared ("Khula-Khula" Layout) */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
  padding: 0 1.5rem;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background-color: var(--olive-pale);
  color: var(--olive-primary);
  border: 1px solid rgba(45, 66, 51, 0.12);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.eyebrow-badge.gold {
  background-color: var(--amber-light);
  color: var(--amber-dark);
  border-color: rgba(200, 141, 55, 0.25);
}

.section-subtitle {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad {
  padding-top: var(--section-pad-desktop);
  padding-bottom: var(--section-pad-desktop);
}

.bg-alt {
  background-color: var(--bg-secondary);
}

.bg-white-pure {
  background-color: var(--bg-white);
}

/* --- Buttons & Interactive Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--olive-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 20px -3px rgba(45, 66, 51, 0.3);
}

.btn-primary:hover {
  background-color: var(--olive-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -4px rgba(45, 66, 51, 0.4);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: transparent;
  color: var(--olive-primary);
  border-color: rgba(45, 66, 51, 0.25);
}

.btn-secondary:hover {
  background-color: rgba(45, 66, 51, 0.05);
  border-color: var(--olive-primary);
  transform: translateY(-2px);
}

.btn-amber {
  background-color: var(--amber-gold);
  color: #FFFFFF;
  box-shadow: 0 6px 20px -3px rgba(200, 141, 55, 0.35);
}

.btn-amber:hover {
  background-color: #B47C2F;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -4px rgba(200, 141, 55, 0.45);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--olive-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: #F8F9F7;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

/* Pulsing Status Dot */
.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #2ECC71;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: rgba(46, 204, 113, 0.5);
  animation: pulseRipple 1.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulseRipple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* --- Top Announcement Bar --- */
.top-announcement {
  background-color: var(--olive-primary);
  color: var(--text-white-muted);
  font-size: 0.82rem;
  padding: 0.55rem 1.5rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-announcement .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-announcement-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-announcement-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-announcement a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top-announcement a:hover {
  color: var(--amber-gold);
}

/* --- Sticky Modern Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 249, 245, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 8px 24px -6px rgba(22, 31, 24, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Brand Logo Lockup with Official Emblem */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-right: 2.25rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-logo-link:hover {
  transform: translateY(-1px);
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: var(--text-primary);
}

.brand-tagline {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.1;
  color: var(--olive-primary);
  margin-top: 3px;
}

/* Streamlined Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  padding: 0.5rem 0.2rem;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--olive-primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* More Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 250px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  list-style: none;
  z-index: 1050;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-link svg {
  color: var(--olive-light);
  flex-shrink: 0;
}

.dropdown-link:hover {
  background-color: var(--olive-pale);
  color: var(--olive-primary);
}

/* Header Action & Phone (Strict No-Wrap) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--olive-primary);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.header-phone span {
  white-space: nowrap !important;
}

.header-phone:hover {
  color: var(--amber-gold);
}

.header-actions .btn {
  white-space: nowrap !important;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
}

.mobile-nav-cta-item {
  display: none;
}

/* --- Inner Pages Hero Banner (California Light Aesthetic) --- */
.page-hero {
  padding: 65px 0 55px 0;
  background: linear-gradient(180deg, #FAF9F5 0%, #F0EEE6 100%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.page-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-hero .breadcrumb a {
  color: var(--olive-primary);
  text-decoration: none;
}

.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --- Hero Section (Airy, Light California Aesthetic & Fullscreen Video) --- */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 95px 0 115px 0;
  background-color: #121814;
  overflow: hidden;
}

/* Fullscreen Background Video Wrapper & Video */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

/* Readability Overlay: 40% - 50% dark overlay for maximum text sharpness */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 20, 16, 0.58) 0%,
    rgba(14, 20, 16, 0.42) 50%,
    rgba(14, 20, 16, 0.55) 100%
  );
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 820px;
}

.hero-content {
  width: 100%;
  max-width: 100%;
}

.hero-credentials-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(18, 26, 21, 0.78);
  backdrop-filter: blur(12px);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-credentials-tag strong {
  color: #FFFFFF;
}

.hero-credentials-tag .star-group {
  color: var(--amber-gold);
  display: inline-flex;
  gap: 2px;
}

.hero-title {
  font-size: clamp(2.35rem, 4.2vw, 3.65rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 1.35rem;
  color: #FFFFFF;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  max-width: 780px;
}

.hero-title .text-highlight {
  position: relative;
  display: inline-block;
  color: #F5C568;
}

.hero-title .text-highlight::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 11px;
  background-color: rgba(245, 197, 104, 0.32);
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: 1.08rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: #E2ECE5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  margin-bottom: 2.25rem;
  max-width: 640px;
}

.hero-description strong {
  color: #FFFFFF;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.hero-cta-group .btn {
  padding: 0.95rem 2.15rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.hero-cta-group .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.hero-cta-group .btn-secondary:hover {
  background: #FFFFFF;
  color: var(--olive-primary);
  border-color: #FFFFFF;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 740px;
}

.trust-pill-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #E2ECE5;
  letter-spacing: 0.02em;
}

.trust-pill-item svg {
  color: #4ADE80;
  flex-shrink: 0;
  opacity: 0.95;
  width: 16px;
  height: 16px;
}

/* Floating 3D Emergency Badge on Hero Card */
.hero-badge-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(45, 66, 51, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-3d);
  max-width: 440px;
  position: relative;
}

.hero-badge-card::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(200, 141, 55, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.card-owner-profile {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.owner-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber-gold);
}

.owner-meta h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.owner-meta p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.card-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.spec-icon {
  width: 22px;
  height: 22px;
  background-color: var(--olive-pale);
  color: var(--olive-primary);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-quick-call {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.call-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-muted);
}

.call-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--olive-primary);
  font-family: var(--font-heading);
}

/* --- Trust Signals Banner (Minimal & Clean) --- */
.trust-banner-section {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.75rem 0;
  position: relative;
  z-index: 10;
}

.trust-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-banner-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-subtle);
}

.trust-banner-item:last-child {
  border-right: none;
}

.trust-banner-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.trust-banner-item:hover .trust-banner-icon {
  transform: scale(1.08) rotate(2deg);
  background: var(--olive-pale);
}

.trust-banner-text h4 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.trust-banner-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --- 3D Interactive Services Grid ("Khula-Khula" Spacious Layout) --- */
.services-section {
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  perspective: 1200px;
}

/* 3D Interactive Tilt Card Component */
.service-3d-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-3d-card:hover {
  box-shadow: var(--shadow-3d);
}

/* Card Media Header */
.card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-3d-card:hover .card-media img {
  transform: scale(1.06);
}

.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(22, 31, 24, 0.65) 100%);
}

.card-service-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--olive-primary);
}

/* Card Body Content */
.card-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

.card-body h3 {
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.card-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  margin-top: auto;
}

.card-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.card-features-list li svg {
  color: var(--olive-light);
  flex-shrink: 0;
}

.card-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.card-link-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--olive-primary);
}

.card-link-action:hover {
  color: var(--amber-gold);
  transform: translateX(3px);
}

/* Dynamic Glare Reflection for 3D Tilt */
.card-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

/* --- About Joe Marshall & The Marshall Standard --- */
.about-section {
  position: relative;
  background-color: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 4.5rem;
}

.about-image-composition {
  position: relative;
}

.about-main-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-main-img-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-floating-card {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.85rem;
  box-shadow: var(--shadow-3d);
  border: 1px solid var(--border-subtle);
  max-width: 270px;
}

.about-floating-card h4 {
  font-size: 1.8rem;
  color: var(--olive-primary);
  margin-bottom: 0.2rem;
  font-weight: 800;
}

.about-floating-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.about-narrative h2 {
  margin-bottom: 1.5rem;
}

.about-narrative p {
  margin-bottom: 1.25rem;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.about-pillar-box {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.about-pillar-box .pillar-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.about-pillar-box h4 {
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.about-pillar-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   PROJECT & ARBORIST WORK GALLERY (PREMIUM & RESPONSIVE)
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-primary);
  position: relative;
}

/* Category Filter Bar */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.gallery-filter-btn {
  padding: 0.6rem 1.45rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid var(--border-subtle);
  background: #FFFFFF;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}

.gallery-filter-btn:hover {
  border-color: var(--olive-primary);
  color: var(--olive-primary);
  background-color: var(--olive-pale);
}

.gallery-filter-btn.active {
  background-color: var(--olive-primary);
  color: #FFFFFF;
  border-color: var(--olive-primary);
  box-shadow: 0 4px 14px rgba(45, 66, 51, 0.25);
}

/* Responsive Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 4.5rem;
}

/* Gallery Card */
.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-card.hidden {
  display: none;
}

.gallery-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E8ECE6;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.08);
}

/* Hover Overlay & Tag */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 28, 22, 0.15) 0%, rgba(20, 28, 22, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.gallery-tag {
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--olive-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.gallery-info {
  margin-top: auto;
}

.gallery-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.gallery-info p {
  font-size: 0.78rem;
  color: #D3DFD6;
  margin: 0;
}

.gallery-zoom-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.gallery-card:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Spotlight Before & After Container Box */
.gallery-spotlight-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

.spotlight-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.spotlight-header h3 {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   INTERACTIVE LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-dialog {
  position: relative;
  z-index: 10;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
  width: 100%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-info-bar {
  width: 100%;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  text-align: left;
}

.lightbox-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-gold);
  margin-bottom: 0.25rem;
}

.lightbox-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.15rem;
}

.lightbox-desc {
  font-size: 0.88rem;
  color: #C0CCC3;
  margin: 0;
}

.lightbox-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: #A3B5A7;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
}

/* Lightbox Action Buttons */
.lightbox-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: absolute;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.lightbox-close {
  top: -60px;
  right: 0;
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* --- Interactive Before & After Visualizer --- */
.visualizer-section {
  background-color: var(--bg-primary);
}

.before-after-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  border: 1px solid var(--border-subtle);
  position: relative;
  user-select: none;
  touch-action: pan-y;
  aspect-ratio: 16 / 9;
}

.ba-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-image-wrapper.after-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 3px solid #FFFFFF;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

.ba-image-wrapper.after-layer img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 1000px;
  max-width: none;
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  pointer-events: all;
}

.ba-handle-circle {
  width: 44px;
  height: 44px;
  background-color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-primary);
  border: 2px solid var(--olive-primary);
  transition: transform 0.2s ease;
}

.ba-slider-handle:hover .ba-handle-circle {
  transform: scale(1.1);
}

.ba-badge {
  position: absolute;
  top: 1.25rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.ba-badge.before {
  right: 1.25rem;
  top: 1.25rem;
  bottom: auto;
  background: rgba(20, 28, 22, 0.88);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  z-index: 4;
}

.ba-badge.after {
  left: 1.25rem;
  top: 1.25rem;
  bottom: auto;
  background: rgba(45, 66, 51, 0.92);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  z-index: 6;
}

/* Custom Tree Input in Estimator */
.custom-tree-input-wrapper {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.custom-tree-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.custom-tree-input-box {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-primary);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.75rem;
  transition: border-color 0.2s ease;
}

.custom-tree-input-box:focus-within {
  border-color: var(--olive-primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(45, 66, 51, 0.1);
}

.custom-tree-input {
  width: 90px;
  border: none;
  background: transparent;
  padding: 0.4rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--olive-primary);
  outline: none;
}

.custom-tree-suffix {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.visualizer-caption-bar {
  max-width: 1000px;
  margin: 1.5rem auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --- Interactive Instant Quote / Cost Estimator --- */
.estimator-section {
  background-color: var(--bg-secondary);
}

.estimator-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  max-width: 1050px;
  margin: 0 auto;
}

.estimator-steps-container {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.estimator-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.estimator-group-title {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olive-primary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.estimator-pills-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.pill-option {
  position: relative;
}

.pill-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pill-label {
  display: block;
  padding: 0.85rem 1rem;
  background-color: var(--bg-primary);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}

.pill-label:hover {
  border-color: var(--olive-primary);
  background-color: #FFFFFF;
}

.pill-option input[type="radio"]:checked + .pill-label {
  border-color: var(--olive-primary);
  background-color: var(--olive-pale);
  color: var(--olive-primary);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(45, 66, 51, 0.08);
}

/* Calculator Live Result Panel */
.estimator-result-panel {
  background: linear-gradient(145deg, #1C261F, #26332A);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 100px;
}

.est-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-gold);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.est-price-heading {
  font-size: 0.95rem;
  color: var(--text-white-muted);
  margin-bottom: 0.5rem;
}

.est-price-display {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.est-price-range {
  color: var(--amber-gold);
}

.est-summary-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-white-muted);
}

.est-summary-meta li {
  display: flex;
  justify-content: space-between;
}

.est-summary-meta li strong {
  color: #FFFFFF;
}

.est-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-top: 1rem;
  text-align: center;
}

/* --- Social Proof & Verified Neighbor Reviews --- */
.reviews-section {
  background-color: var(--bg-primary);
  overflow: hidden;
  position: relative;
}

.reviews-slider-wrapper {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-slide {
  min-width: 100%;
  padding: 0 0.5rem;
}

.review-card-modern {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.review-card-modern::before {
  content: '“';
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  font-size: 6rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--olive-pale);
  pointer-events: none;
  z-index: 1;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--amber-gold);
  margin-bottom: 1.5rem;
}

.review-quote {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-primary);
  font-weight: 400;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.review-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.review-author-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.review-author-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.review-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #E8F5E9;
  color: #2E7D32;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

/* Reviews Navigation Controls */
.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.review-arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.review-arrow-btn:hover {
  background: var(--olive-primary);
  color: #FFFFFF;
  transform: scale(1.05);
}

.review-dots-container {
  display: flex;
  gap: 0.5rem;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(45, 66, 51, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-dot.active {
  width: 28px;
  border-radius: var(--radius-pill);
  background-color: var(--olive-primary);
}

/* --- Service Area Coverage --- */
.coverage-section {
  background-color: var(--bg-secondary);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.coverage-cities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.city-badge-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease;
}

.city-badge-card:hover {
  transform: translateY(-2px);
  border-color: var(--olive-primary);
}

.city-pin-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--olive-pale);
  color: var(--olive-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.city-badge-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.city-badge-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.coverage-map-visual {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.map-hub-box {
  background: linear-gradient(135deg, var(--olive-primary), #3D5A46);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.hub-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.map-hub-box h4,
.hub-header h4 {
  color: #FFFFFF !important;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.hub-header svg {
  stroke: #FFFFFF;
  color: #FFFFFF;
  flex-shrink: 0;
}

.map-hub-box .hub-address {
  font-size: 0.88rem;
  color: #F0F5F2 !important;
  opacity: 0.95;
  line-height: 1.6;
}

.coverage-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.cov-stat-item {
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: 1rem 0.5rem;
}

.cov-stat-item .stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--olive-primary);
  font-family: var(--font-heading);
}

.cov-stat-item .stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* --- Cal Fire Defensible Space Notice Box --- */
.defensible-space-banner {
  margin-top: 3.5rem;
  background: #FFFDF8;
  border: 1.5px solid rgba(200, 141, 55, 0.35);
  border-radius: var(--radius-md);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.defensible-space-text {
  max-width: 750px;
}

.defensible-space-text h4 {
  font-size: 1.15rem;
  color: #8C5313;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.defensible-space-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- FAQ Accordion Section --- */
.faq-section {
  background-color: var(--bg-primary);
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.active {
  border-color: var(--olive-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.faq-icon-chevron {
  width: 24px;
  height: 24px;
  color: var(--olive-primary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem 1.75rem;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* --- Contact & Free Estimate Booking Section --- */
.contact-section {
  background-color: var(--bg-secondary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
}

.contact-info-panel h2 {
  margin-bottom: 1rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.contact-detail-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: transform 0.2s ease;
}

.contact-detail-card:hover {
  transform: translateX(4px);
  border-color: var(--olive-primary);
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--olive-pale);
  color: var(--olive-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-card-text p, .contact-card-text a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-card-text a:hover {
  color: var(--olive-primary);
  text-decoration: underline;
}

/* Booking Form Card */
.contact-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background-color: var(--bg-primary);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: var(--olive-primary);
  box-shadow: 0 0 0 3px rgba(45, 66, 51, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-submit-row {
  margin-top: 1.5rem;
}

.form-guarantee-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--olive-primary);
  color: #FFFFFF;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3d);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Footer (Deep Woodland Charcoal & Elegant California Touch) --- */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-white-muted);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1.05fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.footer-logo-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: #FFFFFF;
}

.footer-brand-tagline {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.1;
  color: var(--amber-gold);
  margin-top: 3px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #A6B3A9;
  margin-bottom: 1.5rem;
}

.footer-license-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--amber-gold);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: #A6B3A9;
}

.footer-links-list a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.footer-hours-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #A6B3A9;
}

.footer-hours-box strong {
  color: #FFFFFF;
}

.emergency-alert-pill {
  margin-top: 1rem;
  background: rgba(200, 141, 55, 0.18);
  border: 1px solid rgba(200, 141, 55, 0.35);
  color: var(--amber-gold);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #79857C;
}

.footer-bottom-bar a {
  color: #A6B3A9;
}

.footer-bottom-bar a:hover {
  color: #FFFFFF;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* --- Floating Mobile Emergency Action Bar --- */
.mobile-sticky-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-medium);
  padding: 0.75rem 1rem;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mobile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-action-btn.call-btn {
  background-color: var(--olive-primary);
  color: #FFFFFF;
}

.mobile-action-btn.quote-btn {
  background-color: var(--amber-gold);
  color: #FFFFFF;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1240px) {
  .nav-menu {
    gap: 1.25rem;
  }
  .brand-logo-link {
    margin-right: 1.5rem;
  }
  .header-actions {
    gap: 1.1rem;
  }
}

@media (max-width: 1040px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1100px) {
  .hero-section {
    padding: 70px 0 80px 0;
    min-height: auto;
  }

  .hero-bg-media {
    width: 100%;
    opacity: 0.18;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .lightbox-prev {
    left: -25px;
  }

  .lightbox-next {
    right: -25px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-banner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .trust-banner-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.25rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-desktop: 70px;
    --section-pad-mobile: 50px;
  }

  .top-announcement {
    display: none; /* Keep header neat on small mobile */
  }

  .site-header {
    z-index: 99999 !important;
  }

  .header-container {
    height: 72px;
    padding: 0 1rem !important;
  }

  .brand-logo-link {
    margin-right: 0 !important;
    gap: 0.65rem;
    max-width: calc(100% - 55px);
  }

  .brand-logo-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
  }

  .brand-name {
    font-size: 1.05rem;
    line-height: 1.05;
  }

  .brand-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    line-height: 1.1;
  }

  .header-actions {
    position: relative;
    z-index: 100000 !important;
    gap: 0.5rem;
  }

  .header-actions .btn {
    display: none !important;
  }

  .header-phone {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative !important;
    z-index: 100001 !important;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border-radius: var(--radius-sm);
    background: rgba(45, 66, 51, 0.08);
    border: 1px solid rgba(45, 66, 51, 0.18);
    color: var(--olive-primary);
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    pointer-events: auto !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  }

  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:active {
    background: rgba(45, 66, 51, 0.14);
    border-color: var(--olive-primary);
  }

  .mobile-menu-toggle svg,
  .mobile-menu-toggle svg * {
    width: 24px;
    height: 24px;
    stroke: var(--olive-primary);
    pointer-events: none !important;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 1.75rem 1.5rem 2rem 1.5rem;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
    border-bottom: 2px solid var(--border-subtle);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 999;
    gap: 1.25rem;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-item-dropdown {
    width: 100%;
    text-align: center;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--border-subtle);
    background-color: var(--bg-primary);
    border-radius: var(--radius-sm);
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.5rem;
    padding: 0.5rem;
  }

  .nav-dropdown-menu.mobile-expanded {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .dropdown-link {
    justify-content: center;
  }

  .mobile-nav-cta-item {
    display: block !important;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-nav-cta {
    width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .gallery-spotlight-box {
    padding: 1.75rem 1.15rem;
  }

  .gallery-filter-btn {
    padding: 0.45rem 1.1rem;
    font-size: 0.8rem;
  }

  .lightbox-dialog {
    max-width: 95vw;
  }

  .lightbox-btn {
    width: 42px;
    height: 42px;
  }

  .lightbox-close {
    top: -48px;
    right: 5px;
  }

  .lightbox-prev {
    left: 8px;
    bottom: 25px;
    top: auto;
  }

  .lightbox-next {
    right: 8px;
    bottom: 25px;
    top: auto;
  }

  .lightbox-info-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .trust-banner-grid {
    grid-template-columns: 1fr;
  }

  /* Point 1: Global mobile overflow protection */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .container {
    padding: 0 1.15rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Point 2: Before After slider labels */
  .ba-badge {
    top: 0.65rem !important;
    padding: 0.25rem 0.6rem !important;
    font-size: 0.68rem !important;
  }
  .ba-badge.before { right: 0.65rem !important; }
  .ba-badge.after { left: 0.65rem !important; }

  /* Point 3: Custom tree input mobile */
  .custom-tree-input-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  .custom-tree-input-box {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .custom-tree-input {
    width: 100% !important;
  }

  /* Point 4: Estimate Summary Button */
  #transfer-quote-btn {
    width: 100% !important;
    padding: 0.75rem 1.15rem !important;
    font-size: 0.88rem !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }

  /* Point 6: Defensible Space Button */
  .defensible-space-banner {
    padding: 1.35rem 1.15rem !important;
    gap: 1.15rem !important;
  }
  .defensible-space-banner .btn {
    width: 100% !important;
    padding: 0.75rem 1.15rem !important;
    font-size: 0.88rem !important;
    justify-content: center !important;
  }

  /* Point 7: Form Section & Submit Button */
  .contact-form-card {
    padding: 1.35rem 1.15rem !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .form-row-2 {
    grid-template-columns: 1fr !important;
  }

  .form-control {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .form-submit-row .btn,
  .contact-form-card button[type="submit"] {
    width: 100% !important;
    padding: 0.8rem 1.1rem !important;
    font-size: 0.88rem !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.35 !important;
    justify-content: center !important;
  }

  /* Point 8: Footer Alignment */
  .footer-bottom-bar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.15rem !important;
    padding-top: 1.5rem !important;
  }

  .footer-bottom-links {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.65rem 1.15rem !important;
    font-size: 0.82rem !important;
  }

  .estimator-steps-container {
    grid-template-columns: 1fr;
  }

  .estimator-card {
    padding: 1.75rem 1.25rem;
  }

  .estimator-pills-selector {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mobile-sticky-action-bar {
    display: block;
  }

  body {
    padding-bottom: 60px; /* Room for bottom bar */
  }

  .coverage-cities-list {
    grid-template-columns: 1fr;
  }

  .coverage-stats-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about-floating-card {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 1rem;
    max-width: 100%;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Scroll Reveal Animations --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
