:root {
  --color-primary: #149d25;
  --color-text: #111111;
  --color-muted: #5f5f5f;
  --color-bg: #ffffff;
  --color-soft: #f5f7f5;
  --container-max: 1200px;
  --container-padding: 20px;
  --section-padding: 72px;
  --font-main: "Montserrat", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-main);
  font-size: 18px;
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - var(--container-padding) * 2, var(--container-max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 2px 12px rgba(0, 0, 0, 0.05);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo-img {
  display: block;
}

.site-header__logo-img--desktop {
  height: 40px;
  width: auto;
}

.site-header__logo-img--mobile {
  display: none;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-header__controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.site-header__phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding-right: 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  transition: color 0.2s;
}

.site-header__phone:hover {
  color: var(--color-primary);
}

.site-header__phone-icon {
  display: block;
  flex-shrink: 0;
  opacity: 0.65;
}

.site-header__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: linear-gradient(135deg, #17b82b 0%, #0d8a20 55%, #0a6618 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(10, 100, 24, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.site-header__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.site-header__cta:hover {
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(10, 100, 24, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.site-header__cta:hover::before {
  left: 130%;
}

.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(20, 157, 37, 0.35);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.site-header__burger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header__burger.is-open .site-header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__burger.is-open .site-header__burger-line:nth-child(2) {
  opacity: 0;
}

.site-header__burger.is-open .site-header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-size: 15px;
  font-weight: 300;
}

.site-nav a {
  padding: 0 20px;
  line-height: 1.2;
}

.site-nav__divider {
  color: var(--color-primary);
  font-weight: 300;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #9e9e9e;
}

.site-nav-mobile {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.site-nav-mobile.is-open {
  max-height: 320px;
}

.site-nav-mobile__nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0 12px;
}

.site-nav-mobile__nav a {
  padding: 11px var(--container-padding);
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.site-nav-mobile__nav a:last-child {
  border-bottom: none;
}

.site-nav-mobile__nav a:hover {
  color: var(--color-primary);
}

.site-nav-mobile__cta {
  margin: 8px var(--container-padding) 0;
  padding: 10px 20px !important;
  background: var(--color-primary);
  color: #ffffff !important;
  font-weight: 600 !important;
  text-align: center;
  border-radius: 4px;
  border-bottom: none !important;
}

.site-nav-mobile__cta:hover {
  background: #0f8520;
  color: #ffffff !important;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.language-switch__button {
  min-width: 32px;
  min-height: 28px;
  color: var(--color-muted);
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s, border-color 0.2s;
}

.language-switch__button:hover {
  color: var(--color-text);
  border-color: rgba(20, 157, 37, 0.45);
}

.language-switch__button.is-active {
  color: var(--color-primary);
  background: rgba(20, 157, 37, 0.07);
  border-color: rgba(20, 157, 37, 0.3);
  font-weight: 600;
}

.page-section {
  padding: var(--section-padding) 0;
}

.page-section:nth-of-type(even) {
  background: var(--color-soft);
}

.page-section--hero {
  position: relative;
  min-height: 760px;
  padding: 0;
  color: #ffffff;
  overflow: hidden;
  background-color: #01380a;
  background-image:
    linear-gradient(to right,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.25) 50%,
      rgba(0, 0, 0, 0.00) 78%),
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.48) 0%,
      rgba(0, 10, 3, 0.30) 40%,
      rgba(0, 10, 3, 0.24) 70%,
      rgba(0, 10, 3, 0.52) 100%),
    url("../assets/images/hero/assetsimagesherohero-bg-meetings-flowers-2026.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-section--hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75px;
  background: linear-gradient(to bottom, transparent 0%, #ffffff 100%);
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: 760px;
  z-index: 1;
}

.hero__logos {
  position: absolute;
  top: 72px;
  left: 123px;
  width: 560px;
}

.hero__title {
  margin: 0;
}

.hero__czs-link {
  display: block;
  width: 517px;
}

.hero__czs-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.40)) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.30));
}

.hero__audience {
  margin: -42px 0 0 156px;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.55;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero__topic {
  margin: 0 0 0 155px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.40), 0 1px 2px rgba(0, 0, 0, 0.30);
}

.hero__expo-mark {
  position: absolute;
  top: 0;
  left: 758px;
  width: 325px;
  height: 291px;
  background: linear-gradient(to bottom,
    rgba(255, 254, 250, 1.0) 0%,
    rgba(255, 254, 250, 1.0) 74%,
    rgba(255, 254, 250, 0.0) 100%);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 18px rgba(0, 40, 8, 0.14);
}

.hero__expo-logo {
  position: absolute;
  top: 86px;
  left: 36px;
  width: 249px;
  height: auto;
}

