:root {
  --bg: #f6f8f4;
  --surface: #ffffff;
  --ink: #1d2a22;
  --muted: #5f6f64;
  --line: #e2e8de;
  --brand: #2f7d47;
  --brand-dark: #215c33;
  --accent: #d98b2b;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(24, 46, 30, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .2px;
}

.logo-mark { font-size: 1.5rem; }
.logo-text strong { color: var(--brand); }

.main-nav { display: flex; gap: 1.4rem; }
.main-nav a {
  color: var(--muted);
  font-weight: 500;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.2rem;
  padding: .3rem .6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background:
    radial-gradient(1100px 420px at 80% -10%, rgba(47, 125, 71, .16), transparent 60%),
    radial-gradient(800px 380px at 10% 10%, rgba(217, 139, 43, .14), transparent 55%),
    linear-gradient(180deg, #ffffff, var(--bg));
  border-bottom: 1px solid var(--line);
}

.hero-inner { padding: 5rem 0 3.5rem; }

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: .8rem;
}

.hero-lead {
  max-width: 62ch;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 2.6rem; }

.btn {
  display: inline-block;
  padding: .7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.hero-stats strong { display: block; font-size: 1.6rem; color: var(--brand-dark); }
.hero-stats span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }

.section-head { max-width: 62ch; margin-bottom: 2rem; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease;
}
.card:hover { transform: translateY(-4px); }

.card-art {
  height: 130px;
  display: grid;
  place-items: center;
  font-size: 3rem;
}
.art-1 { background: linear-gradient(135deg, #1b7a63, #7fd1a9); }
.art-2 { background: linear-gradient(135deg, #b0472e, #f0c48a); }
.art-3 { background: linear-gradient(135deg, #3a4a7a, #9fb4e8); }
.art-4 { background: linear-gradient(135deg, #4b3a63, #c3a6e0); }
.art-5 { background: linear-gradient(135deg, #d17a8f, #ffd8c2); }
.art-6 { background: linear-gradient(135deg, #a8641f, #f2d06b); }

.card-body { padding: 1.1rem 1.2rem 1.4rem; }

.tag {
  display: inline-block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--brand-dark);
  background: #e8f3ec;
  border-radius: 999px;
  padding: .15rem .6rem;
  margin-bottom: .55rem;
}

.latin { font-style: italic; color: var(--muted); margin: -.4rem 0 .6rem; font-size: .92rem; }

/* Zones */
.zone {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
}
.zone h3 { margin-bottom: .35rem; }
.zone p { color: var(--muted); margin: 0; font-size: .95rem; }

/* CTA */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #215c33, #2f7d47);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.2rem 2.4rem;
}
.cta h2 { margin-bottom: .3rem; }
.cta p { margin: 0; color: #dcefe2; }
.cta .btn-primary { background: #fff; color: var(--brand-dark); }
.cta .btn-primary:hover { background: #eef7f1; }

/* Page header */
.page-head {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 2.4rem;
}
.page-head p { color: var(--muted); max-width: 64ch; margin-bottom: 0; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
th { background: #f0f5f0; font-weight: 600; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #fafcf9; }

/* Prose */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: #14261b;
  color: #cfe0d4;
  padding: 2.8rem 0 1.2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
}
.site-footer .logo { color: #fff; }
.site-footer h4 { color: #fff; margin-bottom: .6rem; }
.site-footer a { display: block; color: #cfe0d4; margin-bottom: .35rem; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #92a89b; }
.copyright {
  border-top: 1px solid #26402f;
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: .85rem;
  color: #82988b;
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .5rem 4%;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .header-inner { position: relative; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta { padding: 1.6rem; }
}