:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-deep: #f0fdf4;
  --orange: #ea7c0a;
  --orange-hot: #dc5a0a;
  --black: #ffffff;
  --white: #111827;
  --gray: #4b7a5a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: #f8faf8;
  color: #111827;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 12px max(24px, calc((100vw - 1240px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(248,250,248,0.98) 0%, rgba(248,250,248,0.9) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(22,163,74,0.1);
}

.nav-logo img { height: 96px; display: block; }

.nav-links {
  display: flex; gap: 36px; list-style: none;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #111827;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links a {
  color: #374151; text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green);
  color: #000 !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: #23e865 !important; transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: #f0fdf4;
  border-top: 1px solid rgba(22,163,74,0.15);
  padding: 34px max(24px, calc((100vw - 1240px) / 2));
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 24px;
}

footer img { height: 88px; opacity: 0.85; }

footer p {
  flex: 1;
  text-align: center;
  font-size: 13px; color: rgba(75,122,90,0.68);
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex; gap: 20px; list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-links a {
  font-size: 12px; color: rgba(75,122,90,0.62);
  text-decoration: none; letter-spacing: 1px; text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (max-width: 980px) {
  nav {
    padding: 10px 18px;
    min-height: 70px;
  }

  .nav-logo img { height: 54px; }

  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 120;
    border: 1px solid rgba(17,24,39,0.2);
    border-radius: 8px;
    background: #fff;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    background: rgba(248,250,248,0.98);
    border-bottom: 1px solid rgba(22,163,74,0.15);
    z-index: 110;
  }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
  }

  .nav-links .nav-cta {
    margin: 8px 20px 0;
    text-align: center;
  }

  nav.menu-open .nav-links { display: flex; }

  footer {
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: center;
  }

  footer p {
    order: 1;
    font-size: 14px;
    line-height: 1.4;
    max-width: 320px;
    white-space: normal;
  }

  .footer-links {
    order: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
  }

  .footer-links a {
    font-size: 12px;
    letter-spacing: 1.2px;
  }

  footer img {
    order: 3;
    height: 76px;
    margin-top: 4px;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    position: relative;
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
  }
}
