@font-face {
  font-family: 'SF Pro Display';
  src: url('font/SF-Pro-Display-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('font/SF-Pro-Display-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('font/SF-Pro-Display-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

:root {
  --accent: #0037ff;
  --sec-font: 'SF Pro Display', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: #010101;
  color: #ffffff;
  font-family: 'SF Pro Display', sans-serif;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

.site-header {
  position: fixed;
  width: 100%;
  z-index: 20;
  height: 55px;
  background: #0101018C;

}

@media (min-width: 1201px) {
  .site-header {
    height: 90px;
  }
}

.header-inner {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: end;
  gap: 20px;
}

@media (min-width: 1201px) {
  .header-inner {
    width: min(1280px, calc(100% - 48px));
    padding: 0;
    gap: 34px;

    justify-content: space-between;
  }
}

.brand {
  display: none;
}

@media (min-width: 1201px) {
  .brand {
    display: block;
    position: static;
    z-index: auto;
    gap: 7px;
  }
}

@media (min-width: 1201px) {
  .brand-mark {
    width: 156px;
  }
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-family: var(--sec-font);
  font-size: 18px;
  font-weight: 900;
  line-height: 28px;
  font-style: italic;
}

@media (min-width: 1201px) {
  .brand-copy strong {
    font-size: 17px;
  }
}

.brand-copy small {
  font-size: 10px;
  line-height: 12px;
  font-weight: 400;
}

@media (min-width: 1201px) {
  .brand-copy small {
    font-size: 8px;
  }
}

.menu-toggle {
  position: relative;
  z-index: 32;

  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;

  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 1201px) {
  .menu-toggle {
    display: none;
  }
}

.menu-icon {
  position: absolute;
  inset: 0px;

  display: block;
  width: 100%;
  height: 100%;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.menu-icon-open {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.menu-icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
}

.menu-toggle[aria-expanded='true'] .menu-icon-open {
  opacity: 0;
  transform: rotate(90deg) scale(0.7);
}

.menu-toggle[aria-expanded='true'] .menu-icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.main-nav {
  position: fixed;
  z-index: 2;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;

  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 90px 60px 180px;

  overflow-x: hidden;
  overflow-y: auto;

  background: linear-gradient(0deg, #010101 0%, #010366 100%);


  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);

  transition:
    visibility 0.22s ease,
    opacity 0.22s ease,
    transform 0.22s ease;
}

@media (min-width: 1201px) {
  .main-nav {
    position: static;
    z-index: auto;
    inset: auto;

    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(20px, 2.1vw, 34px);

    width: auto;
    min-height: auto;
    padding: 0;

    overflow: visible;
    background: transparent;

    visibility: visible;
    opacity: 1;
    transform: none;

    transition: none;
  }
}

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

.main-nav a {
  width: 100%;
  padding: 14px 0;

  color: #ffffff;
  font-family: var(--sec-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;

  transition: color 0.2s ease;
}

@media (min-width: 1201px) {
  .main-nav a {
    width: auto;
    padding: 0;
  }
}

.main-nav a:hover,
.main-nav a.active {
  color: #a823d5;
}

.mobile-only {
  display: block;
}

@media (min-width: 1201px) {
  .mobile-only {
    display: none;
  }
}

.cherry-burg {
  position: absolute;
  z-index: -1;
  right: -50px;
  bottom: 0;

  display: block;
  max-width: 60%;

  pointer-events: none;
}

@media (min-width: 1201px) {
  .cherry-burg {
    display: none;
  }
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

#home {
  background-image: url('pics/home-bg.jpg');
  background-position: center;
  background-size: cover;
  padding-top: 100px;
  padding-inline: 16px;
}

.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;

  .text {
    margin-bottom: 12px;
  }
}

.hero-img {
  height: 360px;
  object-fit: cover;
  object-position: center;
  max-width: none;
  width: 100vw;
}

.text-wrap {
  position: relative;
  z-index: 1;
}
.img-wrap {
  position: relative;
}

h1 {
  font-family: var(--sec-font);
  font-size: 46px;
  line-height: 56px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.home.container,
#atmosphere .container {
  position: relative;
}

.cherry-home {
  position: absolute;
  width: 220px;
  top: 50%;
  transform: translateY(-90%);
  right: 0;
}

@media (min-width: 1201px) {
  #home {
    padding-top: 140px;
  }

  .cherry-home {
    width: auto;
  }

  h1 {
    font-size: 58px;
    line-height: 66px;
  }
}

.section {
  padding: 58px 16px;
}
@media (min-width: 1201px) {
  .section {
    padding-block: 90px;
  }
}

.text-wrap {
  text-align: center;

  h2 {
    font-family: var(--sec-font);
    font-size: 32px;
    font-weight: 900;
    line-height: 40px;
    text-transform: uppercase;
    margin-bottom: 44px;
  }
}

@media (min-width: 1201px) {
  .text-wrap {
    h2 {
      font-size: 40px;
      line-height: 48px;
    }
  }
}

#history {
  background: linear-gradient(0deg, #010101 0%, #010366 100%);
  position: relative;
}

.molniya {
  position: absolute;
  bottom: 0;
  right: 0;
  mix-blend-mode: color-dodge;
  opacity: 0.7;
  animation: lightningFlash 3s infinite;
  filter: brightness(1);
  pointer-events: none;
}

@keyframes lightningFlash {
  /* спокійний стан */
  0%,
  55%,
  100% {
    opacity: 0.7;
    filter: brightness(1);
  }

  /* сильний спалах */
  56% {
    opacity: 1;
    filter: brightness(3);
  }

  57% {
    opacity: 0.5;
    filter: brightness(1);
  }

  58% {
    opacity: 1;
    filter: brightness(4);
  }

  60% {
    opacity: 0.7;
    filter: brightness(1);
  }

  /* другий слабший спалах */
  72% {
    opacity: 1;
    filter: brightness(2.5);
  }

  73% {
    opacity: 0.7;
    filter: brightness(1);
  }

  75% {
    opacity: 1;
    filter: brightness(3);
  }

  76% {
    opacity: 0.7;
    filter: brightness(1);
  }
}
.bell {
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
}

.history-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-block: 32px;
}
.history-list li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 356px;

  h3 {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 16px;
  }
}

@media (min-width: 1201px) {
  .history-list {
    flex-direction: row;
    align-items: start;
    flex-wrap: wrap;
    row-gap: 32px;
    column-gap: 22px;
  }

  .bell {
    top: 50%;
    right: unset;
    left: 50%;
    width: auto;
    transform: translate(-9%, -7%);
  }

  .history-list li {
    flex-direction: row;
    max-width: none;
    width: 609px;

    h3 {
      text-transform: uppercase;
      font-size: 20px;
      margin-bottom: 16px;
    }
  }
}

#atmosphere {
  position: relative;
  padding-bottom: 140px;

  ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-block: 44px;
    text-align: center;
    list-style: disc;

    h3 {
      font-size: 18px;
      line-height: 24px;
      font-weight: 600;
      margin-bottom: 16px;
    }
  }
}

