:root {
  --green-900: #0b3d2f;
  --green-800: #0f5b45;
  --green-700: #167054;
  --cream-100: #f7f3ea;
  --cream-200: #efe8d8;
  --text: #10231d;
  --muted: #395046;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(15, 62, 48, 0.12);
  --radius: 14px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 2147483646;
  pointer-events: auto;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-800);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--green-900);
  color: var(--white);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 5.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  /* Smaller Tawk.to chat bubble on mobile so it doesn't overlap back-to-top */
  #tawk-bubble-container,
  .tawk-min-container,
  [id^="tawk-bubble"] {
    transform: scale(0.78);
    transform-origin: bottom right;
  }
}

/* Tawk.to: keep chat window small when open (desktop and mobile) */
#tawkchat-iframe-container,
#tawk-iframe-wrapper,
.tawk-chat-container,
iframe[src*="tawk.to"] {
  max-width: 400px !important;
  max-height: 520px !important;
  width: 400px !important;
  height: 520px !important;
  min-height: 400px !important;
  right: 1rem !important;
  bottom: 5rem !important;
  left: auto !important;
  top: auto !important;
}
/* Container that wraps the chat iframe when maximized */
#tawkchat-container,
div[id*="tawkchat-container"],
[class*="tawk-max"] {
  max-width: 400px !important;
  max-height: 520px !important;
  width: 400px !important;
  height: 520px !important;
  right: 1rem !important;
  bottom: 5rem !important;
  left: auto !important;
  top: auto !important;
}

@media (max-width: 768px) {
  #tawkchat-iframe-container,
  #tawk-iframe-wrapper,
  .tawk-chat-container,
  iframe[src*="tawk.to"],
  #tawkchat-container,
  div[id*="tawkchat-container"],
  [class*="tawk-max"] {
    max-width: calc(100vw - 2rem) !important;
    max-height: 65vh !important;
    width: calc(100vw - 2rem) !important;
    height: 65vh !important;
    min-height: 380px !important;
    right: 1rem !important;
    bottom: 5.5rem !important;
  }
}

[data-theme="dark"] .back-to-top {
  background: var(--green-700);
}

[data-theme="dark"] .back-to-top:hover,
[data-theme="dark"] .back-to-top:focus-visible {
  background: var(--green-800);
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(15, 91, 69, 0.07), transparent 40%),
    radial-gradient(circle at bottom left, rgba(241, 212, 154, 0.16), transparent 45%),
    var(--cream-100);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
  color: var(--green-900);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--green-800);
}

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.25));
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 60ch;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--green-900);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(247, 243, 234, 0.92);
  border-bottom: 1px solid rgba(16, 35, 29, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--green-900);
}

.logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  display: block;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
}

.brand-text span {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 1.05rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-900);
}

.header-call {
  text-decoration: none;
  white-space: nowrap;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 61, 47, 0.2);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(16, 35, 29, 0.2);
  background: var(--white);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  width: 18px;
  background: var(--green-900);
  border-radius: 1px;
}

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

.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;
}

.hero {
  padding-top: clamp(4rem, 9vw, 8rem);
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  min-height: min(85vh, 680px);
  overflow: hidden;
  padding-top: 0;
}

.hero-carousel-inner {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
  z-index: 0;
}

.hero-slide-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-origin: border-box;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11, 61, 47, 0.82) 0%,
    rgba(11, 61, 47, 0.55) 45%,
    rgba(11, 61, 47, 0.35) 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 6rem) 0;
  min-height: min(85vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
}

.hero-slide-content .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.hero-slide-content h1 {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-slide-content .lead {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.hero-slide-content .hero-points li {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.95);
}

.hero-carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.2s ease;
}

.hero-dot:hover,
.hero-dot:focus-visible {
  background: rgba(255, 255, 255, 0.5);
}

.hero-dot.hero-dot-active {
  background: var(--white);
  border-color: var(--white);
}

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

.hero-panel,
.image-card,
.testimonial-box,
.map-placeholder,
.widget-placeholder,
.booking-placeholder,
.chat-placeholder {
  border-radius: var(--radius);
  border: 1px solid rgba(16, 35, 29, 0.09);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.4rem;
}

