@font-face {
  font-family: 'JetBrains_Mono';
  src: url('../assets/fonts/JetBrains_Mono/JetBrainsMono-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains_Mono';
  src: url('../assets/fonts/JetBrains_Mono/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('../assets/fonts/Onest/Onest-VariableFont_wght.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tenor_Sans';
  src: url('../assets/fonts/Tenor_Sans/TenorSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

img,
video {
  height: auto;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset {
  border: none;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid #0b3d91;
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

::selection {
  background: #0b3d91;
  color: #fff;
}

body {
  font-family: 'Onest';
  font-size: 16px;
  font-weight: 400;
  color: #0e2233;
  background-color: #eff4f7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4 {
  font-family:
    'Onest',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Arial,
    sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
}

h1,
.h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  line-height: 1.1;
}

h2,
.h2 {
  font-size: clamp(1.75rem, 1.25rem + 2vw, 3rem);
}

h3,
.h3 {
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
}

h4,
.h4 {
  font-size: 1.5rem;
}

.text-lg {
  font-size: 1.25rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-secondary {
  color: #5c5c5c;
}

.text-muted {
  color: #9a9a9a;
}

.text-center {
  text-align: center;
}

.link {
  color: #0b3d91;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.link:hover {
  color: #082e6e;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.page__main {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: 20px;
}

.container--fluid {
  max-width: none;
}

.page:has(.page__secondary) .footer {
  border-radius: 0;
}

.page:has(.page__secondary) .events__bg {
  display: none;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 48px;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hidden {
  display: none !important;
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:disabled,
.btn[aria-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
}

.btn--primary {
  background-color: #0b3d91;
  color: #fff;
}

.btn--primary:hover {
  background-color: #082e6e;
}

.btn--accent {
  background-color: #e63946;
  color: #fff;
}

.btn--accent:hover {
  background-color: #c92f3b;
}

.btn--outline {
  border-color: #0b3d91;
  color: #0b3d91;
}

.btn--outline:hover {
  background-color: #0b3d91;
  color: #fff;
}

.btn--ghost {
  color: #1a1a1a;
}

.btn--ghost:hover {
  background-color: #f5f6f8;
}

.btn--block {
  width: 100%;
}

.btn__icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  padding: 10px 20px 0;
}

.header__container {
  position: relative;
  width: 100%;
  max-width: 1824px;
  margin-inline: auto;
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  color: #fff;
  border-radius: 18px;
  border: 1px solid rgba(155, 232, 216, 0.18);
  background: rgba(10, 22, 45, 0.16);
  backdrop-filter: blur(3.5px);
}

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

.header__logo img {
  display: block;
  width: auto;
  height: 32px;
  filter: drop-shadow(0 0 6px rgba(255, 209, 26, 0.65));
}

.header__nav {
  display: none;
}

.header__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px clamp(16px, 2vw, 26px);
}

.header__link {
  display: inline-block;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header__link:hover,
.header__link:focus-visible,
.header__link.is-active {
  color: #9be8d8;
  text-shadow: 0 0 14px rgba(155, 232, 216, 0.6);
}

.header__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
}

.header__search-toggle {
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  color: #9be8d8;
  cursor: pointer;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header__search-toggle:hover,
.header__search-toggle:focus-visible {
  color: #fff;
}

.header__search {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 300ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 300ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 300ms;
}

.header__search.is-open {
  grid-template-rows: 1fr;
  margin-top: 10px;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.header__search-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  border: 0.779px solid rgba(155, 232, 216, 0.35);
  background: rgba(10, 22, 45, 0.16);
  backdrop-filter: blur(3.5px);
}

.header__search-icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: #9be8d8;
}

.header__search-input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: none;
  background: none;
  color: #fff;
  font-size: 12px;
}

.header__search-input::placeholder {
  color: rgba(242, 247, 250, 0.62);
}

.header__search-input:focus {
  outline: none;
}

.header__search-input::-webkit-search-cancel-button {
  display: none;
}

.header__search-btn {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(155, 232, 216, 0.18);
  color: #9be8d8;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 16px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header__search-btn:hover,
.header__search-btn:focus-visible {
  background: rgba(155, 232, 216, 0.3);
}

.lang {
  position: relative;
}

.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(155, 232, 216, 0.35);
  background: rgba(155, 232, 216, 0.14);
  border-radius: 9999px;
  color: #9be8d8;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.356px;
  cursor: pointer;
  transition:
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lang__toggle:hover,
.lang__toggle:focus-visible {
  border-color: #9be8d8;
  background-color: rgb(255 255 255 / 0.16);
}

.lang__icon,
.lang__arrow {
  flex-shrink: 0;
  color: #9be8d8;
}

.lang__arrow {
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lang.is-open .lang__arrow {
  transform: rotate(180deg);
}

.lang__current {
  text-transform: uppercase;
}

.lang__list {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  min-width: 150px;
  background: rgba(10, 22, 45, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(155, 232, 216, 0.25);
  border-radius: 14px;
  padding: 6px;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 18px 40px;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition:
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lang.is-open .lang__list {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.lang__option {
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lang__option:hover,
.lang__option:focus-visible {
  background-color: rgb(255 255 255 / 0.12);
}

.lang__option.is-active {
  color: #9be8d8;
  font-weight: 500;
}

.burger {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 14px;
  color: #fff;
  cursor: pointer;
}

.burger__box {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.burger__line {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 1px;
  background-color: currentColor;
  transition:
    transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 150ms cubic-bezier(0.4, 0, 0.2, 1),
    top 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.burger__line:nth-child(1) {
  top: 0;
}
.burger__line:nth-child(2) {
  top: 7px;
}
.burger__line:nth-child(3) {
  top: 14px;
}

.burger.is-active .burger__line:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.burger.is-active .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.is-active .burger__line:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.header__dropdown {
  position: absolute;
  width: 100%;
  overflow: hidden;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  transition:
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header__dropdown.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.header__dropdown-inner {
  max-height: calc(100dvh - 80px - 5rem);
  overflow-y: auto;
  padding: 9px 17px;
  border-radius: 22px;
  border: 1px solid rgba(155, 232, 216, 0.18);
  background: rgba(10, 22, 45, 0.5);
  backdrop-filter: blur(9px);
}

.header__dropdown-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 2rem;
}

.header__dropdown-item {
  border-bottom: 1px solid rgba(155, 232, 216, 0.12);
}

.header__dropdown-item:last-child {
  border-bottom: 0;
}

.header__dropdown-link {
  display: block;
  padding: 12px 4px;
  color: rgba(242, 247, 250, 0.9);
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header__dropdown-link:hover,
.header__dropdown-link:focus-visible {
  color: #9be8d8;
  text-shadow: 0 0 14px rgba(155, 232, 216, 0.6);
}

@media (min-width: 768px) {
  .header {
    padding: 22px 26px 0;
  }

  .header__inner {
    padding: 13px 20px;
    border-radius: 26px;
    background: rgba(10, 22, 45, 0.22);
    backdrop-filter: blur(7px);
  }

  .header__logo img {
    height: 48px;
  }

  .header__dropdown {
    margin-top: 12px;
  }

  .header__search.is-open {
    margin-top: 12px;
  }

  .header__search-form {
    padding: 11px 25px;
  }

  .header__dropdown-inner {
    padding: 11px 25px;
    border-radius: 26px;
  }

  .header__dropdown-list {
    grid-template-columns: 1fr 1fr;
  }

  .header__dropdown-item:nth-last-child(2):nth-child(odd) {
    border-bottom: 0;
  }

  .header__dropdown-link {
    font-size: 14px;
  }

  .header__search-btn {
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 600;
  }

  .header__search-input {
    font-size: 15px;
  }

  .header__search-toggle {
    width: 18px;
    height: 18px;
  }
}

@media (min-width: 1024px) {
  .header {
    padding: 24px 48px 0;
  }

  .header__inner {
    gap: 2rem;
    padding: 15px 29px;
    border-radius: 32px;
    background: rgba(10, 22, 45, 0.16);
  }

  .header__logo img {
    height: 52px;
  }

  .lang__toggle {
    gap: 8px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .header__search-form {
    padding: 16px 25px;
  }

  .header__search-btn {
    font-size: 16px;
  }

  .header__search-input {
    font-size: 16px;
  }

  .header__search-toggle {
    width: 20px;
    height: 20px;
  }

  .header__actions {
    gap: 16px;
  }
}

@media (min-width: 1370px) {
  .burger {
    display: none;
  }

  .header__dropdown {
    display: none;
  }

  .header__nav {
    display: block;
    flex: 1 1 auto;
  }
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 132px 0 110px;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(6, 13, 31, 0.6) 0%,
    rgba(6, 13, 31, 0) 30%,
    rgba(6, 13, 31, 0) 65%,
    rgba(6, 13, 31, 0.85) 100%
  );
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.hero__tagline,
.hero__title,
.hero__subtitle,
.hero__search {
  animation: 1.2s ease 0s 1 normal backwards running hero-fade-in;
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: 'JetBrains_Mono';
  color: rgba(155, 232, 216, 0.9);
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 2.64px;
  text-transform: uppercase;
}

.hero__tagline-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ef0b4;
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(120, 240, 180, 0.7);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 0 6px rgba(120, 240, 180, 0);
  }
}

.hero__title {
  position: relative;
  color: #fff;
  font-family: 'Tenor_Sans';
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  background: linear-gradient(180deg, #fff 0%, #e4f3ef 55%, #b7ece0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title-shadow {
  position: absolute;
  inset: 0;
  z-index: -1;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow:
    0 1px 3px rgba(6, 13, 31, 0.54),
    0 12px 34px rgba(6, 13, 31, 0.5),
    0 2px 10px rgba(6, 13, 31, 0.44);
}

.hero__subtitle {
  margin-bottom: 6px;
  color: rgba(223, 233, 242, 0.85);
  font-size: 14px;
  font-weight: 300;
  line-height: 19px;
  text-wrap: balance;
}

.hero__search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 594px;
  margin-inline: auto;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(155, 232, 216, 0.35);
  background: rgba(10, 22, 45, 0.4);
  backdrop-filter: blur(3.5px);
  transition: box-shadow 0.3s ease-in-out;
}

.hero__search:hover {
  box-shadow: 0 0 46px 0 rgba(155, 232, 216, 0.38);
}

.hero__search-icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: rgba(223, 233, 242, 0.65);
}

.hero__search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: none;
  color: #fff;
  font-size: 13px;
}

.hero__search-input::placeholder {
  color: #9aa7b4;
}

.hero__search-input:focus {
  outline: none;
}

.hero__search-input::-webkit-search-cancel-button {
  display: none;
}

.hero__search-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 9999px;
  background: rgba(155, 232, 216, 0.18);
  color: #9be8d8;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 16px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__search-btn:hover,
.hero__search-btn:focus-visible {
  background: rgba(155, 232, 216, 0.3);
}

.hero__arrow {
  display: none;
}

@media (min-width: 768px) {
  .hero {
    align-items: center;
    padding: 165px 0 128px;
  }

  .hero__img {
    object-position: top;
  }

  .hero__tagline {
    margin-bottom: 0;
    font-size: 14px;
    letter-spacing: 3.84px;
  }

  .hero__title {
    margin-bottom: 6px;
    font-size: 50px;
  }

  .hero__subtitle {
    margin-bottom: 9px;
    color: rgba(251, 251, 251, 0.92);
    font-size: 18px;
    line-height: 29.45px;
  }

  .hero__search {
    padding: 9px 9px 9px 25px;
    background: rgba(10, 22, 45, 0.16);
    backdrop-filter: blur(4.5px);
  }

  .hero__search-icon {
    width: 18px;
    height: 18px;
    color: #9be8d8;
  }

  .hero__search-input {
    font-size: 16px;
  }

  .hero__search-btn {
    padding: 12px 26px;
    font-size: 16px;
    line-height: normal;
  }
}

@media (min-width: 1024px) {
  .hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: calc(100svh + 40px);
  }

  .hero__container {
    gap: 24px;
  }

  .hero__img {
    object-position: center;
  }

  .hero__tagline {
    font-size: 16px;
    letter-spacing: 7px;
  }

  .hero__title {
    margin-bottom: 2px;
    font-size: 84px;
    letter-spacing: 0.84px;
  }

  .hero__subtitle {
    margin-bottom: 10px;
  }

  .hero__arrow {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(246, 250, 252, 0.5);
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.959px;
    text-decoration: none;
    cursor: pointer;
    animation: hero-arrow-blink 1.6s ease-in-out infinite;
    transition: color 0.2s ease;
  }

  .hero__arrow:hover,
  .hero__arrow:focus-visible {
    color: rgba(246, 250, 252, 0.9);
  }

  .hero__arrow:focus-visible {
    outline: 2px solid rgba(246, 250, 252, 0.9);
    outline-offset: 6px;
    border-radius: 4px;
  }
}

@keyframes hero-arrow-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__container {
    animation: none;
  }

  .hero__arrow {
    animation: none;
    transition: none;
  }
}

.footer {
  padding-inline: 20px;
  background: #060d1f;
}

.footer__container {
  width: 100%;
  max-width: 1824px;
  margin-inline: auto;
  padding-block: 14px 24px;
  color: #fff;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__brand-logo {
  flex-shrink: 0;
  width: auto;
  height: 45px;
}

.footer__brand-text {
  color: rgba(242, 247, 250, 0.9);
  font-family: 'Tenor_Sans';
  font-size: 12px;
  font-weight: 400;
  line-height: 17.308px;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.footer__title {
  margin-bottom: 12px;
  white-space: nowrap;
  color: rgba(155, 232, 216, 0.7);
  font-family: 'JetBrains_Mono';
  font-size: 12px;
  font-weight: 300;
  line-height: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.footer__list {
  display: grid;
  gap: 10px;
}

.footer__link {
  display: inline-block;
  color: rgba(223, 233, 242, 0.75);
  font-size: 12px;
  font-weight: 300;
  line-height: 18px;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__link:hover,
.footer__link:focus-visible {
  color: #9be8d8;
  text-shadow: 0 0 14px rgba(155, 232, 216, 0.6);
}

.footer__partners {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.footer__partner {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__partner-logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer__partner-text {
  color: rgba(223, 233, 242, 0.55);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 16px;
}

.footer__partner:hover .footer__partner-text,
.footer__partner:focus-visible .footer__partner-text {
  text-decoration: underline;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__socials-list {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(223, 233, 242, 0.14);
  background: rgba(255, 255, 255, 0.05);
  transition:
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__social:hover,
.footer__social:focus-visible {
  border-color: #fff;
}

.footer__social img {
  width: auto;
  max-width: 15px;
  height: 15px;
}

.footer__socials-text {
  text-wrap: balance;
  color: rgba(223, 233, 242, 0.7);
  font-size: 14px;
  line-height: normal;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(223, 233, 242, 0.08);
}

.footer__copyright,
.footer__legal {
  color: rgba(223, 233, 242, 0.4);
  font-size: 11px;
  font-weight: 300;
  line-height: 16px;
}

@media (min-width: 768px) {
  .footer {
    padding-inline: 48px;
    border-radius: 40px 40px 0 0;
  }

  .footer__container {
    padding-block: 44px 30px;
  }

  .footer__inner {
    gap: 26px;
  }

  .footer__brand-logo {
    height: 60px;
  }

  .footer__brand-text {
    font-size: 16px;
    line-height: 1.4;
  }

  .footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 36px;
  }

  .footer__list {
    gap: 8px;
  }

  .footer__title {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 400;
  }

  .footer__link {
    font-size: 14px;
  }

  .footer__partners {
    gap: 12px;
  }

  .footer__partner-logo {
    width: 46px;
    height: 46px;
  }

  .footer__partner-text {
    max-width: 410px;
    font-size: 14px;
    line-height: 1.24;
  }

  .footer__socials-text {
    font-size: 14px;
  }

  .footer__bottom {
    margin-top: 22px;
    padding-top: 16px;
  }

  .footer__copyright,
  .footer__legal {
    font-size: 13px;
    line-height: 20.8px;
  }
}

@media (min-width: 1370px) {
  .footer {
    border-radius: 0;
  }

  .footer__container {
    padding-block: 40px 36px;
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(24px, 2.5vw, 40px);
    align-items: start;
  }

  .footer__brand {
    gap: 14px;
  }

  .footer__brand-text {
    font-size: 15px;
    line-height: 1.35;
  }

  .footer__nav {
    grid-template-columns: repeat(3, max-content);
    gap: 0 clamp(24px, 3vw, 40px);
  }

  .footer__title {
    margin-bottom: 16px;
  }

  .footer__list {
    gap: 10px;
  }

  .footer__partners {
    gap: 16px;
  }

  .footer__partner-logo {
    width: 52px;
    height: 52px;
  }

  .footer__partner-text {
    max-width: unset;
  }

  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 44px;
    padding-top: 20px;
  }

  .footer__copyright,
  .footer__legal {
    font-size: 12px;
  }
}

@media (min-width: 1400px) {
  .footer__inner {
    grid-template-columns: 1.5fr 3fr 1.5fr;
    gap: 40px;
  }

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

#after-hero {
  position: relative;
  z-index: 1;
  margin-top: -30px;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: #eff4f7;
}

.seasons {
  position: relative;
  padding: 28px 0;
}

.seasons__bg {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  pointer-events: none;
}

.seasons__decor {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 200px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(rgba(239, 244, 247, 0) 0%, rgb(239, 244, 247) 100%);
}

.seasons .section__header {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  #after-hero {
    margin-top: -40px;
    border-radius: 44px 44px 0 0;
  }

  .seasons {
    padding: 58px 0 40px;
  }
}

@media (min-width: 1024px) {
  .seasons {
    padding: 110px 0 42px;
  }
}

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

.section__title {
  color: #0e2233;
  font-family: 'Tenor_Sans';
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
}

.section__subtitle {
  color: #6e86a6;
  font-family: 'JetBrains_Mono';
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 2.86px;
  text-transform: uppercase;
}

.section__link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1e6e68;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  transition: color 0.3s ease-in-out;
}

.section__link:hover {
  color: #0e2233;
}

@media (min-width: 768px) {
  .section__header {
    gap: 4px;
  }

  .section__title {
    font-size: 34px;
    line-height: normal;
  }

  .section__subtitle {
    font-size: 10px;
    line-height: normal;
    letter-spacing: 2.2px;
  }
}

@media (min-width: 1024px) {
  .section__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .section__title {
    font-size: 38px;
  }

  .section__subtitle {
    font-size: 14px;
    line-height: normal;
    letter-spacing: 3.08px;
  }

  .section__link {
    font-size: 16px;
  }
}

.seasons__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.seasons__item {
  --season: #2e86c7;
  --season-rgb: 168, 209, 240;
  --season-soft: rgba(46, 134, 199, 0.5);
  --season-bg: linear-gradient(90deg, transparent, rgba(155, 232, 216, 0.5), transparent);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px 10px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 6px 18px 0 rgba(46, 111, 180, 0.05);
  backdrop-filter: blur(3px);
  animation: season-glow 4.5s ease-in-out infinite var(--season-glow-delay, 0s);
}

@keyframes season-glow {
  0%,
  100% {
    border-color: rgba(var(--season-rgb), 0.25);
    box-shadow:
      0 6px 18px 0 rgba(46, 111, 180, 0.05),
      0 0 16px rgba(var(--season-rgb), 0.07);
  }

  50% {
    border-color: rgba(var(--season-rgb), 0.5);
    box-shadow:
      0 6px 18px 0 rgba(46, 111, 180, 0.05),
      0 0 22px rgba(var(--season-rgb), 0.18);
  }
}

.seasons__item-bg {
  display: none;
  background: var(--season-bg);
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  width: 30%;
  animation: 5s ease-in-out 0s infinite normal none running season-sheen;
  pointer-events: none;
  z-index: 0;
}

@keyframes season-sheen {
  0% {
    transform: translateX(-140%) skewX(-18deg);
  }

  60%,
  100% {
    transform: translateX(260%) skewX(-18deg);
  }
}

.seasons__item.current .seasons__item-bg {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .seasons__item,
  .seasons__item.current,
  .seasons__item.current .seasons__item-bg,
  .seasons__item-line__progress,
  .events__bg {
    animation: none;
  }

  .seasons__item.current .seasons__item-bg {
    display: none;
  }
}

.seasons__item-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.seasons__item-title > img {
  width: 52px;
  height: 55px;
  object-fit: contain;
}

.seasons__item-title > h3 {
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.942px;
  text-transform: uppercase;
}

.seasons__item-title > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: currentColor;
  font-family: 'JetBrains_Mono';
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.324px;
  text-transform: uppercase;
}

.seasons__item-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  color: currentColor;
  text-align: right;
}

.seasons__item-status > span {
  font-family: 'JetBrains_Mono';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 1.13px;
  text-transform: uppercase;
}

.seasons__item-status-text {
  font-family: 'Tenor_Sans';
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.459px;
}

.seasons__item-status-text + p {
  font-size: 14px;
  line-height: normal;
  letter-spacing: 0.848px;
}

.seasons__item.current .seasons__item-status > span {
  width: 6px;
  height: 6px;
  margin-bottom: 5px;
  border-radius: 50%;
  background-color: currentColor;
  animation: season-dot 1.4s ease-in-out infinite;
}

@keyframes season-dot {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(var(--season-rgb), 0.7);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 0 6px rgba(var(--season-rgb), 0);
  }
}

.seasons__item.current .seasons__item-status > p {
  font-size: 22px;
  letter-spacing: 0.218px;
}

.seasons__item.siyanie {
  --season: #1e9e8a;
  --season-rgb: 56, 199, 171;
  --season-soft: rgba(155, 232, 216, 0.5);
  --season-glow-delay: 0s;

  color: var(--season);
}

.seasons__item.nochi {
  --season: #ed9474;
  --season-rgb: 237, 148, 116;
  --season-soft: rgba(247, 199, 181, 0.5);
  --season-glow-delay: 1.2s;

  color: var(--season);
}

.seasons__item.ledoxod {
  --season: #2e86c7;
  --season-rgb: 79, 166, 224;
  --season-soft: rgba(168, 209, 240, 0.5);
  --season-glow-delay: 2.4s;

  color: var(--season);
}

.seasons__item-line {
  --days: 0;
  --scale: 365;
  --progress: clamp(0, (var(--scale) - var(--days)) / var(--scale), 1);

  position: relative;
  display: flex;
  align-items: center;
  grid-column: 1 / -1;
  width: 100%;
  height: 8px;
  color: inherit;
}

.seasons__item-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  transform: translateY(-50%);
  border-top: 1px dashed currentColor;
  opacity: 0.35;
}

.seasons__item-line__progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  width: calc(var(--progress) * 100%);
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    currentColor 0%,
    currentColor 26%,
    rgba(255, 255, 255, 0.22) 50%,
    currentColor 74%,
    currentColor 100%
  );
  background-size: 220% 100%;
  animation:
    line-shimmer 5.5s linear infinite,
    line-blink 1.8s ease-in-out infinite;
}

@keyframes line-shimmer {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

@keyframes line-blink {
  0%,
  100% {
    filter: brightness(1) saturate(1);
  }

  50% {
    filter: brightness(1.55) saturate(1.35);
  }
}

.seasons__item-line__progress::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3px 0px 3px 6px;
  border-color: transparent transparent transparent currentColor;
}

.seasons__item-line__end {
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  transform: translate(50%, -50%);
  border-radius: 50%;
  background-color: currentColor;
}

.seasons__item.current .seasons__item-line {
  --progress: 1;
}

.seasons__item.current .seasons__item-line::before {
  content: none;
}

.seasons__item.current .seasons__item-line__progress::after {
  content: none;
}

@media (min-width: 768px) {
  .seasons__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .seasons__item.current {
    grid-column: 1 / -1;
  }

  .seasons__item {
    padding: 25px 27px 21px 27px;
    border-radius: 20px;
    background: linear-gradient(
      104deg,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.12) 50%,
      rgba(255, 255, 255, 0.32) 100%
    );
    box-shadow: 0 10px 30px 0 rgba(46, 111, 180, 0.06);
    backdrop-filter: blur(4px);
  }

  .seasons__item-title {
    gap: 6px;
  }

  .seasons__item-title > img {
    width: 58px;
    height: 62px;
    margin-bottom: 6px;
  }

  .seasons__item-title > h3 {
    letter-spacing: 1.17px;
  }

  .seasons__item-title > div {
    letter-spacing: 0.4px;
  }

  .seasons__item-status {
    gap: 6px;
  }

  .seasons__item-status > span {
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .seasons__item.current .seasons__item-status > span {
    width: 9px;
    height: 9px;
    margin-bottom: 3px;
  }

  .seasons__item.current .seasons__item-status > p {
    font-size: 26px;
  }

  .seasons__item-line__end {
    width: 9px;
    height: 9px;
  }

  .seasons__item-line__progress::after {
    border-width: 5px 0px 5px 11px;
  }
}

@media (min-width: 1024px) {
  .seasons__item {
    padding: 27px 31px;
    border-radius: 22px;
    background: linear-gradient(
      104deg,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.12) 50%,
      rgba(255, 255, 255, 0.32) 100%
    );
    box-shadow: 0 10px 30px 0 rgba(46, 111, 180, 0.06);
    backdrop-filter: blur(4px);
  }

  .seasons__item-title > img {
    width: 88px;
    height: 94px;
  }

  .seasons__item-title > h3 {
    font-size: 18px;
    letter-spacing: 1.6px;
  }

  .seasons__item-title > div {
    font-size: 14px;
    line-height: normal;
    letter-spacing: 0.55px;
  }

  .seasons__item-status {
    gap: 6px;
  }

  .seasons__item-status > span {
    font-size: 14px;
    letter-spacing: 1.44px;
  }

  .seasons__item.current .seasons__item-status > span {
    width: 10px;
    height: 10px;
    margin-bottom: 3px;
  }

  .seasons__item.current .seasons__item-status > p {
    font-size: 37px;
  }

  .seasons__item-status-text {
    font-size: 78px;
    letter-spacing: 0.78px;
  }

  .seasons__item-status-text + p {
    font-size: 18px;
    letter-spacing: 1.44px;
  }
}

@media (min-width: 1200px) {
  .seasons__items {
    grid-template-columns: repeat(3, 1fr);
  }

  .seasons__item.current {
    grid-column: 1 / 2;
  }
}

.events {
  position: relative;
  isolation: isolate;
}

.events__bg {
  display: none;
}

.events__items {
  --events-gap: 12px;
  --events-edge: 20px;

  display: flex;
  align-items: stretch;
  gap: var(--events-gap);
  margin-inline: calc(-1 * var(--events-edge));
  padding-inline: var(--events-edge);
  padding-block: 24px 76px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--events-edge);
  scrollbar-width: none;
}

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

.events__item {
  --tilt: -1deg;

  flex: 0 0 252px;
  width: 252px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 9px;
  border-radius: 5px;
  background: #f6fafc;
  box-shadow: 0 13.23px 29.401px 0 rgba(14, 34, 51, 0.22);
  rotate: var(--tilt);
  overflow: hidden;
  transition:
    box-shadow 0.3s ease-in-out,
    background 0.3s ease-in-out;
}

.events__item:nth-child(even) {
  --tilt: 1deg;
}

.events__image {
  overflow: hidden;
  border-radius: 3px;
}

.events__image img {
  width: 100%;
  aspect-ratio: 320 / 274;
  object-fit: cover;
  filter: saturate(0.85);
  transition: filter 0.4s ease-in-out;
}

.events__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 10px;
}

.events-date {
  color: #1e6e68;
  font-family: 'Jetbrains_Mono';
  font-size: 11px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1.323px;
  text-transform: uppercase;
}

.events-title {
  color: #0e2233;
  font-family: 'Tenor_Sans';
  font-size: 14px;
  font-weight: 400;
  line-height: 118.129%;
  hyphens: auto;
  overflow-wrap: break-word;
}

.events-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: #1e6e68;
  font-size: 11px;
  font-weight: 600;
  line-height: normal;
  transition: all 0.3s ease;
}

.events-link:hover {
  color: #0e2233;
}

.events-link svg {
  transition: transform 0.5s ease;
}

.events__item:hover {
  box-shadow: 0 26px 54px 0 rgba(30, 110, 104, 0.3);
  animation: events-sway 2.4s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

.events__item:hover .events__image img {
  filter: saturate(1.45);
}

@keyframes events-sway {
  0% {
    rotate: var(--tilt);
  }

  15% {
    rotate: calc(var(--tilt) - 0.8deg);
  }

  40% {
    rotate: calc(var(--tilt) + 1.6deg);
  }

  65% {
    rotate: calc(var(--tilt) - 1.6deg);
  }

  90% {
    rotate: calc(var(--tilt) + 1deg);
  }

  100% {
    rotate: var(--tilt);
  }
}

@media (prefers-reduced-motion: reduce) {
  .events__item:hover {
    animation: none;
  }
}

.events__item:hover .events-link {
  font-weight: 700;
}

.events__item:hover .events-link svg {
  transform: translateX(50%);
}

@media (min-width: 768px) {
  .events__items {
    --events-gap: 20px;
    --events-edge: 48px;
  }

  .events .section__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .events__item {
    display: flex;
    flex-direction: column;
    padding: 12px 12px 18px;
    border-radius: 6px;
    box-shadow: 0 18px 40px 0 rgba(14, 34, 51, 0.22);
  }

  .events__content {
    gap: 8px;
  }

  .events-date {
    font-size: 10px;
    letter-spacing: 1.52px;
  }

  .events-title {
    font-size: 19px;
    line-height: 1.28;
  }

  .events-link {
    font-size: 12px;
  }
}

@media (min-width: 1024px) {
  .events {
    padding: 70px 0 0;
  }

  .events__bg {
    display: block;
    position: absolute;
    z-index: -1;
    top: 30px;
    left: 70%;
    width: 302px;
    height: 285px;
    background-image: url('../assets/img/events-bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    animation: events-bg-blink 4s ease-in-out infinite;
  }

  @keyframes events-bg-blink {
    0%,
    100% {
      opacity: 0.9;
      transform: scale(1);
    }

    50% {
      opacity: 0.4;
      transform: scale(0.94);
    }
  }

  .events__items {
    --events-gap: 24px;
  }

  .events .section__header {
    align-items: flex-end;
  }

  .events-date {
    font-size: 14px;
    letter-spacing: 1.8px;
  }

  .events-title {
    font-size: 18px;
    line-height: 1.25;
  }

  .events-link {
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .events__item {
    flex: 1;
    width: auto;
  }
}

.vizits {
  padding-block: 0 40px;
}

.vizits__slider {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 20px;
}

.vizits__glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.22)
  );
  box-shadow: inset 0 0 90px rgba(255, 255, 255, 0.35);
  opacity: 0;
  pointer-events: none;
}

.vizits__glass.is-active {
  animation: vizits-glass-clear 2.2s cubic-bezier(0.33, 0, 0.15, 1) forwards;
}

.vizits .section__subtitle {
  color: #5a7484;
  font-family: 'Onest';
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
}

@keyframes vizits-glass-clear {
  0% {
    opacity: 1;
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
  }

  100% {
    opacity: 0;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vizits__glass.is-active {
    animation: none;
  }
}

.vizits__item {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 420px;
  border-radius: 12px;
  overflow: hidden;
  background: #0e2233;
  transition: box-shadow 0.4s ease-in-out;
}

.vizits-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.vizits-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vizits__item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(14, 34, 51, 0.35) 0%,
    rgba(14, 34, 51, 0) 35%,
    rgba(14, 34, 51, 0.55) 72%,
    rgba(14, 34, 51, 0.88) 100%
  );
  pointer-events: none;
}

.vizits-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: flex-end;
  width: 100%;
  padding: 0 20px 20px;
}