.star-l {
  position: absolute;
  width: 200px;
  bottom: 0;
  left: 0;
  opacity: 0.8;
}
.star-r {
  position: absolute;
  width: 200px;
  bottom: 0;
  right: 0;
  transform: scaleX(-1);
  opacity: 0.8;
}

.star-r,
.star-l {
  animation: starSpring 3s ease-in-out infinite;
}

@keyframes starSpring {
  0%,
  100% {
    scale: 1;
  }
  25% {
    scale: 1.06;
  }
  45% {
    scale: 0.98;
  }
  65% {
    scale: 1.02;
  }
}

@media (min-width: 1201px) {
  #atmosphere {
    padding-bottom: 90px;
  }

  .star-l {
    width: auto;
    bottom: unset;
    left: 50%;
    top: 50%;
    transform: translate(-190%, -50%);
  }
  .star-r {
    position: absolute;
    width: auto;
    bottom: unset;
    right: unset;
    left: 50%;
    top: 50%;
    transform: scaleX(-1) translate(-90%, -50%);
  }
}

.expedition-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-block: 32px;
}
.expedition-list li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;

  h3 {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 16px;
  }
}

@media (min-width: 1201px) {
  .expedition-list {
    flex-direction: row;
    align-items: start;
    flex-wrap: wrap;
    row-gap: 32px;
    column-gap: 22px;
  }

  .expedition-list li {
    h3 {
      text-transform: uppercase;
      font-size: 20px;
      margin-bottom: 16px;
    }
  }
}

#tradition {
  background-image: url('pics/tradition-bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
}

#tradition .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  position: relative;

  .tradition-pic {
    height: 320px;
    object-fit: cover;
  }
}

.plant-table {
  max-width: 800px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 6px;
  background: #000;
  color: #fff;
}

.plant-table th {
  background: #0037ff;
  padding: 17px 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  border-radius: 2px;
}

.plant-table td {
  background:
    linear-gradient(#050505, #050505) padding-box,
    linear-gradient(180deg, #0037ff 0%, #010101 100%) border-box;

  border: 1px solid transparent;
  border-radius: 2px;

  padding: 16px 12px;
  text-align: center;
  font-size: 16px;
}

@media (min-width: 1201px) {
  #tradition {
    background-size: contain;
    background-position: top center;
  }
}

#performances {
  .wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
}