.hero__lead {
  position: absolute;
  top: 313px;
  left: 130px;
  width: 940px;
  margin: 0;
  color: #ffffff;
  text-align: center;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero__button {
  position: absolute;
  top: 486px;
  left: 420px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 55px;
  color: #ffffff;
  background: linear-gradient(135deg, #c9202e 0%, #9b0f1c 55%, #7a0a17 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 20px rgba(140, 10, 22, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.18s ease, border-color 0.2s ease;
}

.hero__button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.hero__button:hover,
.hero__button:focus-visible {
  background: linear-gradient(135deg, #c9202e 0%, #9b0f1c 55%, #7a0a17 100%);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 28px rgba(140, 10, 22, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  color: #ffffff;
}

.hero__button:hover::before,
.hero__button:focus-visible::before {
  left: 120%;
}

.hero__meta {
  position: absolute;
  left: 338px;
  top: 591px;
  display: flex;
  align-items: flex-start;
  gap: 26px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.40), 0 1px 2px rgba(0, 0, 0, 0.30);
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero__meta-item img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero__trust {
  position: absolute;
  top: 648px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 300;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.hero__trust-dot {
  margin: 0 12px;
  opacity: 0.35;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-primary {
  color: var(--color-primary);
}

.info-section {
  color: #333333;
  background: #ffffff;
}

.info-section--exhibition {
  padding-top: 72px;
  padding-bottom: 72px;
}

.info-section--center {
  padding-top: 72px;
  padding-bottom: 72px;
  background: var(--color-soft);
}

/* ─── Exhibition block ─────────────────────────────────────────────────────── */

.exh-block__title {
  margin: 0 0 18px;
  color: #222222;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
}

.exh-block__lead {
  margin: 0 0 44px;
  font-size: 19px;
  line-height: 1.6;
  color: #555555;
  max-width: 680px;
}

.exh-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.exh-highlight {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 22px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.exh-highlight__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-primary);
  background: rgba(20, 157, 37, 0.08);
  border-radius: 10px;
  flex-shrink: 0;
}

.exh-highlight__title {
  font-size: 17px;
  font-weight: 600;
  color: #222222;
  line-height: 1.3;
}

.exh-highlight__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
}

/* ─── CZS block ─────────────────────────────────────────────────────────── */

.czs-block__heading {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.czs-block__title {
  margin: 0 0 16px;
  color: #222222;
  font-size: 38px;
  line-height: 1.22;
  font-weight: 700;
}

.czs-block__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #555555;
}

.czs-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.czs-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 22px 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.czs-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.czs-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  background: rgba(20, 157, 37, 0.08);
  border-radius: 12px;
  flex-shrink: 0;
}

.czs-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #222222;
  line-height: 1.3;
}

.czs-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
}

.expo-sections {
  padding-top: 40px;
  padding-bottom: 72px;
  color: #333333;
  background: #ffffff;
}

.expo-sections__heading {
  width: 75%;
  padding-left: calc((100% / 12) + 20px);
  padding-bottom: 36px;
}

.expo-sections__title {
  margin: 0;
  color: #333333;
  font-size: 42px;
  line-height: 1.23;
  font-weight: 700;
}

.expo-sections__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 10px;
}

.expo-card {
  position: relative;
  height: 250px;
  color: #ffffff;
  overflow: hidden;
  background: #1a1a1a;
  border-radius: 14px;
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition: box-shadow 0.35s ease, transform 0.3s ease;
}

.expo-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.expo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.0)  0%,
    rgba(0, 0, 0, 0.18) 40%,
    rgba(0, 0, 0, 0.65) 70%,
    rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
  transition: background 0.35s ease;
}

.expo-card__content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 0 18px 20px;
}

.expo-card__spacer {
  margin: 0 0 8px;
  min-height: 1em;
}

.expo-card__title {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow:
    0 1px 5px rgba(0, 0, 0, 0.65),
    0 2px 12px rgba(0, 0, 0, 0.45);
}

@media (hover: hover) and (pointer: fine) {
  .expo-card:hover {
    box-shadow:
      0 12px 36px rgba(0, 0, 0, 0.30),
      0 3px 8px rgba(0, 0, 0, 0.15),
      inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    transform: translateY(-5px);
  }

  .expo-card:hover .expo-card__image {
    transform: scale(1.05);
  }

  .expo-card:hover .expo-card__overlay {
    background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0.24) 40%,
      rgba(0, 0, 0, 0.72) 70%,
      rgba(0, 0, 0, 0.92) 100%);
  }
}

.benefits-section {
  padding-top: 64px;
  padding-bottom: 80px;
  color: #333333;
  background: #f4f9f4;
}

.benefits-section__inner {
  max-width: var(--container-max);
}

.benefits-section__title {
  margin: 0 0 40px;
  color: #333333;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  white-space: pre-line;
  text-align: center;
}

.benefits-section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid #d8ecd8;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.benefit-item__icon-wrap {
  flex-shrink: 0;
  width: 52px;
  padding-top: 2px;
}

.benefit-item__icon {
  display: block;
  width: 52px;
  height: auto;
}

.benefit-item__body {
  flex: 1;
  min-width: 0;
}

.benefit-item__title {
  display: block;
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}