.vizits-content h4 {
  color: #f6fafc;
  font-family: 'Tenor_Sans';
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.vizits-content p {
  max-width: 640px;
  color: rgba(223, 233, 242, 0.8);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.33;
}

.vizits-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: #9be8d8;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.28;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

.vizits-link svg {
  width: 14px;
  height: 10px;
}

.vizits-link:hover {
  color: #fff;
}

.vizits__slider .vizits__pagination {
  position: absolute;
  z-index: 4;
  top: 20px;
  bottom: auto;
  left: 20px;
  right: auto;
  display: flex;
  gap: 7px;
  width: auto;
}

.vizits__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 4px;
  margin: 0 !important;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition:
    background 0.3s ease-in-out,
    width 0.3s ease-in-out;
}

.vizits__pagination .swiper-pagination-bullet-active {
  width: 34px;
  background: #9be8d8;
}

.vizits__nav {
  display: none;
  position: absolute;
  z-index: 4;
  top: 50%;
  translate: 0 -50%;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 50%;
  border: 1px solid rgba(155, 232, 216, 0.5);
  background: rgba(6, 13, 31, 0.18);
  backdrop-filter: blur(5px);
  color: #9be8d8;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.vizits__nav svg {
  margin-inline: auto;
}

.vizits__nav:hover {
  scale: 1.12;
  box-shadow: 0 0 50px 0 rgba(155, 232, 216, 0.5);
  backdrop-filter: blur(5px);
}

