/* ====== GLOBAL ====== */
:root {
  --header-offset: 108px;
  
    --bubble-diam: clamp(500px, 80vw, 900px);
    
   
}
html,
body {
  overflow-x: hidden;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #141429;
  color: #ffffff;
}

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

/* ====== HEADER ====== */
.site-header {
  position: fixed;
  top: 38.94px;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 69.06px;
  width: 100%;
  max-width: 1440px;
  padding: 0 49px;
  z-index: 230;
}


.site-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo img {
  max-width: 198px;
  height: auto;
}


.site-header__nav .nav-list {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header__nav {
  position: absolute;
  width: 433px;
  height: 22px;
  right: 139px;
  z-index: 40 !important;
}
/* .site-header__nav .nav-list a {
  font: 16px/1 'Roboto', sans-serif;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: opacity .2s;
} */
 .nav-list a {
   position: relative;
   display: inline-block;
   font: 16px/1 'Roboto', sans-serif;
   color: #fff;
   text-decoration: none;
   overflow: hidden;
 }


 .nav-list a::before {
   content: attr(data-text);
   position: absolute;
   left: 0;
   top: 0;
   color: #D02B2B;
   transform: translateY(100%);
   transition: transform 0.6s ease-in-out;
   width: 100%;
 }


 .nav-list a span {
   display: inline-block;
   transform: translateY(0);
   transition: transform 0.6s ease-in-out;
 }


 .nav-list a:hover::before {
   transform: translateY(0);
 }

 .nav-list a:hover span {
   transform: translateY(-100%);
 }

/* .site-header__nav .nav-list a.active::after,
.site-header__nav .nav-list a:hover::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
} */

/* ----- бургер ----- */
#burger.site-header__menu-btn {
  position: fixed;
  top: 38.94px;
  right: 40px;
  width: 60.12px;
  height: 60.12px;
  background: #D02B2B;
  border: none;
  border-radius: 100px 100px 100px 0px;
  transform: rotate(179.88deg);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  z-index: 250!important;
  transform-origin: center center;
  overflow: visible;
  transition: none;
  pointer-events: auto;
}

.bubble-bg.open {
  pointer-events: none;

}
/* .site-header__menu-btn .bar {
  display: block;
  width: 34px;
  height: 3.67px;
  background: #FFFFFF;
  transform: rotate(179.88deg);
}


.site-header__menu-btn .top {
  position: absolute;
  left: 13.06px;
  top: 19.06px;
  
}

.site-header__menu-btn .middle {
  position: absolute;
  left: 13.06px;
  top: 28.23px;
}

.site-header__menu-btn .bottom {
  position: absolute;
  left: 13.06px;
  top: 37.39px;
} */
.site-header__menu-btn .bar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 3.67px;
  background: #ffffff;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

 .site-header__menu-btn .top {
   transform: translate(-50%, -14px);
 }

 .site-header__menu-btn .middle {
   transform: translate(-50%, -50%);
 }

 .site-header__menu-btn .bottom {
   transform: translate(-50%, 12px);
 }
.site-header__menu-btn.open .top {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header__menu-btn.open .middle {
  opacity: 0;
}

.site-header__menu-btn.open .bottom {
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* .bubble-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--bubble-diam, 800px);
  height: var(--bubble-diam, 800px);
  background: #D02B2B;
  border-radius: 0 0 0 100%;
  transform-origin: top right;
  transform: scale(0);
  transition: transform 0.5s ease;
  overflow: hidden;
  z-index: 150;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: clamp(160px, 14vw, 340px);
} */
/* .bubble-bg {
  position: fixed;
  width: var(--bubble-diam, 800px);
  height: var(--bubble-diam, 800px);
  background: #D02B2B;
  border-radius: 50%;
  transform: scale(0);
  transform-origin: center center;
  z-index: 150;
  pointer-events: none;
} */
.bubble-bg {
  position: fixed;
  width: var(--bubble-diam);
  height: var(--bubble-diam);
  background: #D02B2B;
  border-radius: 0 0 0 55%;
  transform: scale(0);
  transform-origin: center center;
  z-index: 150;
  pointer-events: none;
}

.bubble-nav {
  position: fixed;
  top: 40%;
  left: 72%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bubble-nav .close-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  margin: 0 0 24px 0;
}

.bubble-nav .bubble-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

.bubble-nav .bubble-menu__list li {
  margin: 35px 0;
  text-align: center;
}