.hero-panel h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.booking-embed-wrap {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(16, 35, 29, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.booking-embed-wrap h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.booking-embed-note {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.booking-embed-wrap .calendly-inline-widget {
  width: 100%;
  min-height: 580px;
}

/* Google Reviews embed container – add widget code inside #google-reviews-embed when ready */
.reviews-embed-wrap {
  margin-top: 1rem;
  min-height: 80px;
}

@media (max-width: 768px) {
  .booking-embed-wrap .calendly-inline-widget {
    min-height: 520px;
  }
}

.chat-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.stat-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-grid article {
  border: 1px solid rgba(16, 35, 29, 0.1);
  border-radius: 12px;
  background: var(--white);
  padding: 0.8rem;
}

.stat-grid strong {
  color: var(--green-700);
  font-size: 1.2rem;
  display: block;
}

.hero-cta {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-points li {
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(15, 91, 69, 0.25);
  border-radius: 999px;
  font-size: 0.88rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background: var(--green-800);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-900);
}

.btn-outline {
  border-color: var(--green-800);
  color: var(--green-800);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(15, 91, 69, 0.08);
}

.btn-small {
  padding: 0.5rem 0.85rem;
  background: var(--white);
  border: 1px solid rgba(16, 35, 29, 0.2);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.badge {
  background: rgba(15, 91, 69, 0.08);
  border: 1px solid rgba(15, 91, 69, 0.2);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.image-card {
  min-height: 280px;
  overflow: hidden;
}

.about-team-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.image-card-inner {
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  min-height: 240px;
  border: 1px dashed rgba(16, 35, 29, 0.25);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}

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

.card,
.blog-card,
.gallery-item,
.faq-list details {
  background: var(--white);
  border: 1px solid rgba(16, 35, 29, 0.1);
  border-radius: var(--radius);
}

.card {
  padding: 1rem;
}

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

.text-link {
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.feature-list {
  padding-left: 1.2rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
}

.rating {
  margin-top: 1rem;
}

.rating span {
  letter-spacing: 0.12em;
  color: #bc8b20;
}

.testimonial-box {
  padding: 1.3rem;
}

.testimonial-box blockquote {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
}

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

.widget-placeholder,
.booking-placeholder,
.chat-placeholder,
.map-placeholder {
  padding: 1rem;
}

.gallery-grid,
.blog-grid,
.footer-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

/* Cleaning Types in Action – dynamic grid */
.cleaning-types-section {
  overflow: hidden;
}

.section-lead {
  max-width: 52ch;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: var(--muted);
}

.cleaning-types-wrap {
  position: relative;
  margin-top: 1.5rem;
}

.cleaning-types-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Staggered entrance animation */
@keyframes cleaning-card-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cleaning-type-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(11, 61, 47, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cleaning-type-card.fade-up.is-visible {
  animation: cleaning-card-in 0.6s ease forwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.cleaning-type-card:hover,
.cleaning-type-card:focus-visible {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(11, 61, 47, 0.22);
}

.cleaning-type-card .cleaning-type-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.cleaning-type-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Subtle continuous motion on images (desktop & mobile) */
@keyframes cleaning-img-float {
  0%, 100% {
    transform: scale(1.03) translate(0, 0);
  }
  50% {
    transform: scale(1.06) translate(1%, 0.5%);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cleaning-type-card .cleaning-type-img-wrap img {
    animation: cleaning-img-float 4s ease-in-out infinite;
  }
  .cleaning-type-card:nth-child(2) .cleaning-type-img-wrap img {
    animation-delay: -1.5s;
  }
  .cleaning-type-card:nth-child(3) .cleaning-type-img-wrap img {
    animation-delay: -3s;
  }
  .cleaning-type-card:nth-child(4) .cleaning-type-img-wrap img {
    animation-delay: -4.5s;
  }
  .cleaning-type-card:nth-child(5) .cleaning-type-img-wrap img {
    animation-delay: -6s;
  }
}

.cleaning-type-card:hover img,
.cleaning-type-card:focus-visible img {
  transform: scale(1.1);
  animation: none;
}

/* Shine sweep on hover */
.cleaning-type-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.cleaning-type-card:hover .cleaning-type-shine,
.cleaning-type-card:focus-visible .cleaning-type-shine {
  transform: translateX(100%);
}

.cleaning-type-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 61, 47, 0.92) 0%,
    rgba(11, 61, 47, 0.4) 45%,
    transparent 70%
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cleaning-type-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem;
  z-index: 1;
  color: #ffffff;
}

.cleaning-type-content h3,
.cleaning-type-content p,
.cleaning-type-content .cleaning-type-cta-label {
  color: #ffffff;
}

.cleaning-type-content h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.cleaning-type-content p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.95;
  line-height: 1.35;
}

.cleaning-type-cta-label {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cleaning-type-card:hover .cleaning-type-cta-label,
.cleaning-type-card:focus-visible .cleaning-type-cta-label {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile carousel dots */
.cleaning-types-dots {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0 1rem;
}

.cleaning-types-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(11, 61, 47, 0.25);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cleaning-types-dots .dot:hover {
  background: rgba(11, 61, 47, 0.5);
}

.cleaning-types-dots .dot.is-active {
  background: var(--green-800);
  transform: scale(1.25);
}

.cleaning-types-cta {
  text-align: center;
  margin-top: 2rem;
}

.cleaning-types-cta .btn {
  padding: 0.85rem 1.5rem;
}

@media (max-width: 1024px) {
  .cleaning-types-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cleaning-types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .cleaning-type-content h3 {
    font-size: 1rem;
  }

  .cleaning-type-content p {
    font-size: 0.8rem;
  }
}

@media (max-width: 520px) {
  .cleaning-types-wrap {
    margin-left: -1rem;
    margin-right: -1rem;
    position: relative;
  }

  .cleaning-types-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 3rem;
    width: 2rem;
    background: linear-gradient(to left, var(--cream-100), transparent);
    pointer-events: none;
  }

  [data-theme="dark"] .cleaning-types-wrap::after {
    background: linear-gradient(to left, var(--cream-100), transparent);
  }

  .cleaning-types-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 1rem;
    padding: 0 1rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    margin-top: 0;
  }

  .cleaning-type-card {
    flex: 0 0 82%;
    max-width: 300px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .cleaning-type-card .cleaning-type-img-wrap {
    aspect-ratio: 3 / 4;
  }

  .cleaning-types-dots {
    display: flex;
  }
}

/* Dark mode – cleaning types */
[data-theme="dark"] .cleaning-type-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cleaning-type-card:hover,
[data-theme="dark"] .cleaning-type-card:focus-visible {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .cleaning-type-content,
[data-theme="dark"] .cleaning-type-content h3,
[data-theme="dark"] .cleaning-type-content p,
[data-theme="dark"] .cleaning-type-content .cleaning-type-cta-label {
  color: #ffffff;
}

[data-theme="dark"] .cleaning-types-dots .dot {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .cleaning-types-dots .dot:hover {
  background: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .cleaning-types-dots .dot.is-active {
  background: var(--green-600, #1a9b6d);
}

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

.placeholder-box {
  min-height: 180px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px dashed rgba(16, 35, 29, 0.22);
  background: linear-gradient(135deg, rgba(15, 91, 69, 0.08), rgba(239, 232, 216, 0.8));
  margin-bottom: 0.6rem;
}

.gallery-item {
  padding: 0;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
}

.gallery-item figcaption {
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 0.8rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.quote-form {
  background: var(--white);
  border: 1px solid rgba(16, 35, 29, 0.12);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.quote-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(16, 35, 29, 0.24);
  padding: 0.68rem 0.75rem;
  font: inherit;
  margin-bottom: 0.85rem;
  background: #fffdfa;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(15, 91, 69, 0.26);
  border-color: var(--green-700);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status {
  margin-top: 0.6rem;
  font-weight: 700;
}

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

.blog-card {
  padding: 1rem;
}

.map-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(16, 35, 29, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.map-caption {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-900);
  background: rgba(247, 243, 234, 0.8);
  border-bottom: 1px solid rgba(16, 35, 29, 0.08);
}

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

@media (max-width: 768px) {
  .map-iframe {
    min-height: 220px;
    height: 260px;
  }
}

.site-footer {
  background: var(--green-900);
  color: #d6ece2;
  padding-top: 2.7rem;
}

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

.site-footer a {
  color: #ecf7f2;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.site-footer ul {
  margin: 0;
  padding-left: 1rem;
}

.footer-brand {
  color: #ecf7f2;
}

.socials {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.legal-row {
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.legal-row div {
  display: inline-flex;
  gap: 1rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .site-nav {
    gap: 0.7rem;
  }

  .header-call {
    display: none;
  }

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

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

@media (max-width: 768px) {
  .site-header {
    position: relative;
  }

  .nav-wrap {
    position: relative;
    flex-wrap: wrap;
  }

  .header-actions {
    margin-left: auto;
    gap: 0.4rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    margin: 0 -1rem;
    background: var(--cream-100);
    border-bottom: 1px solid rgba(16, 35, 29, 0.12);
    box-shadow: 0 10px 30px rgba(11, 61, 47, 0.15);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .site-nav.open {
    max-height: 90vh;
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 1.25rem;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid rgba(16, 35, 29, 0.06);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(15, 91, 69, 0.08);
    color: var(--green-900);
  }

  .hero-carousel {
    min-height: min(80vh, 580px);
  }

  .hero-slide-content {
    min-height: min(80vh, 580px);
    padding-bottom: 3.5rem;
  }

  .hero-carousel-dots {
    bottom: 1rem;
  }

  .hero-slide-content h1 {
    font-size: clamp(1.65rem, 5vw, 2.25rem);
  }

  .hero-grid,
  .split,
  .cards,
  .gallery-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-text span {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
  }

  .brand-text strong {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== Dark mode ========== */
[data-theme="dark"] {
  --green-900: #167054;
  --green-800: #1e8a6a;
  --green-700: #2aa87a;
  --cream-100: #141d1a;
  --cream-200: #1c2824;
  --text: #ffffff;
  --muted: #c5f0dc;
  --white: #1e2a26;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body {
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(15, 91, 69, 0.2), transparent 40%),
    radial-gradient(circle at bottom left, rgba(22, 112, 84, 0.12), transparent 45%),
    var(--cream-100);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
  color: #ffffff;
}

[data-theme="dark"] .eyebrow {
  color: #c5f0dc;
}

[data-theme="dark"] .brand {
  color: #ffffff;
}

[data-theme="dark"] .site-header {
  background: rgba(20, 29, 26, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .site-nav a {
  color: #e0f5eb;
}

[data-theme="dark"] .site-nav a:hover,
[data-theme="dark"] .site-nav a:focus-visible {
  color: #ffffff;
}

@media (max-width: 768px) {
  [data-theme="dark"] .site-nav {
    background: var(--cream-200);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  [data-theme="dark"] .site-nav a {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
}

[data-theme="dark"] .section-alt {
  background: linear-gradient(180deg, rgba(28, 40, 36, 0.6), rgba(20, 29, 26, 0.4));
}

[data-theme="dark"] .card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .gallery-item,
[data-theme="dark"] .hero-panel,
[data-theme="dark"] .image-card-inner,
[data-theme="dark"] .testimonial-box,
[data-theme="dark"] .widget-placeholder,
[data-theme="dark"] .map-placeholder,
[data-theme="dark"] .faq-list details {
  background: var(--cream-200);
  border-color: rgba(226, 235, 232, 0.12);
}

[data-theme="dark"] .menu-toggle {
  background: var(--cream-200);
  border-color: rgba(226, 235, 232, 0.2);
}

[data-theme="dark"] .menu-toggle span:not(.sr-only) {
  background: #ffffff;
}

[data-theme="dark"] .header-call {
  border-color: rgba(197, 240, 220, 0.5);
  color: #ffffff;
}

[data-theme="dark"] .quote-form input,
[data-theme="dark"] .quote-form select,
[data-theme="dark"] .quote-form textarea {
  background: var(--cream-200);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

[data-theme="dark"] .quote-form input::placeholder,
[data-theme="dark"] .quote-form textarea::placeholder {
  color: #a8dcc4;
}

[data-theme="dark"] .quote-form label,
[data-theme="dark"] .form-note {
  color: #e0f5eb;
}

[data-theme="dark"] a {
  color: #c5f0dc;
}

[data-theme="dark"] a:hover,
[data-theme="dark"] a:focus-visible {
  color: #ffffff;
}

[data-theme="dark"] .placeholder-box {
  background: linear-gradient(135deg, rgba(15, 91, 69, 0.2), rgba(28, 40, 36, 0.9));
  border-color: rgba(255, 255, 255, 0.15);
  color: #e0f5eb;
}

[data-theme="dark"] .rating,
[data-theme="dark"] .rating strong {
  color: #e0f5eb;
}

[data-theme="dark"] .rating span {
  color: #f0e68c;
}

[data-theme="dark"] .stat-grid strong,
[data-theme="dark"] .stat-grid span {
  color: #e0f5eb;
}

[data-theme="dark"] .image-card-inner,
[data-theme="dark"] .image-card-inner p {
  color: #e0f5eb;
}

[data-theme="dark"] .gallery-item figcaption {
  color: #c5f0dc;
}

[data-theme="dark"] .widget-placeholder p,
[data-theme="dark"] .map-placeholder p {
  color: #e0f5eb;
}

[data-theme="dark"] .map-wrap {
  background: var(--cream-200);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .map-caption {
  background: rgba(28, 40, 36, 0.8);
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .booking-embed-wrap {
  background: var(--cream-200);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .booking-embed-wrap h3 {
  color: #ffffff;
}

[data-theme="dark"] .booking-embed-note,
[data-theme="dark"] .chat-note {
  color: #c5f0dc;
}

[data-theme="dark"] .site-footer {
  background: #0d1814;
  border-top: 1px solid rgba(226, 235, 232, 0.08);
}

[data-theme="dark"] .site-footer,
[data-theme="dark"] .site-footer p {
  color: #e0f5eb;
}

[data-theme="dark"] .site-footer a {
  color: #c5f0dc;
}

[data-theme="dark"] .site-footer a:hover,
[data-theme="dark"] .site-footer a:focus-visible {
  color: #ffffff;
}

[data-theme="dark"] .legal-row {
  border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .cleaning-type-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .cleaning-type-card:hover,
[data-theme="dark"] .cleaning-type-card:focus-visible {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .btn-outline {
  border-color: #c5f0dc;
  color: #c5f0dc;
}

[data-theme="dark"] .btn-outline:hover,
[data-theme="dark"] .btn-outline:focus-visible {
  background: rgba(197, 240, 220, 0.2);
  color: #ffffff;
}

[data-theme="dark"] .badge,
[data-theme="dark"] .hero-points li {
  border-color: rgba(197, 240, 220, 0.6);
  background: rgba(197, 240, 220, 0.15);
  color: #e0f5eb;
}

[data-theme="dark"] .feature-list li,
[data-theme="dark"] .lead,
[data-theme="dark"] .section-lead {
  color: #e0f5eb;
}

[data-theme="dark"] .card h3,
[data-theme="dark"] .card p,
[data-theme="dark"] .testimonial-box blockquote,
[data-theme="dark"] .testimonial-box p,
[data-theme="dark"] .faq-list summary,
[data-theme="dark"] .faq-list p {
  color: #ffffff;
}

[data-theme="dark"] .text-link {
  color: #c5f0dc;
}

[data-theme="dark"] .legal-row p {
  color: #e0f5eb;
}

[data-theme="dark"] .legal-row a {
  color: #c5f0dc;
}

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(16, 35, 29, 0.2);
  border-radius: 10px;
  background: var(--white);
  color: var(--green-900);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: var(--cream-200);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
  color: #e8d48b;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle {
  border-color: rgba(226, 235, 232, 0.25);
  background: var(--cream-200);
}
