/* ============================================================
   FESTIVALS — GLOBAL STYLES (single file)
   ============================================================ */

/* ---------- FONTS ---------- */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0400-052f, U+1c80-1c8f, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc,
    U+0304, U+0308, U+0329, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+feff, U+fffd;
}

/* ---------- CSS VARIABLES ---------- */
:root {
  /* colors */
  --color-white: #ffffff;
  --color-turquoise: #46c7d5;
  --color-turquoise-dark: #3aacb8;
  --color-pink: #ff4f97;
  --color-pink-dark: #ec3c84;
  --color-yellow: #f7a800;
  --color-text: #333333;
  --overlay-turquoise: rgba(65, 197, 200, 0.58);

  /* typography */
  --font-primary:
    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-secondary:
    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* spacing */
  --space-xs: 8px;
  --space-sm: 14px;
  --space-md: 24px;
  --space-lg: 40px;

  /* layout */
  --container-width: 1320px;
  --container-pad: 40px;
  --header-top-h: 82px;
  --nav-h: 54px;
  --header-h: calc(var(--header-top-h) + var(--nav-h));

  /* radius */
  --radius-btn: 24px;
  --radius-card: 18px;

  /* transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.4;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-inline: var(--container-pad);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-white);
  border-radius: var(--radius-btn);
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px);
}

.btn--pink {
  background: var(--color-pink);
}

.btn--pink:hover {
  background: var(--color-pink-dark);
}

.btn--turquoise {
  background: var(--color-turquoise);
}

.btn--turquoise:hover {
  background: var(--color-turquoise-dark);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: relative;
  z-index: 20;
}

/* Top Header */
.header__top {
  height: var(--header-top-h);
  background: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header__top-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.header__logo-img {
  width: 170px;
  height: auto;
  object-fit: contain;
}

/* Contacts — в одну строку */
.header__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  margin-right: auto;
  margin-left: 24px;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text);
}

.header__contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
  white-space: nowrap;
}

.header__contact-icon {
  color: var(--color-turquoise);
  flex-shrink: 0;
}

.header__phone {
  color: var(--color-turquoise);
  font-weight: 600;
  transition: color var(--transition);
}

.header__phone:hover {
  color: var(--color-turquoise-dark);
}

.header__contact-note {
  color: #8a8a8a;
  font-size: 13px;
}

/* Socials */
.header__socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__social {
  display: inline-flex;
  color: var(--color-text);
  transition:
    color var(--transition),
    transform var(--transition);
}

.header__social--vk {
  color: #2787f5;
}

.header__social--tg {
  color: var(--color-turquoise);
}

.header__social:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.header__social:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Header buttons */
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__btn.btn--pink {
  width: 160px;
  height: 46px;
}

.header__btn.btn--turquoise {
  width: 170px;
  height: 46px;
}

/* ---------- NAVIGATION (бирюзовая полоса) ---------- */
.nav {
  height: var(--nav-h);
  background: var(--color-turquoise);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-white);
  transition:
    background-color var(--transition),
    color var(--transition);
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
}

.nav__link:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.nav__link[aria-current="page"],
.nav__link.current-menu-item {
  background: rgba(255, 255, 255, 0.22);
  color: var(--color-white);
  font-weight: 600;
}

.nav__link--calendar {
  background: var(--color-turquoise-dark);
  color: var(--color-white);
  font-weight: 600;
}

.nav__link--calendar:hover {
  background: #2f97a2;
  color: var(--color-white);
}

.nav__arrow {
  transition: transform var(--transition);
}

.nav__link--calendar:hover .nav__arrow {
  transform: translateY(2px);
}

/* WordPress submenu support */
.nav__item.menu-item-has-children {
  position: relative;
}

.nav__item .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition);
}

.nav__item.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
}

/* ---------- BURGER ---------- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
}

.burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.burger[aria-expanded="true"] .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__line:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 44px);
  height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: heroZoom 14s ease-out forwards;
  background: linear-gradient(135deg, #2a8f9a, #46c7d5);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(65, 197, 200, 0.75), rgba(65, 197, 200, 0.35)),
    var(--overlay-turquoise);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: var(--space-lg);
}

/* Left Promotion */
.hero__number {
  display: block;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 150px;
  line-height: 1;
  color: var(--color-white);
}

.hero__title {
  max-width: 600px;
  margin-top: var(--space-md);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 58px;
  line-height: 1.2;
  color: var(--color-white);
}

.hero__title-dates {
  display: block;
  margin-top: 12px;
  font-size: 0.55em;
  font-weight: 500;
}

/* ---------- FESTIVAL CARD ---------- */
.fest-card {
  width: 380px;
  height: auto;
  min-height: 520px;
  margin-left: auto;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fest-card__media {
  height: 260px;
  flex-shrink: 0;
}

.fest-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 380 / 260;
  background: linear-gradient(135deg, #ffd1e4, #46c7d5);
}

.fest-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.fest-card__date {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
}

.fest-card__city {
  font-size: 15px;
  color: #666;
}

.fest-card__status {
  font-size: 14px;
  color: #888;
}

.fest-card__status b {
  color: var(--color-pink);
  font-weight: 700;
}

.fest-card__title {
  margin-top: 6px;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  color: var(--color-text);
}

.fest-card__period {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  font-size: 14px;
  color: #888;
}

.fest-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
}

.fest-card__more {
  color: var(--color-pink);
  font-weight: 600;
  font-size: 15px;
  transition: color var(--transition);
}

.fest-card__more:hover {
  color: var(--color-pink-dark);
}

.fest-card__more:focus-visible {
  outline: 2px solid var(--color-pink);
  outline-offset: 2px;
}

.fest-card__price {
  color: var(--color-text);
  font-weight: 700;
  font-size: 18px;
}

/* ---------- SLIDER CONTROLS ---------- */
.hero__controls {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 16px;
}

.hero__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  transition:
    background-color var(--transition),
    color var(--transition);
}

.hero__control:hover {
  background: var(--color-white);
  color: var(--color-turquoise);
}

.hero__control:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

.hero__control:active {
  transform: scale(0.95);
}

/* ============================================================
   NEWS BAR (running line)
   ============================================================ */
.news-bar {
  height: 44px;
  background: var(--color-yellow);
  color: var(--color-white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.news-bar__track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 30s linear infinite;
}

.news-bar__item {
  font-weight: 600;
  font-size: 15px;
}

.news-bar__star {
  font-size: 14px;
  opacity: 0.85;
}

/* ============================================================
   POPULAR FESTIVALS
   ============================================================ */
.festivals {
  position: relative;
  background: #eaf8fd;
  overflow: hidden;
}

/* Clouds */
.festivals__clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.festivals__cloud {
  position: absolute;
  height: auto;
  fill: #a9ddf2;
  opacity: 0.7;
  animation: cloudDrift 18s ease-in-out infinite alternate;
}

.festivals__cloud--left {
  width: 520px;
  top: 40px;
  left: -120px;
}

.festivals__cloud--center {
  width: 420px;
  top: 60px;
  left: 28%;
  animation-duration: 22s;
}

.festivals__cloud--right {
  width: 500px;
  top: 40px;
  right: -100px;
  animation-duration: 20s;
}

.festivals__cloud--extra {
  width: 360px;
  top: 220px;
  left: 8%;
  opacity: 0.5;
  animation-duration: 26s;
}

.festivals__container {
  position: relative;
  z-index: 1;
  padding-block: 80px 0;
}

/* Title */
.festivals__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.festivals__star {
  font-size: 34px;
  line-height: 1;
  color: var(--color-pink);
}

.festivals__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 54px;
  text-transform: uppercase;
  color: var(--color-pink);
  text-align: center;
}

/* Cards grid */
.festivals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.pf-card {
  width: 100%;
  height: 500px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.pf-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.pf-card__media {
  position: relative;
  height: 260px;
  flex-shrink: 0;
  overflow: hidden;
}

.pf-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform var(--transition-slow);
}

.pf-card:hover .pf-card__img {
  transform: scale(1.05);
}

.pf-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
}

.pf-card__badge--none {
  background: var(--color-pink);
}
.pf-card__badge--few {
  background: #ffb21d;
}
.pf-card__badge--available {
  background: #49c989;
}

.pf-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.pf-card__date {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
}

.pf-card__city {
  font-size: 15px;
  color: #666;
}

.pf-card__status {
  font-size: 14px;
  color: #888;
}

.pf-card__status b {
  color: var(--color-text);
  font-weight: 700;
}

.pf-card__name {
  margin-top: 6px;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  color: var(--color-text);
}

.pf-card__period {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  font-size: 14px;
  color: #888;
}

.pf-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
}

.pf-card__more {
  color: var(--color-pink);
  font-weight: 600;
  font-size: 15px;
  transition: color var(--transition);
}

.pf-card__more:hover {
  color: var(--color-pink-dark);
}

.pf-card__more:focus-visible {
  outline: 2px solid var(--color-pink);
  outline-offset: 2px;
}

.pf-card__price {
  color: var(--color-text);
  font-weight: 700;
  font-size: 18px;
}

/* Slider Navigation */
.festivals__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.festivals__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--color-text);
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.festivals__arrow:hover {
  background: var(--color-turquoise);
  color: var(--color-white);
  border-color: var(--color-turquoise);
}

.festivals__arrow:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 2px;
}

.festivals__arrow:active {
  transform: scale(0.95);
}

/* ============================================================
   STATISTICS
   ============================================================ */
.stats {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  background: #4ebcc0;
  padding-block: 56px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  height: 180px;
  background: #f4fbfd;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.stat-card__number {
  font-weight: 700;
  font-size: 62px;
  line-height: 1;
  color: #4cc3f0;
}

.stat-card__label {
  font-weight: 600;
  font-size: 28px;
  color: var(--color-pink);
  margin-top: 4px;
}

.stat-card__desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text);
  margin-top: 8px;
}

.stats__cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.stats__btn.btn {
  width: 260px;
  height: 52px;
  background: var(--color-pink);
  border-radius: 28px;
  transition:
    background-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.stats__btn.btn:hover {
  background: #ff3a87;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 79, 151, 0.35);
}

/* ============================================================
   TESTIMONIALS (Тёплые слова)
   ============================================================ */
.reviews {
  background: #eaf8fd;
  padding-block: 72px 80px;
}

.reviews__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 40px;
}

.reviews__star {
  font-size: 30px;
  line-height: 1;
  color: var(--color-pink);
}

.reviews__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 44px;
  text-transform: uppercase;
  color: var(--color-pink);
  text-align: center;
}

/* Reviews slider — горизонтальная прокрутка (листаемые прямоугольные карточки) */
.reviews__grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews__grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 clamp(360px, 32%, 460px);
  scroll-snap-align: start;
  min-height: 300px;
  background: var(--color-white);
  border: 1px solid rgba(70, 199, 213, 0.25);
  border-radius: 14px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.review-card__author {
  font-weight: 700;
  font-size: 18px;
  color: #4bb8bb;
}

.review-card__fest {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
}

.review-card__meta {
  font-size: 13px;
  color: #8a8a8a;
}

.review-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-top: 6px;
  flex: 1;
}

.review-card__more {
  align-self: flex-start;
  margin-top: 8px;
  color: var(--color-pink);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid var(--color-pink);
  padding-bottom: 2px;
  transition:
    color var(--transition),
    border-color var(--transition);
}

.review-card__more:hover {
  color: var(--color-pink-dark);
  border-color: var(--color-pink-dark);
}

.review-card__more:focus-visible {
  outline: 2px solid var(--color-pink);
  outline-offset: 3px;
}

/* Reviews nav */
.reviews__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.reviews__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid rgba(70, 199, 213, 0.4);
  color: var(--color-turquoise);
  transition:
    background-color var(--transition),
    color var(--transition);
}

.reviews__arrow:hover {
  background: var(--color-turquoise);
  color: var(--color-white);
}

.reviews__arrow:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 2px;
}

.reviews__arrow:active {
  transform: scale(0.95);
}

/* Advantages on clouds */
.advantages {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  height: auto;
  margin-top: 48px;
  justify-items: center;
}

.advantage {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 240 / 150;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage--1,
.advantage--2,
.advantage--3,
.advantage--4 {
  top: auto;
  left: auto;
  transform: none;
}

.advantage__cloud {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.08));
}

.advantage__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  max-width: 64%;
  transform: translateY(-4px);
}

/* Контейнер под изображение (иконку вставит пользователь) */
.advantage__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.advantage__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.advantage__icon:empty,
.advantage__icon:not(:has(img)) {
  display: none;
}

.advantage__text {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  color: var(--color-text);
}

/* ============================================================
   FAQ — «Ответы на вопросы»
   ============================================================ */
.page--faq {
  scroll-margin-top: var(--header-h);
}

/* Доступный скрытый текст для label */
.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;
}

/* ---------- FAQ LIST ---------- */
.faq {
  position: relative;
  z-index: 1;
  padding-block: 90px 0;
  scroll-margin-top: var(--header-h);
}

.faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq__title {
  font-family: var(--font-primary);
  font-size: 56px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-pink);
  text-align: center;
}

.faq__list {
  width: 100%;
  max-width: 1080px;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(70, 199, 213, 0.12);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item.is-open {
  box-shadow: 0 12px 32px rgba(70, 199, 213, 0.2);
}

.faq-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 30px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--color-text);
  transition: color var(--transition);
}

.faq-item__head:hover .faq-item__question,
.faq-item__head:focus-visible .faq-item__question {
  color: var(--color-turquoise);
}

.faq-item__head:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: -4px;
}

.faq-item__question {
  font-size: 16px;
  font-weight: 600;
  transition: color var(--transition);
}

.faq-item__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #b9c2cc;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition:
    transform var(--transition),
    background var(--transition);
}

.faq-item__icon::before {
  width: 18px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 18px;
}

.faq-item.is-open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-item__icon::before,
.faq-item.is-open .faq-item__icon::after {
  background: var(--color-pink);
}

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.is-open .faq-item__body {
  grid-template-rows: 1fr;
}

.faq-item__answer {
  overflow: hidden;
}

.faq-item__answer p {
  margin: 0;
  padding: 0 30px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

/* ---------- ASK QUESTION ---------- */
.faq-ask {
  position: relative;
  z-index: 1;
  padding-block: 90px 110px;
  text-align: center;
}

.faq-ask__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-ask__title {
  font-size: 52px;
  font-weight: 700;
  color: var(--color-pink);
}

.faq-form {
  width: 100%;
  max-width: 720px;
  margin-top: 48px;
  padding: 40px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(70, 199, 213, 0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.faq-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-form__field {
  display: block;
}

.faq-form__input,
.faq-form__textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-secondary);
  font-size: 15px;
  color: var(--color-text);
  background: #eef2f5;
  border: 2px solid transparent;
  border-radius: 12px;
  transition:
    border-color var(--transition),
    background var(--transition);
}

.faq-form__input::placeholder,
.faq-form__textarea::placeholder {
  color: #9aa4ad;
}

.faq-form__input:focus-visible,
.faq-form__textarea:focus-visible {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-turquoise);
}