@media (min-width: 1201px) {
  #performances {
    .wrapper {
      flex-direction: row;
    }
    .text {
      flex: 1;
    }
  }
}

#contact {
  background-image: url('pics/contact-bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  .text-wrap {
    margin-bottom: 20px;
  }
}

.form-wrap {
  max-width: 576px;
  margin: 0 auto;
}

@media (min-width: 1201px) {
  #contact {
    background-size: contain;
  }
}

.contact-form {
  margin-bottom: 40px;
}

.contact-form .field {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-family: var(--sec-font);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
  text-transform: uppercase;
}

.contact-form input {
  width: 100%;
  border-radius: 2px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: #ffffff99;

  border: 0.8px solid #0037ff;
  background: #d6e1e626;
}

.contact-form input:focus {
  border: 2px solid var(--accent);
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 174px;
  height: 46px;
  border: none;
  border-radius: 2px;
  background: linear-gradient(272.96deg, #0037ff 38.25%, #0527a3 100%);
  box-shadow: 0px 0px 12px 0px #f6f4a2;

  color: #fff;
  font-family: var(--sec-font);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.3s ease;

  margin: 0 auto;
  margin-top: 30px;
}

.btn-submit:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   Success popup
   ========================================================================== */

.modal-form {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 8, 14, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.modal-form.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal-form.show {
  opacity: 1;
  visibility: visible;
}

.modal-form__card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #0527a3;
  box-shadow: 0px 0px 22px 12px #00104b inset;

  border-radius: 8px;

  padding: 64px 32px;
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.3s ease;
  overflow: hidden;

  button {
    width: 160px;
    height: 46px;
    border-radius: 2px;
    box-shadow: 0px 0px 12px 0px #f6f4a2;
    color: #010101;
    background: #fff;
    margin: 0 auto;
    margin-top: 22px;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
  }
}

.modal-form.show .modal-form__card {
  transform: translateY(0);
}

.modal-form__text {
  font-family: var(--sec-font);
  font-weight: 900;
  font-size: 22px;
  line-height: 26px;
  text-transform: uppercase;
  text-align: center;

  margin-bottom: 44px;
}

.modal-form__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

@media (min-width: 1201px) {
  .modal-form__card {
    max-width: 640px;
  }
  .modal-form__text {
    font-size: 40px;
    line-height: 48px;
  }
}

footer {
  padding: 20px 16px;
  margin-top: -1px;
}
.foot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;

  padding-bottom: 12px;
  border-bottom: 2px solid #0527A3;

}
.policy-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  a {
    font-family: var(--sec-font);
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    text-transform: uppercase;
  }
}
.copyr {
  font-family: var(--sec-font);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  text-align: center;
  margin-top: 12px;
}

@media (min-width: 1201px) {
  footer {
    padding-block: 44px;
  }
  .foot-wrap {
    padding-bottom: 24px;
  }
  .policy-list {
    flex-direction: row;
    gap: 42px;
  }
  .copyr {
    padding-top: 24px;
  
  }
}

.popup {
  position: fixed;
  z-index: 4;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  max-width: 380px;
  width: calc(100% - 20px);
  border-radius: 8px;
  overflow: hidden;

  padding: 27px 16px;
  background: #0527a3;
  box-shadow: 0px 0px 22px 12px #00104b inset;
}

.popup-title {
  font-family: var(--sec-font);
  font-size: 22px;
  line-height: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 12px;
}

.popup-text {
  font-size: 16px;
  line-height: 19px;
  margin-bottom: 8px;
}

.popup-link {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 23px;
  margin-bottom: 24px;
  text-decoration: underline;
}

.button-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;

  button {
    border: none;
    border-radius: 6px;
    height: 51px;
  }
}
#acceptCookiesBtn {
  background-color: #fff;
}
#declineCookiesBtn {
  color: #fff;
  background: #010101;
}

@media (min-width: 1201px) {
  .popup {
    max-width: 1280px;
    padding: 27px 65px;
  }

  .popup-title {
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 32px;
  }

  .popup-text {
    font-size: 18px;
    line-height: 22px;
  }

  .button-wrap {
    flex-direction: row;
    gap: 34px;

    button {
      width: 200px;
    }
  }
}

.policies-main {
  background: linear-gradient(0deg, #010101 0%, #010366 100%);

  padding: 100px 16px 32px 16px;

  a {
    color: #fff;
    text-decoration: underline;
  }

  p {
    font-size: 16px;
    line-height: 24px;
  }

  h2 {
    font-size: 20px;
    line-height: 110%;
    margin-block: 15px;
  }
  h3 {
    margin-block: 10px;
  }

  ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}
