/* ── GLOBAL THEME ── */
:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top, rgba(110, 198, 128, 0.2), transparent 30%),
    linear-gradient(180deg, #f8fff8 0%, #eef8ef 46%, #e6f4e8 100%);
  color: #163120;
  font-weight: 600;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(36, 82, 48, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(36, 82, 48, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), black 25%, black 75%, rgba(0, 0, 0, 0.12));
  z-index: -1;
}

::selection {
  background: rgba(93, 181, 113, 0.3);
  color: #10301a;
}

.bg-surface-950 {
  background-color: #f8fff8 !important;
}

.bg-surface-900 {
  background-color: #eef8ef !important;
}

.bg-surface-800 {
  background-color: #ddefdf !important;
}

.bg-surface-800\/50 {
  background-color: rgba(221, 239, 223, 0.82) !important;
}

.border-surface-800,
.border-surface-800\/60 {
  border-color: rgba(90, 132, 101, 0.2) !important;
}

.text-white,
.text-black {
  color: #173321 !important;
}

.text-white\/80 {
  color: rgba(16, 41, 24, 0.96) !important;
  font-weight: 700 !important;
}

.text-white\/70 {
  color: rgba(18, 45, 28, 0.92) !important;
  font-weight: 700 !important;
}

.text-white\/60,
.text-white\/50 {
  color: rgba(24, 54, 35, 0.86) !important;
  font-weight: 650 !important;
}

.text-white\/40 {
  color: rgba(29, 61, 40, 0.8) !important;
  font-weight: 650 !important;
}

.text-white\/30 {
  color: rgba(37, 69, 47, 0.74) !important;
  font-weight: 600 !important;
}

.text-white\/20 {
  color: rgba(47, 79, 57, 0.68) !important;
  font-weight: 600 !important;
}

.font-semibold {
  font-weight: 700 !important;
}

.font-bold {
  font-weight: 800 !important;
}

.font-black {
  font-weight: 800 !important;
}

.text-sm {
  font-size: 0.98rem !important;
}

.text-lg {
  font-size: 1.15rem !important;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

/* ── HERO BACKGROUND ── */
.hero-bg {
  background-image:
    linear-gradient(145deg, rgba(248, 255, 248, 0.78) 0%, rgba(239, 249, 240, 0.84) 48%, rgba(175, 222, 186, 0.5) 100%),
    url('../img/hero.jpg');
  background-size: cover;
  background-position: center 28%;
  position: relative;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(239, 249, 240, 0.74));
}

/* ── ENTRANCE ANIMATIONS ── */
.animate-fade-in { animation: fade-in 0.8s ease-out both; }
.animate-slide-up { animation: slide-up 0.7s ease-out both; }
.animate-slide-up-d1 { animation: slide-up 0.7s ease-out 0.15s both; }
.animate-slide-up-d2 { animation: slide-up 0.7s ease-out 0.3s both; }
.jump-letter {
  display: inline-block;
  color: #19753c;
  text-shadow: 0 8px 18px rgba(96, 172, 116, 0.18);
  animation: jump 2.6s ease-in-out infinite;
}

.jump-gap {
  display: inline-block;
  width: 0.35em;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes jump {
  0%, 100% { transform: translateY(0); }
  20% { transform: translateY(-12px); }
  38% { transform: translateY(0); }
}

/* ── ZONE CARDS ── */
.zone-card { transition: all 0.25s ease; }
.zone-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(48, 102, 63, 0.12);
  border-color: rgba(118, 191, 136, 0.42) !important;
}

.postal-pill {
  display: inline-block;
  background: rgba(104, 197, 124, 0.12);
  border: 1px solid rgba(104, 197, 124, 0.28);
  color: #19753c;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 9999px;
}

.day-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 9999px;
}

.day-badge-monday {
  background: #dff5e5;
  border: 1px solid rgba(73, 120, 83, 0.22);
  color: #114222;
}

.day-badge-tuesday {
  background: #d8f0de;
  border: 1px solid rgba(61, 96, 68, 0.22);
  color: #123c22;
}

.day-badge-wednesday {
  background: #cfeccf;
  border: 1px solid rgba(91, 168, 108, 0.24);
  color: #0f4a20;
}

/* ── URGENT BANNER ── */
.urgent-banner {
  background: linear-gradient(135deg, rgba(162, 225, 176, 0.34), rgba(213, 240, 219, 0.9));
  border: 1px solid rgba(133, 189, 145, 0.28);
  animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(133, 189, 145, 0.24); }
  50% { border-color: rgba(171, 224, 181, 0.46); }
}

