/* Palette inspired by masonsmowslogogreen.png */
:root {
  --lime: #c2ef8a;
  --lime-deep: #a8d96a;
  --grass: #76d200;
  --grass-dark: #5fb000;
  --forest: #014101;
  --forest-soft: #1a5c1a;
  --cream: #e6f8c4;
  --cream-pale: #f4fce8;
  --card: #ffffff;
  --ink: var(--forest);
  --ink-soft: var(--forest-soft);
  --brand: var(--grass);
  --brand-dark: var(--forest);
  --shadow: 0 10px 28px rgba(1, 65, 1, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream-pale) 0%, var(--cream) 45%, var(--lime) 100%);
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 70% at 75% 15%, rgba(118, 210, 0, 0.35) 0%, transparent 55%),
    linear-gradient(160deg, var(--cream-pale) 0%, var(--lime) 42%, var(--lime-deep) 100%);
  padding-bottom: 3.5rem;
}

.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 0.65rem;
  column-gap: 0.75rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: "Baloo 2", cursive;
  font-size: 1.45rem;
}

.brand-logo {
  width: 52px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(1, 65, 1, 0.2));
}

.brand-text {
  line-height: 1.15;
  text-shadow: 0 1px 0 rgba(230, 248, 196, 0.6);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  align-items: center;
  position: relative;
  z-index: 21;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
}

.dropdown details {
  position: relative;
}

.dropdown summary {
  list-style: none;
  cursor: pointer;
  color: var(--ink-soft);
  font-weight: 700;
}

.dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown-menu {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.45rem;
  border-radius: 12px;
  background: var(--card);
  border: 2px solid var(--forest);
  box-shadow: var(--shadow);
  position: absolute;
  min-width: 265px;
  z-index: 10;
}

.dropdown-menu li + li {
  margin-top: 0.25rem;
}

.dropdown-menu a {
  display: block;
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
}

.dropdown-menu a:hover {
  background: var(--cream);
}

.menu-btn {
  display: none;
  border: 2px solid var(--forest);
  background: var(--cream);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--ink);
}

.hero-content {
  padding: 2.6rem 0 1.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.hero-photo {
  margin: 0;
  justify-self: end;
}

.hero-photo img {
  display: block;
  width: min(430px, 100%);
  background: rgba(255, 255, 255, 0.85);
  border: 3px solid var(--forest);
  border-radius: 20px;
  padding: 0.35rem;
  box-shadow: var(--shadow);
}

.cartoon-wrap {
  position: relative;
  display: inline-block;
  animation: bob 2.4s ease-in-out infinite;
}

.cartoon-boy-image {
  display: block;
  width: min(430px, 100%);
  background: rgba(255, 255, 255, 0.85);
  border: 3px solid var(--forest);
  border-radius: 20px;
  padding: 0.35rem;
  box-shadow: var(--shadow);
}

.sparkle-dot {
  position: absolute;
  color: var(--grass);
  font-size: 1.2rem;
  text-shadow: 0 0 12px var(--cream-pale);
}

.sparkle-a {
  top: 8%;
  left: 8%;
  animation: twinkle 2.8s ease-in-out infinite;
}

.sparkle-b {
  top: 12%;
  right: 10%;
  animation: twinkle 3.3s ease-in-out infinite 0.4s;
}

.sparkle-c {
  top: 42%;
  right: 6%;
  animation: twinkle 3.6s ease-in-out infinite 0.8s;
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.badge {
  display: inline-block;
  background: var(--forest);
  color: var(--cream);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--grass);
}

h1, h2, h3 {
  font-family: "Baloo 2", cursive;
  line-height: 1.15;
  margin: 0 0 0.55rem;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  margin-top: 0.7rem;
}

.hero p {
  font-size: 1.05rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.btn-primary {
  background: linear-gradient(180deg, var(--grass) 0%, var(--grass-dark) 100%);
  color: var(--forest);
  border: 2px solid var(--forest);
}

.btn-secondary {
  background: var(--cream);
  color: var(--forest);
  border: 2px solid var(--forest);
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--cream-pale) 0%, var(--cream) 100%);
  border-block: 1px solid rgba(1, 65, 1, 0.08);
}

