html {
  scroll-behavior: smooth;
}

/* ===== Header state ===== */
#site-header {
  background: transparent;
}
#site-header.scrolled {
  background: rgba(14, 31, 22, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.header-logo-text,
.header-nav-text {
  color: #faf8f3;
}

/* ===== Reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.animate-bounce-slow {
  animation: bounce-slow 2.4s ease-in-out infinite;
}

/* ===== Service cards ===== */
.service-card {
  background: #fff;
  border: 1px solid rgba(14, 31, 22, 0.06);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(14, 31, 22, 0.15);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 80, 58, 0.08);
  color: #28503a;
  margin-bottom: 1.25rem;
}

/* ===== Gallery ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
  transform: scale(1.08);
}

/* ===== Testimonials ===== */
.testimonial-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 30px -10px rgba(14, 31, 22, 0.1);
}

/* ===== Zone pills ===== */
.zone-pill {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 248, 243, 0.18);
  background: rgba(250, 248, 243, 0.04);
}

/* ===== Contact ===== */
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 80, 58, 0.08);
  color: #28503a;
  flex-shrink: 0;
}
.form-input {
  width: 100%;
  border: 1px solid rgba(14, 31, 22, 0.12);
  border-radius: 0.6rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #faf8f3;
}
.form-input:focus {
  outline: none;
  border-color: #356b4a;
  box-shadow: 0 0 0 3px rgba(53, 107, 74, 0.15);
}