.benefit-item__text {
  margin: 0;
  color: #444444;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

.page-section.gallery-section {
  padding-top: 45px;
  padding-bottom: 90px;
  color: #333333;
  background: #ffffff;
}

.gallery-section__heading {
  width: 75%;
  padding-left: calc((100% / 12) + 20px);
  padding-bottom: 0;
}

.gallery-section__title {
  margin: 0;
  color: #333333;
  font-size: 42px;
  line-height: 1.23;
  font-weight: 700;
}

.gallery-section__subtitle {
  margin: 10px 0 0;
  color: #666666;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
}

.gallery-slider {
  position: relative;
  padding-top: 90px;
}

.gallery-slider__viewport {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.gallery-slider__track {
  position: relative;
  height: 100%;
}

.gallery-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(72vw, 760px);
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  background: #eeeeee;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.82);
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s ease;
}

.gallery-slide.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.28);
}

.gallery-slide.is-prev {
  z-index: 2;
  opacity: 0.38;
  pointer-events: auto;
  transform: translate(calc(-50% - 640px), -50%) scale(0.82);
}

.gallery-slide.is-next {
  z-index: 2;
  opacity: 0.38;
  pointer-events: auto;
  transform: translate(calc(-50% + 640px), -50%) scale(0.82);
}

.gallery-slide__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slide:focus-visible,
.gallery-slider__arrow:focus-visible,
.gallery-slider__dot:focus-visible {
  outline: 3px solid rgba(20, 157, 37, 0.55);
  outline-offset: 3px;
}