.bubble-nav .bubble-menu__list a {
  font-size: 24px;
  color: white;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  
}

.hero__decor img {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 30;
}

.hero__decor-stars {
  position: absolute;
  top: 29px;
  left: 78px;
  max-width: 1330px;
    transform: translateX(78px);
  height: 624px;
  pointer-events: none;
  user-select: none;
  z-index: 30;
  animation: twinkle 2s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}

@keyframes snowFall {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 1;
  }

  50% {
    transform: translateY(10px) translateX(5px) rotate(0.2deg);
    opacity: 0.95;
  }

  100% {
    transform: translateY(20px) translateX(-5px) rotate(-0.2deg);
    opacity: 1;
  }
}

.hero__decor-snow {
  position: absolute;
  width: 1155px;
  height: 581px;
  top: 94px;
  left: -66px;
  pointer-events: none;
  user-select: none;
  z-index: 30;

  animation: snowFall 8s ease-in-out infinite;
}


.flake-parallax {
  position: fixed;
  bottom: 0;
  left: -11.7vw;
  width: 23.3vw;
  max-width: 447px;
  pointer-events: none;
  user-select: none;
  z-index: 30;
  transition: all 0.4s ease;
}
.hero__decor-flake {
  width: 100%;
  height: auto;
  animation: slowRotate 60s linear infinite;
}


@keyframes slowRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


.flake-presents {
  position: absolute;
  top: 0;
  left: -11.7vw;
    width: 23.3vw;
    max-width: 447px;
    pointer-events: none;
    user-select: none;
    z-index: 30;
    transition: all 0.4s ease;
}

.flake-presents__img {
  width: 100%;
  height: auto;
  animation: slowRotate 60s linear infinite;
}

.hero-second.show-flake .flake-presents {
  opacity: 1;
}

@keyframes slowRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
.hero__decor-santa {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 61.3vw;
  max-width: 883px;
  height: auto;
  max-height: 581px;
  pointer-events: none;
  user-select: none;
  z-index: 30;
  object-fit: contain;
}


.hero__inner {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  padding-top: 0;
  z-index: 35;
  pointer-events: none;
}

