body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  min-height: 100vh;
}

.site-body {
  color: #1a2e1a;
  background-color: #f4f7f2;
  background-image:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(149, 213, 178, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 100%, rgba(45, 106, 79, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #eef4ec 0%, #f4f7f2 45%, #f8faf6 100%);
}

.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;
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  max-width: 2.5rem;
  max-height: 2.5rem;
  flex-shrink: 0;
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

.hero-fullbleed {
  isolation: isolate;
  overflow: hidden;
  min-height: 13rem;
}

.hero-fullbleed-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 13rem;
  object-fit: cover;
}

.hero-fullbleed-overlay {
  z-index: 1;
}

.hero-fullbleed-content {
  z-index: 2;
}

.booking-shell {
  margin-top: 0;
  padding-top: 0;
}

.booking-panel {
  padding: 0.25rem 0;
}

.booking-form-shell {
  overflow: hidden;
  margin-top: 0;
}

.booking-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.booking-form-actions--end {
  justify-content: flex-end;
}

.booking-stepper {
  margin: 0;
  padding: 1rem 1.5rem 1.1rem;
  border-bottom: 1px solid #eef2ee;
  background: #fff;
}

.booking-stepper-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.booking-stepper-segments {
  display: flex;
  flex: 1;
  gap: 0.4rem;
  min-width: 0;
}

.booking-stepper-seg {
  flex: 1;
  height: 0.28rem;
  border-radius: 999px;
  background: #e8efe8;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

button.booking-stepper-seg {
  padding: 0;
  border: none;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.booking-stepper-seg--clickable {
  cursor: pointer;
}

.booking-stepper-seg--clickable:hover {
  background: #2d6a4f;
  transform: scaleY(1.35);
}

.booking-stepper-seg--clickable:focus-visible {
  outline: 2px solid #2d6a4f;
  outline-offset: 3px;
}

.booking-stepper-seg--done {
  background: #95d5b2;
}

.booking-stepper-seg--current {
  background: #2d6a4f;
  transform: scaleY(1.35);
  box-shadow: 0 0 0 2px rgba(45, 106, 79, 0.12);
}

.booking-stepper-count {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  color: #6b7c6b;
}

.booking-stepper-current {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2d6a4f;
}

.booking-stepper-total {
  color: #9aab9a;
}

.booking-card {
  border-radius: 1rem;
  border: 1px solid #d8e2d8;
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(26, 46, 26, 0.04),
    0 8px 24px -6px rgba(45, 106, 79, 0.14);
}

.booking-card--inset {
  box-shadow: 0 2px 8px -2px rgba(45, 106, 79, 0.1);
}

.service-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.service-card-thumb {
  width: 100%;
  height: 7rem;
  overflow: hidden;
  background: #f4f7f2;
}

.service-card-image {
  display: block;
  width: 100%;
  height: 7rem;
  max-height: 7rem;
  object-fit: cover;
}

@media (min-width: 640px) {
  .hero-banner-image { height: 14rem; }
  .hero-fullbleed { min-height: 18rem; }
  .hero-fullbleed-image { min-height: 18rem; }
  .booking-stepper { padding: 1.1rem 2rem 1.15rem; }
  .booking-stepper-seg { height: 0.32rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .hero-banner-image { height: 16rem; }
  .hero-fullbleed { min-height: 22rem; }
  .hero-fullbleed-image { min-height: 22rem; }
}

input, select, textarea, button { font: inherit; }
button[type="button"], button[type="submit"] { cursor: pointer; }

#booking-app {
  scroll-margin-top: 1rem;
}
#booking-app input,
#booking-app textarea,
#booking-app select,
#booking-app button {
  position: relative;
  z-index: 2;
}

#paypal-mount {
  position: relative;
  z-index: 1;
  min-height: 2.5rem;
}

.slot-btn { font-size: 10px; line-height: 1.2; }
.cal-day { min-height: 72px; }
.cal-day-btn { cursor: pointer; }
.slot-picker-btn { cursor: pointer; }

.admin-cal-day {
  min-height: 4.75rem;
  cursor: pointer;
}
.admin-cal-day--blocked {
  cursor: pointer;
}
.admin-cal-day--open {
  cursor: pointer;
}
#selected-day-panel {
  scroll-margin-top: 1rem;
}

.home-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #d8e2d8;
}

.service-area-map {
  display: block;
  width: 100%;
  height: 16rem;
  border: 0;
}

@media (min-width: 640px) {
  .service-area-map {
    height: 18rem;
  }
}

#contact,
#faq {
  scroll-margin-top: 1rem;
}

.faq-section-summary::-webkit-details-marker {
  display: none;
}

.faq-section-summary::marker {
  content: '';
}

.faq-section-chevron {
  transition: transform 0.2s ease;
}

.faq-section[open] .faq-section-chevron {
  transform: rotate(180deg);
}

/* Online estimate focus — hide other page content while the wizard is open */
body.home-estimate-focus #services,
body.home-estimate-focus .home-focus-hide {
  display: none !important;
}

body.home-estimate-focus .estimate-focus-toolbar {
  display: block !important;
}

body.home-estimate-focus #online-estimate {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

body.home-estimate-focus main {
  padding-top: 1.5rem;
}

body.home-estimate-focus #booking-details.faq-section {
  border-top-width: 0;
}

body.home-estimate-focus #booking-details > summary {
  pointer-events: none;
}

body.home-estimate-focus #booking-details .faq-section-chevron {
  visibility: hidden;
}

.booking-calendar-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 1px solid #d8e2d8;
  border-radius: 0.75rem;
  background: #f8faf6;
}

.booking-calendar-month {
  flex: 1 1 10rem;
  min-width: 8rem;
  text-align: center;
}

.booking-calendar-month-label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7c6b;
}

.booking-calendar-month-name {
  margin: 0.125rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d6a4f;
  line-height: 1.3;
}

.booking-calendar-nav-btn {
  flex: 1 1 auto;
  max-width: 11rem;
  border: 1px solid #d8e2d8;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #2d6a4f;
  white-space: nowrap;
}

.booking-calendar-nav-btn:hover {
  border-color: #2d6a4f;
  background: #eef5ef;
}

@media (max-width: 480px) {
  .booking-calendar-nav-btn {
    max-width: none;
    flex: 1 1 calc(50% - 0.375rem);
    font-size: 0.75rem;
    padding: 0.5rem;
  }

  .booking-calendar-month {
    flex: 1 1 100%;
    order: -1;
    padding-bottom: 0.25rem;
  }
}
