@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;

  src:
    url('../fonts/Montserrat-Regular.woff2') format('woff2'),
    url('../fonts/Montserrat-Regular.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;

  src:
    url('../fonts/Montserrat-Medium.woff2') format('woff2'),
    url('../fonts/Montserrat-Medium.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;

  src:
    url('../fonts/Montserrat-SemiBold.woff2') format('woff2'),
    url('../fonts/Montserrat-SemiBold.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Philosopher';
  font-style: normal;
  font-weight: 700;

  src:
    url('../fonts/Philosopher-Bold.woff2') format('woff2'),
    url('../fonts/Philosopher-Bold.woff') format('woff');
  font-display: swap;
}

:root {
  --font-family-primary: 'Montserrat', 'Arial', sans-serif;
  --font-family-secondary: 'Philosopher', 'Times New Roman', serif;
  --beige-bg: #c9b28d;
  --sand-primary: #927652;
  --brown-primary: #352310;
  --white: #ffffff;
  --black-primary: #100a05;
  --blue-primary: #d2e5ee;
  --blue-dark: #2373a3;
  --black-40: rgba(16 10 5 / 40%);
  --skin-bg: #f2eae5;
  --black-60: rgba(16 10 5 / 60%);
  --black-20: rgba(16 10 5 / 20%);
  --white-75: rgba(255 255 255 / 75%);
  --blue-dark-2: #034b77;
  --white-15: rgba(255 255 255 / 15%);
  --gray: #ececec;
  --black-12: rgba(16 10 5 / 12%);
  --red-error: #925252;
  --accent-red-accent: #812d30;
  --red-text: #9e2529;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;

  height: 100%;
  scroll-behavior: smooth;

  font-size: 16px;
}

body {
  height: auto;
  min-height: 100%;

  padding: 0;
  margin: 0;

  font-family: var(--font-family-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;

  line-height: normal;

  color: var(--black-primary);

  background-color: var(--white);
}

.locked {
  overflow: hidden;
}

.body-grid {
  display: grid;

  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;

  display: block;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  white-space: nowrap;

  border: 0;

  clip: rect(0 0 0 0);
  clip-path: inset(100%);
}

.list-reset {
  padding: 0;
  margin: 0;

  list-style: none;
}

.block-container {
  max-width: 1320px;

  padding-right: 20px;
  padding-left: 20px;
  margin: 0 auto;
}

.title-h1 {
  margin: 0;

  font-family: var(--font-family-secondary);
  font-size: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  font-style: normal;
  font-weight: 700;

  line-height: normal;

  color: inherit;
}

.title-h2 {
  margin: 0;

  font-family: var(--font-family-primary);
  font-size: clamp(1.25rem, 0.8333rem + 2.0833vw, 2.5rem);
  font-style: normal;
  font-weight: 500;

  line-height: normal;

  color: inherit;
}

.title-h3 {
  margin: 0;

  font-family: var(--font-family-secondary);
  font-size: clamp(1.125rem, 0.9012rem + 1.0288vw, 1.75rem);
  font-style: normal;
  font-weight: 700;

  line-height: normal;

  color: inherit;
}

.text-t1 {
  margin: 0;

  font-family: var(--font-family-primary);
  font-size: clamp(1rem, 0.9167rem + 0.4167vw, 1.25rem);
  font-style: normal;
  font-weight: 600;

  line-height: normal;

  color: inherit;
}

.text-t2 {
  margin: 0;

  font-family: var(--font-family-primary);
  font-size: clamp(1rem, 0.9167rem + 0.4167vw, 1.25rem);
  font-style: normal;
  font-weight: 500;

  line-height: normal;

  color: inherit;
}

.text-t3 {
  margin: 0;

  font-family: var(--font-family-primary);
  font-size: clamp(1rem, 0.9167rem + 0.4167vw, 1.25rem);
  font-style: normal;
  font-weight: 400;

  line-height: normal;

  color: inherit;
}

.text-t4 {
  margin: 0;

  font-family: var(--font-family-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;

  line-height: normal;

  color: inherit;
}

.text-t5 {
  margin: 0;

  font-family: var(--font-family-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;

  line-height: normal;

  color: inherit;
}

.text-t6 {
  margin: 0;

  font-family: var(--font-family-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;

  line-height: normal;

  color: inherit;

  text-transform: uppercase;
}

.text-t7 {
  margin: 0;

  font-family: var(--font-family-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;

  line-height: normal;

  color: inherit;
}

.text-t8 {
  margin: 0;

  font-family: var(--font-family-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;

  line-height: normal;

  color: inherit;
}

.button-primary {
  display: inline-flex;

  gap: 10px;
  align-items: center;
  justify-content: center;

  padding-top: 16px;
  padding-right: 24px;
  padding-bottom: 16px;
  padding-left: 24px;

  color: var(--black-primary);

  cursor: pointer;

  background-color: var(--white);
  border: none;

  transition:
    color 0.4s ease-in-out,
    opacity 0.4s ease-in-out,
    background-color 0.4s ease-in-out;
}

.button-primary__icon {
  fill: currentcolor;
}

.button-primary__icon--bookmark {
  fill: none;
}

.button-primary:hover,
.button-primary:active {
  color: var(--white);

  background-color: var(--black-primary);
}

.button-primary--wr:hover,
.button-primary--wr:active {
  background-color: var(--accent-red-accent);
}

.button-primary--black {
  color: var(--white);

  background-color: var(--black-primary);
}

.button-primary--black:hover,
.button-primary--black:active {
  background-color: var(--accent-red-accent);
}

.button-secondary {
  display: inline-flex;

  gap: 10px;
  align-items: center;
  justify-content: center;

  padding-top: 14px;
  padding-right: 22px;
  padding-bottom: 14px;
  padding-left: 22px;

  color: var(--white);

  cursor: pointer;

  background-color: transparent;
  border-color: var(--white);
  border-style: solid;
  border-width: 2px;

  transition:
    color 0.4s ease-in-out,
    opacity 0.4s ease-in-out,
    border-color 0.4s ease-in-out;
}

.button-secondary__icon {
  fill: currentcolor;
}

.button-secondary:hover,
.button-secondary:active {
  color: var(--black-primary);

  border-color: var(--black-primary);
}

.button-secondary--black {
  color: var(--black-primary);

  border-color: var(--black-primary);
}

.button-secondary--black:hover,
.button-secondary--black:active {
  color: var(--accent-red-accent);

  border-color: var(--accent-red-accent);
}

.button-tertiary {
  display: inline-flex;

  gap: 10px;
  align-items: center;
  justify-content: center;

  padding-top: 8px;
  padding-right: 20px;
  padding-bottom: 8px;
  padding-left: 20px;

  color: var(--white);

  cursor: pointer;

  background-color: var(--accent-red-accent);
  border: none;

  transition:
    opacity 0.4s ease-in-out,
    background-color 0.4s ease-in-out;
}

.button-tertiary:hover,
.button-tertiary:active {
  color: var(--white);

  background-color: var(--red-text);
}

.button-burger {
  display: block;

  width: 48px;
  height: 48px;

  padding: 12px;
  margin: 0;

  background-color: transparent;
  background-image: url('../images/icons/icon-burger.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  border: none;

  transition: background-color 0.4s ease-in-out;
}

.button-burger--close {
  background-image: url('../images/icons/icon-close.svg');
}

.button-burger:active {
  background-color: var(--beige-bg);
}

.button-close {
  display: block;

  width: 32px;
  height: 32px;

  margin: 0;

  cursor: pointer;

  background-color: transparent;
  background-image: url('../images/icons/icon-close.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  border: none;

  transition: background-color 0.4s ease-in-out;
}

.button-close:hover,
.button-close:active {
  opacity: 0.4;
}

.button-primary:disabled,
.button-secondary:disabled,
.button-tertiary:disabled {
  pointer-events: none;
  cursor: default;

  opacity: 0.5;
}

.button-primary svg,
.button-secondary svg,
.button-tertiary svg {
  flex-shrink: 0;
}

@media (width <= 768px) {
  .button-tertiary {
    padding-top: 8px;
    padding-right: 12px;
    padding-bottom: 8px;
    padding-left: 12px;

    font-weight: 600;
  }
}

.nav-link {
  position: relative;

  display: inline-block;

  text-decoration: none;

  transition: color 0.4s ease-in-out;
}

.nav-link::after {
  position: absolute;
  bottom: -2px;

  display: block;

  width: 100%;
  height: 1px;

  content: '';

  background-color: transparent;

  transition: background-color 0.4s ease-in-out;
}

.nav-link:hover,
.nav-link:active {
  color: var(--accent-red-accent);
}

.nav-link:hover::after,
.nav-link:active::after {
  background-color: var(--accent-red-accent);
}

.event-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  padding-top: 24px;
  padding-bottom: 24px;
  margin-bottom: 16px;

  background-color: var(--white);
}

.event-header.header--scrolled {
  padding-bottom: 0;
}

.event-header__wrapper {
  position: relative;

  display: grid;

  grid-template-areas: 'logo contacts button' 'nav nav nav';
  grid-template-columns: 177px 1fr 160px;

  row-gap: 24px;
  column-gap: 40px;
  align-items: center;
}

.event-header__logo {
  display: block;

  grid-area: logo;

  width: 146px;
  height: 56px;

  transition: opacity 0.4s ease-in-out;
}

.event-header__logo:hover {
  opacity: 0.6;
}

.event-header__contacts {
  display: flex;

  flex-wrap: wrap;

  grid-area: contacts;

  row-gap: 20px;
  column-gap: 40px;
  align-items: center;
  justify-self: end;

  transition: transform 0.3s ease-in-out;
}

.event-header__contacts-link {
  text-decoration: none;

  transition: color 0.4s ease-in-out;
}

.event-header__contacts-link:hover,
.event-header__contacts-link:active {
  color: var(--accent-red-accent);
}

.header--scrolled .event-header__contacts {
  position: absolute;

  transform: translateY(-500px);
}

.event-header__button-buy {
  grid-area: button;

  font-size: clamp(0.75rem, 0.6667rem + 0.4167vw, 1rem);
}

.event-header__button-burger {
  display: none;
}

.event-header__nav {
  grid-area: nav;

  justify-self: center;
}

.header--scrolled .event-header__nav {
  grid-area: contacts;
}

.event-header__nav-list {
  display: flex;

  flex-wrap: wrap;

  row-gap: 20px;
  column-gap: 55px;
  align-items: center;
  justify-content: start;
}

@media (width < 860px) {
  .event-header {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom: 0;

    overflow: hidden;
  }

  .header--expanded::before {
    position: absolute;
    top: 0;
    z-index: 10;

    display: block;

    width: 100%;
    height: 64px;

    content: '';

    background-color: var(--white);
  }

  .event-header__button-burger {
    display: block;
  }

  .header--expanded .event-header__button-burger {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .event-header__wrapper {
    display: flex;

    flex-wrap: wrap;

    column-gap: 20px;
    align-items: center;

    max-height: 100%;

    overflow: auto;
  }

  .event-header__logo {
    width: 73px;
    height: 28px;

    margin-right: auto;
  }

  .header--expanded .event-header__logo {
    position: sticky;
    top: 12px;
    z-index: 20;
  }

  .event-header__nav {
    position: relative;

    display: flex;

    flex-direction: column;

    padding-top: 32px;
    padding-bottom: 32px;
  }

  .event-header__nav::after {
    position: absolute;
    bottom: 0;
    left: -20px;

    display: block;

    width: 100vw;
    height: 1px;

    content: '';

    background-color: var(--black-20);
  }

  .event-header__nav-list {
    flex-direction: column;
  }

  .event-header__contacts {
    flex-direction: column;

    row-gap: 30px;
    align-self: center;

    order: 1;
  }

  .header--expanded .event-header__button-buy {
    position: sticky;
    top: 8px;
    z-index: 20;
  }
}

.socials-bw-list {
  display: flex;

  flex-wrap: wrap;

  align-items: center;
}

.socials-bw-list__link {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  color: var(--black-primary);

  transition: color 0.4s ease-in-out;
}

.socials-bw-list__link:hover,
.socials-bw-list__link:active {
  color: var(--accent-red-accent);
}

.socials-bw-list__icon {
  fill: currentcolor;

  transition: color 0.4s ease-in-out;
}

.page-main {
  display: flex;

  flex-direction: column;

  row-gap: 140px;

  margin-bottom: 80px;
}

@media (width <= 1024px) {
  .page-main {
    row-gap: 70px;

    margin-bottom: 70px;
  }
}

@media (width <= 768px) {
  .page-main {
    row-gap: 40px;

    margin-bottom: 40px;
  }
}

.hero {
  min-height: 680px;

  padding-bottom: 96px;

  background: linear-gradient(0deg, rgb(129 45 48 / 25%) 0%, rgb(129 45 48 / 25%) 100%), url('../images/hero-bg.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero__content {
  max-width: 644px;

  padding: 32px;
}

@media (width <= 768px) {
  .hero {
    min-height: 494px;

    padding-bottom: 20px;
  }

  .hero__content {
    padding: 20px;
    margin: 0 auto;
  }
}

@media (resolution >= 2dppx) {
  .hero {
    background: linear-gradient(0deg, rgb(129 45 48 / 25%) 0%, rgb(129 45 48 / 25%) 100%), url('../images/hero-bg@2x.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
}

.event-card {
  display: flex;

  flex-direction: column;

  color: var(--white);

  background-color: var(--accent-red-accent);
}

.event-card__title {
  margin-bottom: 40px;
}

.event-card__content {
  display: flex;

  flex-direction: column;

  row-gap: 60px;
  align-items: flex-start;
}

.event-card__text {
  max-width: 492px;
}

.event-card__text-accent {
  text-decoration-line: underline;
  text-decoration-thickness: auto;
  text-decoration-style: solid;
  text-underline-position: from-font;
  text-underline-offset: auto;
  text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}

.event-card__list {
  display: flex;

  flex-direction: column;

  row-gap: 24px;
}

.event-card__item {
  display: flex;

  column-gap: 8px;
  align-items: center;

  color: inherit;
}

.event-card__item time {
  color: inherit;
}

.event-card__item-icon {
  width: 40px;
  height: 20px;

  fill: currentcolor;
}

@media (width <= 768px) {
  .event-card__title {
    margin-bottom: 20px;
  }

  .event-card__content {
    row-gap: 40px;
  }

  .event-card__item-icon {
    width: 24px;
    height: 12px;
  }
}

@media (width <= 428px) {
  .event-card__item {
    font-size: 12px;
  }

  .event-card__item time {
    font-size: inherit;
    font-weight: 600;
  }
}

.teasers__wrapper {
  display: flex;

  flex-direction: column;

  row-gap: 92px;
}

.teasers__heading {
  display: flex;

  flex-direction: column;

  row-gap: 20px;
}

.teasers__title {
  text-align: center;
}

.teasers__notice {
  font-size: clamp(0.75rem, 0.6667rem + 0.4167vw, 1rem);

  text-align: center;
}

.teasers__content {
  display: flex;

  column-gap: 72px;
  align-items: flex-start;
  justify-content: space-between;
}

.teasers__pagination {
  display: flex;

  flex-direction: column;

  row-gap: 52px;

  max-width: 31.95%;
}

.teasers__pagination .swiper-pagination-bullet {
  display: block;

  width: 100%;
  height: auto;

  background-color: transparent;
  border-radius: 0;

  opacity: 1;
}

.swiper-horizontal > .teasers__pagination.swiper-pagination-bullets .swiper-pagination-bullet,
.teasers__pagination.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  display: flex;

  flex-direction: column;

  row-gap: 12px;

  width: 100%;

  margin: 0;

  cursor: pointer;

  transition: color 0.4s ease-in-out;
}

.teasers__item-text {
  font-size: clamp(0.875rem, 0.8333rem + 0.2083vw, 1rem);
}

.teasers__item:hover,
.teasers__item:active,
.teasers__item.swiper-pagination-bullet-active {
  color: var(--red-text);
}

.teasers__item-title {
  display: grid;

  grid-template-columns: 32px 1fr;

  column-gap: 12px;
  align-items: center;

  margin: 0;
}

.teasers__item-icon {
  fill: none;
}

@media (width <= 1024px) {
  .teasers__content {
    column-gap: 40px;
  }

  .teasers__wrapper {
    row-gap: 50px;

    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (width <= 980px) {
  .teasers__content {
    display: flex;

    flex-direction: column;

    row-gap: 40px;
  }

  .teasers__gallery {
    max-width: 800px;
  }

  .teasers__pagination {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 40px;

    max-width: 100%;
  }
}

@media (width <= 660px) {
  .teasers__pagination {
    display: flex;

    flex-direction: column;

    row-gap: 30px;
  }

  .teasers__wrapper {
    row-gap: 40px;

    padding-right: 20px;
    padding-left: 20px;
  }
}

.speaker {
  padding-top: 140px;
  padding-bottom: 140px;

  background-color: var(--accent-red-accent);
}

.speaker__wrapper {
  display: flex;

  column-gap: 72px;
  align-items: flex-end;
  justify-content: space-between;

  color: var(--white);
}

.speaker__info {
  display: flex;

  flex-direction: column;

  row-gap: 40px;

  order: 1;

  max-width: 39.3%;
}

.speaker__achievements-list {
  display: flex;

  flex-direction: column;

  row-gap: 20px;

  max-width: 409px;
}

.speaker__achievements-item {
  display: grid;

  grid-template-columns: 32px 1fr;

  column-gap: 12px;
  align-items: center;
}

.speaker__achievements-icon {
  fill: none;
}

.speaker__about {
  margin: 0;
}

@media (width <= 1024px) {
  .speaker__wrapper {
    column-gap: 40px;
  }
}

@media (width <= 920px) {
  .speaker {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .speaker__wrapper {
    flex-wrap: wrap;

    row-gap: 40px;

    padding-right: 40px;
    padding-left: 40px;
  }

  .speaker__info {
    row-gap: 26px;

    order: 0;

    max-width: 100%;
  }
}

@media (width <= 468px) {
  .speaker__wrapper {
    padding-right: 20px;
    padding-left: 20px;
  }
}

.schedule__wrapper {
  display: flex;

  flex-direction: column;

  row-gap: 52px;
  align-items: center;
}

.schedule__list {
  display: flex;

  flex-direction: column;

  row-gap: 52px;

  width: 100%;
}

.schedule__counter {
  display: block;

  margin-bottom: 12px;

  color: var(--accent-red-accent);
}

.schedule__item {
  padding: 52px;

  background-color: var(--beige-bg);
}

.schedule__booking {
  display: flex;

  flex-direction: column;

  gap: 72px;
  align-items: center;

  width: 100%;

  padding: 72px;

  color: var(--white);

  background-color: var(--brown-primary);
  background-image: url('../images/bg_leaves.svg');
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: contain;
}

.schedule__booking-title {
  text-align: center;
}

.schedule__buttons {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
  align-items: center;
}

@media (width <= 960px) {
  .schedule__wrapper {
    row-gap: 26px;
  }

  .schedule__item {
    padding: 26px;
  }

  .schedule__buttons {
    display: grid;

    grid-template-columns: 1fr;
  }

  .schedule__booking {
    padding: 30px;
  }
}

@media (width <= 428px) {
  .schedule__wrapper {
    row-gap: 20px;
  }

  .schedule__item {
    padding: 20px;
  }

  .schedule__booking {
    padding: 20px;
  }
}

.daily-routine {
  display: flex;

  column-gap: 52px;
}

.daily-routine__info {
  display: flex;

  flex-direction: column;

  row-gap: 52px;

  max-width: 419px;
}

.schedule__item:nth-child(even) .daily-routine__info {
  order: 1;
}

.daily-routine__list {
  display: flex;

  flex-direction: column;

  row-gap: 12px;
}

.daily-routine__item {
  position: relative;

  padding-left: 16px;
}

.daily-routine__item::before {
  position: absolute;
  top: 4px;
  left: 0;

  display: block;

  width: 8px;
  height: 11px;

  content: '';

  background-image: url('../images/icons/icon-drop.svg');
  background-repeat: no-repeat;
  background-size: 8px 11px;
}

@media (width <= 960px) {
  .daily-routine {
    column-gap: 26px;
  }
}

@media (width <= 768px) {
  .daily-routine {
    flex-wrap: wrap;

    row-gap: 30px;
  }

  .daily-routine__info {
    row-gap: 30px;

    max-width: 100%;
  }
}

.dates {
  padding-top: 140px;
  padding-bottom: 140px;

  background-color: var(--accent-red-accent);
  background-image: url('../images/bg_leaves-big.svg');
  background-repeat: no-repeat;
  background-position: right -90px bottom 40%;
  background-size: auto;
}

.dates__wrapper {
  display: flex;

  flex-direction: column;

  row-gap: 72px;
  align-items: center;
}

.dates__title {
  color: var(--white);

  text-align: center;
}

.dates__list {
  display: flex;

  flex-direction: column;

  row-gap: 72px;

  width: 100%;
  max-width: 846px;
}

@media (width <= 1024px) {
  .dates {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

@media (width <= 768px) {
  .dates {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .dates__wrapper {
    row-gap: 30px;
  }

  .dates__list {
    row-gap: 36px;
  }
}

.dates-card {
  display: flex;

  flex-direction: column;

  row-gap: 32px;

  padding: 32px;

  color: var(--black-primary);

  background-color: var(--white);
}

.dates-card__title {
  display: flex;

  flex-wrap: wrap;

  gap: 32px;
  justify-content: space-between;
}

.dates-card__date {
  color: var(--black-60);
}

.dates-card__list {
  display: flex;

  flex-direction: column;

  row-gap: 32px;
}

.dates-card__item {
  display: flex;

  flex-direction: column;

  row-gap: 8px;
}

.dates-card__summary {
  display: flex;

  flex-direction: column;

  row-gap: 8px;

  margin-bottom: 20px;
}

.dates-card__buttons {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
}

@media (width <= 768px) {
  .dates-card__buttons {
    display: flex;

    flex-direction: column;

    row-gap: 32px;
  }
}

@media (width <= 428px) {
  .dates-card {
    padding: 20px;
  }

  .dates-card__title {
    gap: 20px;
  }
}

.event-gallery__wrapper {
  display: flex;

  flex-wrap: wrap;

  column-gap: 40px;
  justify-content: space-between;
}

.event-gallery__title {
  margin-bottom: 52px;
}

.swiper {
  width: 100%;
  height: 100%;
}

.event-gallery__slider-wrapper {
  margin-bottom: 7px;
}

.event-gallery-pagination {
  display: flex;

  column-gap: 24px;
}

.event-gallery-pagination__button {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;

  padding: 0;
  margin: 0;

  color: var(--black-primary);

  cursor: pointer;
  outline-offset: -2px;

  background-color: transparent;
  border: none;

  transition: color 0.4s ease-in-out;
}

.event-gallery-pagination__button:hover {
  color: var(--black-40);
}

.event-gallery-pagination__button-icon {
  width: 32px;
  height: 32px;

  fill: var(--color-white);
}

.event-gallery-pagination__button--prev {
  transform: rotate(180deg);
}

.event-gallery__slider-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
  display: inline-flex;

  column-gap: 7px;
  align-items: flex-start;
  justify-content: space-between;

  width: auto;
}

.event-gallery__slider.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.event-gallery__slider-pagination.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  display: block;

  width: 8px;
  height: 8px;

  margin: 0;

  background-color: var(--black-60);
  border: none;
  border-radius: 50%;

  transition: background-color 0.4s ease-in-out;
}

.event-gallery__slider-pagination.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet:hover {
  background-color: var(--black-20);
}

.event-gallery__slider-pagination.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background-color: var(--black-primary);
}

.event-gallery__slide a {
  display: block;
}

@media (width <= 768px) {
  .event-gallery__title {
    margin-bottom: 26px;
  }

  .event-gallery__slide {
    display: flex;

    justify-content: center;
  }
}

.footer__wrapper {
  display: flex;

  flex-wrap: wrap;

  row-gap: 22px;
  column-gap: 100px;
  align-items: center;
  justify-content: space-between;

  padding-top: 44px;
  padding-bottom: 50px;
}

.modal-booking {
  display: block;

  max-width: 628px;

  padding: 0;

  border: none;
}

.modal-booking::backdrop {
  background: rgb(0 0 0 / 1%);
  backdrop-filter: blur(16px);
}

.modal-booking__wrapper {
  padding: 40px;
}

.modal-contacts__button {
  position: absolute;
  top: 12px;
  right: 12px;
}

@media (width <= 768px) {
  .modal-booking {
    max-width: 100%;

    margin-right: 10px;
    margin-left: 10px;

    overflow: hidden;
  }

  .modal-booking__wrapper {
    padding: 20px;
  }

  .modal-contacts__button {
    top: 0;
    right: 0;
  }
}

.booking-form {
  display: flex;

  flex-direction: column;

  row-gap: 32px;
  align-items: center;

  overflow: hidden;
}

.booking-form__info {
  display: flex;

  flex-direction: column;

  row-gap: 12px;
  align-items: center;
  justify-content: center;
}

.booking-form__header {
  text-align: center;
}

.booking-form__working-time,
.booking-form__agreement {
  margin: 0;

  font-family: var(--font-family-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;

  line-height: normal;

  color: var(--black-60);

  text-align: center;
}

.booking-form__data {
  position: relative;

  display: flex;

  flex-direction: column;

  row-gap: 12px;
  align-items: center;

  width: 100%;
}

.booking-form__tabs {
  display: flex;

  column-gap: 16px;
  align-items: center;

  padding: 4px;

  background: var(--gray);
}

.booking-form__tab {
  position: relative;

  padding-top: 8px;
  padding-right: 12px;
  padding-bottom: 8px;
  padding-left: 12px;

  cursor: pointer;

  border: none;

  transition: opacity 0.4s ease-in-out;
}

.booking-form__tab::after {
  position: absolute;
  top: 0;
  left: -9px;

  display: block;

  width: 1px;
  height: 24px;

  pointer-events: none;

  content: '';

  background-color: var(--black-12);

  opacity: 0;

  transform: scale(0);

  transition:
    opacity 0.4s ease-in-out,
    transform 0.4s ease-in-out;
}

.booking-form__tab:not(.booking-form__tab--active) + .booking-form__tab:not(:first-child, .booking-form__tab--active)::after {
  opacity: 1;

  transform: scale(1) translateY(6px);
}

.booking-form__tab--active {
  background-color: var(--white);
}

.booking-form__tab:hover {
  background-color: var(--white);

  opacity: 0.6;
}

.booking-form__group {
  width: 100%;
  min-height: 64px;

  padding: 20px;

  border: 1px solid var(--black-20);

  transition: opacity 0.5s ease-in-out;
}

.booking-form__group--error {
  border-color: var(--accent-red-accent);
}

.booking-form__group > * {
  opacity: 0;

  transform: translateX(-400px);

  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.booking-form__group--animated > * {
  opacity: 1;

  transform: translateX(0);
}

.booking-form__group .iti {
  width: 100%;
}

.booking-form__group .iti__arrow {
  width: 24px;
  height: 24px;

  background-image: url('../images/icons/icon-arrow-down.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  border: none;
}

.booking-form__group .iti__selected-country-primary {
  padding-right: 12px;
}

.booking-form__group .iti__selected-dial-code {
  margin: 0;

  font-family: var(--font-family-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;

  line-height: normal;

  color: var(--black-primary);
}

.booking-form__input {
  width: 100%;

  outline-width: 1px;
  outline-offset: 20px;

  border: none;
}

.booking-form__input--phone {
  padding-left: 20px;
}

.booking-form__error {
  position: absolute;
  bottom: -20px;
  left: 0;

  margin: 0;

  font-family: var(--font-family-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;

  line-height: normal;

  color: var(--red-error);
}

.booking-form__agreement {
  text-align: left;
}

.booking-form__agreement a {
  font: inherit;

  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: auto;
  text-decoration-style: solid;
  text-underline-position: from-font;
  text-underline-offset: auto;
  text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}

dialog {
  pointer-events: none;

  opacity: 0;

  transform: translateY(-2000px);
}

dialog[open] {
  pointer-events: auto;

  animation: fade-in 0.5s ease-out forwards;
}

dialog.is-closing {
  animation: fade-out 0.7s ease-out forwards;
}

dialog::backdrop {
  background-color: transparent;
}

dialog[open]::backdrop {
  animation: backdrop-fade-in 0.5s ease-out forwards;
}

dialog.is-closing::backdrop {
  animation: backdrop-fade-out 0.7s ease-out forwards;
}

@media (width <= 428px) {
  .booking-form__tabs {
    column-gap: 8px;
  }

  .booking-form__tab {
    padding-top: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;

    transform: translateY(-2000px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@keyframes fade-out {
  from {
    opacity: 1;

    transform: translateY(0);
  }

  to {
    opacity: 0;

    transform: translateY(-2000px);
  }
}

@keyframes backdrop-fade-in {
  from {
    background-color: rgb(0 0 0 / 0%);
  }

  to {
    background-color: rgb(0 0 0 / 25%);
  }
}

@keyframes backdrop-fade-out {
  from {
    background-color: rgb(0 0 0 / 25%);
  }

  to {
    background-color: rgb(0 0 0 / 0%);
  }
}

.modal-offer {
  display: block;

  max-width: 628px;

  padding: 0;

  border: none;
}

.modal-offer::backdrop {
  background: rgb(0 0 0 / 1%);
  backdrop-filter: blur(16px);
}

.modal-offer__wrapper {
  position: relative;

  padding: 40px;
}

.modal-offer__content {
  display: flex;

  flex-direction: column;

  row-gap: 40px;
  align-items: center;
}

.modal-offer__timer {
  display: flex;

  gap: 20px;
}

.modal-offer__time-box {
  padding: 20px 30px;

  text-align: center;

  border: 1px solid #dddddd;
  border-radius: 10px;
}

.modal-offer__time-box .modal-offer__label {
  text-transform: lowercase;
}

@media (width <= 768px) {
  .modal-offer {
    max-width: 100%;
  }

  .modal-contacts__button {
    top: 0;
    right: 0;
  }

  .modal-offer__time-box {
    padding: 15px;
  }
}

@media (width <= 468px) {
  .modal-offer__timer {
    gap: 10px;
  }

  .modal-offer__time-box {
    padding: 10px;
  }
}





/*-- begin footer --*/
.footer {
  background: #393939;
  padding: 44px 0 52px 0;
}

.footer__main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 41px;
  padding-top: 15px;
}

.footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.footer__bottom-text a {
  color: #D8D8D8;
}

.web-izmerenie {
  color: #D8D8D8;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  background: url(../img/web-izmerenie.png) no-repeat 106% -4px;
  padding: 8px 33px 8px 0;
}

.footer__bottom-text {
  color: #D8D8D8;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin: 0;
}

footer .container {
  margin: 0 auto;
  max-width: 1366px;
  width: 100%;
  padding: 0 49px;
}

.footer__menu ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 541px;
  margin-right: -100px;
}

.footer__info a {
  color: #D8D8D8;
  text-align: right;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-decoration-line: underline;
}

.footer__info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer__info p {
  color: #D8D8D8;
  text-align: right;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin-bottom: 12px;
}

.footer__menu ul li {
  width: 142px;
  list-style: none;
  margin-right: 38px;
}

.footer__menu ul li a {
  color: #D8D8D8;

  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

.footer__top .social-list {
  margin: 0;
  padding: 0;
}

.footer__top .social-list li a img:last-child {
  display: block;
}

.footer__top .social-list li a img:first-child {
  display: none;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 32px;
  border-bottom: 1px solid #7E7E7E;
}

.footer .social-list li {
  float: none;
  display: inline-flex;
  align-items: center;
  padding: 0px;
}

.footer .social-list li svg use {
  stroke: #D8D8D8;
}

.footer .text-right {
  float: right;
}

@media (max-width: 1024px) {
  .footer__main {
    align-items: center;
  }

  .footer__top {
    padding-bottom: 20px;
  }

  .footer {
    padding-top: 27px;
  }
}


@media (max-width: 992px) {
  .footer__main {
    flex-direction: column;
    align-items: center;
  }

  .footer__main .logo {
    margin-bottom: 30px;
  }

  .footer__info p {
    margin-bottom: 0;
  }

  .footer__info {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .footer__menu {
    display: none;
  }

  .footer__bottom {
    display: block;
    text-align: center;
  }

  .dev {
    margin-top: 15px;
  }

  .footer__main {
    padding-bottom: 30px;
  }

  .footer__info {
    margin-top: 0;
    flex-direction: column;
  }

  .footer__info a {
    margin-top: 10px;
  }
}
.landing-a {
  color: #000;
  text-decoration: none;
}
.landing-a:hover {
   text-decoration: none;
   color: #e02323;
}
.booking-form__success {
  color: #ff0000;
  display: block;
  margin: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  padding: 20px;
}
.developer {
  display: flex;
  margin-top: 10px;
}
.developer a img{
  min-width: 35px;
}
.developer a {
  height: 38px;
  margin-left: 10px;
  font-size: 12px;
  color: #D8D8D8;
  white-space: nowrap;
}

.event-gallery__slider .swiper-slide img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    display: block;
}
.event-gallery__title{
  margin-bottom: 15px;
}