.faq-form__textarea {
  resize: vertical;
  min-height: 150px;
}

.faq-form__submit {
  align-self: center;
  min-width: 200px;
  margin-top: 8px;
}

/* FAQ — entry animations */
.faq-item {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.faq-item:nth-child(1) {
  animation-delay: 0.15s;
}
.faq-item:nth-child(2) {
  animation-delay: 0.22s;
}
.faq-item:nth-child(3) {
  animation-delay: 0.29s;
}
.faq-item:nth-child(4) {
  animation-delay: 0.36s;
}
.faq-item:nth-child(5) {
  animation-delay: 0.43s;
}
.faq-item:nth-child(6) {
  animation-delay: 0.5s;
}
.faq-item:nth-child(7) {
  animation-delay: 0.57s;
}

.faq-form {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}

/* FAQ — адаптив */
@media (max-width: 1023px) {
  .faq__title,
  .faq-ask__title {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  .faq {
    padding-block: 56px 0;
  }
  .faq__title {
    font-size: 30px;
  }
  .faq__list {
    margin-top: 36px;
    gap: 16px;
  }
  .faq-item__head {
    padding: 18px 20px;
  }
  .faq-item__question {
    font-size: 15px;
  }
  .faq-item__answer p {
    padding: 0 20px 20px;
  }
  .faq-ask {
    padding-block: 60px 70px;
  }
  .faq-ask__title {
    font-size: 30px;
  }
  .faq-form {
    padding: 28px 20px;
    margin-top: 32px;
  }
  .faq-form__row {
    grid-template-columns: 1fr;
  }
  .faq-form__submit {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .faq__title,
  .faq-ask__title {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-form {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.season__container {
  position: relative;
  padding-block: 90px 110px;
}

/* Shared titles */
.season__head,
.season .jury__head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.season__star {
  font-size: 30px;
  line-height: 1;
  color: var(--color-pink);
}

.season__title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 54px;
  text-transform: uppercase;
  color: var(--color-pink);
  text-align: center;
}

/* Season Tabs */
.season__tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.season-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  background: #bfe8ef;
  color: #3b4b54;
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.season-tab:hover {
  background: var(--color-turquoise);
  color: var(--color-white);
  transform: scale(1.03);
}

.season-tab.is-active {
  background: var(--color-turquoise);
  color: var(--color-white);
}

.season-tab:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 2px;
}

.season-tab__icon {
  flex-shrink: 0;
}

/* Festival slider */
.season__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.sf-card {
  width: 100%;
  height: 420px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.sf-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.sf-card__media {
  position: relative;
  height: 190px;
  flex-shrink: 0;
  overflow: hidden;
}

.sf-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.sf-card:hover .sf-card__img {
  transform: scale(1.05);
}

.sf-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
}

.sf-card__badge--none {
  background: var(--color-pink);
}
.sf-card__badge--few {
  background: #ffb21d;
}
.sf-card__badge--available {
  background: #49c989;
}

.sf-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 190px);
}

.sf-card__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sf-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
}

.sf-card__meta svg {
  color: var(--color-turquoise);
  flex-shrink: 0;
}

.sf-card__status {
  margin-top: 12px;
  font-size: 14px;
  color: #888;
}

.sf-card__status b {
  color: #222;
  font-weight: 700;
}

.sf-card__name {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #666;
}

.sf-card__period {
  display: block;
  margin-top: 6px;
}

.sf-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
}

.sf-card__more {
  color: var(--color-pink);
  font-weight: 600;
  font-size: 15px;
  transition: color var(--transition);
}

.sf-card__more:hover {
  color: var(--color-pink-dark);
}

.sf-card__more:focus-visible {
  outline: 2px solid var(--color-pink);
  outline-offset: 2px;
}

.sf-card__price {
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

/* Slider navigation (shared season/jury) */
.season__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.season__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid #d8d8d8;
  color: var(--color-text);
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.season__arrow:hover {
  background: var(--color-turquoise);
  color: var(--color-white);
  border-color: var(--color-turquoise);
}

.season__arrow:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 2px;
}

.season__arrow:active {
  transform: scale(0.95);
}

/* Jury */
.season .jury {
  margin-top: 72px;
}

.season .jury__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.season .jury-card {
  height: auto;
  min-height: 235px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.season .jury-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}

/* Photo card */
.season .jury-card--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(135deg, #cdeff7, #a9ddf2);
}

.season .jury-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.season .jury-card__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-turquoise);
  color: var(--color-white);
  transition:
    transform var(--transition),
    background-color var(--transition);
}

.season .jury-card__zoom:hover {
  transform: scale(1.1);
  background: var(--color-turquoise-dark);
}

.season .jury-card__zoom:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 2px;
}

/* Info card */
.season .jury-card--info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
}

.season .jury-card__name {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
}

.season .jury-card__desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #555;
}

/* Jury CTA */
.season .jury__cta {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.season .jury__btn.btn {
  width: 190px;
  height: 52px;
  border-radius: 999px;
  background: var(--color-pink);
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
  transition:
    background-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.season .jury__btn.btn:hover {
  background: #ff3a87;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 79, 151, 0.35);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  background: #eaf8fd;
}

.final__container {
  position: relative;
  padding-block: 80px 0;
}

.final__head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.final__title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 54px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--color-pink);
  text-align: center;
}

.final__title-line {
  display: block;
}

.final__subtitle {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 400;
  color: #777;
  text-align: center;
}

/* Illustration card — только пользовательское изображение, без рамки/фона */
.final-card {
  width: 520px;
  height: 365px;
  max-width: 100%;
  margin: 28px auto 0;
  transition: transform var(--transition);
}

.final-card:hover {
  transform: translateY(-6px);
}

.final-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--transition);
}

.final-card:hover .final-card__img {
  transform: scale(1.02);
}

/* Slider nav */
.final__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* CTA button */
.final__cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.final__btn.btn {
  width: 210px;
  height: 52px;
  border-radius: 999px;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  transition:
    background-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.final__btn.btn:hover {
  background: #ff3a87;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 79, 151, 0.35);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  min-height: 340px;
  margin-top: 15px;
  background: #4bb8bb;
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.footer__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-block: 55px 30px;
}

/* Brand column */
.footer__org {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.footer__logo {
  display: inline-block;
  margin-top: 34px;
}

.footer__logo-img {
  width: 170px;
  height: auto;
  object-fit: contain;
}

/* Contacts */
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.footer__contact svg {
  flex-shrink: 0;
}

.footer__contact:hover {
  transform: translateX(4px);
  opacity: 0.9;
}

.footer__contact:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

/* Nav columns */
.footer__heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 14px;
}

.footer__list {
  display: flex;
  flex-direction: column;
}

.footer__link {
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
  transition: opacity var(--transition);
}

.footer__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__link:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* Copyright */
.footer__copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

/* Decorative half cloud */
.footer__cloud {
  position: absolute;
  right: -120px;
  bottom: -90px;
  width: 430px;
  height: auto;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cloudDrift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(18px);
  }
}

/* Entry animations */
[data-animate] {
  opacity: 0;
  animation-fill-mode: forwards;
}

[data-animate="header"] {
  animation: fadeDown 0.6s ease forwards;
}

[data-animate="nav"] {
  animation: fadeDown 0.6s ease 0.2s forwards;
}

[data-animate="number"] {
  animation: scaleIn 0.7s ease 0.4s forwards;
}

[data-animate="title"] {
  animation: fadeUp 0.7s ease 0.6s forwards;
}

[data-animate="card"] {
  animation: slideLeft 0.8s ease 0.5s forwards;
}

/* Final CTA + footer entry */
[data-animate="final-title"] {
  animation: fadeDown 0.6s ease forwards;
}

[data-animate="final-sub"] {
  animation: fadeDown 0.6s ease 0.15s forwards;
}

[data-animate="final-card"] {
  animation: scaleIn 0.7s ease 0.3s forwards;
}

[data-animate="footer"] {
  animation: fadeUp 0.7s ease 0.2s forwards;
}

/* ============================================================
   WORDPRESS EDITOR CONTENT SUPPORT
   ============================================================ */
.alignleft {
  float: left;
  margin: 0 24px 16px 0;
}
.alignright {
  float: right;
  margin: 0 0 16px 24px;
}
.aligncenter {
  display: block;
  margin-inline: auto;
}
.alignwide {
  max-width: 1100px;
  margin-inline: auto;
}
.alignfull {
  width: 100%;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  font-size: 14px;
  color: #777;
  text-align: center;
  margin-top: 6px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}
.entry-content table th,
.entry-content table td {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 12px;
  text-align: left;
}
.entry-content blockquote {
  border-left: 4px solid var(--color-turquoise);
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #555;
}
.entry-content ul,
.entry-content ol {
  padding-left: 22px;
  margin: 16px 0;
}
.entry-content ul {
  list-style: disc;
}
.entry-content ol {
  list-style: decimal;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Laptop 1024–1439px */
@media (max-width: 1439px) {
  .hero__title {
    font-size: 48px;
  }
  .hero__number {
    font-size: 120px;
  }
  .fest-card {
    width: 340px;
  }
}

/* Tablet 768–1023px */
@media (max-width: 1023px) {
  :root {
    --container-pad: 28px;
  }

  /* Header buttons hidden into burger area on tablet */
  .header__contacts {
    font-size: 14px;
  }

  /* Show burger, collapse menu */
  .burger {
    display: flex;
  }

  .header__actions {
    display: none;
  }

  .nav__inner {
    position: absolute;
    top: var(--header-top-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 20px var(--container-pad);
    background: var(--color-white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
      max-height var(--transition-slow),
      opacity var(--transition),
      padding var(--transition-slow);
    padding-block: 0;
  }

  .nav {
    position: relative;
    height: auto;
    border-bottom: none;
  }

  .nav.is-open .nav__inner {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
    padding-block: 20px;
  }

  .nav__menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav__link {
    height: 46px;
    justify-content: center;
  }

  /* Hero one column */
  .hero {
    height: auto;
    min-height: 0;
    padding-block: 60px 90px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 36px;
  }

  .fest-card {
    margin-left: 0;
  }

  /* Festivals: 2 columns */
  .festivals__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pf-card {
    height: auto;
  }

  .festivals__title {
    font-size: 42px;
  }

  .festivals__cloud {
    transform: scale(0.85);
  }

  /* Stats: 2 columns */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reviews: карточки чуть шире при скролле */
  .review-card {
    flex-basis: clamp(320px, 46%, 420px);
  }

  .reviews__title {
    font-size: 38px;
  }

  /* Advantages: обычная сетка 2 колонки (сброс лесенки) */
  .advantages {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    margin-top: 50px;
    justify-items: center;
  }

  .advantage {
    position: relative;
    transform: none;
    width: 100%;
    max-width: 300px;
  }

  .advantage--1,
  .advantage--2,
  .advantage--3,
  .advantage--4 {
    top: auto;
    left: auto;
    transform: none;
  }

  /* Season + Jury: 2 columns */
  .season__title {
    font-size: 42px;
  }

  .season__grid,
  .season .jury__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sf-card {
    height: auto;
  }

  .sf-card__body {
    height: auto;
  }

  /* Final CTA: card ~90% */
  .final__title {
    font-size: 42px;
  }

  .final-card {
    width: 90%;
  }

  /* Footer: 2 columns (2x2) */
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer__cloud {
    width: 320px;
    right: -90px;
    bottom: -70px;
  }
}

/* Mobile <768px */
@media (max-width: 767px) {
  :root {
    --container-pad: 20px;
  }

  .header__top-inner {
    gap: 12px;
  }

  .header__contacts {
    display: none;
  }

  .header__socials {
    margin-left: auto;
  }

  .hero__number {
    font-size: 76px;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__title-dates {
    font-size: 0.6em;
  }

  .fest-card {
    width: 100%;
    height: auto;
  }

  .hero__controls {
    bottom: 20px;
  }

  /* Festivals: 1 column */
  .festivals__container {
    padding-block: 56px 0;
  }

  .festivals__grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .festivals__title {
    font-size: 34px;
  }

  .festivals__star {
    font-size: 26px;
  }

  .festivals__head {
    gap: 14px;
  }

  /* Clouds меньше и не перекрывают контент */
  .festivals__cloud {
    transform: scale(0.6);
    opacity: 0.4;
  }

  .festivals__cloud--extra {
    display: none;
  }

  /* Stats: 1 column */
  .stats {
    margin-top: 48px;
    padding-block: 48px;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    height: auto;
    padding: 28px 20px;
  }

  .stat-card__number {
    font-size: 52px;
  }

  .stat-card__label {
    font-size: 24px;
  }

  /* CTA на всю ширину */
  .stats__btn.btn {
    width: 100%;
    max-width: 340px;
  }

  /* Reviews: 1 column */
  .reviews {
    padding-block: 48px 56px;
  }

  .reviews__title {
    font-size: 30px;
  }

  .reviews__star {
    font-size: 24px;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  /* Advantages: 1 column */
  .advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    margin-top: 36px;
  }

  .advantage {
    max-width: 170px;
    margin-inline: auto;
    width: 100%;
  }

  .advantage__inner {
    max-width: 78%;
  }

  .advantage__text {
    font-size: 12px;
  }

  /* Season + Jury: 1 column */
  .season__container {
    padding-block: 52px 56px;
  }

  .season__title {
    font-size: 32px;
  }

  .season__star {
    font-size: 24px;
  }

  /* Tabs: horizontal scroll */
  .season__tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
  }

  .season__tabs::-webkit-scrollbar {
    display: none;
  }

  .season-tab {
    flex: 0 0 auto;
  }

  .season__grid,
  .season .jury__grid {
    grid-template-columns: 1fr;
  }

  .season .jury {
    margin-top: 56px;
  }

  .season .jury-card--photo {
    height: 260px;
  }

  /* CTA на всю ширину */
  .season .jury__btn.btn {
    width: 100%;
    max-width: 340px;
  }

  /* Final CTA: 1 column */
  .final__container {
    padding-block: 52px 0;
  }

  .final__title {
    font-size: 32px;
  }

  .final__head {
    gap: 14px;
  }

  .final-card {
    width: 100%;
    height: auto;
    aspect-ratio: 620 / 435;
  }

  .final__btn.btn {
    width: 100%;
  }

  /* Footer: 1 column, left aligned */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }

  .footer__copy {
    padding-top: 10px;
  }

  .footer__cloud {
    width: 240px;
    right: -60px;
    bottom: -50px;
  }
}

/* Very small 375px and 390px checks */
@media (max-width: 400px) {
  .hero__number {
    font-size: 72px;
  }

  .hero__title {
    font-size: 32px;
  }

  .header__logo-img {
    width: 140px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  [data-animate],
  .hero__bg,
  .news-bar__track {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ============================================================
   CATALOG PAGE — «Предстоящие фестивали»
   Дополняет style.css. Переиспользует переменные и .container,
   .header, .nav, .news-bar, .btn из основного файла.
   ============================================================ */

.page {
  width: 100%;
  min-height: 100vh;
  background: #eaf8fd;
}

/* ============================================================
   HERO (catalog)
   ============================================================ */
.cat-hero {
  position: relative;
  height: 250px;
  background: #eaf8fd;
  overflow: hidden;
}

/* Decorative clouds */
.cat-hero__clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cat-hero__cloud {
  position: absolute;
  top: 30px;
  width: 280px;
  height: auto;
  fill: #a9ddf2;
  opacity: 0.8;
  animation: catCloudDrift 9s ease-in-out infinite alternate;
}

.cat-hero__cloud--left {
  left: -80px;
}

.cat-hero__cloud--right {
  right: -70px;
  animation-duration: 11s;
}

/* Hero content */
.cat-hero__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cat-hero__title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 58px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-pink);
  text-align: center;
}

.cat-hero__subtitle {
  margin-top: 18px;
  max-width: 760px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #555;
  text-align: center;
}

/* ============================================================
   CATALOG LAYOUT
   ============================================================ */
.catalog {
  padding-top: 70px;
  padding-bottom: 90px;
}

.catalog__grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 36px;
  align-items: start;
}

/* ============================================================
   FILTERS SIDEBAR
   ============================================================ */
.catalog__sidebar {
  position: sticky;
  top: 30px;
}

/* Mobile toggle (скрыт на desktop) */
.filters__toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  margin-bottom: 14px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.filters__toggle svg {
  transition: transform var(--transition);
}

.filters__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Filters card */
.filters {
  width: 290px;
  max-width: 100%;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 24px;
}

.filters__reset {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  text-decoration: underline;
  transition: color var(--transition);
}

.filters__reset:hover {
  color: var(--color-pink);
}

.filters__divider {
  margin: 18px 0;
  border: none;
  border-top: 1px solid #ececec;
}

.filters__group {
  border: none;
  padding: 0;
  margin: 0 0 26px;
}

.filters__group:last-of-type {
  margin-bottom: 0;
}

.filters__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 14px;
  padding: 0;
}

/* Checkbox row */
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  transition: color var(--transition);
}