.vizits__nav.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}

.vizits__nav--prev {
  left: 16px;
}

.vizits__nav--next {
  right: 16px;
}

@media (min-width: 768px) {
  .vizits__slider {
    margin-top: 24px;
    border-radius: 22px;
  }

  .vizits__item {
    min-height: 620px;
  }

  .vizits__slider .vizits__pagination {
    top: 32px;
    left: auto;
    right: 14px;
  }

  .vizits-content {
    gap: 8px;
    padding: 0 10px 20px 28px;
  }

  .vizits-content h4 {
    font-size: 22px;
  }

  .vizits-content p {
    font-size: 16px;
  }

  .vizits-link {
    margin-top: 6px;
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .vizits {
    position: relative;
    padding-block: 0 70px;
  }

  .vizits::before,
  .vizits::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
  }

  .vizits::before {
    left: 0;
    background: radial-gradient(
      58% 58% at 38% 42%,
      rgba(124, 232, 176, 0.62) 0%,
      rgba(143, 224, 234, 0.48) 44%,
      rgba(169, 198, 255, 0.34) 66%,
      rgba(169, 198, 255, 0) 82%
    );
    filter: blur(45px);
    transform: translateY(-25%);
  }

  .vizits::after {
    right: 0;
    background: radial-gradient(
      62% 62% at 66% 34%,
      rgba(206, 150, 240, 0.6) 0%,
      rgba(169, 198, 255, 0.5) 42%,
      rgba(143, 224, 234, 0.34) 66%,
      rgba(143, 224, 234, 0) 82%
    );
    filter: blur(42.5px);
    transform: translateY(-5%);
  }

  .vizits .section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .vizits .section__subtitle {
    font-size: 18px;
    line-height: normal;
  }

  .vizits__item {
    min-height: 880px;
  }

  .vizits__slider {
    border-radius: 26px;
  }

  .vizits__slider .vizits__pagination {
    top: 45px;
    right: 30px;
  }

  .vizits__nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .vizits-content {
    padding: 0 32px 58px;
  }

  .vizits-content h4 {
    font-size: 28px;
  }

  .vizits-content p {
    font-size: 18px;
  }

  .vizits-link {
    font-size: 16px;
    border-bottom: 1px solid currentColor;
    align-self: flex-start;
  }
}

