/* ====== BASE ====== */

:root {
  --bg: #fdfbf7;
  --ink: #1f271b;
  --muted: #6b705c;
  --accent: #2f855a;
  --accent-soft: #edf7ed;
  --line: #d8dfcf;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

/* LINKS & MEDIA */

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* LAYOUT */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1 0 auto;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* SMALL TOP BAR */

.topbar {
  background: #ecf4e7;
  border-bottom: 1px solid #d5dec7;
  font-size: 13px;
}

.topbar__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar__inner a {
  color: #234e36;
}

/* HEADER – ЛОГО ЗЛІВА, МЕНЮ ПІД НИМ ЦЕНТРОМ */

.site-header {
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px 10px;
}

.site-header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #b7c6aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  background: radial-gradient(circle at 30% 30%, #ffffff, #d9f2dd);
}

.brand__title {
  font-weight: 700;
  font-size: 18px;
}

.brand__subtitle {
  font-size: 12px;
  color: var(--muted);
}

.site-header__contact {
  font-size: 13px;
  color: var(--muted);
}

/* NAV – ЛИШЕ ЛІНІЇ, БЕЗ ПІЛЛОВ І ТІНЕЙ */

.site-nav {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  color: #3f4634;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

/* HERO – ФОНОВА КАРТИНКА + ЖУРНАЛЬНИЙ БЛОК ТЕКСТУ */

.hero {
  position: relative;
  min-height: 70vh;
  color: #fefdf6;
  background-image: linear-gradient(
      to bottom,
      rgba(9, 49, 32, 0.2),
      rgba(7, 41, 28, 0.9)
    ),
    url("../images/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 56px;
  display: flex;
  align-items: flex-end;
}

.hero__panel {
  max-width: 540px;
  background: #082b1ecc;
  padding: 20px 22px 22px;
  border-radius: 6px;
  border-left: 4px solid #c6f6d5;
  box-shadow: 0 26px 50px rgba(2, 18, 12, 0.8);
}

.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c6f6d5;
  margin-bottom: 4px;
}

.hero__title {
  font-size: clamp(28px, 3.1vw, 34px);
  margin: 0 0 8px;
}

.hero__title span {
  color: #f6e05e;
}

.hero__text {
  font-size: 15px;
  margin: 0 0 14px;
  color: #e9fbf1;
}

.hero__meta {
  font-size: 13px;
  color: #d9fbe6;
  margin-bottom: 14px;
}

.hero__meta b {
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* BUTTONS – ПЛОСКІ, БЕЗ ПІЛЛОВ */

.btn-primary,
.btn-outline {
  padding: 8px 18px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-primary {
  background: #c6f6d5;
  color: #083b26;
  border-color: #9ae6b4;
}

.btn-primary:hover {
  background: #9ae6b4;
}

.btn-outline {
  background: transparent;
  color: #fefdf6;
  border-color: rgba(214, 240, 221, 0.85);
}

.btn-outline:hover {
  background: rgba(10, 39, 27, 0.7);
}

/* SECTIONS – БЕЗ КАРТОК, БІЛЬШЕ ЛІНІЙ І ТЕКСТУ */

.section {
  padding: 32px 0;
}

.section--striped {
  background: linear-gradient(to bottom, #fcfaf5, #f5f3ec);
}

.section__heading {
  margin-bottom: 18px;
}

.section__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8a8f84;
}

.section__title {
  font-size: 22px;
  margin: 4px 0;
}

.section__lead {
  font-size: 14px;
  color: var(--muted);
  max-width: 640px;
}

/* FEATURE LIST – ВЕРТИКАЛЬНІ БЛОКИ З ЛІНІЄЮ ЗЛІВА */

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.feature {
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

.feature__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}

.feature h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.feature p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
}

/* SPLIT LAYOUT */

.split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 28px;
  align-items: flex-start;
}

.block-note {
  border: 1px solid var(--line);
  padding: 14px 14px 16px;
  background: #ffffff;
}

/* LISTS */

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  margin-bottom: 6px;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 2px solid var(--accent);
}

/* BREADCRUMBS */

.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: #4a5568;
}

/* VISUAL */

.content-image {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

/* TABLE */

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th,
.table td {
  border: 1px solid var(--line);
  padding: 6px 9px;
}

.table th {
  background: #f3f7ee;
  text-align: left;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 2.2fr);
  gap: 26px;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

input,
textarea {
  width: 100%;
  padding: 8px 9px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 14px;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(47, 133, 90, 0.2);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.map-box {
  margin-top: 8px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-box iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 14px 20px 18px;
  background: #ffffff;
  margin-top: 26px;
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.site-footer__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* COOKIE BANNER – ПРОСТА ПЛОСКА ПАНЕЛЬ ВНИЗУ */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #243528;
  color: #edf7ed;
  font-size: 13px;
  border-top: 1px solid #1b261c;
}

.cookie-banner__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 20px 9px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-banner__text a {
  color: #c6f6d5;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 6px 14px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-btn--accept {
  background: #c6f6d5;
  color: #1b3b28;
  border-color: #9ae6b4;
}

.cookie-btn--accept:hover {
  background: #9ae6b4;
}

.cookie-btn--later {
  background: transparent;
  color: #e2fbe8;
  border-color: rgba(183, 214, 190, 0.7);
}

.cookie-btn--later:hover {
  background: rgba(10, 26, 16, 0.7);
}

/* UTILS */

.text-muted {
  color: var(--muted);
}

.mt-xs {
  margin-top: 6px;
}

.mt-sm {
  margin-top: 10px;
}

.mt-md {
  margin-top: 16px;
}

.mt-lg {
  margin-top: 24px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .topbar__inner,
  .site-header__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
