/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Custom Properties ── */
:root {
  --forest-500: #3d7a54;
  --forest-700: #234d33;
  --forest-800: #1c3e29;
  --cream-50: #faf9f6;
  --cream-100: #f5f3ee;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #2d6040;
  color: #faf9f6;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.625rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn-primary:hover {
  background: #3d7a54;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(45,96,64,0.25);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #2d6040;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.625rem;
  border: 2px solid #2d6040;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn-secondary:hover {
  background: #2d6040;
  color: #faf9f6;
  transform: translateY(-1px);
}

.btn-outline-cream {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #faf9f6;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.625rem;
  border: 2px solid rgba(250,249,246,0.4);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn-outline-cream:hover {
  background: rgba(250,249,246,0.1);
  border-color: rgba(250,249,246,0.8);
  transform: translateY(-1px);
}

/* ── Section Labels ── */
.section-label { display: block; }
.section { }

/* ── Navigation ── */
.nav { transition: box-shadow var(--transition); }
.nav.scrolled { box-shadow: 0 1px 12px rgba(28,62,41,0.08); }
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3d7a54;
  transition: width var(--transition);
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
.mobile-menu { animation: slideDown 200ms ease; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #faf9f6;
  padding: 5rem 1.5rem 3rem;
}
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(250,249,246,0.08) 0%,
    transparent 40%
  );
  pointer-events: none;
}
.hero-badge-float {
  animation: floatUp 0.6s ease both;
  animation-delay: 0.8s;
}
@keyframes floatUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: #faf9f6;
  border: 1px solid #e8e4dc;
  border-radius: 1rem;
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(28,62,41,0.1);
  border-color: #b9d0c4;
}
.service-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: #dce8e2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d6040;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: #2d6040;
  color: #faf9f6;
}

/* ── About Grid ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 6/7;
  box-shadow: 0 16px 48px rgba(28,62,41,0.12);
}
.about-img-secondary {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  width: 55%;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 5px solid #faf9f6;
  box-shadow: 0 8px 24px rgba(28,62,41,0.15);
  aspect-ratio: 1;
}
.about-accent-strip {
  position: absolute;
  top: -1rem;
  left: -0.75rem;
  width: 4rem;
  height: 4rem;
  background: #3d7a54;
  border-radius: 0.75rem;
  z-index: -1;
  opacity: 0.3;
}

/* ── Why Us Grid ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}
.why-card {
  background: rgba(250,249,246,0.06);
  border: 1px solid rgba(250,249,246,0.12);
  border-radius: 1rem;
  padding: 2rem;
  transition: background var(--transition), border-color var(--transition);
}
.why-card:hover {
  background: rgba(250,249,246,0.1);
  border-color: rgba(250,249,246,0.2);
}
.why-card-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(250,249,246,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e0dbd0;
  border-radius: 0.625rem;
  background: #faf9f6;
  color: #1c3e29;
  font-size: 0.9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.input-field:focus {
  border-color: #3d7a54;
  box-shadow: 0 0 0 3px rgba(61,122,84,0.12);
}
.input-field::placeholder { color: #c8bfb0; }

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1), transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 100ms; }
  .reveal-delay-2 { transition-delay: 200ms; }
  .reveal-delay-3 { transition-delay: 300ms; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