.video-section {
  padding-block: 20px 40px;
}

.video-section__player {
  position: relative;
  margin-top: 20px;
  aspect-ratio: 350 / 260;
  border-radius: 20px;
  overflow: hidden;
  background: #0e2233;
}

.video-section__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-section__play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(155, 232, 216, 0.5);
  background: rgba(155, 232, 216, 0.12);
  backdrop-filter: blur(3px);
  border-radius: 50%;
  color: #9be8d8;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.video-section__play:hover {
  box-shadow: 0 0 50px 0 rgba(155, 232, 216, 0.5);
  backdrop-filter: blur(5px);
  transform: scale(1.05);
}

.video-section__play svg {
  width: 8px;
  height: 10px;
}

.video-section__player iframe,
.video-section__player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-section__player video {
  object-fit: cover;
}

.video-section__player.is-playing .video-section__poster,
.video-section__player.is-playing .video-section__play {
  display: none;
}

@media (min-width: 768px) {
  .video-section__player {
    margin-top: 24px;
    border-radius: 22px;
    aspect-ratio: 16 / 9;
  }

  .video-section__play {
    width: 74px;
    height: 74px;
  }

  .video-section__play svg {
    width: 12px;
    height: 14px;
  }
}

@media (min-width: 1024px) {
  .video-section {
    padding-block: 40px 70px;
  }

  .video-section__player {
    border-radius: 32px;
    width: 100%;
    height: 880px;
  }

  .video-section__play {
    width: 94px;
    height: 94px;
  }

  .video-section__play svg {
    width: 14px;
    height: 16px;
  }
}