.filter-check:last-child {
  margin-bottom: 0;
}

.filter-check:hover {
  color: var(--color-pink);
}

.filter-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-check__box {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: var(--color-white);
  transition:
    background-color var(--transition),
    border-color var(--transition);
}

.filter-check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform var(--transition);
}

.filter-check input:checked + .filter-check__box {
  background: var(--color-pink);
  border-color: var(--color-pink);
}

.filter-check input:checked + .filter-check__box::after {
  transform: rotate(45deg) scale(1);
}

.filter-check input:focus-visible + .filter-check__box {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 2px;
}

/* Search field */
.filters__search {
  margin-top: 22px;
}

.filters__search-input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d7e8ef;
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--color-text);
  transition: border-color var(--transition);
}

.filters__search-input::placeholder {
  color: #9bb4bd;
}

.filters__search-input:focus {
  outline: none;
  border-color: var(--color-turquoise);
}

/* ============================================================
   FESTIVAL GRID + CARDS
   ============================================================ */
.catalog__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.cat-card {
  width: 100%;
  height: 420px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.cat-card__media {
  position: relative;
  height: 190px;
  flex-shrink: 0;
  overflow: hidden;
}

.cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.cat-card:hover .cat-card__img {
  transform: scale(1.05);
}

.cat-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
}

.cat-card__badge--none {
  background: var(--color-pink);
}
.cat-card__badge--few {
  background: #ffb21d;
}
.cat-card__badge--available {
  background: #49c989;
}

.cat-card__body {
  display: flex;
  flex-direction: column;
  padding: 22px;
  height: calc(100% - 190px);
}

.cat-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.cat-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
}

.cat-card__meta-item svg {
  color: var(--color-turquoise);
  flex-shrink: 0;
}

.cat-card__status {
  margin-top: 12px;
  font-size: 15px;
  color: #666;
}

.cat-card__status b {
  color: var(--color-text);
  font-weight: 700;
}

.cat-card__name {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #666;
}

.cat-card__period {
  display: block;
  margin-top: 6px;
  color: #888;
}

.cat-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
}

.cat-card__more {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-pink);
  transition: color var(--transition);
}

.cat-card__more:hover {
  color: var(--color-pink-dark);
}

.cat-card__more:focus-visible {
  outline: 2px solid var(--color-pink);
  outline-offset: 2px;
}

.cat-card__price {
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

/* Load More */
.catalog__more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.catalog__more-btn.btn {
  width: 230px;
  height: 54px;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  transition:
    background-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.catalog__more-btn.btn:hover {
  background: #ff3a87;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 79, 151, 0.35);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes catCloudDrift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(14px);
  }
}

@keyframes catPop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* entry: subtitle delay */
[data-animate="sub"] {
  animation: fadeDown 0.6s ease 0.15s forwards;
}

/* Filters panel: слайд слева */
[data-animate="filters"] {
  opacity: 0;
  animation: slideInLeft 0.6s ease 0.2s forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Группы фильтра появляются последовательно */
[data-animate="filters"] .filters__group,
[data-animate="filters"] .filters__reset,
[data-animate="filters"] .filters__search {
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}

[data-animate="filters"] .filters__reset {
  animation-delay: 0.3s;
}
[data-animate="filters"] .filters__group:nth-of-type(1) {
  animation-delay: 0.36s;
}
[data-animate="filters"] .filters__group:nth-of-type(2) {
  animation-delay: 0.42s;
}
[data-animate="filters"] .filters__group:nth-of-type(3) {
  animation-delay: 0.48s;
}
[data-animate="filters"] .filters__group:nth-of-type(4) {
  animation-delay: 0.54s;
}
[data-animate="filters"] .filters__search {
  animation-delay: 0.6s;
}

/* Карточки каскадом (delay через --i, 80ms шаг) */
.cat-card {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  animation-delay: calc(0.25s + var(--i, 0) * 0.08s);
}

/* Бейджи pop-эффект */
.cat-card__badge {
  animation: catPop 0.4s ease forwards;
  animation-delay: calc(0.45s + var(--i, 0) * 0.08s);
}

/* Кнопка «Показать ещё» — после карточек */
.catalog__more {
  opacity: 0;
  animation: fadeUp 0.6s ease 0.9s forwards;
}

/* ============================================================
   FESTIVAL SLIDER (Popular / Viewed)
   ============================================================ */
.fest-slider--popular {
  margin-top: 110px;
}

.fest-slider--viewed {
  margin-top: 95px;
  padding-bottom: 90px;
}

/* Заголовок со звёздами */
.fest-slider__title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-pink);
  text-align: center;
}

.fest-slider__star {
  font-size: 30px;
  line-height: 1;
  color: var(--color-pink);
}

/* Carousel */
.fest-slider__carousel {
  margin-top: 50px;
}

.fest-slider__viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.fest-slider__viewport::-webkit-scrollbar {
  display: none;
}

.fest-slider__track {
  display: flex;
  gap: 22px;
  will-change: transform;
  transition: transform 400ms ease;
  cursor: grab;
}

.fest-slider__track.is-dragging {
  transition: none;
  cursor: grabbing;
}

/* Slide — фиксированный размер карточки */
.fest-slider__slide {
  width: 392px;
  height: 420px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* На drag отключаем клики/выделение по картинке */
.fest-slider__track.is-dragging .fest-slider__slide {
  pointer-events: none;
}

.fest-slider__slide img {
  user-select: none;
  -webkit-user-drag: none;
}

/* Card hover: подчёркивание «Подробнее» */
.fest-slider__slide:hover .cat-card__more {
  text-decoration: underline;
}

/* Navigation */
.fest-slider__nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.fest-slider__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--color-white);
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  color: #666;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.fest-slider__btn:hover {
  background: var(--color-turquoise);
  border-color: var(--color-turquoise);
  color: var(--color-white);
  transform: scale(1.05);
}

.fest-slider__btn:focus-visible {
  outline: 2px solid var(--color-pink);
  outline-offset: 2px;
}

/* --- Slider entry animations --- */

/* Заголовок появляется сверху */
[data-animate="slider-title"] {
  opacity: 0;
  animation: fadeDown 0.6s ease forwards;
}

/* Звёзды: scale(0.8) → 1 одновременно с заголовком */
.fest-slider__star {
  display: inline-block;
  opacity: 0;
  transform: scale(0.8);
  animation: catPop 0.5s ease 0.15s forwards;
}

/* Слайды в слайдере переопределяют каскад каталога:
   появляются слева направо с задержкой 100ms */
.fest-slider__slide {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.5s ease forwards;
  animation-delay: calc(0.3s + var(--i, 0) * 0.1s);
}

/* Бейджи внутри слайдера — pop после появления карточки */
.fest-slider__slide .cat-card__badge {
  animation: catPop 0.4s ease forwards;
  animation-delay: calc(0.5s + var(--i, 0) * 0.1s);
}

