/* ==========================================================================
   Timberline Waste Services — Corporate UI Design System
   Deep Forest Emerald + Vibrant Lime Accent + Soft Mint Surfaces
   ========================================================================== */

:root {
  /* Core Brand & Surfaces */
  --bg-page: #f8faf8;
  --bg-surface: #ffffff;
  --bg-mint: #eef6ef;
  --bg-mint-strong: #dfeee1;
  --bg-dark: #0c3520;
  --bg-dark-deep: #072616;
  --bg-dark-elevated: #13442b;

  --text-primary: #112219;
  --text-secondary: #43554b;
  --text-muted: #64756c;
  --text-inverse: #f7fbf8;
  --text-inverse-muted: #c6d8cd;

  --brand-primary: #0f4c2d;
  --brand-primary-hover: #0a3820;
  --brand-lime: #8ae448;
  --brand-lime-hover: #78d436;
  --brand-lime-ink: #0b2617;

  --brand-amber: #c96d1a;
  --brand-amber-bg: #fef5eb;
  --brand-amber-border: #f2d2af;

  --border-subtle: #dce6de;
  --border-strong: #bfd0c3;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --success: #14532d;
  --success-bg: #ecfdf3;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 6px rgba(12, 53, 32, 0.05);
  --shadow-md: 0 10px 28px rgba(12, 53, 32, 0.08);
  --shadow-lg: 0 20px 48px rgba(7, 38, 22, 0.16);
  --transition: 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition);
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--brand-primary-hover);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.18;
  margin-top: 0;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.8rem, 4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.7vw, 2.3rem); font-weight: 700; }
h3 { font-size: clamp(1.14rem, 1.5vw, 1.38rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  overflow-wrap: break-word;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

li + li {
  margin-top: 0.45rem;
}

:focus-visible {
  outline: 3px solid var(--brand-lime);
  outline-offset: 2px;
}

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

/* Containers & Sections */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.75rem 0;
}

.section-sm {
  padding: 3.25rem 0;
}

.section-tint,
.section-mint {
  background-color: var(--bg-mint);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-inverse);
}

.section-dark p,
.section-dark li {
  color: var(--text-inverse-muted);
}

.text-lime {
  color: var(--brand-lime);
}

/* Pill Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: 100%;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: var(--brand-primary);
  background-color: var(--bg-mint);
  border: 1px solid var(--border-strong);
  padding: 0.36rem 0.85rem;
  border-radius: 16px;
  margin-bottom: 0.95rem;
}

.eyebrow::before {
  content: "\2733";
  color: var(--brand-primary);
  font-size: 0.9em;
  line-height: 1.2;
  flex-shrink: 0;
}

.section-dark .eyebrow,
.hero-banner .eyebrow,
.page-hero .eyebrow,
.page-hero-compact .eyebrow {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #e4f7ea;
}

.section-dark .eyebrow::before,
.hero-banner .eyebrow::before,
.page-hero .eyebrow::before,
.page-hero-compact .eyebrow::before {
  color: var(--brand-lime);
}

.section-header {
  max-width: 740px;
  margin-bottom: 2.75rem;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lead {
  font-size: 1.12rem;
  line-height: 1.66;
  color: var(--text-secondary);
}

.section-dark .lead,
.hero-banner .lead,
.page-hero .lead,
.page-hero-compact .lead {
  color: var(--text-inverse-muted);
}

/* Pill & Arrow Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.85rem;
  transition: transform var(--transition);
}

.btn:hover .btn-arrow {
  transform: translate(2px, -1px);
}

.btn-lime,
.btn-amber {
  background-color: var(--brand-lime);
  color: var(--brand-lime-ink);
  border-color: var(--brand-lime);
}

.btn-lime:hover,
.btn-amber:hover {
  background-color: var(--brand-lime-hover);
  color: var(--brand-lime-ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(138, 228, 72, 0.28);
}

.btn-lime .btn-arrow,
.btn-amber .btn-arrow {
  background-color: var(--bg-dark);
  color: var(--brand-lime);
}

.btn-primary {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--brand-primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary .btn-arrow {
  background-color: var(--brand-lime);
  color: var(--brand-lime-ink);
}

.btn-outline {
  background-color: #ffffff;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-outline:hover {
  background-color: var(--bg-mint);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.86rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--bg-dark-deep);
  color: var(--text-inverse-muted);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.top-bar a {
  color: var(--brand-lime);
  font-weight: 500;
}

.top-bar a:hover {
  color: #ffffff;
}

/* Floating Rounded White Header inside Emerald Wrapper */
.site-header {
  background-color: var(--bg-dark);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.55rem 1rem 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 66px;
  box-shadow: 0 10px 28px rgba(7, 38, 22, 0.22);
  position: relative;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-logo:hover {
  color: var(--brand-primary);
}

.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 165px;
  object-fit: contain;
  display: block;
}