.page__secondary .hero {
  height: auto;
  padding: 167px 0 80px;
}

.page__secondary .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 13, 31, 0.62) 0%,
    rgba(6, 13, 31, 0.2) 35%,
    rgba(6, 13, 31, 0.38) 72%,
    #060d1f 100%
  );
}

.page__secondary #after-hero > .container {
  padding-block: 28px 18px;
}

@media (min-width: 768px) {
  .page__secondary .hero {
    padding: 167px 0 80px;
  }

  .page__secondary #after-hero > .container {
    padding-block: 28px 50px;
  }
}

@media (min-width: 1024px) {
  .page__secondary .hero {
    padding: 180px 0 82px;
  }

  .page__secondary #after-hero > .container {
    padding-block: 38px 100px;
  }
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 30px;
}

.breadcrumb__item {
  color: rgba(223, 233, 242, 0.6);
  text-align: center;
  font-family: 'JetBrains_Mono';
  font-size: 9.5px;
  font-style: normal;
  font-weight: 400;
  line-height: 136.842%;
  letter-spacing: 2.64px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.breadcrumb__item:hover {
  color: #9be8d8;
}

.breadcrumb__item a {
  color: currentColor;
}

.breadcrumb__item:not(:last-child) {
  position: relative;
}

.breadcrumb__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -20px;
  background: currentColor;
  width: 6px;
  height: 1px;
}

@media (min-width: 768px) {
  .breadcrumb__item {
    font-size: 12px;
    line-height: 108.333%;
    letter-spacing: 2.88px;
  }

  .breadcrumb__item:not(:last-child)::after {
    width: 7px;
  }
}

@media (min-width: 1024px) {
  .breadcrumb__item {
    font-size: 14px;
    line-height: 1.14;
    letter-spacing: 4.48px;
  }

  .breadcrumb__item:not(:last-child)::after {
    right: -16px;
    width: 8px;
  }
}

.map__text {
  color: #5a7484;
  font-size: 14px;
  line-height: 157.143%;
}

.map__routes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map__images img {
  border-radius: 32px;
  box-shadow: 0 24px 60px 0 rgba(14, 34, 51, 0.22);
}

.map__routes-note {
  color: #7c93a2;
  font-size: 12.5px;
  line-height: normal;
}

.map__routes-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(
    112deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.34) 36%,
    rgba(255, 255, 255, 0.6) 100%
  );
  box-shadow:
    0 1.025px 0 1.025px rgba(255, 255, 255, 0.92) inset,
    0 20.505px 51.262px 0 rgba(46, 120, 140, 0.36);
  backdrop-filter: blur(6px);
}

.map__routes-info__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map__routes-info__item > img {
  max-height: 13px;
}

.map__routes-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 10px 28px;
  border-radius: 20px;
  border: 0.778px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(
    158deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.34) 42%,
    rgba(255, 255, 255, 0.6) 100%
  );
  box-shadow:
    0 0.778px 0 0.778px rgba(255, 255, 255, 0.92) inset,
    0 15.556px 38.889px 0 rgba(46, 120, 140, 0.14);
  backdrop-filter: blur(8px);
}

.map__routes-items__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map__routes-items__header-subtitle {
  color: #5f8a84;
  font-family: 'JetBrains_Mono';
  font-size: 10.889px;
  line-height: normal;
  letter-spacing: 2.396px;
  text-transform: uppercase;
}

.map__routes-items__header-title {
  color: #12332f;
  font-family: 'Tenor_Sans';
  font-size: 24.889px;
  line-height: 1;
}

.map__routes-items__wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map__routes-items__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.map__routes-items__item-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 0.778px solid #ceeee6;
  background: #e5f2ef;
  color: #3c566b;
  font-size: 12.444px;
  font-weight: 500;
  line-height: normal;
}

.map__routes-items__item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #7c93a2;
}

