﻿:root {
  --bg: #f7f9f8;
  --surface: #ffffff;
  --ink: #1d2522;
  --muted: #5b6862;
  --line: #dbe5df;
  --brand: #116149;
  --brand-dark: #0a3d31;
  --accent: #d88745;
  --soft: #e9f3ef;
  --sky: #d9ebf7;
  --focus: #1f7a5c;
  --shadow: 0 14px 38px rgba(19, 48, 39, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

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

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

img,
svg {
  max-width: 100%;
}

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

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 14px 22px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--brand);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav-links a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 8px 10px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--soft);
  color: var(--brand-dark);
  text-decoration: none;
}

.main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 34px 22px 60px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  min-height: calc(100vh - 190px);
  padding: 28px 0 46px;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 1.16rem;
  max-width: 720px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  align-items: center;
  border: 1px solid var(--brand);
  border-radius: 7px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
}

.button.primary {
  background: var(--brand);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--brand-dark);
}

.button:hover {
  box-shadow: 0 8px 22px rgba(17, 97, 73, 0.15);
  text-decoration: none;
}

.hero-visual {
  background: linear-gradient(145deg, #ffffff, #e7f2ee);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.hero-visual svg {
  display: block;
  height: 100%;
  min-height: 420px;
  width: 100%;
}

.section {
  border-top: 1px solid var(--line);
  padding: 42px 0;
}

.section-header {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-header p {
  color: var(--muted);
  max-width: 620px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(19, 48, 39, 0.05);
  overflow: hidden;
}

.card-body {
  padding: 20px;
}

.card .meta,
.meta {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.article-card svg,
.article-visual {
  background: var(--soft);
  display: block;
  height: 190px;
  width: 100%;
}

.article-card h3 a {
  color: var(--ink);
}

.article-card h3 a:hover {
  color: var(--brand);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.pill-list li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-dark);
  font-weight: 750;
  padding: 7px 12px;
}

.page-title {
  max-width: 850px;
  padding: 26px 0 36px;
}

.content-layout {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 760px) minmax(240px, 1fr);
}

.article,
.page-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.article h2,
.page-panel h2 {
  font-size: 1.55rem;
  margin-top: 28px;
}

.article h2:first-child,
.page-panel h2:first-child {
  margin-top: 0;
}

.article ul,
.page-panel ul {
  padding-left: 22px;
}

.sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 86px;
}

.sidebar-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.sidebar-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-block li + li {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 10px;
}

.note {
  background: #fff8ed;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  color: #4a3522;
  padding: 14px 16px;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

label {
  color: var(--ink);
  font-weight: 750;
}

input,
textarea {
  border: 1px solid #c9d6cf;
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus,
.button:focus,
a:focus {
  outline: 3px solid rgba(31, 122, 92, 0.22);
  outline-offset: 2px;
}

.form-message {
  color: var(--brand-dark);
  font-weight: 750;
  min-height: 24px;
}

.footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 135, 69, 0.18), transparent 30%),
    linear-gradient(135deg, #0c221c 0%, #11372d 55%, #09201a 100%);
  color: #dce9e4;
  margin-top: 38px;
}

.footer-top {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 0.7fr));
  margin: 0 auto;
  max-width: 1180px;
  padding: 44px 22px 34px;
}

.footer-brand {
  max-width: 430px;
}

.footer-logo {
  align-items: center;
  color: white;
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 900;
  gap: 12px;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo:hover {
  color: white;
  text-decoration: none;
}

.footer-mark {
  align-items: center;
  background: #d88745;
  border-radius: 8px;
  color: #10251f;
  display: inline-flex;
  font-weight: 950;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.footer p {
  color: #c5d7d0;
}

.footer-contact {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: inline-block;
  margin-top: 6px;
  padding: 8px 11px;
}

.footer a {
  color: #eef7f4;
}

.footer a:hover {
  color: white;
}

.footer h2 {
  color: white;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li + li {
  margin-top: 9px;
}

.footer-column a {
  color: #cfe0da;
  font-weight: 650;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #b7c9c2;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.92rem;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 18px 22px 26px;
}

.footer-bottom p {
  margin: 0;
}

.footer-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-mini-links a {
  color: #b7c9c2;
  font-weight: 700;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .content-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 520px) {
  .main {
    padding-inline: 16px;
  }

  .article,
  .page-panel {
    padding: 22px 18px;
  }

  .nav {
    padding-inline: 16px;
  }

  .nav-links a {
    padding: 7px 8px;
  }
}