.footer-brand-badge {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.footer-brand-badge .brand-logo-img {
  height: 48px;
}

.map-embed {
  margin-top: 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-mint);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
  margin: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.48rem 0.8rem;
  font-size: 0.91rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-pill);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-primary);
  background-color: var(--bg-mint);
  font-weight: 600;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 200;
}

.nav-item.open > .dropdown-menu,
.nav-item:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background-color: var(--bg-mint);
  color: var(--brand-primary);
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border-subtle);
  margin: 0.35rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mobile-toggle {
  display: none;
  background: var(--bg-mint);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0.48rem 0.95rem;
  cursor: pointer;
  color: var(--text-primary);
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.86rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--text-inverse-muted);
  margin-bottom: 1.1rem;
}

.breadcrumbs a {
  color: var(--text-inverse-muted);
}

.breadcrumbs a:hover {
  color: var(--brand-lime);
}

/* Full-Bleed Gradient Homepage Hero */
.hero-banner {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-inverse);
  overflow: hidden;
  padding: 3.75rem 0 4.5rem;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.88;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 44, 26, 0.98) 0%,
    rgba(10, 44, 26, 0.94) 44%,
    rgba(10, 44, 26, 0.68) 68%,
    rgba(10, 44, 26, 0.25) 100%
  );
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 660px;
}

.hero-banner h1 {
  color: #ffffff;
  font-size: clamp(1.85rem, 4.4vw, 3.5rem);
  line-height: 1.12;
  margin-bottom: 1.15rem;
}

.hero-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
}

.hero-phone-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--brand-lime);
  color: var(--brand-lime-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.hero-phone-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-phone-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-inverse-muted);
}

.hero-phone-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

/* Vibrant Lime Scrolling Ticker Ribbon */
.feature-ribbon {
  background-color: var(--brand-lime);
  color: var(--brand-lime-ink);
  padding: 0.9rem 0;
  border-top: 1px solid rgba(11, 38, 23, 0.1);
  border-bottom: 1px solid rgba(11, 38, 23, 0.12);
  overflow: hidden;
  width: 100%;
}

.feature-ribbon-viewport {
  display: flex;
  width: max-content;
  animation: ribbonMarquee 28s linear infinite;
  will-change: transform;
}

.feature-ribbon:hover .feature-ribbon-viewport,
.feature-ribbon:focus-within .feature-ribbon-viewport {
  animation-play-state: paused;
}

.feature-ribbon-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.ribbon-item::before {
  content: "\2733";
  font-size: 1rem;
}

@keyframes ribbonMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-ribbon {
    overflow-x: auto;
  }
  .feature-ribbon-viewport {
    animation: none;
  }
}

/* Interior Page Heroes */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #14482c 100%);
  color: var(--text-inverse);
  padding: 3.5rem 0 4rem;
  border-bottom: 4px solid var(--brand-lime);
}

.page-hero h1 {
  color: #ffffff;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.page-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(138, 228, 72, 0.35);
  box-shadow: var(--shadow-lg);
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-hero-compact {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #14482c 100%);
  color: var(--text-inverse);
  padding: 3rem 0 3.35rem;
  border-bottom: 4px solid var(--brand-lime);
}

.page-hero-compact h1 {
  color: #ffffff;
}

/* Lime-Framed Quote / Quick Pickup Card */
.quote-frame {
  background-color: #ffffff;
  border: 4px solid var(--brand-lime);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.quote-frame-title {
  text-align: center;
  margin-bottom: 1.4rem;
  font-size: 1.85rem;
}

.check-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.check-list-grid li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  font-size: 0.94rem;
}

.check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--brand-lime);
  color: var(--brand-lime-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.highlight-tile {
  background-color: var(--bg-mint);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.highlight-tile-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin-bottom: 0.35rem;
  line-height: 1.15;
}

/* Split Feature Cards (Mission / Vision style) */
.split-feature-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.split-feature-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  min-height: 210px;
}

.split-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-badge-dark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--bg-dark);
  color: var(--brand-lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-mint);
  border-bottom: 1px solid var(--border-subtle);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.card-body {
  padding: 1.55rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-footer-link {
  margin-top: auto;
  padding-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--bg-mint);
  color: var(--brand-primary);
  border: 1px solid var(--border-subtle);
}

.badge-amber {
  background-color: var(--brand-amber-bg);
  color: #8f490b;
  border-color: var(--brand-amber-border);
}

.badge-lime {
  background-color: rgba(138, 228, 72, 0.22);
  color: #0e3820;
  border-color: rgba(138, 228, 72, 0.55);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.14);
  color: #e8f8ed;
  border-color: rgba(255, 255, 255, 0.24);
}