.map__routes-items__item-text > p:first-child {
  font-family: 'JetBrains_Mono';
  font-size: 10.889px;
  line-height: normal;
  letter-spacing: 1.307px;
  text-transform: uppercase;
}

.map__routes-items__item-text > p:last-child {
  color: #0e2233;
  font-size: 14px;
  line-height: 1.3;
}

.map__routes-items__item.active {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 7.778px 18.667px 0 rgba(30, 110, 104, 0.14);
}

.map__routes-items__item.active .map__routes-items__item-number {
  border-color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(150deg, #45d6b4 0%, #1e9e8a 100%);
  color: #fff;
}

@media (min-width: 768px) {
}

@media (min-width: 1024px) {
  .map__text {
    font-size: 16px;
  }
}

.dosug {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dosug__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.dosug__item {
  --dosug-accent: 30, 158, 138;
  --dosug-border: rgba(var(--dosug-accent), 0.16);
  --dosug-link: rgba(var(--dosug-accent), 0.5);
  --dosug-icon-bg: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(var(--dosug-accent), 0.12) 100%
  );
  --dosug-bg: linear-gradient(130deg, #fff 0%, #f4fbf8 100%);
  --dosug-shadow:
    0 1.131px 1.508px 0.754px rgba(255, 255, 255, 0.6) inset,
    0 -7.542px 15.085px 0.754px rgba(30, 158, 138, 0.1) inset,
    0 0 0 1.131px rgba(30, 158, 138, 0.28), 0 7.542px 16.593px 0 rgba(46, 80, 140, 0.12);

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px 25px;
  border-radius: 22px;
  border: 1px solid var(--dosug-border);
  background: var(--dosug-bg);
  box-shadow: 0 14px 34px 0 rgba(46, 80, 140, 0.08);
  color: #62788c;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.33;
  transform: translateY(0);
  transition: all 0.25s ease;
}

.dosug__item:hover {
  --dosug-border: rgba(var(--dosug-accent), 0.45);
  --dosug-link: rgba(var(--dosug-accent), 1);

  transform: translateY(-4px);
}

.dosug__item--2 {
  --dosug-accent: 74, 123, 209;
  --dosug-bg: linear-gradient(130deg, #fff 0%, #f4f7fd 100%);
  --dosug-shadow:
    0 1.132px 1.509px 0.755px rgba(255, 255, 255, 0.6) inset,
    0 -7.547px 15.094px 0.755px rgba(74, 123, 209, 0.1) inset,
    0 0 0 1.132px rgba(74, 123, 209, 0.28), 0 7.547px 16.604px 0 rgba(46, 80, 140, 0.12);
}

.dosug__item--3 {
  --dosug-accent: 138, 107, 209;
  --dosug-bg: linear-gradient(130deg, #fff 0%, #f7f4fd 100%);
  --dosug-shadow:
    0 1.132px 1.509px 0.755px rgba(255, 255, 255, 0.6) inset,
    0 -7.547px 15.094px 0.755px rgba(138, 107, 209, 0.1) inset,
    0 0 0 1.132px rgba(138, 107, 209, 0.28), 0 7.547px 16.604px 0 rgba(46, 80, 140, 0.12);
}

.dosug__item--4 {
  --dosug-accent: 216, 94, 72;
  --dosug-bg: linear-gradient(130deg, #fff 0%, #fdf5f3 100%);
  --dosug-shadow:
    0 1.132px 1.509px 0.755px rgba(255, 255, 255, 0.6) inset,
    0 -7.547px 15.094px 0.755px rgba(216, 94, 72, 0.1) inset, 0 0 0 1.132px rgba(216, 94, 72, 0.28),
    0 7.547px 16.604px 0 rgba(46, 80, 140, 0.12);
}

.dosug__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 0.66px solid var(--dosug-shadow);
  box-shadow: var(--dosug-shadow);
  background: var(--dosug-icon-bg);
  backdrop-filter: blur(4px);
  transition: border-color 0.25s ease;
}

.dosug__title {
  margin-bottom: 4px;
  color: #1b3a5c;
  font-family: 'Tenor_Sans';
  font-size: 22px;
  font-weight: 400;
  line-height: 1.125;
}

.dosug__text {
  color: #62788c;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.33;
}

.dosug__link {
  align-self: flex-end;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--dosug-link);
  background: #fff;
  color: var(--dosug-link);
  transition:
    border-color 0.25s ease,
    color 0.25s ease;
}

.dosug__link a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dosug__item-link {
  position: absolute;
  inset: 0;
}

@media (min-width: 768px) {
  .dosug__items {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .dosug__item {
    padding: 15px 14px;
  }

  .dosug__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
  }

  .dosug__icon img,
  .dosug__icon svg {
    max-height: 22px;
  }

  .dosug__title {
    font-size: 17px;
  }

  .dosug__text {
    max-width: 50%;
    font-size: 11px;
  }

  .dosug__link {
    width: 36px;
    height: 36px;
    margin-top: -18px;
  }
}

@media (min-width: 1200px) {
  .dosug {
    gap: 48px;
  }

  .dosug__items {
    grid-template-columns: repeat(4, 1fr);
  }

  .dosug__item {
    padding: 27px 25px 48px;
  }

  .dosug__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 22px;
  }

  .dosug__icon img,
  .dosug__icon svg {
    max-height: unset;
  }

  .dosug__title {
    margin-bottom: 11px;
    font-size: 28px;
  }

  .dosug__text {
    max-width: 77%;
    font-size: 20px;
  }

  .dosug__link {
    position: absolute;
    bottom: 22px;
    right: 22px;
    width: 40px;
    height: 40px;
    margin: 0;
  }

  #after-hero:has(section.dosug) {
    position: relative;
    z-index: 1;
  }

  #after-hero:has(section.dosug)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 50%;
    height: 200%;
    background: radial-gradient(
      58% 58% at 38% 42%,
      rgba(124, 232, 176, 0.32) 0%,
      rgba(143, 224, 234, 0.25) 44%,
      rgba(169, 198, 255, 0.18) 66%,
      rgba(169, 198, 255, 0) 82%
    );
    filter: blur(45px);
    transform: translate(-20%, -50%);
    z-index: -1;
  }

  #after-hero:has(section.dosug)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 50%;
    height: 200%;
    background: radial-gradient(
      62% 62% at 66% 34%,
      rgba(206, 150, 240, 0.43) 0%,
      rgba(169, 198, 255, 0.36) 42%,
      rgba(143, 224, 234, 0.24) 66%,
      rgba(143, 224, 234, 0) 82%
    );
    filter: blur(42.5px);
    transform: translate(20%, -40%);
    z-index: -1;
  }
}

.events__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.event-card {
  --stub-width: 56px;
  --notch: 18px;

  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px 0 rgba(14, 34, 51, 0.1);
}

.event-card__media {
  aspect-ratio: 360 / 176;
  overflow: hidden;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 20px 22px;
}

.event-card__tag {
  font-family: 'JetBrains_Mono';
  color: #1e6e68;
  font-size: 12px;
  font-weight: 400;
  line-height: 13px;
  letter-spacing: 2.88px;
  text-transform: uppercase;
}

.event-card__title {
  font-family: 'Tenor_Sans';
  color: #0e2233;
  font-size: 20px;
  font-weight: 400;
  line-height: 25.455px;
  transition: color 0.3s ease-in-out;
}

.event-card__text {
  max-width: 44ch;
  color: #5a7484;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

.event-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-card__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5a7484;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

.event-card__meta-item img {
  flex: none;
  width: 12px;
}

.event-card__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #1e6e68;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.event-card__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.event-card__link svg {
  transition: transform 0.5s ease;
}

.event-card:hover .event-card__link::after {
  width: 100%;
}

.event-card:hover .event-card__title {
  color: #1e6e68;
}

.event-card__stub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-top: 1px dashed #b9cfc9;
  color: #3f6b63;
  font-family: 'JetBrains_Mono';
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 2.64px;
  text-transform: uppercase;
}

