:root {
  --green-900: #1f4d39;
  --green-700: #2f6f4f;
  --green-500: #4a9c75;
  --green-50:  #eef6f1;
  --bg:        #ffffff;
  --bg-alt:    #f6f8f6;
  --ink:       #1c1f1d;
  --ink-2:     #4b524e;
  --muted:     #8a918d;
  --line:      #e3e8e4;
  --radius:    10px;
  --shadow:    0 1px 2px rgba(31,77,57,.04), 0 8px 24px rgba(31,77,57,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

h1, h2, h3 { color: var(--green-900); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; margin-bottom: 24px; }
h3 { font-size: 18px; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.note { font-size: 14px; color: var(--ink-2); background: var(--green-50); padding: 12px 16px; border-left: 3px solid var(--green-500); border-radius: 4px; margin-top: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-weight: 700; font-size: 16px; color: var(--green-900); }
.brand-sub { font-size: 12px; color: var(--muted); }

.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--green-700); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--green-50) 0%, #ffffff 100%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 820px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 760px; }
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-meta > div { display: flex; flex-direction: column; }
.hero-meta .muted { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.hero-meta b { font-size: 17px; color: var(--ink); margin-top: 2px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--ink-2); margin-bottom: 24px; max-width: 720px; }

/* Info grid (about) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.info-label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.info-value { font-size: 15px; font-weight: 600; color: var(--ink); }

/* Board */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.board-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.board-card.placeholder { background: transparent; box-shadow: none; border-style: dashed; }
.board-role { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.board-name { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.board-contacts { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }

/* News */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.news-item.placeholder { background: transparent; border-style: dashed; }
.news-item time { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.news-item h3 { margin-bottom: 6px; }
.news-item p { margin: 0 0 .8em; }
.news-item p:last-child { margin-bottom: 0; }
.news-item ul.rates {
  list-style: none;
  padding: 0;
  margin: 0 0 .8em;
  background: var(--green-50);
  border-left: 3px solid var(--green-500);
  border-radius: 4px;
}
.news-item ul.rates li {
  padding: 8px 14px;
  border-bottom: 1px solid rgba(74,156,117,.18);
  font-size: 15px;
  color: var(--ink);
}
.news-item ul.rates li:last-child { border-bottom: none; }

/* Docs */
.docs-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.docs-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.doc-name { font-weight: 500; }
.doc-meta { font-size: 13px; }

/* Payment */
.payment-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 20px;
  box-shadow: var(--shadow);
}
.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.payment-row:last-child { border-bottom: none; }
.payment-row span { color: var(--muted); }
.payment-row b { color: var(--ink); text-align: right; word-break: break-all; }

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.contact-label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.contact-value { font-size: 16px; font-weight: 600; color: var(--ink); display: block; }
a.contact-value:hover { color: var(--green-700); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 24px;
  background: var(--bg-alt);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Mobile */
@media (max-width: 720px) {
  .header-row { height: auto; padding: 12px 0; flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav { gap: 14px; }
  .hero { padding: 44px 0 36px; }
  .section { padding: 44px 0; }
  .hero-meta { gap: 18px; }
  .docs-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .payment-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .payment-row b { text-align: left; }
}
