@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --green-dark: #1a5c2e;
  --green-mid: #2d7a47;
  --green-light: #3aaa5e;
  --green-pale: #e8f5ed;
  --off-white: #f7faf8;
  --white: #ffffff;
  --ink: #0d1f15;
  --ink-soft: #3d5046;
  --border: rgba(26,92,46,0.12);
  --shadow: 0 4px 32px rgba(13,31,21,0.08);
  --shadow-lg: 0 16px 64px rgba(13,31,21,0.14);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: 'Sora', sans-serif;
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(247,250,248,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow var(--transition);
}
header.scrolled { box-shadow: var(--shadow); }

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-icon { width: 38px; height: 38px; }
.logo-text {
  font-size: 1.35rem; font-weight: 700;
  color: var(--green-dark); letter-spacing: -0.02em;
}

nav { display: flex; align-items: center; gap: 2rem; }
nav a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  transition: color var(--transition);
  letter-spacing: 0.01em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
nav a:hover { color: var(--green-mid); }
nav a.active {
  color: var(--green-dark);
  border-bottom-color: var(--green-dark);
}

.header-right { display: flex; align-items: center; gap: 1.25rem; }

.lang-switcher {
  display: flex; align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px; overflow: hidden;
}
.lang-btn {
  padding: 6px 14px; cursor: pointer;
  transition: all var(--transition);
  color: var(--ink-soft); border: none; background: none;
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
}
.lang-btn.active {
  background: var(--green-dark); color: white; border-radius: 40px;
}

.cta-header {
  background: var(--green-dark); color: white;
  padding: 10px 22px; border-radius: 40px;
  font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: all var(--transition);
}
.cta-header:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(26,92,46,0.25);
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  z-index: 999; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a.active { color: var(--green-dark); font-weight: 700; }
.mobile-nav .lang-switcher { width: fit-content; margin-top: 0.5rem; }

/* ─── PAGE WRAPPER ─── */
.page-content { padding-top: 72px; }

/* ─── PAGE HERO (subpages) ─── */
.page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(58,170,94,0.10) 0%, transparent 70%),
    var(--off-white);
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 4rem);
}
.page-hero .container { max-width: 1100px; margin: 0 auto; }
.page-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-pale); border: 1px solid rgba(26,92,46,0.2);
  color: var(--green-dark); font-size: 0.78rem; font-weight: 600;
  padding: 5px 14px; border-radius: 40px; margin-bottom: 1.25rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.page-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.12; color: var(--ink);
  letter-spacing: -0.02em; margin-bottom: 1.25rem;
}
.page-hero-title em { font-style: italic; color: var(--green-mid); }
.page-hero-sub {
  font-size: 1.05rem; color: var(--ink-soft);
  line-height: 1.7; max-width: 600px;
}

/* ─── SECTIONS ─── */
section { padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem); }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-mid); margin-bottom: 1rem;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  color: var(--ink); margin-bottom: 1rem;
  line-height: 1.2; letter-spacing: -0.02em;
}
.section-sub {
  font-size: 1rem; color: var(--ink-soft);
  max-width: 520px; line-height: 1.7; margin-bottom: 3rem;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--green-dark); color: white;
  padding: 14px 28px; border-radius: 40px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  background: var(--green-mid); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26,92,46,0.28);
}
.btn-ghost {
  background: transparent; color: var(--green-dark);
  padding: 14px 28px; border-radius: 40px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid var(--green-dark);
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { background: var(--green-pale); transform: translateY(-2px); }

/* ─── CARDS ─── */
.card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-light));
  opacity: 0; transition: opacity var(--transition);
}
.card:hover { border-color: rgba(26,92,46,0.25); box-shadow: var(--shadow); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px; background: var(--green-pale);
  border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem;
}
.card-title {
  font-size: 1.1rem; font-weight: 700; color: var(--ink);
  margin-bottom: 0.75rem; letter-spacing: -0.01em;
}
.card-desc { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.25rem; }
.card-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.card-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.85rem; color: var(--ink-soft);
}
.card-list li::before { content: '→'; color: var(--green-mid); font-weight: 700; flex-shrink: 0; }

/* ─── GRID HELPERS ─── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2-asym { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* ─── DIVIDER ─── */
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }

/* ─── STATS BAR ─── */
.stats-bar { background: var(--green-dark); padding: 3rem clamp(1.5rem, 5vw, 4rem); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; text-align: center; }
.stat-item { color: white; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 0.25rem; }
.stat-label { font-size: 0.85rem; opacity: 0.7; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.15); height: 60px; margin: auto 0; }

/* ─── ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }

/* ─── FOOTER ─── */
footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 4rem clamp(1.5rem, 5vw, 4rem) 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 3rem;
  max-width: 1100px; margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 2rem;
}
.footer-brand .logo-text { color: white; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-top: 1rem; max-width: 300px; }
.footer-col h5 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: 0.875rem;
  color: rgba(255,255,255,0.7); text-decoration: none;
  margin-bottom: 0.6rem; transition: color var(--transition);
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; flex-wrap: wrap; gap: 1rem;
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal span { opacity: 0.5; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
	.page-content { padding-top: 15px; }
  nav, .cta-header { display: none; }
  .hamburger { display: flex; }
  header {     position: relative;padding-left: 10px;padding-right: 10px; }
  .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .footer-brand p { margin-top: 60px; }
  .grid-2, .grid-2-asym, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