.section-intro {
  color: var(--ink-soft);
  margin-top: 0.25rem;
}

.cards {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--card);
  border-radius: 18px;
  padding: 1rem 1rem 1.1rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--forest);
}

/* Home page: equal-height cards; description grows so details / price / CTA rows align across columns */
.services-grid .card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  align-content: start;
  gap: 0.55rem;
  height: 100%;
  min-height: 0;
}

.services-grid .card-top {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.services-grid .card-top h3 {
  margin: 0;
}

.services-grid .card-desc {
  min-height: 0;
}

.services-grid .card-desc p {
  margin: 0;
}

.services-grid .card-details-link {
  margin: 0;
  min-height: 1.35em;
  display: flex;
  align-items: flex-end;
}

.services-grid .card .price {
  margin: 0;
  justify-self: start;
}

.services-grid .card-actions {
  margin-top: 0;
  width: 100%;
}

.services-grid .card-actions .btn {
  width: 100%;
  text-align: center;
}

.card-icon {
  font-size: 1.8rem;
}

.price {
  display: inline-block;
  margin-top: 0.35rem;
  background: var(--cream);
  color: var(--forest);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--grass);
}

.text-link {
  color: var(--grass-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

main a:not(.btn):not(.text-link) {
  color: var(--forest);
  font-weight: 700;
}

main a:not(.btn):not(.text-link):hover {
  color: var(--grass-dark);
}

.footer a {
  color: var(--cream);
  font-weight: 700;
}

.footer a:hover {
  color: #fff;
}

.payment-wrap {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.qr-card {
  background: var(--card);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  margin: 0;
  border: 2px solid var(--forest);
}

.qr-card img {
  width: min(280px, 100%);
  height: auto;
  border-radius: 8px;
  border: 2px dashed var(--grass-dark);
}

.qr-card figcaption {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.payment-note {
  background: rgba(230, 248, 196, 0.65);
  border: 2px solid var(--forest);
  border-radius: 16px;
  padding: 1rem;
}

.payment-note ol {
  padding-left: 1.2rem;
}

.small {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service-area-form {
  margin-top: 1.25rem;
  max-width: 640px;
}

.service-area-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}

.service-area-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.service-area-input-wrap {
  position: relative;
  flex: 1 1 260px;
  min-width: min(100%, 14rem);
  max-width: 100%;
}

.service-area-input {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--forest);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.service-area-input:focus {
  outline: 2px solid var(--grass);
  outline-offset: 2px;
}

.service-area-submit {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  flex-shrink: 0;
}

.service-area-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.service-area-note {
  margin-top: 0.75rem;
  max-width: 52ch;
}

.service-area-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 260px;
  overflow-y: auto;
  background: var(--card);
  border: 2px solid var(--forest);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.service-area-suggestion {
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink);
}

.service-area-suggestion:hover,
.service-area-suggestion.is-active {
  background: var(--cream);
}

.service-area-suggestion-hint {
  cursor: default;
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.9rem;
}

.service-area-suggestion-hint:hover {
  background: transparent;
}

.service-area-dialog {
  max-width: min(420px, 92vw);
  padding: 0;
  border: none;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(1, 65, 1, 0.35);
}

.service-area-dialog::backdrop {
  background: rgba(1, 65, 1, 0.45);
}

.service-area-dialog-inner {
  padding: 1.35rem 1.25rem 1.25rem;
  border: 3px solid var(--forest);
  border-radius: 18px;
  background: var(--cream-pale);
}

.service-area-dialog-title {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  color: var(--forest);
}

.service-area-dialog-msg {
  margin: 0 0 1.1rem;
  line-height: 1.45;
  color: var(--ink);
}

.service-area-dialog-close {
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: center;
}

/* Always styled like Menu — not affected by <ul> defaults; visible on mobile next to hamburger */
.cart-open-btn {
  border: 2px solid var(--forest);
  background: var(--cream);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}

.cart-open-btn:hover {
  background: var(--lime);
  color: var(--forest);
}

.cart-badge {
  display: inline-block;
  min-width: 1.35rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: var(--grass);
  color: var(--forest);
  font-size: 0.8rem;
  text-align: center;
}

.card-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cart-added-flash {
  animation: cartFlash 0.4s ease;
}

@keyframes cartFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(118, 210, 0, 0.7);
  }
  100% {
    box-shadow: 0 0 0 8px transparent;
  }
}

.cart-dialog {
  max-width: min(440px, 94vw);
  width: 100%;
  max-height: min(85vh, 640px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  border: none;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(1, 65, 1, 0.4);
}

.cart-dialog::backdrop {
  background: rgba(1, 65, 1, 0.5);
}

.cart-dialog-inner {
  position: relative;
  padding: 1.25rem 1.2rem 1.35rem;
  border: 3px solid var(--forest);
  border-radius: 20px;
  background: var(--cream-pale);
  overflow: visible;
}

.cart-dialog-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid var(--forest);
  border-radius: 50%;
  background: var(--card);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--forest);
}

