@font-face {
  font-family: "Afacad_Flux";
  src: url("/fonts/Afacad_Flux/AfacadFlux-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Afacad_Flux";
  src: url("/fonts/Afacad_Flux/AfacadFlux-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-900: #064e3b;
  --green-800: #065f46;
  --green-700: #0a7d4f;
  --green-600: #11995e;
  --green-500: #16b26f;
  --green-400: #22c67a;
  --green-300: #5ee0a3;
  --green-50: #ecfdf5;
  --text-900: #0f172a;
  --text-700: #334155;
  --text-50: #f8fafc;
  --bg: #f6fff9;
  --radius: 12px;
  --shadow-lg: 0 20px 35px rgba(10, 125, 79, 0.15);
  --shadow-md: 0 10px 20px rgba(10, 125, 79, 0.12);
  --shadow-sm: 0 6px 12px rgba(10, 125, 79, 0.10);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Afacad_Flux", ui-serif, Georgia, "Times New Roman", serif;
  color: var(--text-900);
  background: linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green-700);
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #b1ffda;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #315f4a;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
  padding: 14px 5px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 36px;
  border-radius: 8px;
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
  color: var(--green-800);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 18px;
}

.nav-desktop a {
  color: var(--text-700);
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Compact CTA buttons on small screens to fit with burger */
.cta-group .btn {
  padding: 8px 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(90deg, var(--green-600), var(--green-500));
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: white;
  color: var(--green-700);
  border-color: var(--green-300);
}

.btn-outline:hover {
  background: var(--green-50);
}

.burger {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #d9f4e6;
  background: white;
  cursor: pointer;
}

.burger .bar {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--green-800);
}

.burger .bar::before,
.burger .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--green-800);
}

.burger .bar::before { top: -6px; }
.burger .bar::after { top: 6px; }

/* Fullscreen overlay menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  background: linear-gradient(180deg, rgba(6, 94, 70, 0.98) 0%, rgba(12, 157, 94, 0.98) 100%);
  color: white;
  display: none;
}

body.menu-open .menu-overlay { display: block; }

.menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 20px;
  text-align: center;
}

.menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-links a {
  color: #eafff3;
  font-size: 22px;
  font-weight: 700;
}

.menu-ctas {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}

/* Hero */
.hero {
  padding: 56px 0 24px;
}

.hero .lead {
  color: var(--text-700);
}

.hero h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 8px 0 14px;
  color: var(--green-800);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 14px 0 24px;
}

.hero img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Sections */
section {
  padding: 36px 0;
}

section h2 {
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--green-800);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.card {
  background: white;
  border: 1px solid #eaf7f0;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid #eaf7f0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 14px;
  border-bottom: 1px solid #eaf7f0;
  text-align: left;
}

th {
  background: #f2fbf6;
  color: var(--green-800);
}

/* Split section (image left text right) */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.split .media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
  margin-top: 20px;
  border-top: 1px solid #e6f7ef;
  padding: 22px 0 28px;
  color: var(--text-700);
}

.footer-top {
  display: grid;
  gap: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.copyright {
  margin-top: 6px;
  font-size: 14px;
}

/* Desktop */
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .cta-group .btn { padding: 10px 16px; }
  .burger { display: none; }
  .hero { padding: 80px 0 32px; }
  .hero h1 { font-size: 44px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.2fr 1fr; }
}

/* Utilities */
.text-center { text-align: center; }


@media (max-width: 768px) {
  .brand img {
    height: 20px;
  }
}
