/* ============================================================
   Палітра з «Концепт кольори» (color-palette-v2 + Концепт А)
   #444444 — хедер/футер        #8c8c35 — основний робочий
   #b7bc18 — точково/лайм       #52a854 — кнопки, лінії
   #c07b02 — тонкі розділювачі  #ca0e45 — дозовано
   ============================================================ */
:root {
  --dark: #444444;
  --dark-soft: #3a3a3a;

  --olive: #8c8c35;
  --olive-deep: #6b6b28;   /* текст оливою по світлому — контраст 5.6:1 */
  --olive-dim: #f1f1e6;    /* дуже світла олива для фонів карток */

  --lime: #b7bc18;
  --green: #52a854;        /* лінії, рамки, акценти */
  --green-deep: #2f6e30;   /* фон кнопок з білим текстом — контраст 6.2:1 */
  --amber: #c07b02;        /* лише тонкі лінії-розділювачі */
  --crimson: #ca0e45;      /* дозовано: дедлайни, термінове */

  --paper: #f5f4ef;
  --white: #ffffff;
  --ink: #2b2b2b;
  --muted: #6a6a63;

  --line: rgba(43, 43, 43, 0.12);
  --line-amber: rgba(192, 123, 2, 0.38);
  --shadow: 0 10px 34px rgba(43, 43, 30, 0.08);
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Хедер: темний #444444 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  background: var(--dark);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  padding: 8px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-brand__logo {
  width: auto;
  height: 58px;
  flex-shrink: 0;
}

.site-brand__text {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.site-brand__title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.site-brand__subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.66);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a:not(.button) {
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent;
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible {
  color: #fff;
  border-bottom-color: var(--green);
}

.site-header__toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  background: transparent;
}

.site-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

/* ---------- Кнопки: зелений акцент ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--green-deep);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  background: #255926;
}

.button--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.button--dark {
  background: var(--dark);
}

.button--dark:hover,
.button--dark:focus-visible {
  background: #2c2c2c;
}

.button--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.88rem;
}

/* ---------- Hero: олива ---------- */
.hero {
  position: relative;
  min-height: 88svh;
  padding: 70px 0 46px;
  overflow: hidden;
  background: var(--olive);
}

.hero__slider,
.hero-slide,
.hero-slide__media,
.hero-slide__media img,
.hero-slide__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide__media img,
.hero-slide__media video {
  object-fit: cover;
}

/* Знебарвлюємо фон, щоб олива згори не воювала з кольорами кадру.
   Однаково для фото і для відео, інакше слайд з відео вибивався б
   насиченістю з решти. */
.hero-slide__media img,
.hero-slide__media video {
  filter: saturate(0.6) contrast(0.95);
}

/* Відео малюється поверх картинки за порядком у дереві — саме тому в розмітці
   <img> іде перед <video>. Через z-index цього робити не можна: активний слайд
   має opacity: 1, не створює контексту накладання, і відео з z-index вискочило б
   поверх .hero__overlay.
   Раніше тут стояло video:not([src]) { display: none }, і воно ховало робоче
   відео, бо джерело задане тегом <source>, а не атрибутом src. */

/* main.js вішає цей клас на подію error (немає файлу, кодек не підтримується)
   і знімає на loadeddata. Порожній шар прибираємо, щоб було видно картинку. */
.hero-slide__media.has-fallback-image video {
  display: none;
}

/* Оливкове перекриття поверх фото. Темніше за чисту #8c8c35,
   щоб білий H1 і лід тримали контраст 4.5:1 (на чистій оливі було 3.55:1). */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(46, 46, 16, 0.52), rgba(46, 46, 16, 0.62)),
    linear-gradient(115deg, rgba(110, 110, 40, 0.94), rgba(68, 68, 68, 0.86));
}

.hero__dots {
  display: none;
}

.hero__content,
.hero__controls {
  position: relative;
  z-index: 2;
}

