:root {
  --brand-green: #0b6623;
  --brand-green-dark: #07491a;
  --brand-gold: #f5b301;
  --brand-red: #e63946;
  --ink: #142018;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.font-display {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 73, 26, 0.94), rgba(7, 73, 26, 0.74) 44%, rgba(20, 32, 24, 0.28)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28));
}

.page-hero-overlay {
  background: linear-gradient(90deg, rgba(7, 73, 26, 0.94), rgba(7, 73, 26, 0.62));
}

.glass-nav {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.94);
}

.active-link {
  color: var(--brand-green);
}

.active-link::after,
.nav-link::after {
  background: var(--brand-green);
  border-radius: 999px;
  bottom: -7px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform-origin: left;
  transition: transform 220ms ease;
  width: 100%;
}

.nav-link::after {
  transform: scaleX(0);
}

.nav-link:hover::after,
.active-link::after {
  transform: scaleX(1);
}

.animate-fade-up {
  animation: fadeUp 800ms ease both;
}

.animate-fade-in {
  animation: fadeIn 900ms ease both;
}

.animate-slide-left {
  animation: slideLeft 800ms ease both;
}

.animate-delay-1 {
  animation-delay: 120ms;
}

.animate-delay-2 {
  animation-delay: 240ms;
}

.animate-delay-3 {
  animation-delay: 360ms;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.cta-pulse {
  box-shadow: 0 0 0 0 rgba(245, 179, 1, 0.55);
  animation: pulseGold 2.4s infinite;
}

.service-card,
.feature-card,
.trust-card {
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.service-card:hover,
.feature-card:hover,
.trust-card:hover {
  border-color: rgba(11, 102, 35, 0.34);
  box-shadow: 0 22px 50px rgba(20, 32, 24, 0.12);
  transform: translateY(-6px);
}

.social-icon {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  height: 3.25rem;
  justify-content: center;
  transition: transform 220ms ease, color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  width: 3.25rem;
}

.social-icon:hover {
  box-shadow: 0 16px 34px rgba(20, 32, 24, 0.18);
  transform: translateY(-4px);
}

.social-whatsapp:hover {
  background: #25d366;
  color: #ffffff;
}

.social-facebook:hover {
  background: #1877f2;
  color: #ffffff;
}

.social-instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #ffffff;
}

.map-grid {
  background-image:
    linear-gradient(rgba(11, 102, 35, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 102, 35, 0.11) 1px, transparent 1px);
  background-size: 28px 28px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGold {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 179, 1, 0.52);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(245, 179, 1, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 179, 1, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