.hero__content {
  max-width: 480px;
  padding-top: 253px;
  padding-left: 100px;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.hero__title {
  width: 451px;
  height: 83px;
  left: 148px;
  font-family: 'Risque', cursive;
  font-style: normal;
  font-size: 72px;
  line-height: 83px;
  color: #FFFFFF;
  margin: 0 ;
}

.hero__subtitle {
  width: 396px;
  height: 44px;
  left: 148px;
  font-family: 'Risque', cursive;
  font-style: normal;
  font-size: 38px;
  line-height: 44px;
  color: #FFFFFF;
  margin: 20px 0 27px;
}

.hero__btn {
  
  width: 186.35px;
  height: 44px;
  left: 148px;
  top: 427px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-size: 16px;
  line-height: 19px;
  color: #FFFFFF;
  text-decoration: none;
  border: 2px solid #FFFFFF;
  border-radius: 20px 20px 20px 0px;
  box-sizing: border-box;
  z-index: 50;
}

.hero__btn:hover {
  background: #ffffff;
  color: #141429;
}


.hero__speech {
  position: absolute;
  top: 23.8vw;         
  left: 46.4vw;        
  width: 18vw;         
  max-width: 260px;
  aspect-ratio: 259.58 / 166.11;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero__speech--visible {
  opacity: 1;
  transform: translateY(0);
}
.hero__speech-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: blur(2px);
  transform: rotate(-0.15deg);
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.hero__speech p {
  font-family: 'Risque', cursive;
  font-size: 18px; 
  line-height: 1.2;
  color: #000;
  font-weight: 400;
  margin: 0;
  padding: 0 10px;
  max-width: 174px;
  max-height: 59px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}



.hero__scroll {
  position: absolute;
  top: 670px;
  left: 100px;
  width: 34px;
  height: 38px;
  z-index: 50;
  pointer-events: none;
}

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


.hero-second {
  position: relative;
  min-height: 100vh;
  background: #141429 url('../img/15321.png') center/cover no-repeat;
  overflow: hidden;
}

/* ===== 2. Контент — два стовпці на desktop ===== */
/* .hero-second__content {
  padding-top: calc(var(--header-offset) + 102px);
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 120px;
  
  gap: 0 60px;
 
} */
.hero-second__content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  height: 100vh;
  overflow: hidden;
  padding-top: calc(var(--header-offset) + 102px);
  padding-left: 32px;
  padding-right: 40px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.hero-second__left {
  max-width: 50%;
  min-width: 300px;
  flex: 1;
}

.hero-second__title {
  width: 716px;
    min-width: auto;
    flex: 0 0 auto;
  font-family: 'Risque', cursive;
  font-size: 56px;
  line-height: 1.16;
  color: #fff;
  margin: 0 0 20px;
}

.hero-second__subtitle {
  width: 100%;
  font-family: 'Risque', cursive;
  font-size: 38px;
  color: #fff;
  margin: 0 0 40px;
}


.hero-second__presents {
  display: flex;
  gap: 32px;
}

.present {
  position: relative;
  width: 150px;
  height: 150px;
}

.present__circle {
  width: 100%;
  height: 100%;
  border: 5px solid #fff;
  border-radius: 50%;
  box-sizing: border-box;
}

.present__circle.white {
  background: #fff;
  box-shadow: inset 4px 10px 15px rgba(0, 0, 0, 0.25);
}

.present__img {
  position: absolute;
  max-width: 100px;
  max-height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
}


.hero-second__giftbox {
  display: none;
  width: 553px;
    height: 405px;
  display: flex;
  justify-content: space-between;
  padding: 40px;
  border: 3px solid #fff;
  border-radius: 20px;
  color: #fff;
}
.hero-second__giftbox.active {
  display: flex;
}
.giftbox__text h3 {
  font-family: 'Risque', cursive;
  font-size: 42px;
  margin: 0 0 38px;
}

.giftbox__text p {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  line-height: 1;
  margin: 0;
  padding-right: 35px;
}

.giftbox__img {
  width: 148px;
  height: auto;
  object-fit: contain;
}
/* .hero-form {
  position: relative;
  min-height: 100vh;
  background: #141429 url('../img/merry-christmas-xmas-night-christmas-reindeer-artwork-happy-new-year.png') center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 73px 20px 190px;
  overflow: hidden;
} */
 .hero-form {
   position: relative;
   height: 100vh;
   background: #141429 url('../img/merry-christmas-xmas-night-christmas-reindeer-artwork-happy-new-year.png') center/cover no-repeat;
   color: #fff;
   display: flex;
   
   overflow: hidden;
 }
.section {
  height: 100vh;
  overflow: hidden;
}
.hero-form__background {
  position: absolute;
  inset: 0;
  
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.hero-form__content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding-left: 22px;
}

.hero-form__text h2 {
  font-family: 'Risque', cursive;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 30px;
}

.hero-form__form {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row input {
  flex: 1;
  padding: 12px 16px;
  width: 50%;
  height: 48px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  border: 3px solid #FFFFFF;
  border-radius: 15px;
  box-sizing: border-box;
  background: transparent;
  color: #fff;
  outline: none;
}
.form-row input::placeholder {
  color: #fff;
  opacity: 1;
}
.hero-form__textarea {
  width: 100%;
  height: 76px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #fff;
  background: transparent;
  border: 3px solid #FFFFFF;
  border-radius: 15px;
  box-sizing: border-box;
  resize: none;
  outline: none;
}

.hero-form__textarea::placeholder {
  color: #fff;
  opacity: 1;
}

.custom-select {
  position: relative;
  width: 49%;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 19px;
  height: 48px;
  background-color: transparent;
  border: 3px solid #FFFFFF;
  border-radius: 15px;
  box-sizing: border-box;

  color: #fff;
  overflow: hidden;
  transition: height 0.3s ease, background-color 0.3s ease;
}


.custom-select.open {
  background-color: #fff;
  border: 3px solid #fff;
  border-radius: 15px;
  overflow: hidden;
  height: auto;
}


.custom-select__field {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  box-sizing: border-box;
  color: #fff;
  background-color: transparent;
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.custom-select.open .custom-select__field {
  background-color: #E5E5E5;
  color: #fff;
  border-bottom: 1px solid #ccc;
  border-radius: 15px;
}


.custom-select__dropdown {
  display: none;
  flex-direction: column;
  padding: 12px 16px;
  background: #FFFCFC;
}

.custom-select.open .custom-select__dropdown {
  display: flex;
}
.custom-select.open .custom-select__field {
  background-color: #E5E5E5;
  color: #fff;
  border-bottom: 1px solid #ccc;
}


.custom-select__arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: 8px;
  flex-shrink: 0;
}


.custom-select.open .custom-select__arrow {
  display: none;
}

.custom-select__option {
  padding: 6px 0;
  font-size: 16px;
  color: #CECECE;
  cursor: pointer;
}

.custom-select__option:hover {
  color: #D02B2B;
}


.custom-select__option.active {
  color: #D02B2B;
}
.hero-form__checkbox {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #D02B2B;
  font-family: 'Roboto', sans-serif;
  gap: 8px;
  cursor: pointer;
}

.hero-form__checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #D02B2B;
  border-radius: 3px;
  background-color: transparent;
  position: relative;
  cursor: pointer;
}

.hero-form__checkbox input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid #D02B2B;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* .hero-form__submit {
  margin-top: 10px;
  padding: 12px 24px;
  background: #fff;
  color: #141429;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-form__submit:hover {
  background: #e3e3e3;
} */
/* 7. Медіа-запити — ламаємо сітку нижче 992 px */
@media (max-width: 991.98px) {
  .hero-second__content {
    grid-template-columns: 1fr;
  }

  .hero-second__giftbox {
    grid-column: 1;
    grid-row: auto;
    margin-top: clamp(24px, 4vh, 48px);
    width: 100%;
    aspect-ratio: auto;
  }
}
@media (min-width: 1800px) {
  .hero__decor-santa {
    width: 45vw;
  }
}
@media (max-width: 991.98px) {
  .hero__decor img{
    width: 100%;
  }
  .site-header{
    padding: 0 20px;
  }
  .hero__inner{
    position: static;
  }
    .hero__content{
      padding-left: 20px;
      max-width: 100%;
      padding-top: 130px;
    }
        .hero__subtitle{
        font-size:28px;
        padding:13px 0 80px;
        }
        .hero__scroll, .hero__speech{
          display: none;
        }
    .hero-second__title{
      font-size: 52px;
      text-align: left;
    }
    .hero-second__subtitle{
      font-size: 28px;
    }
  .site-header__nav {
    display: none;
  }
    .hero__title{
      font-size:42px;
      width: 100%;
      height: 60px;
    }
}

@media (max-width: 1279px) {
  .hero__decor-santa {
    width: 55vw;
  }

  
  .hero__speech {
    right: calc(55vw + 20px);
    bottom: 160px;
  }
}

/* планшети */
/* @media (max-width: 991px) {
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__decor-santa {
    position: relative;
    width: 100%;
    max-width: none;
  }

  .hero__speech {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -60px auto 40px;
    transform: none;
  }
} */
 @media (max-width: 768px) {
  .bubble-nav .bubble-menu__list li {
      margin: 15px 0;
      
    }
  .section {
      height: auto;
      overflow: none;
    }
   .hero-second__content {
     flex-direction: column;
     align-items: center;
     height: auto;
     padding: 80px 20px 40px;
     gap: 24px;
   }

     .hero-second__title {
       font-size: 52px;
       text-align: left;
       width: 100%;
     }
  
     .hero-second__subtitle {
       font-size: 28px;
       width: 100%;
     }

   .hero-second__presents {
     justify-content: center;
     flex-wrap: wrap;
     gap: 16px;
   }
     .bubble-nav{
      top: 50%;
     }
   .present {
     width: 111.04731750488281px;
     height: 111.04731750488281px;
   }
    .giftbox__img{
      width: 136.73155212402344px;
    }
   .present__img {
     max-width: 60px;
     max-height: 60px;
   }

   .hero-second__giftbox {
     flex-direction: column-reverse;
     align-items: center;
     text-align: center;
     width: 100%;
     height: auto;
     padding: 20px;
     border: none;
    justify-content: center;
   }

   .giftbox__text h3 {
     font-size: 42px;
     text-align: left;
     margin: 0 0 30px;
   }
  .giftbox__text{
    padding: 0 20px;
  }
   .giftbox__text p {
     font-size: 28px;
     text-align: left;
   }
     .hero-form__text h2 {
       font-size: 52px;
       margin-bottom: 24px;
     }
         .hero-form__content {
           width: 100%;
           padding: 40px 20px 40px;
         }
         .flake-presents{
          display: none;
         }
          .flake-parallax{
             display: none;
          }
         .custom-select{
          width: 100%;
         }
                .form-row input{
          width: 100%;
          font-size: 20px;
        }
          .form-row{
            flex-direction: column;
          }
        .hero-form__textarea{
          font-size: 20px;
        }
       .custom-select__field{
        font-size: 20px;
       }
 }