.gallery-slider__arrow {
  position: absolute;
  top: calc(90px + 260px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  font-size: 40px;
  line-height: 1;
  font-weight: 300;
  transform: translateY(-50%);
  transition: background-color 0.25s ease, border-color 0.25s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.gallery-slider__arrow:hover {
  background: rgba(0, 0, 0, 0.68);
  border-color: rgba(255, 255, 255, 0.30);
}

.gallery-slider__arrow--prev {
  left: 92px;
}

.gallery-slider__arrow--next {
  right: 92px;
}

.gallery-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.gallery-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: #cccccc;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}

.gallery-slider__dot.is-active {
  width: 24px;
  background: var(--color-primary);
  border-radius: 4px;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(0, 0, 0, 0.86);
}

.gallery-lightbox__image {
  display: block;
  max-width: min(100%, 1180px);
  max-height: calc(100vh - 96px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 1;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  font-weight: 300;
}

.gallery-lightbox__close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

body.is-lightbox-open {
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   Program / comparison section
   ═══════════════════════════════════════════ */
.page-section.program-section {
  padding-top: 60px;
  padding-bottom: 80px;
  color: #333333;
  background: #ffffff;
}

.program-section__title {
  margin: 0;
  color: #333333;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
  white-space: pre-line;
  text-align: center;
}

/* ── Tree layout ── */
.program-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 36px;
}

/* Central hub node — floral PNG with animated ring pulse */
@keyframes program-hub-pulse {
  0%, 88%, 100% { box-shadow: 0 2px 14px rgba(20, 157, 37, 0.14); }
  5%            { box-shadow: 0 0 0 10px rgba(20, 157, 37, 0.11), 0 0 28px rgba(20, 157, 37, 0.26); }
  16%           { box-shadow: 0 0 0 5px rgba(20, 157, 37, 0.05), 0 2px 18px rgba(20, 157, 37, 0.16); }
  24%           { box-shadow: 0 2px 14px rgba(20, 157, 37, 0.14); }
}

.program-tree__hub {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(20, 157, 37, 0.45);
  background: #f5faf5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 14px rgba(20, 157, 37, 0.14);
  animation: program-hub-pulse 18s ease-in-out 0.5s infinite;
}

.program-tree__hub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SVG Bezier branches */
.program-tree__connector {
  display: block;
  width: 100%;
  height: 90px;
  margin-top: -2px;
  overflow: visible;
}

/* Glint animation — travels along the left (green) branch only */
@keyframes program-glint {
  0%     { stroke-dashoffset: 1.25; opacity: 0; }
  8%     { opacity: 1; }
  36%    { opacity: 1; }
  42%    { stroke-dashoffset: -0.15; opacity: 0; }
  100%   { stroke-dashoffset: -0.15; opacity: 0; }
}

.program-tree__branch-glint {
  animation: program-glint 18s ease-in-out 0.5s infinite;
}

/* ── Two cards side-by-side ── */
.program-tree__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  width: 100%;
  margin-top: -2px;
}

.program-panel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 32px 32px 36px;
}

/* Buyer card — light green */
.program-panel--buyer {
  background: linear-gradient(135deg, rgba(20,157,37,0.07) 0%, rgba(20,157,37,0.02) 55%, #ffffff 100%);
  border: 1.5px solid rgba(20,157,37,0.30);
}

/* Buyer panel glow: appears when checks are pulsing (42–90% of 18s cycle) */
@keyframes program-panel-glow {
  0%, 40%  { box-shadow: none; }
  55%      { box-shadow: 0 0 0 3px rgba(20,157,37,0.18), 0 4px 28px rgba(20,157,37,0.13); }
  88%      { box-shadow: 0 0 0 1px rgba(20,157,37,0.07), 0 2px 12px rgba(20,157,37,0.05); }
  100%     { box-shadow: none; }
}

.program-panel--buyer.program-panel--glow {
  animation: program-panel-glow 18s ease-in-out 0.5s infinite;
}

/* Regular visit card — light grey */
.program-panel--regular {
  background: #f9f9f9;
  border: 1.5px solid #e0e0e0;
}

/* Header row: icon + heading */
.program-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.program-panel__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

/* Divider line below header */
.program-panel__divider {
  height: 1px;
  margin-bottom: 20px;
}

.program-panel--buyer .program-panel__divider {
  background: rgba(20,157,37,0.18);
}

.program-panel--regular .program-panel__divider {
  background: #e2e2e2;
}

.program-panel__heading {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.program-panel--buyer .program-panel__heading {
  color: var(--color-primary);
}

.program-panel--regular .program-panel__heading {
  color: #888888;
}

/* Item list */
.program-panel__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.program-panel__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.program-panel__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.program-panel__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.program-panel--buyer .program-panel__text {
  color: #333333;
}

.program-panel--regular .program-panel__text {
  color: #888888;
}

/* ── Tree connector lines inside cards ── */
/* Vertical line — shared base positioning */
.program-panel--buyer .program-panel__list::before,
.program-panel--regular .program-panel__list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 11px;
  bottom: 11px;
  width: 1.5px;
  border-radius: 2px;
  pointer-events: none;
}

.program-panel--buyer .program-panel__list::before {
  background: rgba(20,157,37,0.32);
}

.program-panel--regular .program-panel__list::before {
  background: rgba(180,180,180,0.50);
}

/* Glint traveling down the green vertical line inside buyer card */
@keyframes program-line-travel {
  0%, 40% { top: 11px; opacity: 0; }
  44%     { opacity: 0.85; }
  62%     { opacity: 0.85; top: calc(100% - 30px); }
  68%     { opacity: 0; top: calc(100% - 30px); }
  100%    { opacity: 0; top: 11px; }
}

.program-panel--buyer .program-panel__list::after {
  content: '';
  position: absolute;
  left: 4px;
  width: 7px;
  height: 20px;
  background: linear-gradient(to bottom, transparent, rgba(20,157,37,0.55), transparent);
  border-radius: 4px;
  pointer-events: none;
  animation: program-line-travel 18s ease-in-out 0.5s infinite;
}

/* Horizontal branches from vertical line to each icon */
.program-panel--buyer .program-panel__item::before,
.program-panel--regular .program-panel__item::before {
  content: '';
  position: absolute;
  left: -17px;
  top: 12px;
  width: 17px;
  height: 1.5px;
  border-radius: 1px;
  pointer-events: none;
}

.program-panel--buyer .program-panel__item::before {
  background: rgba(20,157,37,0.30);
}

.program-panel--regular .program-panel__item::before {
  background: rgba(180,180,180,0.48);
}

/* ── Sequential green check-icon animations (18s cycle, ~3s apart) ── */
/* Check 1 peak: 46% × 18s ≈ 8.3s */
@keyframes program-check-pulse-1 {
  0%, 40%   { filter: none; }
  46%       { filter: drop-shadow(0 0 6px rgba(20,157,37,0.80)); }
  55%       { filter: drop-shadow(0 0 2px rgba(20,157,37,0.25)); }
  60%, 100% { filter: none; }
}

/* Check 2 peak: 63% × 18s ≈ 11.3s (gap ≈ 3s) */
@keyframes program-check-pulse-2 {
  0%, 57%   { filter: none; }
  63%       { filter: drop-shadow(0 0 6px rgba(20,157,37,0.80)); }
  72%       { filter: drop-shadow(0 0 2px rgba(20,157,37,0.25)); }
  77%, 100% { filter: none; }
}

/* Check 3 peak: 80% × 18s ≈ 14.4s (gap ≈ 3s) */
@keyframes program-check-pulse-3 {
  0%, 74%   { filter: none; }
  80%       { filter: drop-shadow(0 0 6px rgba(20,157,37,0.80)); }
  89%       { filter: drop-shadow(0 0 2px rgba(20,157,37,0.25)); }
  94%, 100% { filter: none; }
}

.program-panel--buyer .program-panel__item:nth-child(1) .program-panel__check {
  animation: program-check-pulse-1 18s ease-in-out 0.5s infinite;
}

.program-panel--buyer .program-panel__item:nth-child(2) .program-panel__check {
  animation: program-check-pulse-2 18s ease-in-out 0.5s infinite;
}

.program-panel--buyer .program-panel__item:nth-child(3) .program-panel__check {
  animation: program-check-pulse-3 18s ease-in-out 0.5s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .program-tree__hub,
  .program-tree__branch-glint,
  .program-panel--buyer.program-panel--glow,
  .program-panel--buyer .program-panel__list::after,
  .program-panel--buyer .program-panel__item:nth-child(1) .program-panel__check,
  .program-panel--buyer .program-panel__item:nth-child(2) .program-panel__check,
  .program-panel--buyer .program-panel__item:nth-child(3) .program-panel__check {
    animation: none;
  }
}

/* Компенсация sticky-шапки при переходе по якорям меню: #f, #v, #p, #reg */
.expo-sections,
.benefits-section,
.program-section,
.page-section--registration {
  scroll-margin-top: 88px;
}

.page-section.registration-section {
  padding-top: 100px;
  padding-bottom: 90px;
  color: #333333;
  background: linear-gradient(150deg, #0b8120 0%, #149d25 55%, #0d9122 100%);
}

.registration-card {
  position: relative;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 52px 72px 52px;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.09);
  overflow: hidden;
}

/* Subtle decorative top accent */
.registration-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(20,157,37,0.40), transparent);
  pointer-events: none;
}