/* Навигация появляется последней */
.fest-slider__nav {
  opacity: 0;
  animation: fadeUp 0.5s ease 0.85s forwards;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Laptop 1024–1439px */
@media (max-width: 1439px) {
  .cat-hero__cloud {
    width: 230px;
  }

  /* Панель фильтров уже, отступ между колонками меньше */
  .catalog__grid {
    grid-template-columns: 260px 1fr;
    gap: 24px;
  }

  .filters {
    width: 260px;
  }

  /* Слайдер: карточки немного уменьшаются, отступы сокращаются */
  .fest-slider__slide {
    width: 340px;
    height: 400px;
  }

  .fest-slider__track {
    gap: 18px;
  }
}

/* Tablet 768–1023px */
@media (max-width: 1023px) {
  .cat-hero {
    height: 220px;
  }

  .cat-hero__title {
    font-size: 46px;
  }

  .cat-hero__cloud {
    width: 190px;
  }

  /* Фильтр перемещается над каталогом, на всю ширину */
  .catalog__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .catalog__sidebar {
    position: static;
  }

  .filters {
    width: 100%;
  }

  /* Группы фильтров в две колонки */
  .filters__group {
    display: inline-block;
    width: calc(50% - 12px);
    vertical-align: top;
    margin-bottom: 22px;
  }

  .filters__group:nth-of-type(odd) {
    margin-right: 20px;
  }

  .filters__search {
    display: block;
    width: 100%;
  }

  /* Карточки остаются в две колонки */
  .catalog__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Слайдер: заголовок уменьшается, видно две карточки */
  .fest-slider__title {
    font-size: 42px;
  }

  .fest-slider__slide {
    width: calc((100% - 22px) / 2);
    height: auto;
    min-height: 400px;
  }
}

/* Mobile <768px */
@media (max-width: 767px) {
  .cat-hero {
    height: auto;
    padding: 60px 20px;
  }

  .cat-hero__title {
    font-size: 34px;
  }

  .cat-hero__subtitle {
    font-size: 15px;
  }

  .cat-hero__cloud {
    width: 140px;
  }

  .cat-hero__cloud--left {
    left: -50px;
  }

  .cat-hero__cloud--right {
    right: -40px;
  }

  .catalog {
    padding-top: 50px;
    padding-bottom: 60px;
  }

  /* Панель фильтров — сворачиваемый блок */
  .filters__toggle {
    display: flex;
  }

  .filters {
    display: none;
    width: 100%;
    padding: 20px;
  }

  .filters.is-open {
    display: block;
  }

  /* Все группы в одну колонку */
  .filters__group {
    display: block;
    width: 100%;
    margin-right: 0;
  }

  /* Поле поиска на всю ширину (по умолчанию 100%) */
  .filters__search-input {
    width: 100%;
  }

  /* Карточки в одну колонку */
  .catalog__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cat-card {
    height: auto;
  }

  .cat-card__body {
    height: auto;
  }

  /* Кнопка на всю ширину */
  .catalog__more-btn.btn {
    width: 100%;
  }

  /* Слайдер: одна карточка на всю ширину, навигация под ней */
  .fest-slider--popular {
    margin-top: 70px;
  }

  .fest-slider--viewed {
    margin-top: 60px;
  }

  .fest-slider__title {
    font-size: 34px;
    gap: 12px;
  }

  .fest-slider__star {
    font-size: 22px;
  }

  .fest-slider__carousel {
    margin-top: 34px;
  }

  .fest-slider__slide {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .fest-slider__slide .cat-card__body {
    height: auto;
  }

  .fest-slider__nav {
    margin-top: 22px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate="filters"],
  [data-animate="filters"] .filters__group,
  [data-animate="filters"] .filters__reset,
  [data-animate="filters"] .filters__search,
  .cat-card,
  .cat-card__badge,
  .catalog__more,
  .cat-hero__cloud,
  [data-animate="slider-title"],
  .fest-slider__star,
  .fest-slider__slide,
  .fest-slider__slide .cat-card__badge,
  .fest-slider__nav {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   ARCHIVE PAGE — «Архив положений и результатов фестивалей»
   Дополняет style.css и catalog.css. Переиспользует Header,
   Hero (.cat-hero), .news-bar, .container, карточки .cat-card
   и слайдер .fest-slider. Новое здесь — упрощённая строка
   фильтрации и CTA-блок отзыва (часть 3).
   ============================================================ */

/* ============================================================
   ARCHIVE CONTAINER
   ============================================================ */
.archive {
  padding-top: 60px;
  padding-bottom: 90px;
}

/* ============================================================
   FILTERS ROW (упрощённая строка фильтрации)
   ============================================================ */
.arc-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.arc-filters__label {
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  text-transform: uppercase;
}

/* Custom select */
.arc-select {
  position: relative;
  width: 150px;
  height: 42px;
}

.arc-select__field {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  height: 100%;
  padding: 0 38px 0 14px;
  background: var(--color-white);
  border: 1px solid #dce9ef;
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: #333333;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Placeholder-состояние (disabled selected option) — вторичный цвет */
.arc-select__field:invalid,
.arc-select__field option[value=""] {
  color: #9bb4bd;
}

.arc-select__field:hover {
  border-color: #46c7d5;
}

.arc-select__field:focus {
  outline: none;
  border-color: #46c7d5;
  box-shadow: 0 0 0 3px rgba(70, 199, 213, 0.15);
}

/* Стрелка */
.arc-select__arrow {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #46c7d5;
  pointer-events: none;
  transition: transform 0.25s ease;
}

/* Плавное «открытие» — лёгкий поворот стрелки при фокусе */
.arc-select__field:focus + .arc-select__arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* Анимация появления списка (fade) — для нативного list слабо
   контролируется, поэтому эффект применяется к самому select */
.arc-select__field {
  animation: none;
}

/* ============================================================
   FESTIVAL GRID
   ============================================================ */
.archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
  margin-top: 36px;
}

/* ============================================================
   LOAD MORE BUTTON
   ============================================================ */
.archive__more {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.archive__more-btn {
  width: 230px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff4f97;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.archive__more-btn:hover {
  background: #ff3a87;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 79, 151, 0.35);
}

/* ============================================================
   ANIMATIONS (entry)
   ============================================================ */

/* Строка фильтров появляется снизу */
[data-animate="filters-row"] {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease 0.35s forwards;
}

/* Каскадное появление карточек сверху вниз (задержка 80 мс * --i) */
.archive__grid .cat-card {
  opacity: 0;
  transform: translateY(-16px);
  animation: cardDrop 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 80ms + 0.4s);
}

@keyframes cardDrop {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Изображения проявляются вместе с карточками */
.archive__grid .cat-card__img {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
  animation-delay: calc(var(--i, 0) * 80ms + 0.4s);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Бейджи — pop-эффект */
.archive__grid .cat-card__badge {
  transform: scale(0.7);
  opacity: 0;
  animation: badgePop 0.4s ease forwards;
  animation-delay: calc(var(--i, 0) * 80ms + 0.6s);
}

@keyframes badgePop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Кнопка «Показать ещё» появляется последней с подъёмом */
.archive__more-btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease 1.3s forwards;
}

/* ============================================================
   REVIEW CTA (переиспользуемый компонент ReviewCTA)
   ============================================================ */
.review-cta {
  margin-top: 90px;
  margin-bottom: 110px;
}

.review-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}

.review-cta__title {
  font-size: 42px;
  font-weight: 800;
  color: #222222;
  line-height: 1.15;
  text-align: center;
}

.review-cta__btn {
  margin-top: 34px;
  width: 240px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #46c7d5;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.review-cta__btn:hover {
  background: #36b8c8;
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(70, 199, 213, 0.35);
}

/* CTA-анимации: секция снизу, заголовок первым, кнопка через 150мс */
[data-animate="cta"] {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease 0.2s forwards;
}

[data-animate="cta-title"] {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease 0.3s forwards;
}

[data-animate="cta-btn"] {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease 0.45s forwards;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Laptop 1024–1439px — контейнер уже (управляется .container из style.css) */
@media (max-width: 1439px) {
  .cat-hero__cloud {
    width: 230px;
  }

  /* Карточки чуть уменьшаются, отступ сокращается */
  .archive__grid {
    gap: 22px;
  }

  /* Заголовок CTA уменьшается */
  .review-cta__title {
    font-size: 38px;
  }
}

/* Tablet 768–1023px */
@media (max-width: 1023px) {
  .cat-hero {
    height: 220px;
  }

  .cat-hero__title {
    font-size: 46px;
  }

  /* Фильтры могут переноситься на две строки */
  .arc-filters {
    flex-wrap: wrap;
  }

  /* Сетка перестраивается в две колонки */
  .archive__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Заголовок CTA уменьшается до 34px */
  .review-cta__title {
    font-size: 34px;
  }
}

/* Mobile <768px */
@media (max-width: 767px) {
  .archive {
    padding-top: 44px;
    padding-bottom: 60px;
  }

  .cat-hero {
    height: auto;
    padding: 60px 20px;
  }

  .cat-hero__title {
    font-size: 34px;
  }

  /* Фильтры — в столбец, селекты на всю ширину */
  .arc-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .arc-filters__label {
    text-align: left;
  }

  .arc-select {
    width: 100%;
  }

  /* Одна колонка, кнопка на всю ширину */
  .archive__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .archive__more-btn {
    width: 100%;
  }

  /* CTA: заголовок 28px, кнопка на всю ширину */
  .review-cta {
    margin-top: 60px;
    margin-bottom: 70px;
  }

  .review-cta__title {
    font-size: 28px;
  }

  .review-cta__btn {
    width: 100%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate="filters-row"],
  .archive__grid .cat-card,
  .archive__grid .cat-card__img,
  .archive__grid .cat-card__badge,
  .archive__more-btn,
  [data-animate="cta"],
  [data-animate="cta-title"],
  [data-animate="cta-btn"] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .arc-select__field:focus + .arc-select__arrow {
    transform: translateY(-50%);
  }
}

/* Каталог/архив уже завершаются CTA: не складываем нижний padding
   контента с внешними margin CTA. */
.page > .catalog,
.page > .archive {
  padding-bottom: 0;
}

.page > .catalog + .review-cta,
.page > .archive + .review-cta {
  margin: 0;
  padding: 64px 0 80px;
}

@media (max-width: 767px) {
  .page > .catalog + .review-cta,
  .page > .archive + .review-cta {
    padding: 48px 0 64px;
  }
}

/* ============================================================
   FESTIVAL DETAIL PAGE
   ============================================================ */
.body--festival {
  background: #eaf8fd;
}
.fest {
  --fest-pink: #ff4f97;
  --fest-turq: #46c7d5;
  --fest-yellow: #ffb21d;
  --fest-green: #49c989;
  --fest-txt: #222;
  --fest-txt2: #666;
}

.fest-hero__container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- HERO ---------- */
/* Вертикальный ритм страницы задаётся только через padding-block секций
   (по правилам проекта margin между секциями запрещён).
   Hero →80px→ Tabs →40px→ контент →70px→ Отзывы →90px→
   Вы смотрели →110px→ Популярные →110px→ Footer. */
.fest-hero {
  padding-block: 48px 80px;
}

/* Hero: две колонки — большое фото + информация (по ТЗ) */
.fest-hero__inner {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 34px;
  align-items: start;
}
.fest-hero__left {
  min-width: 0;
}
.fest-hero__right {
  min-width: 0;
}

/* Главное фото фестиваля (карточка) */
.fest-hero__photo {
  background: var(--color-white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.fest-hero__photo-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* Gallery slider (по ТЗ): 3 фото по 392×190, карусель */
.fest-gallery {
  margin-top: 34px;
}
.fest-gallery__viewport {
  overflow: hidden;
}
.fest-gallery__track {
  display: flex;
  gap: 22px;
  will-change: transform;
  transition: transform 400ms ease;
  cursor: grab;
}
.fest-gallery__track.is-dragging {
  transition: none;
  cursor: grabbing;
}
.fest-gallery__slide {
  flex: 0 0 392px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.fest-gallery__img {
  width: 392px;
  height: 190px;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.fest-gallery__nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.fest-gallery__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #dddddd;
  background: #fff;
  color: var(--fest-txt2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}
.fest-gallery__btn:hover {
  background: var(--fest-turq);
  border-color: var(--fest-turq);
  color: #fff;
}
.fest-gallery__btn:focus-visible {
  outline: 2px solid var(--fest-pink);
  outline-offset: 2px;
}

/* Right column */
.fest-hero__badge {
  position: static;
  display: inline-flex;
  margin-bottom: 16px;
}
.fest-hero__title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--fest-txt);
  margin-bottom: 16px;
}
.fest-hero__lead {
  color: var(--fest-pink);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 22px;
}
.fest-hero__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.fest-hero__info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fest-txt2);
  font-size: 15px;
}
.fest-hero__info-item svg {
  color: var(--fest-turq);
  flex-shrink: 0;
}
.fest-hero__subtitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fest-txt);
}
.fest-noms {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.fest-noms__item {
  color: var(--fest-txt2);
  font-size: 15px;
}
.fest-noms__date {
  color: var(--fest-turq);
  font-weight: 700;
}
.fest-hero__deadline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  background: #f7b31d;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.fest-hero__deadline svg {
  flex-shrink: 0;
}

/* CTA-кнопки (по ТЗ): скруглённые, многострочный текст */
.fest-hero__cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.fest-hero__btn {
  gap: 12px;
  height: 54px;
  padding: 8px 26px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition:
    background-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.fest-hero__btn svg {
  flex-shrink: 0;
}
.fest-hero__btn--polozhenie {
  max-width: 370px;
  background: #ff4f97;
}
.fest-hero__btn--polozhenie:hover {
  background: #ff3a87;
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.15);
}
.fest-hero__btn--managers {
  max-width: 430px;
  background: #46c7d5;
}
.fest-hero__btn--managers:hover {
  background: #34b7c7;
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.15);
}

/* ---------- TABS (Часть 2) ---------- */
/* Галерея →70px→ Tabs →44px→ карточка (только padding, без margin секций). */
.fest-tabs-section {
  padding-block: 70px 70px;
}

/* Навигация по разделам — строго по центру */
.fest-tabs__nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.fest-tab {
  width: 230px;
  height: 54px;
  border: 2px solid var(--fest-pink);
  border-radius: 999px;
  background: #fff;
  color: var(--fest-pink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}

.fest-tab:hover {
  background: var(--fest-pink);
  color: #fff;
}

.fest-tab:focus-visible {
  outline: 2px solid var(--fest-turq);
  outline-offset: 2px;
}

/* Активная вкладка */
.fest-tab.is-active {
  background: var(--fest-pink);
  color: #fff;
  border-color: var(--fest-pink);
}

/* ---------- CONTENT CARD ---------- */
.fest-panel {
  animation: festFade 0.4s ease;
}
.fest-panel[hidden] {
  display: none;
}
@keyframes festFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fest-content .fest-card {
  width: auto;
  height: auto;
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 60px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  overflow: visible;
  display: block;
}

/* Decorative title */
.fest-card__title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--fest-pink);
  text-align: center;
}

.fest-card__star {
  font-size: 22px;
  color: var(--fest-pink);
  line-height: 1;
}

/* Rich content */
.fest-card__rich {
  color: #444444;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}
.fest-card__rich p {
  margin-bottom: 10px;
}

/* Intro */
.fest-card__intro {
  margin-top: 30px;
  font-size: 14px;
  color: #444444;
  line-height: 1.7;
}

/* Prize */
.fest-card__prize {
  margin-top: 26px;
  font-size: 20px;
  font-weight: 800;
  color: #222222;
}

/* Groups */
.fest-card__group {
  margin-top: 26px;
}

.fest-card__h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--fest-pink);
  margin-bottom: 12px;
}

/* «Гранты и награды» — тот же размер, по скриншоту */
.fest-card__group:nth-of-type(2) .fest-card__h3 {
  font-size: 16px;
}

.fest-card__h4 {
  font-size: 15px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 10px;
}

.fest-card__sub {
  font-size: 14px;
  margin-bottom: 12px;
}

/* «Гран-При фестиваля (присуждается...)» — жирный чёрный подзаголовок */
.fest-card__group:nth-of-type(2) > p:first-of-type {
  font-weight: 700;
  color: #222222;
}

.fest-card__list {
  list-style: none;
  padding: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #333333;
}
.fest-card__list li {
  margin-bottom: 4px;
}

.fest-accent {
  color: var(--fest-pink);
  font-weight: 700;
}

/* Important notice */
.fest-card__notice {
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
}
.fest-card__notice-word {
  color: var(--fest-turq);
  font-weight: 700;
}

/* Additional description */
.fest-card__extra {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
}

/* Warning banner */
.fest-card__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  margin-top: 34px;
  background: var(--fest-yellow);
  color: #ffffff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}

.fest-card__banner svg {
  display: none;
}
.fest-card__banner b {
  color: #ffffff;
  font-weight: 700;
}

/* Final description */
.fest-card__final {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.7;
  color: #444444;
}
.fest-card__final p {
  margin-bottom: 16px;
}

/* CTA */
.fest-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 52px;
  margin: 34px auto 0;
  background: var(--fest-turq);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 999px;
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}

.fest-card__btn:hover {
  background: #35b8c7;
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(70, 199, 213, 0.35);
}
.fest-card__btn:focus-visible {
  outline: 2px solid var(--fest-pink);
  outline-offset: 3px;
}

/* ---------- ENTRY ANIMATIONS (Часть 2) ---------- */
/* Навигационные вкладки появляются сверху с задержкой 80мс,
   активная плавно подсвечивается. */
.fest-tab {
  opacity: 0;
  animation: festTabIn 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}
@keyframes festTabIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Белая карточка появляется снизу */
.fest-panel.is-active .fest-card {
  opacity: 0;
  animation: festUp 0.6s ease 0.35s forwards;
}

/* Каждый текстовый блок появляется последовательно (шаг 100мс через --b) */
.fest-panel.is-active [data-animate="fest-block"] {
  opacity: 0;
  animation: festUp 0.55s ease forwards;
  animation-delay: calc(0.5s + var(--b, 0) * 100ms);
}