.event-card__btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@media (min-width: 768px) {
  .event-card {
    --media-width: 268px;
    --stub-width: 74px;
    --notch: 26px;
    --notch-r: calc(var(--notch) / 2);
    --seam-a: var(--media-width);
    --seam-b: calc(100% - var(--stub-width));

    grid-template-columns: var(--media-width) minmax(0, 1fr) var(--stub-width);
    align-items: stretch;
    overflow: visible;
    border-radius: 16px;
    box-shadow: none;
    -webkit-mask-image:
      radial-gradient(circle var(--notch-r) at var(--seam-a) 0, transparent 99%, #000 100%),
      radial-gradient(circle var(--notch-r) at var(--seam-a) 100%, transparent 99%, #000 100%),
      radial-gradient(circle var(--notch-r) at var(--seam-b) 0, transparent 99%, #000 100%),
      radial-gradient(circle var(--notch-r) at var(--seam-b) 100%, transparent 99%, #000 100%);
    mask-image:
      radial-gradient(circle var(--notch-r) at var(--seam-a) 0, transparent 99%, #000 100%),
      radial-gradient(circle var(--notch-r) at var(--seam-a) 100%, transparent 99%, #000 100%),
      radial-gradient(circle var(--notch-r) at var(--seam-b) 0, transparent 99%, #000 100%),
      radial-gradient(circle var(--notch-r) at var(--seam-b) 100%, transparent 99%, #000 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  .event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 304px;
    z-index: -1;
    width: 0;
    height: 0;
    background:
      radial-gradient(
        60.78% 35.86% at 2.26% 5.41%,
        rgba(30, 158, 138, 0.2) 0%,
        rgba(30, 158, 138, 0) 100%
      ),
      #fff;
    transition:
      width 0.3s ease,
      height 0.3s ease;
  }

  .event-card:hover::after {
    width: 100%;
    height: 100%;
  }

  .event-card__media {
    position: relative;
    aspect-ratio: unset;
    min-height: 0;
    border-radius: 0;
  }

  .event-card__media img {
    position: absolute;
    inset: 0;
  }

  .event-card__body {
    position: relative;
    padding: 38px 38px 50px 30px;
    gap: 10px;
  }

  .event-card__title {
    font-size: 22px;
    line-height: 1.18;
  }

  .event-card__tag {
    font-size: 12.273px;
    line-height: 1.14;
    letter-spacing: 3.436px;
  }

  .event-card__text {
    font-size: 14px;
    line-height: 1.37;
  }

  .event-card__meta {
    gap: 9px;
  }

  .event-card__meta-item {
    font-size: 14px;
    line-height: 1.25;
  }

  .event-card__meta-item img {
    width: 14px;
  }

  .event-card__link {
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.84px;
  }

  .event-card__stub {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 26px 20px 26px 26px;
    border-radius: 0 16px 16px 0;
    border-top: none;
    border-left: 1px dashed rgba(90, 116, 132, 0.45);
    font-size: 14px;
    line-height: 1.12;
    letter-spacing: 3.086px;
  }

  .event-card__body::before,
  .event-card__body::after,
  .event-card__stub::before,
  .event-card__stub::after {
    content: none;
  }

  .event-card__period {
    writing-mode: vertical-rl;
    rotate: 180deg;
    margin-left: 14px;
  }
}

@media (min-width: 1200px) {
  .events__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 32px;
    margin-top: 24px;
  }

  .event-card {
    --media-width: 306px;
    --stub-width: 92px;

    grid-template-columns: var(--media-width) minmax(0, 1fr) var(--stub-width);
  }

  .event-card__body {
    gap: 12px;
    padding: 42px 30px;
  }

  .event-card__title {
    margin-bottom: 5px;
    font-size: 28px;
  }

  .event-card__tag {
    font-size: 14px;
    letter-spacing: 3.92px;
  }

  .event-card__text {
    margin-bottom: 5px;
  }

  .event-card__text,
  .event-card__meta-item {
    font-size: 16px;
    line-height: 22px;
  }

  .event-card__meta-item img {
    width: 17px;
  }

  .event-card__link {
    font-size: 16px;
    letter-spacing: 0.96px;
  }

  .event-card__period {
    font-size: 16px;
    letter-spacing: 3.52px;
  }
}

.afisha {
  padding: 40px 0 0;
}

.afisha__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: max-content;
  margin-top: 16px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px 0 rgba(46, 111, 180, 0.1);
}

.afisha__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px;
  border-radius: 999px;
  background: #fff;
  color: #0e2233;
  font-family: Onest;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.14;
  cursor: pointer;
  transition: all 0.3s ease;
}

.afisha__tab-count {
  color: #6e86a6;
  font-size: 12px;
  line-height: 1.16;
  transition: color 0.3s ease;
}

.afisha__tab:hover {
  color: #1e6e68;
}

.afisha__tab:focus-visible {
  outline: 1px solid #1e6e68;
  outline-offset: 1px;
}

.afisha__tab.is-active {
  background: #1e6e68;
  color: #fff;
}

.afisha__tab.is-active .afisha__tab-count {
  color: rgba(255, 255, 255, 0.75);
}

.afisha .events__items {
  padding-block: 24px 40px;
}

.afisha__empty {
  padding: 24px 0 40px;
  color: #3f6b63;
  font-family: 'JetBrains_Mono';
  font-size: 13px;
}

.afisha__more {
  display: none;
}

@media (min-width: 385px) {
  .afisha__tab {
    padding: 9px 14px;
  }
}

@media (min-width: 768px) {
  .afisha__tabs {
    gap: 6px;
    padding: 8px;
  }

  .afisha__tab {
    gap: 9px;
    padding: 12px 24px;
    font-size: 18px;
    line-height: 1.1;
  }

  .afisha__tab-count {
    font-size: 18px;
    line-height: 1;
  }

  .afisha .events__items {
    padding-top: 40px;
    padding-bottom: 54px;
  }
}

@media (min-width: 1200px) {
  .afisha {
    padding: 70px 0 0;
  }

  .afisha .events__items {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 34px var(--events-gap);
    overflow: visible;
    scroll-snap-type: none;
    margin-inline: 0;
    padding-inline: 0;
  }

  .afisha .events__item {
    flex: none;
    width: auto;
  }

  .afisha__more {
    display: flex;
    justify-content: center;
  }

  .afisha__more-btn {
    padding: 17px 30px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(134deg, #1e6e68 -1.42%, #2a8f79 69.5%);
    box-shadow: 0 10px 26px 0 rgba(30, 110, 104, 0.3);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.33;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .afisha__more-btn:hover {
    background: linear-gradient(134deg, #278079 -1.42%, #33a68b 69.5%);
  }

  .afisha__more-btn:focus-visible {
    outline: 2px solid #1e6e68;
    outline-offset: 3px;
  }
}

.search .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 32px 40px;
}

.search__title {
  color: #5a7484;
  font-size: 14px;
  line-height: 1.5;
}

.search__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px 0 rgba(30, 110, 104, 0.16);
}

.search__link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.search__item::selection {
  background: #9be8d880;
}

.search__mark {
  padding: 0 2px;
  border-radius: 3px;
  background: #9be8d880;
  color: inherit;
}

.search__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search__content-category {
  margin-bottom: 2px;
  color: #1e6e68;
  font-family: 'JetBrains_Mono';
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 3.36px;
  text-transform: uppercase;
}

.search__content-title {
  color: #0e2233;
  font-family: 'Tenor_Sans';
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.search__content-text {
  color: #5a7484;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42;
}

@media (min-width: 768px) {
  .search .container {
    gap: 24px;
    padding-block: 32px 48px;
  }

  .search__title {
    font-size: 15px;
    line-height: 1.46;
  }

  .search__items {
    gap: 20px;
  }

  .search__item {
    gap: 24px;
    padding: 20px 24px;
    box-shadow: 0 8px 20px 0 rgba(30, 110, 104, 0.16);
  }

  .search__content-category {
    font-size: 14px;
    letter-spacing: 3.92px;
  }

  .search__content-title {
    font-size: 24px;
    line-height: 1.25;
  }

  .search__content-text {
    font-size: 15px;
    line-height: 1.46;
  }

  .search__arrow svg {
    width: 20px;
    height: 24px;
  }
}

@media (min-width: 1024px) {
  .search .container {
    gap: 32px;
    padding-block: 56px 96px;
  }

  .search__title {
    font-size: 16px;
    line-height: 1.62;
  }

  .search__items {
    gap: 24px;
  }

  .search__item {
    gap: 28px;
    padding: 24px 28px;
  }

  .search__content {
    gap: 8px;
  }

  .search__content-category {
    font-size: 16px;
    letter-spacing: 4.48px;
  }

  .search__content-title {
    font-size: 28px;
    line-height: 1.28;
  }

  .search__content-text {
    font-size: 16px;
    line-height: 1.62;
  }
}

.event-detail {
  --season: #1e9e8a;
  --season-rgb: 56, 199, 171;
  --season-soft: rgba(155, 232, 216, 0.5);
}

.event-detail > .container {
  padding-block: 18px 42px;
}

.event-detail__back {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1e6e68;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  transition: color 0.3s ease-in-out;
}

.event-detail__back:hover {
  color: #0e2233;
}

.event-detail__inner {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 20px;
}

.event-detail__gallery {
  --gallery-ratio: 68.75%;
  --thumbs-width: 70px;
  --thumbs-gap: 8px;

  position: relative;
  height: 0;
  padding-bottom: calc(
    (100% - var(--thumbs-width) - var(--thumbs-gap)) * var(--gallery-ratio) / 100%
  );
}

.event-detail__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - var(--thumbs-width) - var(--thumbs-gap));
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.event-detail__slide {
  height: 100%;
}

.event-detail__slide-link {
  display: block;
  height: 100%;
  cursor: zoom-in;
}

.event-detail__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-detail__nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  translate: 0 -50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(155, 232, 216, 0.5);
  background: rgba(6, 13, 31, 0.18);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.event-detail__nav svg {
  margin-inline: auto;
}

.event-detail__nav:hover {
  scale: 1.12;
  box-shadow: 0 0 50px 0 rgba(155, 232, 216, 0.5);
}

.event-detail__nav.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}

.event-detail__nav--prev {
  left: 10px;
}

.event-detail__nav--next {
  right: 10px;
}

.event-detail__counter {
  position: absolute;
  z-index: 4;
  right: 5px;
  bottom: 13px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(6, 13, 31, 0.45);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.27;
}

.event-detail__thumbs {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--thumbs-width);
  height: 100%;
  overflow: hidden;
}

.event-detail__thumb {
  flex: none;
  width: var(--thumbs-width);
  height: var(--thumbs-width);
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  opacity: 0.75;
  transition:
    opacity 0.3s ease-in-out,
    border-color 0.3s ease-in-out;
}

.event-detail__thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.event-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition:
    scale 0.4s ease-in-out,
    filter 0.4s ease-in-out;
}

.event-detail__thumb:hover,
.event-detail__thumb.swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--season);
}

.event-detail__thumb:hover img {
  scale: 1.2;
  filter: saturate(1.35);
}

.event-detail__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.event-detail__tag {
  font-family: 'JetBrains_Mono';
  color: #1e6e68;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 3.36px;
  text-transform: uppercase;
}

.event-detail__title {
  color: #0e2233;
  font-family: 'Tenor_Sans';
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.event-detail__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 10px;
}

.event-detail__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5a7484;
  font-size: 14px;
  line-height: 1.42;
}