.registration-card__header {
  margin: 0 auto 36px;
  text-align: center;
}

.registration-card__title {
  margin: 0;
  color: #1a1a1a;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  white-space: pre-line;
}

.registration-card__subtitle {
  margin: 10px 0 0;
  color: #555555;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

.registration-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.registration-form__field {
  min-width: 0;
}

.registration-form__input {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 18px;
  color: #2a2a2a;
  background: #f8f8f8;
  border: 1.5px solid #d4d4d4;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.25;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.15s ease;
}

.registration-form__input::placeholder {
  color: #b0b0b0;
  opacity: 1;
}

.registration-form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(20,157,37,0.12);
  background: #ffffff;
}

.registration-form__input.is-invalid {
  border-color: #bb1422;
  background: #fdf2f2;
  box-shadow: 0 0 0 3px rgba(187,20,34,0.08);
}

/* Автозаполнение Chrome/WebKit: убираем ярко-голубую заливку,
   поле должно выглядеть как обычное поле формы. */
.registration-form__input:-webkit-autofill,
.registration-form__input:-webkit-autofill:hover,
.registration-form__input:-webkit-autofill:focus {
  -webkit-text-fill-color: #2a2a2a;
  -webkit-box-shadow: 0 0 0 1000px #f8f8f8 inset;
  box-shadow: 0 0 0 1000px #f8f8f8 inset;
  transition: background-color 5000s ease-in-out 0s;
}

.registration-form__input.is-invalid:-webkit-autofill,
.registration-form__input.is-invalid:-webkit-autofill:hover,
.registration-form__input.is-invalid:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fdf2f2 inset;
  box-shadow: 0 0 0 1000px #fdf2f2 inset;
}

.registration-form__error {
  min-height: 18px;
  margin: 5px 0 0;
  color: #bb1422;
  font-size: 13px;
  line-height: 1.3;
}

.registration-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 380px);
  min-height: 58px;
  margin: 24px auto 0;
  padding: 0 40px;
  color: #ffffff;
  background: #f97316;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 0 4px 18px rgba(249,115,22,0.32);
  transition: box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease;
}

.registration-form__submit:hover {
  background: #ea6a0f;
  box-shadow: 0 8px 28px rgba(249,115,22,0.44);
  transform: translateY(-1.5px);
}

.registration-form__submit:focus-visible {
  outline: 3px solid rgba(249,115,22,0.50);
  outline-offset: 3px;
}

.registration-form__submit:disabled {
  opacity: 0.7;
  cursor: default;
  box-shadow: none;
  transform: none;
}

/* Honeypot: держим поле вне видимой области для людей, но доступным для ботов */
.registration-form__honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.registration-form__consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 10px;
  margin: 18px 0 0;
}

.registration-form__checkbox {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #f97316;
  cursor: pointer;
  flex: none;
}

.registration-form__consent-label {
  color: #6f6f6f;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.registration-form__consent-link {
  color: #f97316;
  text-decoration: underline;
}

.registration-form__consent-link:hover {
  color: #ea6a0f;
}

.registration-form__consent .registration-form__error {
  grid-column: 2;
}

.registration-form__checkbox.is-invalid {
  outline: 2px solid #bb1422;
  outline-offset: 2px;
}