/* Декоративные звёзды заголовка — scale(0.8) → 1 */
.fest-panel.is-active .fest-card__title .fest-card__star {
  display: inline-block;
  opacity: 0;
  animation: festStarIn 0.5s ease 0.55s forwards;
}
@keyframes festStarIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Жёлтый баннер «Внимание!» — pop */
.fest-panel.is-active [data-animate="fest-banner"] {
  opacity: 0;
  animation: festBannerPop 0.5s ease 1.2s forwards;
}
@keyframes festBannerPop {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  60% {
    opacity: 1;
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Кнопка «ПОДРОБНЕЕ» — последней с подъёмом */
.fest-panel.is-active [data-animate="fest-btn"] {
  opacity: 0;
  animation: festUp 0.6s ease 1.4s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .fest-tab,
  .fest-panel.is-active .fest-card,
  .fest-panel.is-active [data-animate="fest-block"],
  .fest-panel.is-active .fest-card__title .fest-card__star,
  .fest-panel.is-active [data-animate="fest-banner"],
  .fest-panel.is-active [data-animate="fest-btn"] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- TABS + CARD RESPONSIVE (Часть 2) ---------- */
/* Laptop 1024–1439px: вкладки 200px */
@media (max-width: 1439px) {
  .fest-tab {
    width: 200px;
  }
}

/* Tablet 768–1023px: вкладки по две в ряд */
@media (max-width: 1023px) {
  .fest-tabs__nav {
    flex-wrap: wrap;
    overflow: visible;
  }
  .fest-tab {
    width: calc(50% - 11px);
    flex: 0 0 auto;
  }
}

/* Mobile <768px: вкладки 100% в столбец, кнопка на всю ширину */
@media (max-width: 767px) {
  .fest-tabs__nav {
    gap: 12px;
  }
  .fest-tab {
    width: 100%;
  }
  .fest-content .fest-card {
    padding: 30px 22px;
    border-radius: 16px;
  }

  .fest-content .fest-card__title {
    font-size: 26px;
    gap: 10px;
  }
  .fest-card__star {
    font-size: 18px;
  }
  .fest-card__prize {
    font-size: 18px;
  }
  .fest-card__btn {
    width: 100%;
  }
}

/* ---------- REVIEW CTA ---------- */

/* Ритм: контент →70px→ Отзывы →90px→ следующий слайдер.
   Только padding-block, margin между секциями не используется.
   Обнуляем margin, унаследованный от archive-версии компонента. */
.body--festival .review-cta {
  margin: 0;
  padding-block: 0 90px;
}

/* Нейтрализуем margin-top из catalog-версии слайдеров на детальной
   странице — вертикальный ритм здесь строится только на padding-block. */
.body--festival .fest-slider--viewed,
.body--festival .fest-slider--popular {
  margin: 0;
}

.review-cta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.review-cta__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
}
.review-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 30px;
  background: #ff4f97;
  color: #fff;
  font-weight: 700;
  transition:
    background var(--transition),
    transform var(--transition);
}
.review-cta__btn:hover {
  background: #ec3c84;
  transform: translateY(-2px);
}

/* ---------- SLIDER TITLE (reuse fest-slider component) ---------- */
/* Ритм: Отзывы →110px→ «Вы смотрели» →110px→ «Популярные» →110px→ Footer.
   Только padding-block, без margin между секциями. */
.body--festival .fest-slider {
  padding-block: 0 110px;
}

.fest-slider__title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 34px;
  text-transform: uppercase;
}
.fest-slider__star {
  color: #ffb21d;
  margin: 0 12px;
}
.fest-slider__viewport {
  overflow-x: auto;
}
.fest-slider__track {
  display: flex;
  gap: 30px;
  will-change: transform;
}
.fest-slider__track.is-dragging {
  cursor: grabbing;
}
.fest-slider__slide {
  flex: 0 0 calc((100% - 60px) / 3);
}
.fest-slider__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.fest-slider__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #46c7d5;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(70, 199, 213, 0.25);
  transition:
    background var(--transition),
    color var(--transition);
}
.fest-slider__btn:hover {
  background: #46c7d5;
  color: #fff;
}

/* ---------- ENTRY ANIMATIONS ---------- */
[data-animate="fest-media"] {
  animation: festUp 0.6s ease both;
}
[data-animate="fest-info"] {
  animation: festUp 0.6s ease 0.15s both;
}
[data-animate="fest-tabs"] {
  animation: festUp 0.6s ease 0.3s both;
}
[data-animate="slider-title"] {
  animation: festUp 0.6s ease both;
}
[data-animate="fest-gallery"] {
  animation: festUp 0.6s ease 0.45s both;
}
@keyframes festUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Миниатюры галереи появляются каскадом слева направо */
.fest-gallery__slide {
  opacity: 0;
  animation: festGalleryIn 0.5s ease both;
  animation-delay: calc(0.55s + var(--i, 0) * 0.1s);
}
@keyframes festGalleryIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Главное фото плавно увеличивается */
.fest-hero__photo-img {
  animation: festPhotoIn 0.7s ease both;
}
@keyframes festPhotoIn {
  from {
    transform: scale(0.96);
  }
  to {
    transform: scale(1);
  }
}

/* ============================================================
   FESTIVAL PAGE — RESPONSIVE
   ============================================================ */
/* Laptop 1024–1439px: левое фото уменьшается до 500px */
@media (max-width: 1439px) {
  .fest-hero__inner {
    grid-template-columns: 500px 1fr;
  }
  .fest-hero__title {
    font-size: 36px;
  }
}

/* Tablet 768–1023px: одна колонка, фото сверху, кнопки друг под другом,
   галерея показывает 2 фото */
@media (max-width: 1023px) {
  .fest-hero__inner {
    grid-template-columns: 1fr;
  }
  .fest-hero__left,
  .fest-hero__right {
    width: 100%;
  }
  .fest-hero__cta {
    flex-direction: column;
  }
  .fest-hero__btn {
    width: 100%;
    max-width: none;
  }
  .fest-gallery__slide {
    flex-basis: calc((100% - 22px) / 2);
  }
  .fest-gallery__img {
    width: 100%;
  }
  .fest-slider__slide {
    flex-basis: calc((100% - 30px) / 2);
  }
}

/* Mobile <768px: одна колонка, фото на всю ширину, кнопки 100%,
   галерея — одно фото, внутренние отступы 20px */
@media (max-width: 767px) {
  .fest-hero__container {
    padding: 0 20px;
  }
  .fest-hero {
    padding-block: 30px 50px;
  }
  .fest-hero__title {
    font-size: 28px;
  }
  .fest-hero__photo-img {
    height: 240px;
  }
  .fest-gallery__slide {
    flex-basis: 100%;
  }
  .fest-hero__cta {
    flex-direction: column;
  }
  .fest-hero__btn {
    width: 100%;
    max-width: none;
  }
  .fest-slider__slide {
    flex-basis: 100%;
  }
  .review-cta__title {
    font-size: 24px;
  }
}

/* ============================================================
   REVIEWS PAGE — «Отзывы»
   Дополняет style.css. Переиспользует Header, Footer, .container,
   переменные и .btn. Вертикальный ритм — только padding-block.
   ============================================================ */
.body--reviews {
  background: #eaf8fd;
}
.page--reviews {
  background: #eaf8fd;
}

/* ---------- HERO ---------- */
.rev-hero {
  position: relative;
  overflow: hidden;
  padding-block: 60px 40px;
}

/* Decorative clouds */
.rev-hero__clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.rev-hero__cloud {
  position: absolute;
  height: auto;
  color: #a9ddf2;
  opacity: 0.7;
  animation: revCloudDrift 12s ease-in-out infinite alternate;
}

.rev-hero__cloud--tl {
  width: 210px;
  top: 30px;
  left: 2%;
}

.rev-hero__cloud--tc {
  width: 150px;
  top: 180px;
  left: 24%;
  animation-duration: 15s;
}

.rev-hero__cloud--tr {
  width: 180px;
  top: 20px;
  left: 40%;
  animation-duration: 13s;
}

.rev-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.rev-hero__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-pink);
  align-self: center;
}

/* ---------- FORM ---------- */
.rev-form {
  width: 420px;
  max-width: 100%;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rev-form__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 26px;
  color: #333333;
  text-transform: uppercase;
  margin-bottom: 4px;
}

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

.rev-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.rev-form__field--full {
  grid-column: 1 / -1;
}

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

.rev-form__input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 18px;
  background: #f6f6f6;
  border: none;
  border-radius: 24px;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--color-text);
  transition: box-shadow var(--transition);
}

.rev-form__input::placeholder {
  color: #9a9a9a;
}

.rev-form__select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%2346c7d5'%3E%3Cpath d='M12 15.5 5 8.5 6.4 7 12 12.7 17.6 7 19 8.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}

.rev-form__file {
  padding: 11px 18px;
  font-size: 13px;
}

.rev-form__textarea {
  height: 140px;
  padding: 14px 18px;
  background: #f6f6f6;
  border: none;
  border-radius: 16px;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--color-text);
  resize: vertical;
  transition: box-shadow var(--transition);
}

.rev-form__textarea::placeholder {
  color: #9a9a9a;
}

.rev-form__input:focus,
.rev-form__textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-turquoise);
}

.rev-form__submit {
  align-self: flex-start;
  width: 170px;
  height: 48px;
  background: var(--color-turquoise);
  color: var(--color-white);
  border-radius: 24px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.rev-form__submit:hover {
  background: var(--color-turquoise-dark);
  transform: scale(1.03);
}

.rev-form__submit:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.rev-form__submit:active {
  transform: translateY(1px);
}

/* ---------- REVIEWS GRID ---------- */
.reviews-list {
  padding-block: 80px 90px;
}

.reviews-list__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.review-item {
  min-height: 340px;
  min-width: 0;
  background: var(--color-white);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  overflow-wrap: break-word;
  word-break: break-word;
}

.review-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
}

.review-item__head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.review-item__avatar {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #dddddd;
}

.review-item__team {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-pink);
}

.review-item__name {
  font-size: 16px;
  color: #666666;
}

.review-item__fest {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: #222222;
}

.review-item__text {
  font-size: 17px;
  line-height: 1.6;
  color: #555555;
  flex: 1;
}

.review-item__date {
  font-size: 15px;
  color: #777777;
}

/* CTA между отзывами (растянута на всю ширину сетки) */
.reviews-list__cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

.reviews-list__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 50px;
  background: var(--color-turquoise);
  color: var(--color-white);
  border-radius: 25px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.reviews-list__cta-btn:hover {
  background: var(--color-turquoise-dark);
  transform: scale(1.03);
}

.reviews-list__cta-btn:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

.reviews-list__cta-btn:active {
  transform: translateY(1px);
}

/* Нижняя кнопка «Показать ещё» */
.reviews-list__more {
  display: flex;
  justify-content: center;
  padding-top: 50px;
}

.reviews-list__more-btn {
  width: 220px;
  height: 54px;
  background: var(--color-pink);
  color: var(--color-white);
  border-radius: 28px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  transition:
    background-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.reviews-list__more-btn:hover {
  background: var(--color-pink-dark);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 79, 151, 0.35);
}

.reviews-list__more-btn:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

.reviews-list__more-btn:active {
  transform: translateY(1px);
}

/* ---------- ANIMATIONS ---------- */
@keyframes revCloudDrift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(14px);
  }
}

[data-animate="rev-title"] {
  opacity: 0;
  animation: slideInLeft 0.6s ease 0.2s forwards;
}

[data-animate="rev-form"] {
  opacity: 0;
  animation: revSlideRight 0.6s ease 0.3s forwards;
}

@keyframes revSlideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Карточки каскадом (шаг 90мс через --i) */
.review-item {
  opacity: 0;
  animation: cardDrop 0.55s ease forwards;
  animation-delay: calc(0.4s + var(--i, 0) * 0.09s);
}

/* CTA появляется после первой группы */
.reviews-list__cta {
  opacity: 0;
  animation: fadeUp 0.6s ease 0.75s forwards;
}

/* Кнопка «Показать ещё» — последней с масштабированием */
.reviews-list__more-btn {
  opacity: 0;
  animation: revPop 0.6s ease 1.1s forwards;
}

@keyframes revPop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- RESPONSIVE ---------- */

/* Laptop 1024–1439px */
@media (max-width: 1439px) {
  .rev-hero__title {
    font-size: 48px;
  }
}

/* Tablet 768–1023px */
@media (max-width: 1023px) {
  .rev-hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .rev-hero__title {
    font-size: 44px;
  }

  .rev-form {
    width: 100%;
  }

  /* Отзывы остаются в две колонки */
  .reviews-list__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Mobile <768px */
@media (max-width: 767px) {
  .rev-hero {
    padding-block: 50px 0;
  }

  .rev-hero__title {
    font-size: 34px;
  }

  .rev-form {
    padding: 22px;
    min-height: 0;
  }

  .rev-form__grid {
    grid-template-columns: 1fr;
  }

  .rev-form__submit {
    width: 100%;
  }

  /* Облака меньше и по краям */
  .rev-hero__cloud--tl {
    width: 200px;
    left: -70px;
  }

  .rev-hero__cloud--tc {
    display: none;
  }

  .rev-hero__cloud--tr {
    width: 180px;
    right: -60px;
  }

  /* Отзывы одной колонкой */
  .reviews-list {
    padding-block: 50px 60px;
  }

  .reviews-list__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review-item {
    min-height: 0;
    padding: 22px;
  }

  .review-item__fest,
  .review-item__team {
    font-size: 20px;
  }

  .review-item__text {
    font-size: 15px;
  }

  /* CTA-кнопки на всю ширину */
  .reviews-list__cta-btn,
  .reviews-list__more-btn {
    width: 100%;
    max-width: 340px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rev-hero__cloud,
  [data-animate="rev-title"],
  [data-animate="rev-form"],
  .review-item,
  .reviews-list__cta,
  .reviews-list__more-btn {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   JURY PAGE — «Жюри»
   Дополняет style.css. Переиспользует Header, Footer, .container,
   переменные и .btn. Вертикальный ритм — только padding-block.
   ============================================================ */
.body--jury {
  background: #eaf8fd;
}
.page--jury {
  background: #eaf8fd;
}

/* ---------- HERO ---------- */
.jury-hero {
  position: relative;
  overflow: hidden;
  padding-block: 50px 30px;
}

.jury-hero__clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.jury-hero__cloud {
  position: absolute;
  height: auto;
  color: #a9ddf2;
  opacity: 0.7;
  animation: revCloudDrift 12s ease-in-out infinite alternate;
}

.jury-hero__cloud--tl {
  width: 260px;
  top: 10px;
  left: 2%;
}

.jury-hero__cloud--tr {
  width: 300px;
  top: 0;
  right: 2%;
  animation-duration: 14s;
}

.jury-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.jury-hero__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-pink);
}

/* ---------- JURY LIST ---------- */
.page--jury .jury {
  padding-block: 60px 80px;
}

/* Фильтр по номинации */
.page--jury .jury__filter {
  margin-bottom: 40px;
}

.page--jury .jury__select-wrap {
  position: relative;
  display: inline-block;
  width: 300px;
  max-width: 100%;
}

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

.page--jury .jury__select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 46px;
  padding: 0 44px 0 20px;
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-btn);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
  transition: box-shadow var(--transition);
}

.page--jury .jury__select:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 2px;
}

.page--jury .jury__select-arrow {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--color-text);
  pointer-events: none;
}

/* Сетка карточек — 3 колонки */
.page--jury .jury__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Карточка жюри (пустая — с плейсхолдером) */
.page--jury .jury-card {
  position: relative;
  min-width: 0;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.page--jury .jury-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
}

.page--jury .jury-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--color-white);
}

.page--jury .jury-card__placeholder {
  width: 90px;
  height: 90px;
  color: #cfcfcf;
}

/* Кнопка-переворот (декоративная под WP-функционал) */
.page--jury .jury-card__flip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-turquoise);
  color: var(--color-white);
  box-shadow: 0 6px 14px rgba(70, 199, 213, 0.4);
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.page--jury .jury-card__flip:hover {
  background: var(--color-turquoise-dark);
}