.hero__content {
  display: flex;
  align-items: center;
  min-height: calc(88svh - 150px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--lime);
  color: var(--olive-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Коли заголовок h2 секції прибрано, eyebrow сам стає візуальним
   заголовком — тож масштабуємо його як h2, а не як дрібний лейбл. */
.eyebrow--lg {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  letter-spacing: 0.02em;
}

.eyebrow--md {
  font-size: 0.95rem;
}

.hero h1 {
  max-width: 900px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
}

/* Лайм лишається точковим акцентом — у підкресленні, не в тексті:
   лаймовий текст на оливі дає лише 4.1:1, білий — 8.5:1 */
.hero .eyebrow {
  color: #fff;
  border-bottom-color: var(--lime);
}

.hero__lead {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 760px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero__stat {
  padding: 0 24px;
  border: 0;
  background: none;
}

.hero__stat + .hero__stat {
  border-left: 1px solid var(--line-amber);
}

.hero__stat:first-child {
  padding-left: 0;
}

.hero__stat strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.hero__stat span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.hero__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero__control {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
}

.hero__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
}

.hero__pagination button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.hero__pagination button.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--lime);
}

.hero__slogan {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
}

.hero__slogan sup {
  font-size: 0.6em;
}

/* ---------- Умова участі: лаймовий CTA-блок ---------- */
.eligibility {
  padding: 34px 0;
  background: var(--lime);
  color: var(--ink);
}

.eligibility__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
}

.eligibility__body {
  flex: 1 1 520px;
}

.eligibility__body strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.eligibility__body p {
  margin: 0;
  color: rgba(43, 43, 43, 0.82);
  line-height: 1.7;
}

/* ---------- Секції + тонкі бурштинові розділювачі ---------- */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--line-amber);
  background: var(--white);
}

.section--warm {
  background: var(--paper);
}

/* Оливкова смуга-акцент (stats-band з Концепту А).
   Олива темніша за #8c8c35, щоб білий текст тримав 4.5:1 на всій довжині градієнта. */
.section--accent {
  background: linear-gradient(115deg, var(--dark) 0%, #5f5f24 120%);
  border-top: 0;
  color: #fff;
}

.section--accent .eyebrow {
  color: #fff;
  border-bottom-color: var(--lime);
}

.section--accent .section-heading h2 {
  color: #fff;
}

.section--accent .section-heading p,
.section--accent .check-list li,
.section--accent .contact-stack p,
.section--accent .contact-stack strong {
  color: rgba(255, 255, 255, 0.92);
}

/* Посилання на оливковому фоні — лайм замість темної оливи */
.section--accent .contact-stack a {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.section--accent .check-list li::before {
  background: var(--lime);
}

/* ---------- Сезонна секція «Звіт» — зелена рамка виділення ---------- */
.section--report {
  padding: 60px 0;
}

.report-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 36px 40px;
  border: 1.5px solid var(--green);
  border-radius: var(--radius-md);
  background: var(--white);
}

.report-panel__body {
  flex: 1 1 520px;
}

.report-panel__body h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
}

.report-panel__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.report-panel__actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.report-panel__deadline {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--crimson);
  border-radius: 999px;
  color: #9c0b37;
  font-size: 0.86rem;
  font-weight: 700;
}

/* ---------- Заголовки секцій ---------- */
.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading--left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.18;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* Контрастніший варіант підзаголовка — коли звичайний приглушений
   сірий читається важко (наприклад, довший текст-інструкція).
   Подвійний клас потрібен, щоб перебити специфічність .section-heading p. */
