:root {
  --forest-bg: #1a2d23;
  --forest-panel: #213c2c;
  --forest-accent: #ffa942;
  --forest-accent2: #67c47e;
  --forest-text: #f3f8ef;
  --forest-card: #203827;
  --forest-note: #25382c;
  --forest-border: #294c38;
  --forest-shadow: 0 6px 24px rgba(10,40,30,0.17);
}

html, body {
  margin: 0; padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--forest-bg);
  color: var(--forest-text);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

.forest-header {
  background: var(--forest-panel) url('../assets/bg-forest.jpg') center/cover no-repeat;
  box-shadow: var(--forest-shadow);
  padding-bottom: 2.4rem;
  position: relative;
}
.forest-headline {
  max-width: 1180px; margin: 0 auto;
  padding: 1.2rem 2rem 0.8rem 2rem;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.forest-logo {
  width: 108px; height: 44px; display: flex; align-items: center; cursor: pointer;
}
.forest-nav {
  display: flex; align-items: center; gap: 2.1rem;
}
.forest-nav a {
  text-decoration: none; color: var(--forest-accent);
  font-weight: 600; font-size: 1.12rem; transition: color .14s;
}
.forest-nav a:hover { color: var(--forest-accent); }
.forest-burger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px; margin-left: 1rem;
}
.forest-burger span {
  display: block; width: 30px; height: 3px; background: var(--forest-accent);
  margin: 7px 0; border-radius: 2px; transition: .18s;
}
@media (max-width: 800px) {
  .forest-nav {
    position: absolute; top: 60px; right: 2rem; background: var(--forest-panel);
    flex-direction: column; gap: 1.2rem;
    min-width: 175px; box-shadow: var(--forest-shadow);
    border-radius: 1.2rem; padding: 1.1rem 0;
    opacity: 0; pointer-events: none; transition: .25s;
    z-index: 12;
  }
  .forest-nav.open { opacity: 1; pointer-events: auto; }
  .forest-burger { display: block; }
}

.forest-banner {
  max-width: 1180px; margin: 0 auto; padding: 2.8rem 2rem 0 2rem;
}
.forest-banner h1 {
  font-size: 2.3rem; font-weight: 700; margin: 0 0 1rem 0;
  color: var(--forest-accent); letter-spacing: -1.2px;
}
.forest-banner p {
  font-size: 1.15rem; color: #b6d9c2; margin: 0;
}

.forest-main {
  max-width: 980px; margin: 2.6rem auto; padding: 2.1rem;
  background: var(--forest-card); border-radius: 1.3rem;
  box-shadow: 0 5px 34px rgba(18, 44, 28, 0.10);
}

h2, h3, h4 { color: var(--forest-accent); margin-top: 2.1rem; margin-bottom: 1rem; }
h2 { font-size: 2.05rem; }
h3 { font-size: 1.19rem; }
h4 { font-size: 1.06rem; }

ul, ol { margin: 1rem 0 1rem 2.1rem; }
li { margin-bottom: .45em; }

table {
  width: 100%; border-collapse: collapse; background: var(--forest-note);
  margin: 2rem 0; border-radius: 13px; overflow: hidden; box-shadow: var(--forest-shadow);
}
th, td {
  padding: 0.87rem 1.1rem; border-bottom: 1px solid var(--forest-border);
  text-align: left; font-size: 1.02rem;
}
th { background: #274834; color: var(--forest-accent); font-weight: 700; }
tr:last-child td { border-bottom: none; }

.forest-alert {
  background: #254034; border-left: 4px solid var(--forest-accent);
  padding: 1.1rem 1.3rem; margin: 2.1rem 0; border-radius: .9rem; color: #fff5d6;
  font-size: 1.01rem;
}

.forest-faqs { margin: 2.1rem 0; }
.forest-faq-block {
  background: #24392e; border-radius: 1rem; margin-bottom: 0.6rem;
  overflow: hidden; box-shadow: 0 2px 10px rgba(50,100,60,0.12);
}
.forest-faq-check { display: none; }
.forest-faq-q {
  display: block; padding: 1.1rem 1.2rem; cursor: pointer;
  font-weight: 600; color: var(--forest-accent);
  border-radius: 1rem; background: transparent;
  transition: background .16s;
}
.forest-faq-q:hover { background: rgba(103,196,126,0.08);}
.forest-faq-a {
  max-height: 0; overflow: hidden;
  background: #1c3023; color: #ceeccc; font-size: 1.02rem;
  padding: 0 1.2rem;
  border-radius: 1rem;
  transition: max-height 0.3s, padding 0.3s;
  margin: 0; box-sizing: border-box;
}
.forest-faq-check:checked ~ .forest-faq-a {
  max-height: 120px; padding: 1.1rem 1.2rem;
}

.forest-slider {
  width: 100%; max-width: 780px; margin: 2.7rem auto;
  position: relative; overflow: hidden; border-radius: 1.3rem;
  box-shadow: var(--forest-shadow);
}
.forest-slider-track {
  display: flex; transition: transform .4s cubic-bezier(.7,.3,.4,1);
  will-change: transform; touch-action: pan-x;
}
.forest-slide {
  flex: 0 0 33.3333%; min-width: 33.3333%; max-width: 33.3333%;
  text-align: center; background: #264b36;
  padding: 1rem 0; box-sizing: border-box;
}
.forest-slide img { width: 90%; height: 170px; object-fit: cover; border-radius: 0.8rem; margin: 0 auto; }

@media (max-width: 900px) {
  .forest-slide { flex: 0 0 50%; min-width: 50%; max-width: 50%; }
}
@media (max-width: 650px) {
  .forest-main, .forest-banner { padding: 1.2rem; }
  .forest-slide { flex: 0 0 100%; min-width: 100%; max-width: 100%; }
  .forest-slide img { height: 110px; }
}

.forest-slider-arrows {
  position: absolute; top: 50%; width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}
.forest-slider-arrow {
  background: rgba(33,60,44,0.89); border: none; pointer-events: all;
  width: 44px; height: 44px; border-radius: 50%; color: var(--forest-accent);
  font-size: 1.6rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 18px rgba(20,40,30,0.13);
  transition: background .18s;
}
.forest-slider-arrow:hover { background: var(--forest-accent); color: var(--forest-bg); }

.forest-footer {
  margin-top: 3.2rem; padding: 2.1rem 1.4rem 1.2rem 1.4rem;
  background: #18291d; text-align: center;
}
.forest-footer-aff {
  display: flex; justify-content: center; gap: 2.1rem; align-items: center;
  margin-bottom: 1.2rem;
}
.forest-footer-aff img { width: 66px; height: 33px; object-fit: contain; opacity: .92; transition: opacity .13s; }
.forest-footer-aff img:hover { opacity: 1; }
.forest-footer-copy { color: #b3dbbc; font-size: .95rem; margin-bottom: 0.5rem; }
.forest-footer-links a {
  color: #ffe79c; font-size: 0.85rem; text-decoration: underline;
  margin: 0 0.7rem;
}

/* Якорные ссылки */
a[href^="#"] {
  color: var(--forest-accent);
  text-decoration: underline dashed;
  transition: color .14s;
}
a[href^="#"]:hover {
  color: var(--forest-accent);
}