.page--jury .jury-card__flip:focus-visible {
  outline: 2px solid var(--color-turquoise-dark);
  outline-offset: 2px;
}

.page--jury .jury-card__flip:active {
  transform: scale(0.94);
}

/* Карточка с раскрытой информацией */
.page--jury .jury-card--info {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
}

.page--jury .jury-card--info:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.page--jury .jury-card__avatar {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #dddddd;
}

.page--jury .jury-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page--jury .jury-card__name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 4px;
}

.page--jury .jury-card__row {
  font-size: 14px;
  color: #666666;
}

/* CTA */
.page--jury .jury__cta {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.page--jury .jury__cta-btn {
  min-width: 320px;
  height: 50px;
  padding-inline: 30px;
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1024px) {
  .page--jury .jury__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .jury-hero__title {
    font-size: 32px;
  }

  .jury-hero__cloud--tl {
    width: 180px;
  }

  .jury-hero__cloud--tr {
    width: 200px;
  }

  .page--jury .jury__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page--jury .jury-card--info {
    padding: 22px;
  }

  .page--jury .jury__cta-btn {
    width: 100%;
    min-width: 0;
    max-width: 340px;
  }
}

@media (max-width: 390px) {
  .jury-hero__title {
    font-size: 28px;
  }

  .page--jury .jury-card--info {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .jury-hero__cloud {
    animation: none !important;
  }
}

/* ============================================================
   PARTNERS PAGE — «Партнеры»
   Дополняет style.css. Переиспользует Header, Footer, .container,
   переменные и .btn. Карта и метки-шарики — изображения (ACF).
   Вертикальный ритм — только padding-block.
   ============================================================ */
.body--partners {
  background: #eaf8fd;
}
.page--partners {
  background: #eaf8fd;
}

.partners {
  position: relative;
  overflow: hidden;
  padding-block: 55px 80px;
}

/* Декоративные облака */
.partners__clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.partners__cloud {
  position: absolute;
  top: 20px;
  height: auto;
  color: #a9ddf2;
  opacity: 0.7;
  animation: revCloudDrift 12s ease-in-out infinite alternate;
}

.partners__cloud--tl {
  width: 260px;
  left: 1%;
}
.partners__cloud--tr {
  width: 300px;
  right: 1%;
  animation-duration: 14s;
}

.partners__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.partners__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-pink);
}

.partners__text {
  max-width: 680px;
  margin: 24px auto 0;
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

/* CTA */
.partners__cta {
  display: flex;
  justify-content: center;
}

.partners__cta--top {
  margin-top: 34px;
}
.partners__cta--bottom {
  margin-top: 50px;
}

.partners__btn {
  min-width: 300px;
  height: 50px;
  padding-inline: 30px;
}

.partners__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  height: 50px;
  padding-inline: 30px;
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-btn);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition:
    background-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.partners__more-btn:hover {
  background: var(--color-turquoise);
  color: var(--color-white);
  transform: translateY(-2px);
}

.partners__more-btn:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 2px;
}

/* ---------- КАРТА ---------- */
.partners__map {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 50px auto 0;
}

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

/* Метка-шарик. Позиция задаётся через --x/--y (inline-style в HTML) */
.map-pin {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  z-index: 2;
  animation: pinFloat 3.5s ease-in-out infinite;
}

.map-pin:nth-of-type(2) {
  animation-delay: 0.4s;
}
.map-pin:nth-of-type(3) {
  animation-delay: 0.8s;
}
.map-pin:nth-of-type(4) {
  animation-delay: 1.2s;
}

.map-pin__img {
  width: 54px;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.2));
  transition: transform var(--transition);
}

.map-pin:hover .map-pin__img {
  transform: scale(1.1);
}

.map-pin__label {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-pink);
  white-space: nowrap;
  text-transform: uppercase;
}

.map-pin:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 4px;
  border-radius: 8px;
}

/* ---------- АНИМАЦИИ ---------- */
@keyframes pinFloat {
  0%,
  100% {
    transform: translate(-50%, -100%);
  }
  50% {
    transform: translate(-50%, calc(-100% - 8px));
  }
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1023px) {
  .partners__title {
    font-size: 38px;
  }

  .partners__cloud--tl {
    width: 200px;
  }
  .partners__cloud--tr {
    width: 220px;
  }
}

@media (max-width: 767px) {
  .partners {
    padding-block: 40px 60px;
  }

  .partners__title {
    font-size: 30px;
  }

  .partners__cloud--tl {
    width: 140px;
    left: -30px;
  }
  .partners__cloud--tr {
    width: 150px;
    right: -30px;
  }

  .partners__btn,
  .partners__more-btn {
    width: 100%;
    min-width: 0;
    max-width: 340px;
  }

  /* Шарики и подписи меньше на мобильном */
  .map-pin__img {
    width: 34px;
  }
  .map-pin__label {
    font-size: 10px;
  }
}

@media (max-width: 400px) {
  .partners__title {
    font-size: 26px;
  }
  .map-pin__img {
    width: 28px;
  }
  .map-pin__label {
    font-size: 9px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .partners__cloud,
  .map-pin {
    animation: none !important;
  }
}

/* ============================================================
   SPONSORS PAGE — Страница «Спонсоры»
   ============================================================ */
.page--sponsors {
  position: relative;
  background: #eaf8fd;
  overflow: hidden;
}

/* ---------- Декоративные облака (декор, за контентом) ---------- */
.sponsors-clouds {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sponsors-cloud {
  position: absolute;
  color: #a9ddf2;
  opacity: 0;
  animation:
    cloudDrift 16s ease-in-out infinite alternate,
    spnCloudIn 1.2s ease forwards;
}

.sponsors-cloud--tl {
  width: 340px;
  top: 90px;
  left: -70px;
}

.sponsors-cloud--tr {
  width: 320px;
  top: 90px;
  right: -70px;
  animation-duration: 18s, 1.2s;
}

@keyframes spnCloudIn {
  to {
    opacity: 0.75;
  }
}

/* ---------- HERO ---------- */
.sponsors-hero {
  position: relative;
  z-index: 1;
  padding-block: 80px 32px;
}

.sponsors-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sponsors-hero__title {
  font-family: var(--font-primary);
  font-size: 58px;
  font-weight: 700;
  color: var(--color-pink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ---------- Блок с цитатой основателя ---------- */
.sponsors-quote {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  margin-top: 60px;
  text-align: left;
}

.sponsors-quote__mark {
  position: absolute;
  top: -60px;
  z-index: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 180px;
  line-height: 1;
  color: #bfefff;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

.sponsors-quote__mark--left {
  left: 300px;
}
.sponsors-quote__mark--right {
  right: 40px;
  bottom: -80px;
  top: auto;
}

.sponsors-quote__photo {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 320px;
  background: #d9d9d9;
  border-radius: 12px;
}

.sponsors-quote__body {
  position: relative;
  z-index: 1;
}

.sponsors-quote__text {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.45;
  color: #222222;
}

.sponsors-quote__author {
  margin-top: 24px;
  font-size: 18px;
  color: var(--color-turquoise);
}

/* ---------- Центральный информационный блок ---------- */
.sponsors-intro {
  max-width: 920px;
  margin-top: 72px;
  text-align: center;
}

.sponsors-intro__title {
  font-size: 34px;
  font-weight: 700;
  color: #222222;
}

.sponsors-intro__text {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
}

.sponsors-intro__cta {
  margin-top: 34px;
}

.sponsors-intro__btn {
  width: 250px;
  height: 52px;
  border-radius: 26px;
}

/* ---------- Основной текст страницы ---------- */
.sponsors-content {
  max-width: 920px;
  margin-top: 72px;
  text-align: center;
}

.sponsors-content__title {
  margin-top: 48px;
  font-size: 30px;
  font-weight: 700;
  color: #000000;
}

.sponsors-content__title:first-child {
  margin-top: 0;
}

.sponsors-content__text {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text);
}

.sponsors-content__quote {
  margin-top: 40px;
  font-size: 22px;
  font-style: italic;
  line-height: 1.7;
  color: #222222;
}

.sponsors-content__cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 16px;
  color: #000000;
}

.sponsors-content__email {
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-pink);
}

.sponsors-content__email-link {
  color: var(--color-pink);
  text-decoration: underline;
  transition: color var(--transition);
}

.sponsors-content__email-link:hover {
  color: var(--color-pink-dark);
}

.sponsors-content__cta {
  margin-top: 40px;
}

.sponsors-content__terms-btn {
  gap: 10px;
  width: 260px;
  height: 54px;
  border-radius: 28px;
  background: var(--color-yellow);
  color: var(--color-white);
}

.sponsors-content__terms-btn:hover {
  background: #e59a00;
  transform: scale(1.03);
}

.sponsors-content__terms-icon {
  flex-shrink: 0;
}

/* ---------- Секция партнёров (карусель логотипов) ---------- */
.sponsors-partners {
  position: relative;
  z-index: 1;
  padding-block: 80px 0;
  text-align: center;
}

.sponsors-partners__title {
  font-size: 54px;
  font-weight: 700;
  color: var(--color-pink);
}

.sponsors-partners__slider {
  margin-top: 48px;
}

.sponsors-partners__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sponsors-partners__item {
  --i: 0;
}

.sponsors-logo {
  display: block;
  width: 150px;
  height: 150px;
  background: var(--color-white);
  border: 2px solid var(--color-turquoise);
  border-radius: 50%;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.sponsors-logo:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(70, 199, 213, 0.28);
}

.sponsors-logo:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 4px;
}

.sponsors-partners__nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
}

.sponsors-partners__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid #d5d5d5;
  color: var(--color-text);
  transition:
    transform var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.sponsors-partners__arrow:hover {
  transform: scale(1.03);
  border-color: var(--color-turquoise);
  color: var(--color-turquoise);
}

.sponsors-partners__arrow:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 3px;
}

/* ---------- Секция формы «Хочу стать спонсором» ---------- */
.sponsors-cta {
  position: relative;
  z-index: 1;
  padding-block: 96px;
  text-align: center;
}

.sponsors-cta__cloud {
  position: absolute;
  z-index: 0;
  width: 760px;
  height: auto;
  max-width: 96vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #a9ddf2;
  opacity: 0.75;
  pointer-events: none;
  animation: spnCloudScale 1.4s ease forwards;
}

@keyframes spnCloudScale {
  from {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.75;
  }
}

.sponsors-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sponsors-cta__title {
  font-size: 52px;
  font-weight: 700;
  color: var(--color-pink);
}

/* ---------- Форма ---------- */
.sponsors-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 420px;
  max-width: 100%;
  margin-top: 40px;
}

.sponsors-form__field {
  display: flex;
  flex-direction: column;
}

.sponsors-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sponsors-form__input {
  width: 100%;
  height: 52px;
  padding: 0 22px;
  font-family: var(--font-secondary);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid transparent;
  border-radius: 28px;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.sponsors-form__input::placeholder {
  color: #9a9a9a;
}

.sponsors-form__input:focus {
  outline: none;
  border-color: var(--color-turquoise);
  box-shadow: 0 0 0 3px rgba(70, 199, 213, 0.22);
}

.sponsors-form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.sponsors-form__checkbox {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--color-turquoise);
  flex-shrink: 0;
}

.sponsors-form__submit {
  align-self: center;
  width: 190px;
  height: 54px;
  border-radius: 28px;
}

.sponsors-form__submit:hover {
  transform: scale(1.03);
}

/* ============================================================
   SPONSORS — ENTRY ANIMATIONS
   ============================================================ */
[data-animate="spn-title"] {
  opacity: 0;
  animation: fadeDown 0.7s ease 0.2s forwards;
}

[data-animate="spn-photo"] {
  opacity: 0;
  animation: slideInLeft 0.8s ease 0.4s forwards;
}

[data-animate="spn-quote-text"] {
  opacity: 0;
  animation: revSlideRight 0.8s ease 0.5s forwards;
}

[data-animate="spn-quote-mark"] {
  opacity: 0;
  animation: spnMarkIn 0.9s ease 0.6s forwards;
}

@keyframes spnMarkIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 0.5;
    transform: scale(1);
  }
}

[data-animate="spn-intro"] {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.3s forwards;
}

[data-animate="spn-intro-btn"] {
  opacity: 0;
  animation: fadeUp 0.6s ease 0.55s forwards;
}

[data-animate="spn-block"] {
  opacity: 0;
  animation: fadeUp 0.7s ease both;
}

[data-animate="spn-terms-btn"] {
  opacity: 0;
  animation: scaleIn 0.6s ease 0.2s forwards;
}

.sponsors-partners__item {
  opacity: 0;
  animation: scaleIn 0.6s ease both;
  animation-delay: calc(0.15s + var(--i) * 0.12s);
}

.sponsors-partners__item:nth-child(1) {
  --i: 0;
}
.sponsors-partners__item:nth-child(2) {
  --i: 1;
}
.sponsors-partners__item:nth-child(3) {
  --i: 2;
}
.sponsors-partners__item:nth-child(4) {
  --i: 3;
}
.sponsors-partners__item:nth-child(5) {
  --i: 4;
}
.sponsors-partners__item:nth-child(6) {
  --i: 5;
}

