:root {
  --green: #3d8a76;
  --green-dark: #24574b;
  --green-deep: #1a3c34;
  --green-soft: #e4efe9;
  --ink: #1c2b27;
  --muted: #5a6e68;
  --line: #c9ddd6;
  --paper: #ffffff;
  --wash: #eef5f2;
  --max: 1040px;
  --header: 108px;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img, svg, iframe { max-width: 100%; display: block; }
.hero-video iframe { max-width: none; }

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

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--green);
}

h1, h2, h3 {
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink);
}

.lead { font-size: 1.12rem; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-gold,
.btn-primary {
  background: var(--green-dark);
  color: #fff;
}
.btn-gold:hover,
.btn-primary:hover { background: var(--green-deep); color: #fff; }
.btn-ghost,
.btn-line {
  border-color: var(--green-dark);
  color: var(--green-dark);
  background: transparent;
}
.btn-ghost:hover,
.btn-line:hover { background: var(--green-dark); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-top: 3px solid var(--green);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 20px;
}

.brand { display: flex; align-items: center; }
.brand img {
  height: 84px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
}
.nav a:hover { color: var(--green-dark); }
.nav a.is-active {
  color: var(--green-dark);
  box-shadow: inset 0 -2px 0 var(--green);
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px 0;
  background: var(--green-dark);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header));
  padding: 72px 0 80px;
  overflow: hidden;
  color: #fff;
  background: var(--green-deep);
}
.hero-media,
.hero-veil {
  position: absolute;
  inset: 0;
}
.hero-media {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-scale {
  position: absolute;
  inset: 0;
  animation: hero-zoom 40s ease-out forwards;
}
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.03);
}
.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero.is-playing .hero-video { opacity: 1; }
.hero.is-playing .hero-poster {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 0;
  transform: translate(-50%, -50%);
}
.hero-veil {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 42, 36, 0.28) 0%, rgba(18, 42, 36, 0.42) 42%, rgba(18, 42, 36, 0.78) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(38px, 6vw, 62px);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}
.hero p {
  max-width: 640px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero .btn-gold,
.hero .btn-primary {
  background: #fff;
  color: var(--green-deep);
}
.hero .btn-gold:hover,
.hero .btn-primary:hover {
  background: var(--green-soft);
  color: var(--green-deep);
}
.hero .btn-ghost,
.hero .btn-line {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}
.hero .btn-ghost:hover,
.hero .btn-line:hover {
  background: #fff;
  color: var(--green-deep);
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scale { animation: none; }
}

.section { padding: 64px 0 88px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  display: block;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.card:hover {
  border-color: var(--green-dark);
  border-left-color: var(--green-dark);
  background: var(--wash);
  color: inherit;
}
.card h3 { margin: 0 0 8px; font-size: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card .meta {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.card a { font-weight: 600; word-break: break-word; }

.contact-social {
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  padding: 64px 0 40px;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5.5vw, 50px);
}
.page-hero p { max-width: 560px; margin: 0; color: var(--muted); }

.prose { max-width: 720px; }
.prose h2 {
  font-size: 22px;
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--green-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}
.prose p { margin: 0 0 16px; }
.prose ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.prose li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--line);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 7px;
  height: 1px;
  background: var(--green);
}

.site-footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-footer .brand-name {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.site-footer a { color: #c5e4d9; }
.site-footer a:hover { color: #fff; }
.legal {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.02em;
}

@media (max-width: 800px) {
  :root { --header: 92px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .cards, .cards-2, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 40px 0 64px; }
  .brand img { height: 64px; max-width: 280px; }
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }
  .nav a.is-active { box-shadow: none; color: var(--green); }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }
}