/* ── SERVICE TABLE ROW ── */
.service-row { transition: background-color 0.15s ease; }
.service-row:hover { background-color: rgba(98, 166, 114, 0.1); }

.section-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 249, 240, 0.96));
  border: 1px solid rgba(90, 132, 101, 0.16);
  box-shadow: 0 18px 50px rgba(58, 107, 71, 0.08);
}

.primary-button {
  background: linear-gradient(135deg, #74d089, #4c9d5e);
  color: #fbfffb !important;
  box-shadow: 0 16px 36px rgba(38, 86, 50, 0.18);
}

.primary-button:hover {
  background: linear-gradient(135deg, #88d89b, #5cab6d);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(125, 182, 138, 0.22);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(125, 182, 138, 0.38);
}

.hero-kicker {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(133, 189, 145, 0.28);
  box-shadow: 0 16px 40px rgba(76, 125, 88, 0.1);
}

.hero-headline {
  max-width: 12ch;
  text-wrap: balance;
  min-height: 2.2em;
}

.hero-highlight {
  color: #19753c;
}

.reviews-shell {
  position: relative;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.2rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(84, 124, 93, 0.16);
  box-shadow: 0 18px 42px rgba(76, 125, 88, 0.08);
}

.google-wordmark {
  display: inline-flex;
  gap: 0.02em;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.google-wordmark span:nth-child(1) { color: #4285f4; }
.google-wordmark span:nth-child(2) { color: #ea4335; }
.google-wordmark span:nth-child(3) { color: #fbbc05; }
.google-wordmark span:nth-child(4) { color: #4285f4; }
.google-wordmark span:nth-child(5) { color: #34a853; }
.google-wordmark span:nth-child(6) { color: #ea4335; }

.review-stars {
  color: #fbbc05;
  letter-spacing: 0.08em;
}

.reviews-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-slide {
  scroll-snap-align: start;
}

.google-review-card {
  height: 100%;
  min-height: 320px;
  background: #fff;
  border: 1px solid rgba(84, 124, 93, 0.14);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(76, 125, 88, 0.08);
  display: flex;
  flex-direction: column;
}

.google-review-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.google-review-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.review-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #61c87d, #19753c);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.review-meta {
  font-size: 0.92rem;
  color: rgba(43, 74, 53, 0.68);
}

.google-review-body {
  color: rgba(22, 49, 32, 0.9);
  line-height: 1.7;
  font-size: 1rem;
  flex: 1;
}

.review-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.slider-controls {
  display: flex;
  gap: 0.6rem;
}

.slider-button {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(84, 124, 93, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #19753c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(76, 125, 88, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.slider-button:hover {
  background: #f2fbf3;
  transform: translateY(-1px);
}

.review-link {
  color: #1a73e8;
  font-weight: 700;
}

.nav-shell {
  background: rgba(248, 255, 248, 0.88) !important;
  border-color: rgba(90, 132, 101, 0.18) !important;
  box-shadow: 0 10px 30px rgba(76, 125, 88, 0.08);
}

.shell-wide,
.shell-medium,
.shell-narrow {
  width: min(100% - 2rem, var(--shell-width));
  margin-inline: auto;
}

.shell-wide {
  --shell-width: 84rem;
}

.shell-medium {
  --shell-width: 74rem;
}

.shell-narrow {
  --shell-width: 62rem;
}

.hero-frame {
  width: min(100% - 2rem, 84rem);
  margin-inline: auto;
}

.panel-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 240, 0.98));
  box-shadow: 0 16px 42px rgba(76, 125, 88, 0.08);
}

.urgent-note {
  background: rgba(104, 197, 124, 0.12);
  border: 1px solid rgba(104, 197, 124, 0.2);
  color: #215132;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .jump-letter,
  .animate-fade-in,
  .animate-slide-up,
  .animate-slide-up-d1,
  .animate-slide-up-d2 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reviews-track {
    scroll-behavior: auto;
  }
  .zone-card:hover { transform: none; }
  .urgent-banner { animation: none !important; }
}

@media (max-width: 768px) {
  .reviews-header {
    flex-direction: column;
    align-items: stretch;
  }

  .review-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews-track {
    grid-auto-columns: 88%;
  }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #eef8ef; }
::-webkit-scrollbar-thumb { background: #8dcb9b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #5ead72; }
