*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── NAV ── */
#nav.scrolled {
  background: rgba(10, 26, 10, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* ── MOBILE MENU ── */
#mobileMenu.open { opacity: 1; pointer-events: all; }
#mobileMenu.closed { opacity: 0; pointer-events: none; }
.mobile-link { transition: opacity 0.3s; }
#mobileMenu.open .mobile-link { opacity: 1; }
#mobileMenu.closed .mobile-link { opacity: 0; }

/* ── HERO ── */
.hero-bg { position: absolute; inset: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,26,10,0.92) 0%, rgba(45,90,39,0.75) 50%, rgba(10,26,10,0.6) 100%); }

.hero-title {
  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.hero-subtitle {
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.hero-badge {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}
.hero-shape {
  opacity: 0;
  animation: shapeFloat 1s ease forwards;
}
.shape-circle-1 { animation-delay: 0.6s !important; }
.shape-square-1 { animation-delay: 0.8s !important; }
.shape-triangle { animation-delay: 0.7s !important; }
.shape-circle-2 { animation-delay: 0.9s !important; }
.shape-dots { animation-delay: 1s !important; }

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shapeFloat {
  to { opacity: 1; }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2D5A27;
  color: #FAFAF5;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 60px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(45, 90, 39, 0.35);
}
.btn-primary:hover {
  background: #244a20;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 90, 39, 0.45);
}
.btn-arrow { transition: transform 0.3s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: #FAFAF5;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 60px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-secondary-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #2D5A27;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 60px;
  text-decoration: none;
  border: 2px solid #2D5A27;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary-dark:hover {
  background: #2D5A27;
  color: #FAFAF5;
  transform: translateY(-2px);
}

/* ── SECTION HEADERS ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2D5A27;
  background: rgba(45, 90, 39, 0.08);
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 16px;
}
.section-label.light {
  color: #9bbf8e;
  background: rgba(155, 191, 142, 0.15);
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: #0a1a0a;
  margin-bottom: 16px;
}
.section-title.light { color: #FAFAF5; }
.section-desc {
  font-size: 1.125rem;
  color: #4a6b4a;
  max-width: 520px;
  line-height: 1.6;
}

/* ── PRODUCTS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(10, 26, 10, 0.06);
  border: 1px solid rgba(10, 26, 10, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(30px);
}
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(10, 26, 10, 0.12);
}
.product-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-card-img img {
  transform: scale(1.08);
}
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 90, 39, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-content { padding: 24px; }
.product-card-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2D5A27;
  background: rgba(45, 90, 39, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.product-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #0a1a0a;
  margin-bottom: 8px;
}
.product-card-desc {
  font-size: 0.95rem;
  color: #4a6b4a;
  line-height: 1.6;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(30px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.service-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5d8be;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.service-card:hover .service-card-icon {
  background: rgba(255,255,255,0.18);
  transform: scale(1.05);
}
.service-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #FAFAF5;
  margin-bottom: 10px;
}
.service-card-desc {
  font-size: 0.95rem;
  color: rgba(197, 216, 190, 0.7);
  line-height: 1.7;
}

/* ── ABOUT ── */
.about-text {
  font-size: 1.05rem;
  line-height: 1.75;
}
.about-img-main { position: relative; }
.about-img-float {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  box-shadow: 0 16px 48px rgba(10,26,10,0.2);
}
.about-badge {
  animation: badgeBounce 2s ease-in-out infinite;
}
@keyframes badgeBounce {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
.about-stat-number {
  margin-bottom: 4px;
}
.about-stat-label {
  font-size: 0.85rem;
  color: #4a6b4a;
}

/* ── CTA ── */
.cta-title {
  opacity: 0;
  transform: translateY(20px);
}
.cta-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.cta-desc {
  opacity: 0;
  transform: translateY(16px);
}
.cta-desc.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── CONTACT ── */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(10,26,10,0.06);
  transition: all 0.3s ease;
}
.contact-info-card:hover {
  box-shadow: 0 4px 20px rgba(10,26,10,0.08);
  transform: translateY(-2px);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(45, 90, 39, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2D5A27;
}
.contact-form {
  opacity: 0;
  transform: translateY(30px);
}
.contact-form.visible {
  opacity: 1;
  transform: translateY(0);
}
.form-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #0a1a0a;
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(10,26,10,0.12);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: #0a1a0a;
  background: #FAFAF5;
  transition: all 0.3s ease;
  outline: none;
}
.form-input:focus {
  border-color: #2D5A27;
  background: white;
  box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.08);
}
.form-input::placeholder { color: #a0b0a0; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232D5A27' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-success {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}
.form-success.show {
  opacity: 1;
  transform: translateY(0);
}
.form-success-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(45, 90, 39, 0.06);
  border: 1px solid rgba(45, 90, 39, 0.15);
  border-radius: 14px;
  padding: 20px 24px;
}
.form-success-title { font-size: 1.1rem; }
.form-success-desc { font-size: 0.9rem; margin-top: 2px; }

/* ── FOOTER ── */
.footer-shape { opacity: 0.5; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.5s forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-title { font-size: 3.2rem; }
  .about-img-float { display: none; }
  .about-badge { position: relative; top: auto; left: auto; margin-bottom: 16px; display: inline-block; }
}