[data-animate="spn-form-title"] {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

[data-animate="spn-form"] {
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

/* ============================================================
   SPONSORS — АДАПТИВ
   ============================================================ */
@media (max-width: 1439px) {
  .sponsors-hero {
    padding-block: 80px 32px;
  }
  .sponsors-quote {
    gap: 50px;
  }
  .sponsors-logo {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 1023px) {
  .sponsors-hero__title {
    font-size: 48px;
  }
  .sponsors-quote {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
    text-align: center;
  }
  .sponsors-quote__mark--left {
    left: 10px;
    top: -40px;
  }
  .sponsors-quote__mark--right {
    right: 10px;
  }
  .sponsors-quote__text {
    font-size: 28px;
  }
  .sponsors-partners__title,
  .sponsors-cta__title {
    font-size: 42px;
  }
  .sponsors-partners__list {
    justify-content: center;
  }
  .sponsors-partners__item {
    flex: 0 0 calc(33.333% - 20px);
    display: flex;
    justify-content: center;
  }
  .sponsors-cta__cloud {
    width: 560px;
  }
}

@media (max-width: 767px) {
  .sponsors-hero {
    padding-block: 56px 24px;
  }
  .sponsors-hero__title {
    font-size: 36px;
  }
  .sponsors-quote {
    margin-top: 48px;
  }
  .sponsors-quote__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .sponsors-quote__text {
    font-size: 24px;
  }
  .sponsors-quote__mark {
    font-size: 120px;
  }
  .sponsors-intro,
  .sponsors-content {
    margin-top: 64px;
  }
  .sponsors-intro__title,
  .sponsors-content__title {
    font-size: 24px;
  }
  .sponsors-intro__text,
  .sponsors-content__text {
    font-size: 16px;
  }
  .sponsors-partners {
    padding-block: 80px 0;
  }
  .sponsors-partners__title,
  .sponsors-cta__title {
    font-size: 32px;
  }
  .sponsors-partners__item {
    flex: 0 0 calc(50% - 12px);
  }
  .sponsors-logo {
    width: 120px;
    height: 120px;
  }
  .sponsors-cta {
    padding-block: 90px;
  }
  .sponsors-cta__cloud {
    width: 420px;
  }

  .sponsors-intro__btn,
  .sponsors-content__terms-btn,
  .sponsors-form,
  .sponsors-form__submit {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .sponsors-hero__title {
    font-size: 30px;
  }
  .sponsors-partners__title,
  .sponsors-cta__title {
    font-size: 26px;
  }
  .sponsors-logo {
    width: 110px;
    height: 110px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sponsors-cloud,
  .sponsors-cta__cloud,
  .sponsors-partners__item,
  [data-animate^="spn-"] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .sponsors-cloud,
  .sponsors-cta__cloud {
    opacity: 0.75 !important;
  }
}

/* ============================================================
   ABOUT PAGE — «О фестивальном центре»
   Дополняет style.css. Переиспользует Header, Footer, .container,
   переменные и .btn. Вертикальный ритм — только padding-block.
   ============================================================ */
.body--about {
  background: #eaf8fd;
}

.page--about {
  position: relative;
  background: #eaf8fd;
  overflow: hidden;
}

/* ---------- Декоративные облака ---------- */
.about-clouds {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.about-cloud {
  position: absolute;
  color: #a9ddf2;
  opacity: 0;
  animation:
    cloudDrift 16s ease-in-out infinite alternate,
    spnCloudIn 1.2s ease forwards;
}

.about-cloud--tl {
  width: 330px;
  top: 80px;
  left: -80px;
}
.about-cloud--tr {
  width: 330px;
  top: 80px;
  right: -80px;
  animation-duration: 18s, 1.2s;
}

/* ---------- HERO ---------- */
.about-hero {
  position: relative;
  z-index: 1;
  padding-block: 90px 0;
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-hero__title {
  font-family: var(--font-primary);
  font-size: 56px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-pink);
}

.about-hero__crumbs {
  margin-top: 16px;
  font-size: 15px;
  color: #222222;
}

.about-hero__image {
  width: 900px;
  max-width: 100%;
  height: 420px;
  margin-top: 40px;
  background: #d9d9d9;
  border-radius: 16px;
}

/* ---------- Информационный блок ---------- */
.about-intro {
  max-width: 900px;
  margin-top: 50px;
  text-align: center;
}

.about-intro__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 700;
  color: #000;
}

.about-intro__icon {
  color: var(--color-yellow);
  flex-shrink: 0;
}

.about-intro__text {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.8;
  color: #000;
}

.about-intro__subtitle {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 700;
  color: #000;
}

.about-intro__points {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
  line-height: 1.6;
  color: #000;
}

.about-point__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- TEAM ---------- */
.about-team {
  position: relative;
  z-index: 1;
  padding-block: 120px 0;
  text-align: center;
}

.about-team__title {
  font-size: 52px;
  font-weight: 700;
  color: var(--color-pink);
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 50px;
}

.team-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
}

.team-card__photo {
  width: 260px;
  height: 260px;
  max-width: 100%;
  margin: 0 auto;
  background: #d9d9d9;
  border-radius: 12px;
}

.team-card__name {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.team-card__role {
  margin-top: 8px;
  font-size: 15px;
  color: #666666;
}

.about-team__cta {
  margin-top: 50px;
}

.about-team__btn {
  width: 260px;
  height: 54px;
  border-radius: 28px;
}

.about-team__btn:hover {
  transform: scale(1.03);
}

/* ---------- VALUES ---------- */
.about-values {
  position: relative;
  z-index: 1;
  padding-block: 120px 0;
  text-align: center;
}

.about-values__title {
  font-size: 52px;
  font-weight: 700;
  color: var(--color-pink);
}

.about-values__grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.value-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.value-icon__circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px dashed var(--color-pink);
  background: var(--color-white);
  color: var(--color-pink);
  transition: transform var(--transition);
}

.value-icon--turq .value-icon__circle {
  border-color: var(--color-turquoise);
  color: var(--color-turquoise);
}

.value-icon:hover .value-icon__circle {
  transform: rotate(5deg);
}

.value-icon__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

/* ---------- MISSION ---------- */
.about-mission {
  position: relative;
  z-index: 1;
  padding-block: 120px 100px;
  text-align: center;
}

.about-mission__title {
  font-size: 52px;
  font-weight: 700;
  color: var(--color-pink);
}

.about-mission__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

.about-mission__image {
  width: 900px;
  max-width: 100%;
}

.about-mission__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   ABOUT — ENTRY ANIMATIONS
   ============================================================ */
[data-animate="ab-title"] {
  opacity: 0;
  animation: fadeDown 0.7s ease 0.2s forwards;
}
[data-animate="ab-crumbs"] {
  opacity: 0;
  animation: fadeDown 0.6s ease 0.4s forwards;
}
[data-animate="ab-image"] {
  opacity: 0;
  animation: aboutImageIn 0.8s ease 0.5s forwards;
}

@keyframes aboutImageIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

[data-animate="ab-intro"] {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.55s forwards;
}
[data-animate="ab-p"] {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.15s forwards;
}

[data-animate="ab-team-title"] {
  opacity: 0;
  animation: fadeDown 0.6s ease forwards;
}
[data-animate="ab-team-btn"] {
  opacity: 0;
  animation: scaleIn 0.6s ease 0.2s forwards;
}

.team-card {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  animation-delay: calc(0.2s + var(--i, 0) * 0.08s);
}

[data-animate="ab-values-title"] {
  opacity: 0;
  animation: fadeDown 0.6s ease forwards;
}

.value-icon {
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
  animation-delay: calc(0.2s + var(--i, 0) * 0.1s);
}

[data-animate="ab-mission-title"] {
  opacity: 0;
  animation: fadeDown 0.6s ease forwards;
}
[data-animate="ab-mission-img"] {
  opacity: 0;
  animation: scaleIn 0.8s ease 0.25s forwards;
}

/* ============================================================
   ABOUT — АДАПТИВ
   ============================================================ */
@media (max-width: 1439px) {
  .about-team__grid {
    gap: 26px;
  }
  .team-card__photo {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 1023px) {
  .about-hero__title {
    font-size: 46px;
  }
  .about-team__title,
  .about-values__title,
  .about-mission__title {
    font-size: 42px;
  }
  .about-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-values__grid {
    justify-content: center;
    gap: 30px;
  }
  .value-icon {
    flex: 0 0 calc(25% - 30px);
  }
  .about-mission__inner {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .about-hero {
    padding-block: 56px 0;
  }
  .about-hero__title {
    font-size: 34px;
  }
  .about-hero__image {
    height: auto;
    aspect-ratio: 900 / 420;
  }
  .about-intro__title {
    font-size: 22px;
  }
  .about-intro__text,
  .about-point {
    font-size: 15px;
  }
  .about-team,
  .about-values,
  .about-mission {
    padding-block: 70px 0;
  }
  .about-team__title,
  .about-values__title,
  .about-mission__title {
    font-size: 30px;
  }
  .about-team__grid {
    grid-template-columns: 1fr;
  }
  .team-card__photo {
    width: 260px;
    height: 260px;
  }
  .about-team__btn {
    width: 100%;
    max-width: 340px;
  }
  .value-icon {
    flex: 0 0 calc(33.333% - 20px);
  }
  .about-mission {
    padding-block: 70px 70px;
  }
  .about-mission__text {
    font-size: 18px;
  }
}

@media (max-width: 400px) {
  .about-hero__title {
    font-size: 28px;
  }
  .value-icon {
    flex: 0 0 calc(50% - 20px);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-cloud,
  .team-card,
  .value-icon,
  [data-animate^="ab-"] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .about-cloud {
    opacity: 0.75 !important;
  }
}

/* ============================================================
   NEWS PAGE (news.html)
   Заголовок с облаками (переиспользует .cat-hero) + сетка
   новостных карточек 3 в ряд + кнопка «Показать больше».
   ============================================================ */
.news-hero {
  padding-block: 40px 30px;
}
.news-hero__title {
  text-align: center;
  color: var(--color-pink);
}

.news-page {
  padding-block: 20px 90px;
}

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

/* Card */
.news-card {
  display: flex;
  flex-direction: column;
  /* Каскадное появление карточек */
  opacity: 0;
  transform: translateY(24px);
  animation: news-card-in 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}

@keyframes news-card-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-card__media {
  display: block;
  border-radius: var(--radius-btn, 10px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition, 0.3s ease);
}
.news-card__media:hover .news-card__img {
  transform: scale(1.05);
}

.news-card__body {
  padding-top: 16px;
}

.news-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
}
.news-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition, 0.3s ease);
}
.news-card__title-link:hover {
  color: var(--color-pink);
}

.news-card__excerpt {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0 0 12px;
}

.news-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-pink);
  margin-bottom: 10px;
}

.news-card__note {
  font-size: 11px;
  line-height: 1.5;
  color: #9aa4ad;
  margin: 0;
}

/* Load more */
.news-page__more {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}
.news-page__more-btn {
  width: 230px;
  background: var(--color-pink);
  color: var(--color-white, #fff);
  border-radius: 999px;
  font-weight: 700;
  transition: background-color var(--transition, 0.3s ease);
}
.news-page__more-btn:hover {
  background: var(--color-pink-dark);
}

/* Tablet */
@media (max-width: 1023px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-page {
    padding-block: 10px 60px;
  }
  .news-page__more-btn {
    width: 100%;
    max-width: 340px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .news-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .news-card__media:hover .news-card__img {
    transform: none;
  }
}

/* ============================================================
   CONTACTS PAGE (contacts.html)
   Заголовок с облаками (переиспользует .cat-hero) + две карточки
   (контакты / реквизиты) + карта-изображение.
   ============================================================ */
.contacts-hero {
  padding-block: 40px 20px;
}
.contacts-hero__title {
  text-align: center;
  color: var(--color-pink);
}

.contacts-page {
  padding-block: 10px 90px;
}

/* Info cards row */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contacts-card {
  background: var(--color-white);
  border-radius: var(--radius-card, 18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 40px 44px;
  text-align: center;
}

.contacts-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 22px;
}

.contacts-card__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contacts-card__list--center {
  gap: 10px;
}

.contacts-card__row {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}

.contacts-card__link {
  color: var(--color-pink);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition, 0.3s ease);
}
.contacts-card__link:hover {
  color: var(--color-pink-dark);
  text-decoration: underline;
}

/* Map */
.contacts-map {
  margin-top: 40px;
  border-radius: var(--radius-card, 18px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.contacts-map__img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Entry animations */
[data-animate="contacts-info"] {
  opacity: 0;
  animation: slideInLeft 0.6s ease 0.2s forwards;
}
[data-animate="contacts-req"] {
  opacity: 0;
  animation: revSlideRight 0.6s ease 0.3s forwards;
}
[data-animate="contacts-map"] {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

/* Tablet */
@media (max-width: 1023px) {
  .contacts-card {
    padding: 32px 28px;
  }
  .contacts-map__img {
    height: 400px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contacts-page {
    padding-block: 10px 60px;
  }
  .contacts-card {
    padding: 26px 22px;
  }
  .contacts-card__title {
    font-size: 19px;
  }
  .contacts-map {
    margin-top: 30px;
  }
  .contacts-map__img {
    height: 280px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate="contacts-info"],
  [data-animate="contacts-req"],
  [data-animate="contacts-map"] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   TEAMS PAGE (teams.html) — «Наши коллективы»
   Заголовок с облаками (переиспользует .cat-hero) + сетка
   карточек коллективов 3 в ряд.
   ============================================================ */
.page--teams {
  position: relative;
  background: #dcf3fb;
}

.teams-hero {
  padding-block: 40px 20px;
}

.teams-hero__title {
  text-align: center;
  color: var(--color-pink);
  text-transform: uppercase;
}

.teams {
  padding-block: 20px 90px;
}

/* Grid */
.teams__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

/* Card */
.team-item {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  /* Каскадное появление карточек */
  opacity: 0;
  transform: translateY(24px);
  animation: team-item-in 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}

@keyframes team-item-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-item__media {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d9d9d9;
}

.team-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.team-item__media:hover .team-item__img {
  transform: scale(1.05);
}

.team-item__body {
  display: flex;
  flex-direction: column;
  padding-top: 18px;
}

.team-item__fest {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  margin: 0 0 12px;
}

.team-item__collective {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-pink);
  margin: 0 0 6px;
}

.team-item__person {
  font-size: 13px;
  color: var(--color-text);
  margin: 0 0 14px;
}

.team-item__award {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  margin: 0 0 12px;
}

.team-item__quote {
  font-size: 12px;
  color: #8a8a8a;
  margin: 0 0 18px;
}

.team-item__btn {
  width: 100%;
  height: 44px;
  margin-top: auto;
}

.team-item__btn:hover {
  transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 1023px) {
  .teams__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .teams__grid {
    grid-template-columns: 1fr;
  }
  .teams {
    padding-block: 10px 60px;
  }
  .team-item {
    max-width: 400px;
    margin-inline: auto;
    width: 100%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .team-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .team-item__media:hover .team-item__img {
    transform: none;
  }
}

/* ============================================================
   MODAL (выпадающее окно) + JOIN FORM
   Только UI. Отправка/валидация формы — на стороне WordPress (CF7 / WPForms).
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 45, 0.55);
  backdrop-filter: blur(2px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 40px 32px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition-slow);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text);
  transition:
    background-color var(--transition),
    color var(--transition);
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-pink);
}

.modal__close:focus-visible {
  outline: 2px solid var(--color-pink);
  outline-offset: 2px;
}

.modal__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--space-md);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-pink);
}

.modal__star {
  color: var(--color-pink);
  font-size: 20px;
  flex-shrink: 0;
}

/* ---------- JOIN FORM ---------- */
.join-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.join-form__field {
  width: 100%;
}

.join-form__input {
  width: 100%;
  height: 48px;
  padding-inline: 22px;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--color-text);
  background: #ededed;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  text-align: center;
  transition:
    border-color var(--transition),
    background-color var(--transition);
}

.join-form__input::placeholder {
  color: #8a8a8a;
}

.join-form__input:hover {
  background: #e6e6e6;
}

.join-form__input:focus-visible {
  outline: none;
  border-color: var(--color-turquoise);
  background: var(--color-white);
}

.join-form__agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-inline: 8px;
  font-size: 12px;
  color: #6a6a6a;
  cursor: pointer;
}

.join-form__checkbox {
  margin-top: 2px;
  width: 14px;
  height: 14px;
  accent-color: var(--color-turquoise);
  flex-shrink: 0;
  cursor: pointer;
}

.join-form__policy {
  color: #6a6a6a;
  text-decoration: underline;
  transition: color var(--transition);
}

.join-form__policy:hover {
  color: var(--color-turquoise);
}

.join-form__submit {
  width: 100%;
  height: 48px;
  margin-top: 6px;
}

/* ---------- MODAL RESPONSIVE ---------- */
@media (max-width: 390px) {
  .modal__dialog {
    padding: 36px 20px 24px;
  }

  .modal__title {
    font-size: 22px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal__dialog {
    transition: none;
  }
  .modal__dialog {
    transform: none;
  }
}

/* ============================================================
   PACKAGES (Пакеты сопровождения) + ORGVZNOS (Оргвзнос)
   Две независимые секции на общем светло-голубом фоне.
   Только padding-block для ритма. Переиспользуют :root, .container.
   ============================================================ */

/* ---------- PACKAGES ---------- */
.packages {
  position: relative;
  overflow: hidden;
  background: #eaf8fd;
  padding-block: 90px 40px;
}

/* Декоративные облака */
.packages__clouds {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.packages__cloud {
  position: absolute;
  top: 40px;
  width: 300px;
  height: auto;
  color: #a9ddf2;
  opacity: 0.75;
  animation: cloudDrift 16s ease-in-out infinite alternate;
}

.packages__cloud--left {
  left: -90px;
}
.packages__cloud--right {
  right: -90px;
  animation-duration: 18s;
}

.packages__container {
  position: relative;
  z-index: 1;
}

/* Заголовок */
.packages__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 50px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-pink);
  text-align: center;
}

.packages__star {
  font-size: 34px;
  line-height: 1;
  color: var(--color-pink);
}

/* Слайдер / grid */
.packages__slider {
  position: relative;
}

.packages__viewport {
  overflow: hidden;
}

/* Desktop: три карточки в ряд (grid). На планшете/мобиле — flex-слайдер (см. медиа). */
.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

/* Карточка тарифа */
.pkg-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 2px solid var(--color-turquoise);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.pkg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
}

.pkg-card__name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
  color: var(--color-turquoise);
}

.pkg-card__lead {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
}

.pkg-card__list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pkg-card__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pkg-card__term {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-pink);
}

.pkg-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text);
}

/* Кнопка «Забронировать» — у нижнего края карточки */
.pkg-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  max-width: 100%;
  height: 52px;
  margin: 26px auto 0;
  background: var(--color-turquoise);
  color: var(--color-white);
  border-radius: 28px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition:
    background-color var(--transition),
    transform var(--transition),
    filter var(--transition),
    box-shadow var(--transition);
}