.section-heading .section-heading__lead {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Картки: тонка рамка замість заливки ---------- */
.info-card,
.step-card,
.region-card,
.feature-panel,
.contact-form {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.info-card {
  padding: 26px;
  border-top: 3px solid var(--olive);
}

.info-card strong,
.region-card h3,
.step-card h3 {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 700;
}

.info-card p,
.region-card p,
.step-card p,
.check-list li,
.contact-stack p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- Кроки: зелені номери, останній малиновий ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  padding: 26px;
}

/* Номер і заголовок кроку в один рядок — картка займає менше висоти. */
.step-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-card__head h3 {
  margin-bottom: 0;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  margin-bottom: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 700;
}

.step-card--accent {
  border-color: rgba(202, 14, 69, 0.4);
}

.step-card--accent span {
  background: var(--crimson);
}

.check-list {
  display: grid;
  gap: 12px;
  padding-left: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.feature-panel {
  overflow: hidden;
  border: 0;
  border-bottom: 3px solid var(--amber);
  border-radius: var(--radius-md);
}

.feature-panel img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.region-card {
  padding: 26px;
  border-left: 3px solid var(--olive);
}

.region-card a,
.contact-stack a {
  color: var(--olive-deep);
  font-weight: 700;
  border-bottom: 2px solid var(--green);
}

/* ---------- Галерея: бурштинова лінія під кадром ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--amber);
}

.gallery-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ---------- Контакти ---------- */
.contact-stack {
  display: grid;
  gap: 22px;
}

.contact-stack strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form {
  padding: 28px;
  border-top: 3px solid var(--green);
}

.contact-form .form-control {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
}

.contact-form textarea.form-control {
  min-height: 170px;
}

.contact-form .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(82, 168, 84, 0.16);
}

/* Компактний варіант — лейбли перенесено в placeholder, менше відступів. */
.contact-form--compact {
  padding: 20px;
}

.contact-form--compact .form-control {
  min-height: 42px;
  padding: 10px 14px;
}

.contact-form--compact textarea.form-control {
  min-height: 90px;
}

.contact-form__note {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Статус відправки форми (успіх/помилка) — з'являється замість того,
   щоб перезавантажувати сторінку після сабміту. */
.form-status {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-status--ok {
  border: 1px solid rgba(82, 168, 84, 0.35);
  background: rgba(82, 168, 84, 0.1);
  color: var(--green-deep);
}

.form-status--error {
  border: 1px solid rgba(202, 14, 69, 0.35);
  background: rgba(202, 14, 69, 0.08);
  color: var(--crimson);
}

/* ---------- Футер: темний #444444 ---------- */
.site-footer {
  padding: 44px 0 26px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  align-items: center;
}

.site-footer__logo {
  width: auto;
  height: 64px;
  margin-bottom: 16px;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  padding-top: 12px;
  border-top: 3px solid var(--lime);
  font-size: 1.02rem;
  color: #fff;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.site-footer a {
  display: inline-flex;
  margin-right: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a:not(.button):hover {
  color: #fff;
  border-bottom: 2px solid var(--green);
}

.site-footer__slogan {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.56) !important;
  font-size: 0.9rem;
  font-style: italic;
}

.site-footer__slogan sup {
  font-size: 0.62em;
}

.site-footer__legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
  line-height: 1.7;
  text-align: center;
}

.site-footer__legal a {
  margin-right: 0;
  color: rgba(255, 255, 255, 0.78);
}

/* Навмисно невидиме посилання: opacity замість display/visibility,
   щоб воно лишалось у потоці й реагувало на наведення та клік. */
.site-footer__legal-hidden {
  opacity: 0;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1199.98px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 991.98px) {
  .site-header__toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--dark);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.button) {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    min-height: auto;
  }

  .hero__meta {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero__stat {
    padding: 0;
  }

  .hero__stat + .hero__stat {
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid var(--line-amber);
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer strong {
    display: inline-block;
  }

  .site-footer__logo {
    margin-inline: auto;
  }
}

@media (max-width: 767.98px) {
  :root {
    --header-height: 68px;
  }

  .site-brand__logo {
    height: 38px;
  }

  .site-brand__title {
    font-size: 0.92rem;
  }

  .site-brand__subtitle {
    font-size: 0.7rem;
  }

  .section {
    padding: 64px 0;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .steps-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .eligibility__inner .button,
  .report-panel__actions .button {
    width: 100%;
    justify-content: center;
  }

  .report-panel {
    padding: 26px;
  }

  .report-panel__actions {
    justify-items: stretch;
    width: 100%;
    text-align: center;
  }

  .hero__controls {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   ВАРІАНТ 5 — «ЛОГОТИП: ЗЕЛЕНИЙ + ЧЕРВОНИЙ»
   Кольори зчитані з растрів усередині occ-logo.svg:
     зелений  #009c4c (домінантний), діапазон #008d45…#00a550
     світлі   #80cca5, #bfe5d2
     червоний #ed1c24 · #ce181e · #b11116 · #9c0a0e
   РОЗПОДІЛ РОЛЕЙ:
     ЧЕРВОНИЙ — лише дія: кнопки, дедлайн, крок 6.
     ЗЕЛЕНИЙ  — hero, рамки карток, номери кроків 1-5, маркери
                списків, посилання, рамка «Звіту».
     ОЛИВА / ЛАЙМ — базові: смуга «Програма», CTA-смуга,
                надзаголовки, галерея, акцент у футері.
   ============================================================ */
:root {
  /* червоний з логотипу — дія */
  --logo-red: #ce181e;
  --logo-red-light: #ed1c24;
  --logo-red-deep: #b11116;      /* фон кнопок, білий текст — 7.1:1 */
  --logo-red-darkest: #9c0a0e;

  /* зелений з логотипу — увага */
  --logo-green: #009c4c;         /* фірмовий, для ліній і рамок */
  --logo-green-mid: #008742;     /* текст по світлому — 4.6:1 */
  --logo-green-deep: #007038;    /* текст/посилання — 6.2:1 */
  --logo-green-soft: #80cca5;    /* світлий, на темному тлі — 5.2:1 */
  --logo-green-pale: #bfe5d2;    /* найсвітліший з логотипу */
  --logo-green-bg: #eaf5ee;      /* фон блоків */
  --logo-green-line: rgba(0, 156, 76, 0.34);

  /* малиновий з базової палітри замінений червоним логотипу */
  --crimson: #ce181e;
}

.variant-badge {
  position: fixed;
  z-index: 2000;
  right: 12px;
  bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- ДІЯ = ЧЕРВОНИЙ ---------- */
.button {
  background: var(--logo-red-deep);
}

.button:hover,
.button:focus-visible {
  background: var(--logo-red-darkest);
}

/* Ghost-кнопка лишається прозорою */
.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- УВАГА = ЗЕЛЕНИЙ ---------- */
/* Меню: зелене підсвічування замість червоного */
.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible {
  border-bottom-color: var(--logo-green-soft);
}

/* Надзаголовки лишаються базовими: лаймова лінія + оливковий текст */

/* ---------- HERO: повністю базовий оливковий, зелене прибрано ----------
   Фон, перекриття, фільтр фото, слоган, пагінація та стрілки —
   усе працює з базових правил. Червоною лишається лише кнопка. */

/* CTA-смуга «Хто може стати партнером» лишається базовою лаймовою */

/* ---------- Смуга «Програма»: повернуто базовий оливковий градієнт ---------- */
.section--accent {
  background: linear-gradient(115deg, var(--dark) 0%, #5f5f24 120%);
}

/* Надзаголовок, маркери й посилання в цій смузі — базові лаймові
   (перекриття прибрані, працює базове правило .section--accent …) */

/* ---------- Кроки: зелені номери, останній червоний (дія — звіт) ---------- */
.step-card span {
  background: var(--logo-green-deep);
}

.step-card--accent {
  border-color: rgba(206, 24, 30, 0.38);
}

.step-card--accent span {
  background: var(--logo-red-deep);
}

/* ---------- Картки: зелені обведення замість оливкових ---------- */
.info-card {
  border-top-color: var(--logo-green);
}

.region-card {
  border-left-color: var(--logo-green);
}

.check-list li::before {
  background: var(--logo-green);
}

/* Посилання: зелений текст + зелене підкреслення */
.region-card a,
.contact-stack a {
  color: var(--logo-green-deep);
  border-bottom-color: var(--logo-green);
}

/* ---------- «Звіт»: зелена рамка привертає увагу, дедлайн — червоний ---------- */
.report-panel {
  border-color: var(--logo-green);
  background: var(--logo-green-bg);
}

.report-panel__deadline {
  background: var(--logo-red-deep);
  border-color: var(--logo-red-deep);
  color: #fff;
}

/* Лінія в галереї лишається базовою бурштиновою */

/* Олива — тонка лінія під фото «Програми» */
.feature-panel {
  border-bottom-color: var(--olive);
}

/* ---------- Контакти ---------- */
.contact-form {
  border-top-color: var(--logo-green);
}

.contact-form .form-control:focus {
  border-color: var(--logo-green);
  box-shadow: 0 0 0 0.2rem rgba(0, 156, 76, 0.16);
}

/* ---------- Футер: акцент лишається базовим лаймовим ---------- */
.site-footer__slogan {
  color: rgba(191, 229, 210, 0.72) !important;
}

.site-footer a:not(.button):hover {
  border-bottom-color: var(--logo-green-soft);
}

/* ============================================================
   ГАЛЕРЕЯ-АКОРДЕОН «Найвеличніша подорож» — ЗАГЛУШКА
   Перенесено з book.html / css/book/style.css (Codrops Image
   Accordion). Механіка та сама: 8 вкладених <figure> + радіо-
   кнопки одної групи, без JS. Відмінність від оригіналу — розміри
   через змінні замість жорстких px, тому блок вписується в колонку
   й адаптується. Ширина = кадр + 7 смужок.
   ============================================================ */
.book-accordion {
  --frame: 258px;   /* ширина розкритого кадру */
  --strip: 37px;    /* видима смужка закритого кадру */
  --edge: 12px;     /* сума рамок ліворуч+праворуч, бо box-sizing: border-box */

  position: relative;
  width: calc(var(--frame) + 7 * var(--strip) + var(--edge));
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.book-accordion figure {
  position: absolute;
  top: 0;
  left: var(--strip);
  width: var(--frame);
  margin: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55);
  transition: left 0.3s ease-in-out;
}

.book-accordion > figure {
  position: relative;
  left: 0;
}

/* Сторінки книги не ріжемо: object-fit: cover обрізав би текст і малюнки.
   Висота природна, як в оригіналі, — задає її пропорція 564x705, тому
   всі вісім кадрів однакові й висота блоку тримається на першому figure
   (єдиному з position: relative). */
.book-accordion img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 564 / 705;
}

/* Клікабельна смужка. Прозорий input перекриває ліву кромку кадру;
   коли кадр відкритий, смужка стискається до 5px і йде вправо,
   щоб не заважала дивитися. */
.book-accordion input {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--strip);
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 100;
  appearance: none;
}

.book-accordion input:checked {
  width: 5px;
  left: auto;
  right: 0;
}

.book-accordion input:checked ~ figure {
  left: var(--frame);
  transition: left 0.7s ease-in-out;
}

.book-accordion input:checked ~ figure input {
  z-index: 1;
}

.book-accordion figcaption {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 43, 43, 0.18);
  transition: background-color 0.2s linear;
  pointer-events: none;
}

.book-accordion input:hover + figcaption {
  background: rgba(43, 43, 43, 0.06);
}

.book-accordion input:checked + figcaption,
.book-accordion input:checked:hover + figcaption {
  background: rgba(43, 43, 43, 0);
}

.book-accordion figcaption span {
  position: absolute;
  top: 50%;
  left: 16px;
  right: 16px;
  padding: 12px;
  transform: translateY(-50%) translateY(10px);
  border-radius: var(--radius-sm);
  background: rgba(43, 43, 43, 0.55);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.book-accordion input:checked + figcaption span {
  opacity: 1;
  transform: translateY(-50%);
  transition-delay: 0.45s;
}

/* Доступність: смужка клікається з клавіатури, тому потрібен видимий фокус */
.book-accordion input:focus-visible + figcaption {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}

/* Ширина блоку = кадр + 7 смужок, і вона мусить влазити в колонку,
   інакше overflow:hidden обріже останній кадр. Тому на кожному
   брейкпоінті значення підігнані під фактичну ширину колонки. */
@media (max-width: 1199.98px) {
  .book-accordion {
    --frame: 212px;
    --strip: 30px;
  }
}

/* Колонки стають на всю ширину — блок може бути ширшим */
@media (max-width: 991.98px) {
  .book-accordion {
    --frame: 320px;
    --strip: 50px;
  }
}

@media (max-width: 767.98px) {
  .book-accordion {
    --frame: 254px;
    --strip: 37px;
  }
}

@media (max-width: 575.98px) {
  .book-accordion {
    --frame: 162px;
    --strip: 24px;
  }

  .book-accordion figcaption span {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-accordion figure,
  .book-accordion figcaption,
  .book-accordion figcaption span {
    transition: none !important;
  }
}

/* ---------- Інтерактивна карта областей (секція «Регіональні команди») ---------- */
.region-map {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.region-map__svg {
  flex: 1 1 380px;
  max-width: 560px;
  height: auto;
}

.region-map__area {
  stroke: var(--white);
  stroke-width: 1.2;
  cursor: pointer;
  outline: none;
  transition: opacity 0.15s ease, filter 0.15s ease;
}

/* Колір кожної області виставлено інлайном (style="fill:…") — групи
   команд за списком: однаковий колір мають лише області однієї команди. */
.region-map__area {
  opacity: 0.92;
}

.region-map__area:hover,
.region-map__area:focus-visible {
  opacity: 1;
  filter: brightness(1.12);
}

.region-map__area:focus-visible {
  stroke: var(--ink);
  stroke-width: 2;
}

.region-map__area.is-active {
  opacity: 1;
  filter: drop-shadow(0 2px 6px rgba(43, 43, 43, 0.45));
}

/* Підписи областей — видимі завжди, не лише при наведенні/кліку.
   Розмір навмисно збільшено вдвічі: підпис важливіший за те, що він
   може виходити за межі дрібних областей. */
.region-map__label {
  fill: #fff;
  font-size: 19px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  paint-order: stroke;
  stroke: rgba(20, 20, 15, 0.75);
  stroke-width: 3.5px;
  stroke-linejoin: round;
  pointer-events: none;
  user-select: none;
}

.region-map__side {
  flex: 1 1 260px;
  min-width: 240px;
}

.region-map__intro {
  margin: 0 0 22px;
}

/* eyebrow--lg вже виконує роль заголовка, тому h2 з повною назвою
   проєкту лишаємо дрібнішим — підзаголовком, а не другим заголовком.
   Подвійний клас — щоб перебити специфічність .section-heading h2. */
.section-heading .region-map__subtitle {
  font-size: 1.05rem;
  font-weight: 700;
}

/* Компактніша копія .contact-form — тут це бічна панель, а не окрема секція. */
.region-map__form {
  padding: 16px;
}

.region-map__form .form-label {
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.region-map__form .form-control {
  min-height: 38px;
  padding: 8px 12px;
}

.region-map__form textarea.form-control {
  min-height: 76px;
}

.region-map__form [data-region-map-to] {
  color: var(--ink);
  font-weight: 400;
  background: var(--olive-dim);
  cursor: default;
}

/* Попередження про області, де заявки цього сезону не приймаються.
   Виразне, але не блокує форму — повідомлення все одно можна надіслати. */
.region-map__warning {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(202, 14, 69, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(202, 14, 69, 0.08);
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.55;
}

.region-map__warning strong {
  color: var(--crimson);
}

@media (prefers-reduced-motion: reduce) {
  .region-map__area {
    transition: none;
  }
}

/* ---------- Кнопка "на весь екран" на кожній сторінці книги ---------- */
.book-accordion__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(43, 43, 43, 0.62);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.book-accordion__zoom:hover,
.book-accordion__zoom:focus-visible {
  background: rgba(43, 43, 43, 0.85);
  transform: scale(1.08);
}

/* ---------- Лайтбокс: повноекранний перегляд фото книги ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  background: rgba(20, 20, 15, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__image {
  max-width: min(82vw, 1100px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.26);
}

/* Гортання фото книги всередині лайтбокса, без закриття перегляду.
   Стрілки — звичайні флекс-елементи в одному ряду з фото (не прив'язані
   до країв екрана), тому завжди впритул до картинки, якою б вузькою
   вона не була. */
.lightbox__nav {
  flex: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, 0.26);
}

.lightbox__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .lightbox {
    gap: 8px;
    padding: 16px;
  }

  .lightbox__nav {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}

/* ---------- Модалка "Перейти до звіту" (нагадування посилання) ---------- */
.report-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 20, 15, 0.6);
}

.report-modal[hidden] {
  display: none;
}

.report-modal__box {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.report-modal__box h3 {
  margin: 0 0 16px;
  padding-right: 30px;
  color: var(--ink);
  font-size: 1.3rem;
}

.report-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--olive-dim);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.report-modal__close:hover,
.report-modal__close:focus-visible {
  background: var(--line);
}

.report-modal__lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.report-modal__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.report-modal__row .form-control {
  flex: 1 1 160px;
  min-height: 46px;
}

.report-modal__row .button {
  flex: none;
}

.report-modal__error {
  margin: 12px 0 0;
  color: var(--crimson);
  font-size: 0.86rem;
}

.report-modal__success {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.6;
}