.cart-dialog-title {
  margin: 0 2.5rem 1rem 0;
  font-family: "Baloo 2", cursive;
  font-size: 1.5rem;
  color: var(--forest);
}

.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cart-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.65rem 0.75rem;
  background: var(--card);
  border: 2px solid var(--forest);
  border-radius: 12px;
}

.cart-line-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.cart-qty-btn {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--forest);
  border-radius: 8px;
  background: var(--cream);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.cart-qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.cart-remove-btn {
  border: none;
  background: transparent;
  color: var(--grass-dark);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.cart-empty-msg {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.cart-footer-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-footer-actions .btn {
  width: 100%;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}

.cart-footer-actions .btn-primary {
  border: none;
}

.checkout-hint {
  margin: 0.5rem 0 1rem;
}

.checkout-nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.65rem;
}

.checkout-back,
.checkout-empty-cart {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.checkout-empty-cart {
  color: var(--grass-dark);
  font-weight: 700;
  text-decoration: underline;
}

.checkout-empty-cart:hover {
  color: var(--forest);
}

.checkout-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.checkout-label .optional {
  font-weight: 600;
  color: var(--ink-soft);
}

.checkout-field-hint {
  display: block;
  margin: 0.15rem 0 0.4rem;
  font-weight: 600;
  line-height: 1.35;
}

.checkout-address-wrap {
  margin-top: 0.15rem;
}

#checkout-step .checkout-address-suggestions {
  z-index: 60;
}

.checkout-input {
  padding: 0.55rem 0.7rem;
  border: 2px solid var(--forest);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--card);
}

.checkout-submit {
  margin-top: 0.25rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.checkout-status {
  margin: 0.5rem 0 0;
  color: #8b2942;
}

.checkout-status.checkout-status-ok {
  color: var(--forest-soft);
}

.cart-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.garbage-qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.garbage-qty-row label {
  font-weight: 700;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.garbage-qty-row input[type="number"] {
  width: 4rem;
  padding: 0.35rem 0.5rem;
  border: 2px solid var(--forest);
  border-radius: 8px;
  font-family: inherit;
}

.visitor-stat {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  opacity: 0.95;
}

.footer {
  padding: 1rem 0 2rem;
  text-align: center;
  color: var(--cream);
  background: var(--forest);
}

.cloud {
  position: absolute;
  background: rgba(230, 248, 196, 0.55);
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}

.cloud-1 {
  width: 180px;
  height: 58px;
  top: 22px;
  right: 15%;
}

.cloud-2 {
  width: 120px;
  height: 44px;
  top: 78px;
  right: 6%;
}

@media (max-width: 760px) {
  .brand {
    font-size: 1.15rem;
    max-width: min(220px, 55vw);
  }

  .brand-logo {
    width: 40px;
    max-height: 40px;
  }

  .menu-btn {
    display: inline-block;
  }

  .service-area-row {
    flex-direction: column;
    align-items: stretch;
  }

  .service-area-input-wrap {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .service-area-submit {
    width: 100%;
    align-self: stretch;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(244, 252, 232, 0.98);
    border: 2px solid var(--forest);
    position: absolute;
    right: 4%;
    top: 65px;
    border-radius: 12px;
    padding: 0.8rem;
    box-shadow: var(--shadow);
  }

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

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

  .hero-photo {
    justify-self: start;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
  }
}
