:root {
  --accent: #a823d5;
  --sec-font: 'Roboto Condensed', sans-serif;
}

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

body {
  margin: 0;
  background: #000000;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 20;
  height: 55px;
  background: #000000;
}

@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: space-between;
  gap: 20px;
}

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

.brand {
  position: relative;
  z-index: 3;

  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;

  color: #ffffff;
  text-decoration: none;
}

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

.brand-mark {
  display: block;
  width: 80px;
  height: 40px;
}

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

.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: #150134;

  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;
  text-transform: uppercase;

  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: 1280px;
  margin: 0 auto;
}

.small-text {
  font-family: var(--sec-font);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

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

#home {
  background-color: #150134;
  padding-top: 45px;
  padding-inline: 16px;
}

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

.hero-img {
  height: 386px;
  object-fit: none;
  object-position: top;
}

.home .text-wrap {
  max-width: 430px;
  width: 100%;
  position: relative;
  z-index: 2;
  text-align: left;
}

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

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

.cherry-home {
  position: absolute;
  width: 300px;
  top: 50%;
  left: 65%;
  transform: translate(-25%, -50%);
}
.grape-home {
  position: absolute;
  width: 240px;
  bottom: -70px;
  left: 37%;
  transform: translateX(-80%);
}

@media (min-width: 1201px) {
  #home {
    padding-top: 0;
  }
  .home {
    flex-direction: row-reverse;
    gap: 60px;
  }
  .hero-img {
    height: 712px;
    object-position: center;
  }
  .home .text-wrap {
    max-width: none;
    min-width: 500px;
  }

  .cherry-home {
    width: auto;
    top: unset;
    bottom: -50px;
    left: 50%;
    transform: translateX(-25%);
  }
  .grape-home {
    width: auto;
    bottom: -120px;
    left: 97%;
    transform: translateX(-50%);
  }
  h1 {
    font-size: 58px;
    line-height: 66px;
  }
}

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

.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(180deg, #000000 0%, #150134 100%);
}

.history-img-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 44px;

  img {
    height: 518px;
    object-fit: none;
  }
}

@media (min-width: 1201px) {
  .history-img-wrap {
    flex-direction: row;
  }
}

#atmosphere {
  background: linear-gradient(360deg, #000000 0%, #150134 100%);

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

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

  .atmosphere-pic {
    height: 520px;
    object-fit: none;
  }
}

.atmosphere-cherry {
  position: absolute;
  width: 300px;
  top: 40%;
  left: 75%;
  transform: translate(-36%, 62%);
}
.atmosphere-crystal {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
}

@media (min-width: 1201px) {
  .atmosphere-cherry {
    width: auto;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
  }
  .atmosphere-crystal {
    width: auto;
    top: 50%;
    left: unset;
    right: -60px;
    transform: translateY(-50%);
  }
}

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

  .tradition-pic {
    height: 320px;
    object-fit: cover;
  }
}
.tradition-cherry {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 250px;
}
.tradition-crystal-r {
  position: absolute;
  right: -50px;
  width: 230px;
}
.tradition-crystal-l {
  position: absolute;
  transform: scaleX(-1);
  left: -50px;
  width: 230px;
}
@media (min-width: 1201px) {
  #tradition .container {
    flex-direction: row;
  }
  .tradition-cherry {
    bottom: -80px;
    right: unset;
    width: auto;
    left: 50%;
    transform: translateX(-30%);
  }
  .tradition-crystal-r {
    right: -200px;
    width: auto;
    bottom: -150px;
    z-index: -1;
  }
  .tradition-crystal-l {
    transform: scaleX(-1);
    right: -150px;
    left: unset;
    top: -100px;
    width: 300px;
  }
}

#performances {
  background: linear-gradient(360deg, #000000 0%, #150134 100%);
}

#performances .container {
  position: relative;

  .text-wrap {
    position: relative;
    z-index: 1;
  }
}
.strawberry-pic {
  position: absolute;
  top: 0;
  right: 0;
}

@media (min-width: 1201px) {
  .strawberry-pic {
    top: -50px;
    right: 50px;
  }
}

#contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.contact-pic-desc {
  display: none;
}

.contact-pic-mob {
  display: block;
  margin: 0 auto;
}

@media (min-width: 1201px) {
  #contact .container {
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
    gap: unset;
  }

  .text-wrap {
    flex: 1;
  }
  .form-wrap {
    flex: 0.8;
  }

  .contact-pic-desc {
    display: block;
  }
  .contact-pic-mob {
    display: none;
  }
}

.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: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: #ffffff99;

  border: 0.8px solid #ffffff;
  background: #ffffff1a;
}

.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: 12px;
  background: linear-gradient(90deg, #5301cf 0%, #a823d5 100%);

  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);
}

.phones {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;

  a {
    color: inherit;
  }
}

/* ==========================================================================
   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: #150134;
  border-radius: 8px;
  border: 1px solid #fff;

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

.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;
  }
}

#faq {
  background: linear-gradient(180deg, #000000 0%, #150134 37.02%, #5301cf 100%);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 44px;

  h3 {
    font-size: 18px;
    line-height: 26px;
    padding: 16px;
    border: 1px solid #fff;
    border-radius: 6px;
  }

  p {
    padding: 16px;
    border: 1px solid #a823d5;
    border-top: none;
    border-radius: 6px;
  }
}

@media (min-width: 1201px) {
  .faq-list {
    text-align: center;
  }
}

footer {
  background: #5301cf;
  padding: 34px 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 #f2bb4c;
}
.policy-list {
  width: 100%;
  display: flex;
  justify-content: space-between;
  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) {
  .foot-wrap {
    flex-direction: row;
    justify-content: space-between;

    padding-bottom: 12px;
    border-bottom: 2px solid #f2bb4c;
  }
  .policy-list {
    justify-content: flex-end;
    gap: 30px;
  }
}

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

  padding: 27px 16px;
  background: #150134;
}

.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 {
  background-color: #5301cf;
  color: #fff;
}

@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(360deg, #000000 0%, #2a0067 77.88%, #5301cf 100%);

  padding: 42px 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;
  }
}