.registration-success {
  margin: 4px 0 0;
  padding: 32px 28px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.registration-success__icon {
  display: inline-block;
  margin: 0 0 12px;
  color: #149d25;
  font-size: 46px;
  line-height: 1;
}

.registration-success__text {
  margin: 0;
  color: #1a1a1a;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 600;
}

.registration-form__message {
  min-height: 22px;
  margin: 18px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}

.registration-form__message.is-success {
  color: var(--color-primary);
}

.registration-form__message.is-error {
  color: #bb1422;
}

.page-section.contacts-section {
  padding-top: 82px;
  padding-bottom: 80px;
  color: #333333;
  background: #ffffff;
}

/* ── Organizer top-row: soft panel ── */
.organizer-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 60px;
  align-items: center;
  width: min(100%, 960px);
  margin: 0 auto 72px;
  padding: 36px 48px;
  background: linear-gradient(135deg, #f4f9f4 0%, #f8fbf8 100%);
  border: 1px solid rgba(20,157,37,0.10);
  border-radius: 14px;
}

.organizer-block__text p {
  margin: 0;
  color: #444444;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

.organizer-block__label {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 12px;
  color: var(--color-primary);
  background: rgba(20,157,37,0.09);
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.organizer-block__logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.contact-card {
  position: relative;
  text-align: center;
  padding: 10px 8px 20px;
  border-radius: 14px;
  transition: transform 0.22s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-card__photo {
  display: block;
  width: 220px;
  height: 220px;
  margin: 0 auto 22px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(20,157,37,0.09), 0 4px 18px rgba(0,0,0,0.09);
  transition: box-shadow 0.25s ease;
}

.contact-card:hover .contact-card__photo {
  box-shadow: 0 0 0 5px rgba(20,157,37,0.22), 0 8px 28px rgba(0,0,0,0.13);
}

.contact-card__name {
  margin: 0 0 8px;
  color: #1a1a1a;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.contact-card__role {
  margin: 0 0 14px;
  color: #777777;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-card__link {
  display: block;
  margin: 5px 0;
  color: #333333;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
}

.contact-card__link:hover,
.contact-card__link:focus-visible {
  color: var(--color-primary);
}

/* ── Floral decorative layer: float animation ── */
@keyframes contact-floral-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

@keyframes contact-floral-float-center {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-5px); }
}

.contact-card__floral {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.contact-card__floral--left {
  top: -10px;
  left: -20px;
  width: 235px;
  opacity: 0.58;
  filter: saturate(1.2);
  animation: contact-floral-float 7s ease-in-out 0s infinite;
}

.contact-card__floral--center {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 242px;
  opacity: 0.64;
  filter: saturate(1.4) contrast(1.06);
  animation: contact-floral-float-center 7s ease-in-out 2.3s infinite;
}

.contact-card__floral--right {
  top: -10px;
  right: -20px;
  width: 235px;
  opacity: 0.58;
  filter: saturate(1.2);
  animation: contact-floral-float 7s ease-in-out 4.6s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .contact-card {
    transition: none;
  }
  .contact-card:hover {
    transform: none;
  }
  .contact-card__photo {
    transition: none;
  }
  .contact-card__floral--left,
  .contact-card__floral--right {
    animation: none;
  }
  .contact-card__floral--center {
    animation: none;
    transform: translateX(-50%);
  }
}

/* Keep all card content above decorative layer */
.contact-card__photo,
.contact-card__name,
.contact-card__role,
.contact-card__link {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════ FOOTER ═══ */

.site-footer {
  padding: 48px 0 0;
  background: #f5f7f5;
}

.site-footer__card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
  padding: 40px 40px 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr;
  gap: 32px 40px;
  padding-bottom: 36px;
}

.site-footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__logo-link {
  display: inline-block;
}

.site-footer__logo {
  height: 38px;
  width: auto;
  display: block;
}

.site-footer__desc {
  color: #5f5f5f;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 28px;
  padding: 0 10px;
  color: var(--color-primary);
  border: 1px solid rgba(20, 157, 37, 0.35);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-footer__social:hover,
.site-footer__social:focus-visible {
  color: #ffffff;
  background: var(--color-primary);
}

.site-footer__col-title {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}


.site-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.site-footer__contact-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.site-footer__contact-link {
  display: block;
  color: #111111;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.site-footer__contact-link:hover,
.site-footer__contact-link:focus-visible {
  color: var(--color-primary);
}

.site-footer__contact-label {
  display: block;
  color: #888888;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 2px;
}

.site-footer__contact-text {
  color: #444444;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer__map-subtitle {
  color: #888888;
  font-size: 13px;
  margin: -10px 0 12px;
}

.site-footer__map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.site-footer__map-iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.site-footer__copy {
  color: #5f5f5f;
  font-size: 13px;
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__legal-link {
  color: var(--color-primary);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.15s ease;
}

.site-footer__legal-link:hover,
.site-footer__legal-link:focus-visible {
  opacity: 0.75;
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }

  .site-footer__col--map {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 32px 0 0;
  }

  .site-footer__card {
    border-radius: 16px;
    padding: 28px 20px 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer__map-iframe {
    height: 230px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__social,
  .site-footer__contact-link,
  .site-footer__legal-link {
    transition: none;
  }
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: var(--color-primary);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 900px) {
  :root {
    --section-padding: 56px;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    min-height: 64px;
  }

  .site-header__logo-img--desktop {
    display: none;
  }

  .site-header__logo-img--mobile {
    display: block;
  }

  .site-nav {
    display: none;
  }

  .site-header__phone {
    border-right: none;
    padding-right: 0;
  }

  .site-header__phone-text {
    display: none;
  }

  .site-header__phone-icon {
    display: block;
    opacity: 0.8;
  }

  .site-header__cta {
    display: none;
  }

  .site-header__burger {
    display: flex;
  }

  .page-section--hero,
  .hero {
    min-height: 650px;
  }

  .page-section--hero::after {
    height: 55px;
  }

  .hero__trust {
    top: 558px;
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .hero__logos {
    top: 55px;
    left: calc(50% - 480px + 171px);
    width: 360px;
  }

  .hero__czs-link {
    width: 314px;
  }

  .hero__audience {
    margin-top: -25px;
    margin-left: 98px;
    font-size: 22px;
  }

  .hero__topic {
    margin-left: 98px;
  }

  .hero__expo-mark {
    left: calc(50% - 480px + 573px);
    width: 219px;
    height: 230px;
  }

  .hero__expo-logo {
    top: 66px;
    left: 20px;
    width: 180px;
  }

  .hero__lead {
    top: 264px;
    left: calc(50% - 480px + 172px);
    width: 621px;
    font-size: 32px;
  }

  .hero__button {
    top: 418px;
    left: calc(50% - 480px + 346px);
    width: 260px;
  }

  .hero__meta {
    top: 513px;
    left: calc(50% - 480px + 234px);
  }

  .exh-block__title,
  .czs-block__title {
    font-size: 34px;
  }

  .exh-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .czs-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .expo-sections__heading {
    width: 100%;
    padding-left: calc((100% / 12) + 12px);
  }

  .expo-sections__title {
    font-size: 38px;
  }

  .expo-sections__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .expo-card {
    height: 220px;
    border-radius: 12px;
  }

  .expo-card__title {
    font-size: 16px;
  }

  .benefits-section {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .benefits-section__title {
    font-size: 30px;
    margin-bottom: 32px;
  }

  .benefits-section__grid {
    gap: 16px;
  }

  .gallery-section__heading {
    width: 100%;
    padding-left: calc((100% / 12) + 12px);
  }

  .gallery-section__title {
    font-size: 38px;
  }

  .gallery-section__subtitle {
    font-size: 17px;
  }

  .gallery-slider {
    padding-top: 70px;
  }

  .gallery-slider__viewport {
    height: 430px;
  }

  .gallery-slide {
    width: min(76vw, 620px);
  }

  .gallery-slide.is-prev {
    transform: translate(calc(-50% - 510px), -50%) scale(0.82);
  }

  .gallery-slide.is-next {
    transform: translate(calc(-50% + 510px), -50%) scale(0.82);
  }

  .gallery-slider__arrow {
    top: calc(70px + 215px);
  }

  .gallery-slider__arrow--prev {
    left: 34px;
  }

  .gallery-slider__arrow--next {
    right: 34px;
  }

  .page-section.program-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .program-section__title {
    font-size: 30px;
  }

  .program-tree__panels {
    gap: 0 16px;
  }

  .program-panel {
    padding: 26px 22px 30px;
  }

  .program-panel__heading {
    font-size: 18px;
  }

  .registration-card {
    padding: 44px 48px 44px;
  }

  .registration-card__title {
    font-size: 36px;
  }

  .registration-card__subtitle {
    font-size: 17px;
  }

  .organizer-block {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 58px;
    padding: 28px 32px;
  }

  .contacts-grid {
    gap: 30px;
  }

  .contact-card__photo {
    width: 180px;
    height: 180px;
  }

  .contact-card__floral--left,
  .contact-card__floral--right {
    width: 182px;
    opacity: 0.52;
    filter: saturate(1.2);
  }

  .contact-card__floral--center {
    width: 186px;
    opacity: 0.58;
    filter: saturate(1.4) contrast(1.06);
  }

}

@media (max-width: 560px) {
  :root {
    --container-padding: 16px;
    --section-padding: 44px;
  }

  .site-header__controls {
    gap: 8px;
  }

  .page-section--hero {
    min-height: 620px;
  }

  .page-section--hero::after {
    height: 45px;
  }

  .hero {
    min-height: 620px;
  }

  .hero__trust {
    display: none;
  }

  .hero__logos {
    top: 175px;
    left: calc(50% - 160px + 12px);
    width: 292px;
  }

  .hero__czs-link {
    width: 292px;
  }

  .hero__audience {
    margin-top: -19px;
    margin-left: 89px;
    width: 203px;
    font-size: 16px;
  }

  .hero__topic {
    margin-top: 4px;
    margin-left: 21px;
    width: 275px;
    font-size: 16px;
  }

  .hero__expo-mark {
    left: calc(50% - 160px + 32px);
    width: 257px;
    height: 150px;
  }

  .hero__expo-logo {
    top: 32px;
    left: 26px;
    width: 196px;
  }

  .hero__lead {
    top: 303px;
    left: calc(50% - 160px + 31px);
    width: 273px;
    font-size: 16px;
  }

  .hero__button {
    top: 405px;
    left: calc(50% - 160px + 31px);
    width: 257px;
  }

  .hero__meta {
    top: 491px;
    left: calc(50% - 160px + 41px);
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
  }

  .hero__meta-item {
    gap: 15px;
  }

  .info-section--exhibition,
  .info-section--center {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .exh-block__title {
    font-size: 28px;
  }

  .exh-block__lead {
    font-size: 18px;
    margin-bottom: 32px;
  }

  .exh-highlights {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .czs-block__heading {
    text-align: left;
    margin-bottom: 32px;
  }

  .czs-block__title {
    font-size: 26px;
  }

  .czs-block__lead {
    font-size: 17px;
  }

  .czs-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .expo-sections {
    padding-top: 32px;
    padding-bottom: 44px;
  }

  .expo-sections__heading {
    padding-left: 0;
    padding-bottom: 22px;
  }

  .expo-sections__title {
    font-size: 28px;
    line-height: 1.2;
  }

  .expo-sections__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
  }

  .expo-card {
    height: 200px;
    border-radius: 10px;
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.20),
      inset 0 0 0 1px rgba(255, 255, 255, 0.13);
  }

  .expo-card__content {
    padding: 0 16px 18px;
  }

  .expo-card__title {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
  }

  .benefits-section {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .benefits-section__title {
    margin: 0 0 28px;
    font-size: 22px;
    line-height: 1.3;
  }

  .benefits-section__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-item {
    gap: 16px;
    padding: 20px 18px;
    border-radius: 12px;
  }

  .benefit-item__icon-wrap {
    width: 42px;
  }

  .benefit-item__icon {
    width: 42px;
  }

  .benefit-item__title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .benefit-item__text {
    font-size: 16px;
    line-height: 1.55;
  }

  .page-section.gallery-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .gallery-section__heading {
    padding-left: 0;
  }

  .gallery-section__title {
    font-size: 28px;
    line-height: 1.2;
  }

  .gallery-section__subtitle {
    font-size: 14px;
    line-height: 1.4;
  }

  .gallery-slider {
    padding-top: 48px;
  }

  .gallery-slider__viewport {
    height: 252px;
  }

  .gallery-slide {
    width: 100%;
    border-radius: 10px;
  }

  .gallery-slide.is-prev,
  .gallery-slide.is-next {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
  }

  .gallery-slider__arrow {
    top: calc(48px + 126px);
    width: 38px;
    height: 38px;
    font-size: 34px;
  }

  .gallery-slider__arrow--prev {
    left: 8px;
  }

  .gallery-slider__arrow--next {
    right: 8px;
  }

  .gallery-slider__dots {
    gap: 8px;
    margin-top: 22px;
    padding: 0 8px;
    flex-wrap: wrap;
  }

  .gallery-lightbox {
    padding: 42px 16px;
  }

  .gallery-lightbox__image {
    max-height: calc(100vh - 84px);
    border-radius: 6px;
  }

  .gallery-lightbox__close {
    top: 8px;
    right: 10px;
  }

  .page-section.program-section {
    padding-top: 36px;
    padding-bottom: 52px;
  }

  .program-section__title {
    font-size: 22px;
    line-height: 1.3;
  }

  .program-tree__hub {
    width: 64px;
    height: 64px;
  }

  /* Hide SVG Bezier branches on mobile */
  .program-tree__connector {
    display: none;
  }

  /* Stack cards vertically, buyer first */
  .program-tree__panels {
    grid-template-columns: 1fr;
    gap: 14px 0;
    margin-top: 20px;
  }

  .program-panel {
    padding: 22px 18px 26px;
    border-radius: 12px;
  }

  /* Buyer: green left border as visual branch line on mobile */
  .program-panel--buyer {
    border-left: 3px solid var(--color-primary);
  }

  /* Regular: grey left border on mobile */
  .program-panel--regular {
    border-left: 3px solid #d0d0d0;
  }

  .program-panel__heading {
    font-size: 17px;
  }

  .program-panel__text {
    font-size: 16px;
  }

  .page-section.registration-section {
    padding-top: 60px;
    padding-bottom: 56px;
  }

  .registration-card {
    padding: 36px 20px 36px;
    border-radius: 14px;
  }

  .registration-card__header {
    margin-bottom: 28px;
  }

  .registration-card__title {
    font-size: 26px;
    line-height: 1.25;
  }

  .registration-card__subtitle {
    margin-top: 10px;
    font-size: 15px;
  }

  .registration-form__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .registration-form__input {
    height: 52px;
    padding: 0 16px;
    font-size: 16px;
  }

  .registration-form__submit {
    width: 100%;
    min-height: 54px;
    margin-top: 20px;
    font-size: 16px;
  }

  .registration-form__consent-label {
    font-size: 12px;
  }

  .registration-success__text {
    font-size: 18px;
  }

  .page-section.contacts-section {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .organizer-block {
    gap: 20px;
    margin-bottom: 46px;
    padding: 22px 18px;
    border-radius: 10px;
  }

  .organizer-block__text p {
    font-size: 16px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-card__photo {
    width: 190px;
    height: 190px;
  }

  .contact-card__floral--left,
  .contact-card__floral--right {
    width: 126px;
    opacity: 0.42;
    filter: saturate(1.2);
  }

  .contact-card__floral--center {
    width: 128px;
    opacity: 0.46;
    filter: saturate(1.4) contrast(1.06);
  }

}
