/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── VARIABLES ─── */
:root {
  --green:      #005d3d;
  --green-mid:  #1e664e;
  --green-tint: #e8f0ec;
  --lime:       #9bed2a;
  --lime-lt:    #c1ff73;
  --orange:     #ff9e00;
  --white:      #ffffff;
  --off-white:  #eff0f5;
  --text:       #313131;
  --text-mid:   #5a5a5a;
  --text-dim:   #888888;
  --slate:      #384b60;
  --font:       'Golos Text', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 20px;
  font-weight: 400;
  overflow-x: hidden;
  overflow-x: clip;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--white);
  border-bottom: 1px solid rgba(0,93,61,0.15);
}

.nav-inner {
  width: 100%;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  color: #313131;
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  border-radius: 60px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--off-white); color: var(--green); }
.nav-links a.active { color: var(--green); font-weight: 500; }

.nav-links .nav-cta a {
  background: var(--lime);
  color: var(--green);
  font-weight: 500;
}
.nav-links .nav-cta a:hover {
  background: var(--orange);
  color: var(--white);
}

/* ─── BURGER ─── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 300;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV ─── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 250;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav ul { list-style: none; width: 100%; }
.mobile-nav li { margin-bottom: 4px; }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--off-white);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--green); }
.mobile-nav .mob-cta a { color: var(--green); font-weight: 600; }

/* ─── FOOTER ─── */
footer {
  background: var(--slate);
  padding: 60px 48px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(155,237,42,0.2);
  margin-bottom: 32px;
}

.footer-col-label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(155,237,42,0.7);
  margin-bottom: 16px;
}

.footer-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.footer-spec {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 2px; }
.footer-links a {
  display: inline-block;
  padding: 8px 0;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--lime); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 16px;
  color: rgba(255,255,255,0.3);
}
.footer-right {
  font-size: 16px;
  color: rgba(255,255,255,0.3);
}

/* ─── ANIMATIONS ─── */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE: nav / footer ─── */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .burger { display: flex; }
}

@media (max-width: 768px) {
  footer { padding: 48px 24px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
