
.promo {
  flex: 1;
  display: flex;
  align-items: center;
  overflow-x: hidden;
  background-color: #f7f8fd;
}

.promo__inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: calc(100dvh - 98px);
  align-items: center;
  padding: 0;
}

/* Left part */

.promo__left {
  display: flex;
  width: calc(40% - 20px);
  gap: max(20px, 7vh);
  flex-direction: column;
}

.promo__title {
  margin: 0;
  color: #002347;
  font-size: 130px;
  font-weight: normal;
  line-height: 1;
  text-transform: uppercase;
  font-family: 'Panton';
}

.promo__title sup {
    font-size: 5rem;
}

.promo__title-line {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 4px 12px;
}

.promo__text {
  max-width: 420px;
  font-size: 42px;
  line-height: 96%;
  color: #009fe3;
}

.promo__button {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 20px 84px;
  background-color: #f7f8fd;
  border: 2px solid #009fe3;
  border-radius: 50px;
  color: #009fe3;
  font-size: 32px;
  font-weight: normal;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin-top: 36px;
}

.promo__button:hover {
  background-color: #009fe3;
  color: #fff;
}

/* Right part */

.promo__right {
  position: relative;
  flex-shrink: 0;
  width: calc(60% - 20px);
  min-width: 0;
}

.promo__stomach {
  margin-top: -50px;
  z-index: -1;
  display: block;
  height: 100svh;
}

.promo__lightning {
  position: absolute;
  display: block;
}

.promo__lightning--left {
  bottom: 46%;
  right: 48%;
  width: 35%;
  animation: slide-right 1.5s ease-in-out infinite alternate;
}

.promo__lightning--right {
  top: -1%;
  right: -3%;
  width: 24%;
  animation: slide-left 1.5s ease-in-out 0.3s infinite alternate;
}

@keyframes slide-left {
  0% { transform: translate(30px, -30px); }
  100% { transform: translate(-30px, 30px); }
}

@keyframes slide-right {
  0% { transform: translate(-80px, -60px); }
  100% { transform: translate(80px, 60px); }
}

/* Responsive */

@media (max-width: 1024px) {
  .promo {
    margin-top: 0;
    height: min(calc(100svh - 70px), 570px);
    min-height: 0;
    overflow: hidden;
  }

  .promo__inner {
    position: relative;
    align-items: stretch;
    height: 100%;
    min-height: 0;
    padding: 60px 25px 21px;
    gap: 0;
    overflow: hidden;
  }

  .promo__right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform: none;
    pointer-events: none;
    /* top: -60px; */
  }

  .promo__stomach {
    position: absolute;
    top: 10px;
    right: -124px;
    bottom: -49px;
    width: 555px;
    height: auto;
    max-width: none;
    opacity: 1;
  }

  .promo__lightning--left {
    left: 24px;
    bottom: 100px;
    right: auto;
    width: 100px;
    opacity: 0.9;
    transform: rotate(-90deg);
    animation: lightning-lower-mobile 1.5s ease-in-out infinite alternate both;
  }

  .promo__lightning--right {
    top: 134px;
    right: 81px;
    width: 92px;
    height: auto;
    opacity: 0.9;
    transform: rotate(-90deg);
    animation: lightning-upper-mobile 1.5s ease-in-out 0.3s infinite alternate both;
  }

  .promo__left {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    gap: 0;
  }

  .promo__text {
    max-width: 240px;
    margin: 32px 0 0;
    margin-left: 12px;
    font-size: 19px;
    line-height: 0.95;
  }

  .promo__button {
    position: absolute;
    left: 50%;
    bottom: 0;
    margin: 0;
    width: 189px;
    height: 51px;
    padding: 0;
    font-size: 18px;
    transform: translateX(-50%);
  }

  @keyframes lightning-upper-mobile {
    0% { transform: translate(-6px, -4px) rotate(-90deg); }
    100% { transform: translate(6px, 4px) rotate(-90deg); }
  }

  @keyframes lightning-lower-mobile {
    0% { transform: translate(-5px, 5px) rotate(-90deg); }
    100% { transform: translate(5px, -5px) rotate(-90deg); }
  }

  .header {
    height: 70px;
  }
}

