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

:root {
  --accent: #1D5C4A;
  --accent-mid: #2A7A62;
  --accent-light: #E8F2EE;
  --accent-hover: #164a3b;
  --warn: #C0392B;
  --warn-light: #FDECEA;
  --ink: #1A1A1A;
  --ink-soft: #6B7280;
  --ink-muted: #9CA3AF;
  --bg: #F5F5F0;
  --card: #FFFFFF;
  --border: #E5E5E0;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 10px 30px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVIGATION ── */
.nav-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
}

.nav-logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--ink);
}

.nav-logo-text span { color: var(--accent); }

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

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.15s;
}

.nav-links a:hover { color: var(--ink); background: var(--bg); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  border-radius: 40px !important;
  padding: 9px 20px !important;
}

.nav-cta:hover { background: var(--accent-hover) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

.mobile-menu {
  display: none;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child { border-bottom: none; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 32px;
  margin-top: 80px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'DM Serif Display', serif;
  font-size: 15px;
}

.footer-logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: white;
}

.footer-logo-text span { color: #6EBD9F; }

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 12px; }

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  max-width: 600px;
  line-height: 1.5;
}

/* ── SHARED COMPONENTS ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 560px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(29,92,74,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-light);
}

.btn-lg { padding: 17px 36px; font-size: 16px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--accent);
  color: white;
  padding: 64px 0;
}

.page-hero .section-label { color: rgba(255,255,255,0.6); }
.page-hero .section-title { color: white; }
.page-hero .section-sub { color: rgba(255,255,255,0.8); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex; }
  .nav-logo { position: static !important; transform: none !important; }
  .nav-inner { justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 16px; }
}