.event-detail__meta-item img {
  flex: none;
  width: 12px;
}

.event-detail__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #5a7484;
  font-size: 14px;
  line-height: 1.57;
}

.event-detail__text.is-truncated {
  position: relative;
  mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - 1lh),
    rgba(0, 0, 0, 0.55) calc(100% - 0.5lh),
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - 1lh),
    rgba(0, 0, 0, 0.55) calc(100% - 0.5lh),
    transparent
  );
}

.event-detail__text.is-truncated::before,
.event-detail__text.is-truncated::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1lh;
  pointer-events: none;
}

.event-detail__text.is-truncated::before {
  background-color: rgba(239, 244, 247, 0.35);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  mask-image: linear-gradient(to bottom, transparent, #000 45%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%);
}

.event-detail__text.is-truncated::after {
  background-color: rgba(239, 244, 247, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  mask-image: linear-gradient(to bottom, transparent 30%, #000 85%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 85%);
}

.event-detail__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 0;
  color: #1e6e68;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.53;
  background: linear-gradient(134deg, #1e6e68 -1.42%, #2a8f79 69.5%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: color 0.3s ease-in-out;
}

.event-detail__more:hover {
  color: var(--season);
}

.event-detail__map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(134deg, #1e6e68 -1.42%, #2a8f79 69.5%);
  box-shadow: 0 10px 26px 0 rgba(30, 110, 104, 0.3);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.33;
  transition:
    background 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.event-detail__map-btn img {
  flex: none;
}

.event-detail__map-btn:hover {
  background: linear-gradient(134deg, #278079 -1.42%, #33a68b 69.5%);
}

.event-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.event-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 31, 0.62);
  backdrop-filter: blur(3px);
}

.event-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  max-height: 85dvh;
  padding: 68px 20px 20px;
  overflow: hidden auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px 0 rgba(10, 23, 36, 0.28);
}

.event-modal__close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: #1e6e68;
  color: #fff;
  transition:
    background 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.event-modal__close:hover {
  background: #2a8c83;
  box-shadow: 0 0 24px 0 rgba(var(--season-rgb, 56, 199, 171), 0.5);
}

.event-modal__body {
  display: flex;
  flex-direction: column;
  gap: 25px;
  color: #46586a;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.36;
}

.page.is-modal-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .event-detail > .container {
    padding-block: 38px 70px;
  }

  .event-detail__inner {
    gap: 20px;
    margin-top: 10px;
  }

  .event-detail__slider {
    border-radius: 20px;
  }

  .event-detail__gallery {
    --gallery-ratio: 62.5%;
    --thumbs-width: 96px;
    --thumbs-gap: 12px;
  }

  .event-detail__nav {
    width: 38px;
    height: 38px;
  }

  .event-detail__nav--prev {
    left: 20px;
  }

  .event-detail__nav--next {
    right: 20px;
  }

  .event-detail__thumbs {
    width: var(--thumbs-width);
  }

  .event-detail__counter {
    right: 12px;
    bottom: 10px;
    font-size: 12px;
    line-height: 1;
  }

  .event-detail__content {
    padding-inline: 12px;
    gap: 12px;
  }

  .event-detail__tag {
    font-size: 16px;
    letter-spacing: 4.48px;
  }

  .event-detail__title {
    font-size: 30px;
    line-height: 1.66;
  }

  .event-detail__text,
  .event-modal__body {
    font-size: 16px;
    line-height: 1.37;
  }

  .event-detail__meta {
    margin: 0;
  }

  .event-detail__meta-item {
    font-size: 16px;
  }

  .event-detail__meta-item img {
    width: 14px;
  }

  .event-detail__more {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.33;
  }

  .event-detail__map-btn {
    width: auto;
    margin-top: 16px;
    padding: 17px 30px;
    font-size: 15px;
  }

  .event-modal__dialog {
    padding: 68px 34px 34px;
    border-radius: 20px;
  }

  .event-modal__close {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 1024px) {
  .event-detail > .container {
    padding-block: 48px 10px;
  }

  .event-detail__back {
    font-size: 16px;
  }

  .event-detail__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 50px;
    align-items: start;
    margin-top: 24px;
  }

  .event-detail__gallery {
    --gallery-ratio: 68.75%;
  }

  .event-detail__content {
    gap: 16px;
    padding: 0;
  }

  .event-detail__title {
    font-size: 38px;
    line-height: 1.3;
  }

  .event-detail__text,
  .event-modal__body {
    line-height: 1.6;
  }

  .event-detail__meta {
    margin: 4px 0 8px;
  }

  .event-detail__map-btn {
    margin-top: 4px;
  }

  .event-modal__dialog {
    padding: 72px 34px 72px 50px;
    border-radius: 22px;
    box-shadow: 0 40px 90px 0 rgba(6, 13, 31, 0.42);
  }

  .event-modal__close {
    top: 26px;
    right: 37px;
    width: 44px;
    height: 44px;
  }
}

.event-detail--vertical .event-detail__gallery {
  --gallery-ratio: 182%;
}

@media (min-width: 768px) {
  .event-detail--vertical .event-detail__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .event-detail--vertical .event-detail__gallery {
    --gallery-ratio: 170%;
    --thumbs-width: 76px;
  }
}

@media (min-width: 1024px) {
  .event-detail--vertical .event-detail__inner {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  }

  .event-detail--vertical .event-detail__gallery {
    --gallery-ratio: 175%;
    --thumbs-width: 96px;
  }
}