@media (max-width: 480px) {
  .promo__inner {
    padding: 60px 25px 21px;
  }

  .promo__title {
    font-size: 52px;
  }

  .promo__text {
    font-size: 19px;
    max-width: 240px;
  }

  .promo__button {
    width: 189px;
    height: 51px;
    padding: 0;
    font-size: 18px;
    bottom: -6px;
  }
}

@media (min-width: 481px) and (max-width: 599px) {
  .promo {
    height: min(calc(100svh - 70px), 590px);
    min-height: 540px;
  }

  .promo__inner {
    padding: 58px 32px 24px;
  }

  .promo__title {
    max-width: 58%;
    font-size: clamp(62px, 12vw, 72px);
    line-height: .93;
  }

  .promo__title-line {
    padding: 0;
  }

  .promo__text {
    max-width: 220px;
    margin: 28px 0 0;
    font-size: 18px;
    line-height: 1;
  }

  .promo__stomach {
    top: 1%;
    right: -10%;
    width: 575px;
  }

  .promo__lightning--left {
    left: 26px;
    bottom: 96px;
    width: 78px;
  }

  .promo__lightning--right {
    top: 142px;
    right: 13%;
    width: 80px;
  }

  .promo__button {
    bottom: 0;
  }
}

@media (min-width: 600px) and (max-width: 1024px) {
  .promo {
    height: min(calc(100svh - 70px), clamp(590px, 85vw, 640px));
    min-height: 570px;
  }

  .promo__inner {
    padding: 64px 40px 28px;
  }

  .promo__title {
    max-width: 58%;
    font-size: clamp(72px, 10vw, 96px);
    line-height: .92;
  }

  .promo__title-line {
    padding: 0;
  }

  .promo__text {
    max-width: 300px;
    margin: 30px 0 0;
    font-size: clamp(22px, 2.8vw, 28px);
    line-height: 1;
  }

  .promo__stomach {
    top: -3%;
    right: -1%;
    width: min(100vw, 660px);
  }

  .promo__lightning--left {
    left: 30px;
    bottom: 105px;
    width: 86px;
  }

  .promo__lightning--right {
    top: 145px;
    right: 12%;
    width: 88px;
  }

  .promo__button {
    bottom: 22px;
  }
}

@media (min-width: 1025px) and (max-width: 1600px) {
  .promo__inner {
    padding-inline: 40px;
  }

  .promo__left {
    width: 42%;
    gap: clamp(28px, 5vh, 52px);
  }

  .promo__title {
    font-size: clamp(86px, 8.4vw, 126px);
    line-height: .96;
  }

  .promo__title-line {
    padding-inline: 0;
  }

  .promo__text {
    max-width: 390px;
    font-size: clamp(30px, 2.8vw, 40px);
  }

  .promo__button {
    width: min(290px, 100%);
    padding: 16px 42px;
    font-size: 28px;
  }

  .promo__right {
    width: 58%;
  }

  .promo__stomach {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 60px);
    margin-top: -60px;
    object-fit: contain;
  }
}

@media (min-width: 1025px) {
  .promo--fit .promo__left {
    gap: calc(max(20px, 7vh) * var(--promo-fit));
  }
  .promo--fit .promo__title {
    font-size: calc(130px * var(--promo-fit));
  }
  .promo--fit .promo__text {
    font-size: calc(42px * var(--promo-fit));
  }
  .promo--fit .promo__button {
    font-size: calc(32px * var(--promo-fit));
    margin-top: calc(36px * var(--promo-fit));
    padding: calc(20px * var(--promo-fit)) calc(84px * var(--promo-fit));
  }
}

@media (min-width: 1025px) and (max-width: 1600px) {
  .promo--fit .promo__left {
    gap: calc(clamp(28px, 5vh, 52px) * var(--promo-fit));
  }
  .promo--fit .promo__title {
    font-size: calc(clamp(86px, 8.4vw, 126px) * var(--promo-fit));
  }
  .promo--fit .promo__text {
    font-size: calc(clamp(30px, 2.8vw, 40px) * var(--promo-fit));
  }
  .promo--fit .promo__button {
    width: min(calc(290px * var(--promo-fit)), 100%);
    font-size: calc(28px * var(--promo-fit));
    padding: calc(16px * var(--promo-fit)) calc(42px * var(--promo-fit));
  }
}