/* Notices & Callout Boxes */
.notice-box {
  background-color: var(--brand-amber-bg);
  border: 1px solid var(--brand-amber-border);
  border-left: 4px solid var(--brand-amber);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.93rem;
  color: #5c3208;
}

.notice-box strong {
  color: #3f2104;
}

.info-box {
  background-color: var(--bg-mint);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.45rem;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.process-step {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--brand-lime);
  color: var(--brand-lime-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Two-Column Content + Sidebar */
.content-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.85fr);
  gap: 2.75rem;
  align-items: start;
}

.sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 112px;
}

.sidebar-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav li {
  margin: 0;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-nav li:last-child {
  border-bottom: none;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.25rem;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--brand-primary);
  font-weight: 600;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  text-align: left;
}

th, td {
  padding: 0.95rem 1.05rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

th {
  background-color: var(--bg-mint);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

tr:last-child td {
  border-bottom: none;
}

/* Filter Bars */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.52rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background-color: #ffffff;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.filter-btn.active {
  background-color: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--brand-lime);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.faq-question:hover {
  background-color: var(--bg-mint);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-mint);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background-color: var(--brand-lime);
  color: var(--brand-lime-ink);
}

.faq-answer {
  display: none;
  padding: 0 1.35rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Forms */
.form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.required-mark {
  color: var(--danger);
}

.form-control {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.75rem 0.95rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  background-color: #f9fbf9;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(138, 228, 72, 0.35);
}

.form-control.is-invalid {
  border-color: var(--danger);
  background-color: var(--danger-bg);
}

.field-error {
  font-size: 0.8rem;
  color: var(--danger);
  font-weight: 500;
  min-height: 1em;
}

.form-status {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.warning {
  background-color: var(--brand-amber-bg);
  border: 1px solid var(--brand-amber-border);
  border-left: 4px solid var(--brand-amber);
  color: #5c3208;
}

.form-status.error {
  background-color: var(--danger-bg);
  border: 1px solid #fecdca;
  border-left: 4px solid var(--danger);
  color: #7a1811;
}

.form-status.success {
  background-color: var(--success-bg);
  border: 1px solid #abefc6;
  border-left: 4px solid var(--success);
  color: #064e3b;
}

/* Figures & Articles */
.article-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.article-content h3 {
  margin-top: 1.65rem;
  margin-bottom: 0.65rem;
}

.article-figure {
  margin: 1.75rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.article-figure img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.article-figure figcaption {
  padding: 0.8rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background-color: var(--bg-mint);
  border-top: 1px solid var(--border-subtle);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #154d30 100%);
  color: var(--text-inverse);
  border-radius: var(--radius-lg);
  padding: 3.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(138, 228, 72, 0.25);
}

.cta-banner h2,
.cta-banner p {
  color: var(--text-inverse);
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: var(--text-inverse-muted);
  max-width: 620px;
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark-deep);
  color: var(--text-inverse-muted);
  padding: 4.25rem 0 2rem;
  border-top: 4px solid var(--brand-lime);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-heading {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: var(--text-inverse-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--brand-lime);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
}

/* Prevent Grid/Flex item overflow */
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.process-grid > *,
.form-grid > *,
.page-hero-grid > *,
.content-with-sidebar > *,
.split-feature-card > *,
.header-inner > * {
  min-width: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .page-hero-grid,
  .content-with-sidebar,
  .split-feature-card {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .sidebar-stack {
    position: static;
  }
}

@media (max-width: 860px) {
  .mobile-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .header-actions {
    display: none;
  }

  .header-inner {
    gap: 0.75rem;
    padding: 0.5rem 0.8rem 0.5rem 0.95rem;
  }

  .brand-logo {
    flex-shrink: 1;
    font-size: 1.05rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 250;
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.15rem 1.35rem;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background-color: var(--bg-mint);
    margin-top: 0.25rem;
  }

  .nav-item:hover > .dropdown-menu {
    display: none;
  }

  .nav-item.open > .dropdown-menu {
    display: block;
  }

  .mobile-cta-wrap {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle);
  }

  .hero-banner {
    padding: 2.75rem 0 3.25rem;
  }

  .hero-banner-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 44, 26, 0.94) 0%,
      rgba(10, 44, 26, 0.88) 65%,
      rgba(10, 44, 26, 0.96) 100%
    );
  }
}

@media (min-width: 861px) {
  .mobile-cta-wrap {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.76rem;
  }

  .top-bar-left,
  .top-bar-right {
    gap: 0.45rem 0.9rem;
  }

  .section {
    padding: 3rem 0;
  }

  .page-hero,
  .page-hero-compact {
    padding: 2.35rem 0 2.75rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .process-grid,
  .form-grid,
  .check-list-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 1.85rem 1.25rem;
  }

  .form-card,
  .quote-frame {
    padding: 1.25rem;
  }
}
