/* ============ TOKENS ============ */
:root {
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --surface-2: #F1F3F5;
  --text: #1E1E1E;
  --muted: #5A5A5A;
  --accent: #7FBA00;
  --accent-soft: #EFF7DC;
  --accent-dark: #6FA300;
  --border: #ECEEF0;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.08);
  --radius: 20px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(127, 186, 0, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm { padding: 11px 22px; font-size: 14px; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.logo-img {
  display: block;
  width: auto;
  object-fit: contain;
  background: transparent;
}
.logo-img-nav { height: 56px; width: auto; }
.logo-img-footer { height: 48px; width: auto; }
.nav-menu {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s ease, left 0.25s ease;
}
.nav-menu a:hover { color: var(--text); }
.nav-menu a:hover::after { width: 100%; left: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
  color: var(--text);
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 78px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
  z-index: 1;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 90px 0 110px;
  width: 100%;
  display: flex;
  gap: 40px;
  align-items: center;
}
.hero-text { flex: 1 1 0; min-width: 0; }
.hero-logo-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.hero-logo-side {
  width: 420px;
  height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 0 60px rgba(80,200,40,0.45));
  animation: floatLogo 4s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-logo-side { width: 200px; height: 200px; }
  .hero-logo-wrap { display: none; }
}

/* ============ CTA BANNER ============ */
.cta-banner { background: #0f2d0f; padding: 64px 0; }
.cta-banner-inner {
  display: flex; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
.cta-logo { width: 110px; height: 110px; object-fit: contain; }
.cta-banner-text h2 {
  color: #fff; margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
}
.cta-banner-text p { color: #a0c890; margin: 0; }
.cta-banner-inner .btn { margin-left: auto; }

/* ============ 404 ============ */
.error-section {
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0f1a0f;
}
.error-inner { max-width: 560px; margin: 0 auto; padding: 0 24px; }
.error-logo {
  width: 180px; height: 180px;
  object-fit: contain;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 0 60px rgba(80,200,40,0.45));
}
.error-code {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(96px, 18vw, 180px);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}
.error-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}
.error-text {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin: 0 0 32px;
  line-height: 1.6;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(127,186,0,0.5);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(127,186,0,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(127,186,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(127,186,0,0); }
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
  max-width: 1000px;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.6;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 760px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-stats .stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 6px;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.hero-stats .stat-num span { color: var(--accent); }
.hero-stats .stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* ============ SECTION COMMON ============ */
section {
  padding: 110px 0;
  position: relative;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 18px;
}
.section-title .accent { color: var(--accent); }
.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.6;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(0.05s * var(--i, 0));
}
.reveal.visible { opacity: 1; transform: none; }

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(127, 186, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* ============ NAV DROPDOWN ============ */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; user-select: none; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  padding: 8px;
  min-width: 170px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu li a:hover { background: var(--accent-soft); color: var(--text); }
.dropdown-menu li a::after { display: none; }

/* ============ FOOTER CREDIT ============ */
.footer-credit {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.55;
  width: 100%;
  text-align: center;
  margin-top: 8px;
}
.footer-credit a { color: var(--accent); font-weight: 600; }

/* Mobile dropdown fix */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--surface-2);
    border-radius: 10px;
    padding: 4px 8px;
    opacity: 1;
    visibility: visible;
    display: none;
    margin-top: 8px;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-dropdown > a { display: flex; align-items: center; justify-content: space-between; }
}

/* ============ SOCIAL CTA ============ */
.social-cta {
  background: linear-gradient(135deg, #f0f7e6 0%, #ffffff 100%);
  padding: 80px 0;
}
.social-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.social-cta-text { flex: 1 1 320px; }
.social-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.social-btn:hover { transform: translateY(-2px); }
.social-btn-fb {
  background: #1877F2;
  color: #fff;
  box-shadow: 0 8px 24px rgba(24,119,242,0.3);
}
.social-btn-fb:hover { box-shadow: 0 12px 32px rgba(24,119,242,0.45); }
.social-btn-ig {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(220,39,67,0.3);
}
.social-btn-ig:hover { box-shadow: 0 12px 32px rgba(220,39,67,0.45); }
@media (max-width: 768px) {
  .social-cta-inner { flex-direction: column; align-items: flex-start; }
  .social-cta-btns { width: 100%; }
  .social-btn { justify-content: center; }
}

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.1);
  padding: 20px 0;
}
.cookie-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; }
.cookie-banner-text strong { font-size: 15px; color: var(--text); display: block; margin-bottom: 4px; }
.cookie-banner-text p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.cookie-banner-text a { color: var(--accent); }
.cookie-banner-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.cookie-btn-decline:hover { background: var(--surface-2); }
.cookie-btn-custom {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.cookie-btn-custom:hover { background: var(--surface-2); }

/* Cookie modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cookie-modal-box {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
}
.cookie-modal-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 700; margin: 0;
}
.cookie-modal-close {
  width: 32px; height: 32px;
  border: none; background: var(--surface-2);
  border-radius: 50%; cursor: pointer;
  font-size: 14px; color: var(--muted);
  display: grid; place-items: center;
  transition: background 0.2s;
}
.cookie-modal-close:hover { background: var(--border); }
.cookie-modal-body { padding: 8px 0; }
.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
}
.cookie-row:last-child { border-bottom: none; }
.cookie-row-title { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 3px; }
.cookie-row-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.cookie-toggle-on {
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  white-space: nowrap; flex-shrink: 0;
  opacity: 0.6;
}
.cookie-toggle-wrap { flex-shrink: 0; cursor: pointer; }
.cookie-toggle-wrap input { display: none; }
.cookie-switch {
  display: block;
  width: 44px; height: 24px;
  background: var(--border);
  border-radius: 999px;
  position: relative;
  transition: background 0.2s;
}
.cookie-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.cookie-toggle-wrap input:checked + .cookie-switch { background: var(--accent); }
.cookie-toggle-wrap input:checked + .cookie-switch::after { transform: translateX(20px); }
.cookie-modal-footer {
  display: flex;
  gap: 10px;
  padding: 20px 28px 24px;
  border-top: 1px solid var(--border);
  justify-content: flex-end;
}