/* кнопка прижата к низу карточки */
.pkg-card__list {
  flex: 1;
}

.pkg-card__btn:hover {
  background: var(--color-turquoise);
  transform: scale(1.03);
  filter: brightness(1.06);
  box-shadow: 0 12px 26px rgba(70, 199, 213, 0.35);
}

.pkg-card__btn:focus-visible {
  outline: 2px solid var(--color-pink);
  outline-offset: 3px;
}

.pkg-card__btn:active {
  transform: scale(0.99);
}

/* Навигация слайдера */
.packages__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.packages__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid #d5d5d5;
  color: var(--color-text);
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.packages__arrow:hover {
  background: var(--color-turquoise);
  border-color: var(--color-turquoise);
  color: var(--color-white);
  transform: scale(1.06);
  box-shadow: 0 8px 18px rgba(70, 199, 213, 0.3);
}

.packages__arrow:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 2px;
}

.packages__arrow:active {
  transform: scale(0.95);
}

/* ---------- ORGVZNOS ---------- */
.orgvznos {
  background: #eaf8fd;
  padding-block: 90px 40px;
}

.orgvznos__container {
  display: flex;
  justify-content: center;
}

/* Белый контейнер */
.orgvznos__card {
  width: 100%;
  max-width: 1120px;
  background: var(--color-white);
  border-radius: 18px;
  padding: 40px;
}

.orgvznos__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 34px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-pink);
  text-align: center;
}

.orgvznos__star {
  font-size: 34px;
  line-height: 1;
  color: var(--color-pink);
}

.orgvznos__table {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Блок таблицы */
.org-block {
  border: 2px solid var(--color-turquoise);
  border-radius: 12px;
  overflow: hidden;
}

/* Бирюзовая плашка */
.org-block__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 20px;
  background: var(--color-turquoise);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  transition:
    background-color var(--transition),
    filter var(--transition);
}

.org-block:hover .org-block__head {
  filter: saturate(1.2) brightness(0.97);
}

/* Белый блок с текстом */
.org-block__body {
  padding: 26px;
  text-align: center;
}

.org-block__row {
  line-height: 1.9;
  font-size: 15px;
  color: var(--color-text);
}

/* ---------- ENTRY ANIMATIONS ---------- */
/* Заголовок «Пакеты сопровождения» — сверху */
[data-animate="packages-title"] {
  opacity: 0;
  animation: fadeDown 0.6s ease forwards;
}

/* Карточки — последовательно слева направо, снизу вверх */
.pkg-card[data-animate-pkg] {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  animation-delay: calc(0.25s + var(--i, 0) * 0.15s);
}

/* Кнопки «Забронировать» — последними внутри каждой карточки */
.pkg-card[data-animate-pkg] .pkg-card__btn {
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
  animation-delay: calc(0.6s + var(--i, 0) * 0.15s);
}

/* Кнопки навигации — после карточек */
.packages__nav {
  opacity: 0;
  animation: fadeUp 0.5s ease 1s forwards;
}

/* Блок «Оргвзнос» — лёгкое масштабирование */
[data-animate="orgvznos-card"] {
  opacity: 0;
  animation: orgScaleIn 0.7s ease 0.2s forwards;
}

@keyframes orgScaleIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Секции таблицы — сверху вниз с задержкой */
.org-block[data-animate-org] {
  opacity: 0;
  animation: fadeDown 0.55s ease forwards;
  animation-delay: calc(0.45s + var(--o, 0) * 0.15s);
}

/* ---------- RESPONSIVE ---------- */

/* Laptop 1024–1439px: карточки уже, отступы меньше */
@media (max-width: 1439px) {
  .packages__title,
  .orgvznos__title {
    font-size: 46px;
  }

  .pkg-card {
    padding: 24px;
  }

  .pkg-card__name {
    font-size: 30px;
  }
}

/* Tablet 768–1023px: карточки — горизонтальный слайдер, контейнер шире */
@media (max-width: 1023px) {
  .packages__title,
  .orgvznos__title {
    font-size: 38px;
    gap: 14px;
  }

  .packages__star,
  .orgvznos__star {
    font-size: 26px;
  }

  /* grid → горизонтальный скролл-слайдер */
  .packages__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .packages__viewport::-webkit-scrollbar {
    display: none;
  }

  .packages__grid {
    display: flex;
    gap: 20px;
    padding-bottom: 6px;
  }

  .pkg-card {
    flex: 0 0 70%;
    max-width: 420px;
    scroll-snap-align: start;
  }

  .orgvznos__card {
    padding: 32px 26px;
  }

  .packages__cloud {
    width: 220px;
  }
}

/* Mobile <768px: одна карточка на всю ширину, таблица вертикально */
@media (max-width: 767px) {
  .packages {
    padding-block: 60px 30px;
  }
  .orgvznos {
    padding-block: 60px 30px;
  }

  .packages__title,
  .orgvznos__title {
    font-size: 30px;
    gap: 10px;
    margin-bottom: 34px;
  }

  .packages__star,
  .orgvznos__star {
    font-size: 22px;
  }

  .pkg-card {
    flex: 0 0 88%;
    padding: 24px 20px;
  }

  .pkg-card__name {
    font-size: 28px;
  }

  .pkg-card__btn {
    width: 100%;
  }

  .orgvznos__card {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .org-block__head {
    font-size: 15px;
    min-height: auto;
    padding: 12px 14px;
  }

  .org-block__body {
    padding: 20px 16px;
  }

  .org-block__row {
    font-size: 14px;
  }

  .packages__cloud {
    width: 150px;
    opacity: 0.5;
  }
  .packages__cloud--left {
    left: -60px;
  }
  .packages__cloud--right {
    right: -60px;
  }
}

/* Very small 375–390px */
@media (max-width: 400px) {
  .packages__title,
  .orgvznos__title {
    font-size: 26px;
  }
  .pkg-card {
    flex-basis: 92%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .packages__cloud,
  [data-animate="packages-title"],
  .pkg-card[data-animate-pkg],
  .pkg-card[data-animate-pkg] .pkg-card__btn,
  .packages__nav,
  [data-animate="orgvznos-card"],
  .org-block[data-animate-org] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   PROGRAM (Программа поездки)
   Светло-голубой фон + облака. Два варианта программы (3/4 дня),
   каждый — сетка карточек «день» (бирюзовая плашка + белое тело).
   Только padding-block, :root, .container, БЭМ.
   ============================================================ */
.program {
  position: relative;
  overflow: hidden;
  background: #eaf8fd;
  padding-block: 70px 40px;
}

/* Декоративные облака */
.program__clouds {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.program__cloud {
  position: absolute;
  top: 30px;
  width: 280px;
  height: auto;
  color: #a9ddf2;
  opacity: 0.7;
  animation: cloudDrift 17s ease-in-out infinite alternate;
}

.program__cloud--left {
  left: -80px;
}
.program__cloud--right {
  right: -80px;
  animation-duration: 19s;
}

.program__container {
  position: relative;
  z-index: 1;
}

/* Заголовок «ПРОГРАММА ПОЕЗДКИ» */
.program__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 22px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-pink);
  text-align: center;
}

.program__star {
  font-size: 22px;
  line-height: 1;
  color: var(--color-pink);
}

/* Дата */
.program__date {
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
}

/* Подзаголовок */
.program__lead {
  margin-top: 8px;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text);
}

/* Вариант программы (3 / 4 дня) */
.program__variant {
  margin-top: 40px;
}

.program__variant-title {
  margin-bottom: 22px;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-pink);
}

/* Сетка карточек дней — две колонки */
.program__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

/* Карточка одного дня */
.day-card {
  border: 2px solid var(--color-turquoise);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.day-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

/* Бирюзовая плашка-заголовок */
.day-card__head {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--color-turquoise);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  transition: filter var(--transition);
}

.day-card:hover .day-card__head {
  filter: saturate(1.2) brightness(0.97);
}

/* Белое тело */
.day-card__body {
  padding: 22px 24px;
}

.day-card__row {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text);
}

.day-card__row + .day-card__row {
  margin-top: 14px;
}

/* Жирные подписи внутри строки */
.day-card__term {
  font-weight: 700;
  color: var(--color-text);
}

/* Розовый акцент (свободный день, торжественное открытие и т.п.) */
.day-card__accent {
  font-weight: 700;
  color: var(--color-pink);
}

/* Кнопка «Посмотреть отзывы» */
.program__cta {
  display: flex;
  justify-content: center;
  margin-top: 46px;
}

.program__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  height: 52px;
  padding: 0 34px;
  background: var(--color-pink);
  color: var(--color-white);
  border-radius: 28px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition:
    background-color var(--transition),
    transform var(--transition),
    filter var(--transition),
    box-shadow var(--transition);
}

.program__btn:hover {
  background: var(--color-pink-dark);
  transform: scale(1.03);
  filter: brightness(1.03);
  box-shadow: 0 12px 26px rgba(255, 79, 151, 0.35);
}

.program__btn:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 3px;
}

.program__btn:active {
  transform: scale(0.99);
}

/* ---------- ENTRY ANIMATIONS ---------- */
/* Важно: элементы видимы по умолчанию (opacity:1), анимация лишь
   добавляет вход. Глобальный [data-animate]{opacity:0} перекрываем. */
.program [data-animate="program-title"],
.program [data-animate="program-date"],
.program [data-animate="program-lead"],
.program [data-animate="program-btn"],
.program [data-animate="program-variant"],
.program .day-card[data-animate-day] {
  opacity: 1;
  animation: none;
}

[data-animate="program-title"] {
  animation: fadeDown 0.6s ease both;
}

[data-animate="program-date"] {
  animation: fadeDown 0.6s ease 0.1s both;
}

[data-animate="program-lead"] {
  animation: fadeDown 0.6s ease 0.2s both;
}

.day-card[data-animate-day] {
  animation: fadeUp 0.55s ease both;
  animation-delay: calc(0.3s + var(--d, 0) * 0.12s);
}

[data-animate="program-btn"] {
  animation: fadeUp 0.5s ease 0.6s both;
}

/* ---------- RESPONSIVE ---------- */

/* Laptop 1024–1439px */
@media (max-width: 1439px) {
  .program__title {
    font-size: 30px;
  }
}

/* Tablet 768–1023px */
@media (max-width: 1023px) {
  .program__title {
    font-size: 28px;
    gap: 12px;
  }
  .program__star {
    font-size: 20px;
  }
  .program__grid {
    gap: 20px;
  }
  .day-card__head {
    font-size: 15px;
  }
  .program__cloud {
    width: 200px;
  }
}

/* Mobile <768px: карточки в одну колонку */
@media (max-width: 767px) {
  .program {
    padding-block: 50px 30px;
  }

  .program__title {
    font-size: 24px;
    gap: 8px;
  }
  .program__star {
    font-size: 18px;
  }
  .program__date,
  .program__lead {
    font-size: 16px;
  }
  .program__variant-title {
    font-size: 18px;
  }

  .program__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .day-card__head {
    padding: 12px 16px;
    font-size: 15px;
  }
  .day-card__body {
    padding: 18px 16px;
  }

  .program__btn {
    width: 100%;
    min-width: 0;
  }

  .program__cloud {
    width: 140px;
    opacity: 0.5;
  }
  .program__cloud--left {
    left: -50px;
  }
  .program__cloud--right {
    right: -50px;
  }
}

/* Very small 375–390px */
@media (max-width: 400px) {
  .program__title {
    font-size: 22px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .program__cloud,
  [data-animate="program-title"],
  [data-animate="program-date"],
  [data-animate="program-lead"],
  .day-card[data-animate-day],
  [data-animate="program-btn"] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
