.promo-launcher,
.promo-popup,
.promo-popup * {
  box-sizing: border-box;
}

.promo-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(380px, calc(100vw - 44px));
  min-height: 62px;
  padding: 7px 18px 7px 7px;
  border: 1px solid rgba(255, 235, 174, .8);
  border-radius: 999px;
  color: #10251d;
  background: linear-gradient(120deg, #ffcf59, #e7a91c 58%, #ffd979);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .3), 0 0 0 0 rgba(245, 185, 47, .42);
  font: 800 14px/1.2 Arial, sans-serif;
  cursor: pointer;
  animation: promo-launcher-pulse 2.8s ease-out infinite;
}

.promo-launcher > span {
  flex: 0 0 auto;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #ffe39a;
  background: #062b20;
  font-size: 19px;
}

.promo-launcher > strong {
  display: grid;
  justify-items: start;
  gap: 3px;
  text-align: left;
}

.promo-launcher__text {
  font-size: 13px;
  white-space: nowrap;
}

.promo-launcher__accent {
  display: inline-block;
  padding: 2px 9px 3px;
  border-radius: 999px;
  color: #ffe39a;
  background: #062b20;
  font-size: 14px;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.promo-launcher:hover,
.promo-launcher:focus-visible {
  transform: translateY(-2px);
  outline: 3px solid rgba(255, 213, 106, .35);
}

.promo-launcher[aria-expanded="true"] {
  opacity: 0;
  pointer-events: none;
}

.promo-popup {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9991;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 30px;
  overflow: auto;
  border: 1px solid rgba(255, 213, 106, .62);
  border-radius: 28px;
  color: #f9f5e9;
  background:
    radial-gradient(circle at 100% 0, rgba(245, 185, 47, .24), transparent 42%),
    linear-gradient(145deg, #073326, #031c16 74%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .5), inset 0 1px rgba(255, 255, 255, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(.97);
  transform-origin: right bottom;
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}

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

.promo-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 235, 174, .42);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font: 300 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.promo-popup__close:hover,
.promo-popup__close:focus-visible {
  color: #09291f;
  background: #f4c553;
  outline: none;
}

.promo-popup__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 48px 14px 0;
  color: #f5c75d;
  font: 800 11px/1.2 Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.promo-popup__badge span {
  font-size: 20px;
}

.promo-popup h2 {
  max-width: 350px;
  margin: 0 0 10px;
  color: #fff;
  font: 800 clamp(27px, 3vw, 36px)/1.02 Arial, sans-serif;
  letter-spacing: -.035em;
}

.promo-popup > p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .72);
  font: 400 15px/1.45 Arial, sans-serif;
}

.promo-popup__phone {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(245, 199, 93, .34);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .055);
  text-decoration: none;
}

.promo-popup__phone small {
  color: rgba(255, 255, 255, .58);
  font: 400 11px/1.2 Arial, sans-serif;
}

.promo-popup__phone strong {
  color: #f7cb65;
  font: 800 19px/1.1 Arial, sans-serif;
  white-space: nowrap;
}

.promo-popup__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.promo-popup__fields label,
.promo-popup__agree {
  display: grid;
  gap: 5px;
  color: rgba(255, 255, 255, .68);
  font: 700 11px/1.2 Arial, sans-serif;
}

.promo-popup__fields input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 12px;
  color: #fff;
  background: rgba(0, 0, 0, .2);
  font: 600 14px/1 Arial, sans-serif;
  outline: none;
}

.promo-popup__fields input::placeholder {
  color: rgba(255, 255, 255, .38);
}

.promo-popup__fields input:focus {
  border-color: #f5c75d;
  box-shadow: 0 0 0 3px rgba(245, 199, 93, .12);
}

.promo-popup__agree {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 13px 0 15px;
  font-weight: 400;
  line-height: 1.35;
}

.promo-popup__agree input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  align-self: center;
  accent-color: #e8ad25;
}

.promo-popup__agree > span {
  min-width: 0;
  align-self: center;
}

.promo-popup__agree a {
  color: #f5c75d;
}

.promo-popup__submit {
  width: 100%;
  min-height: 48px;
  border: 1px solid #ffe29a;
  border-radius: 13px;
  color: #08271e;
  background: linear-gradient(120deg, #f8cc62, #dfa019 62%, #ffd979);
  box-shadow: 0 12px 28px rgba(204, 139, 9, .2);
  font: 800 15px/1 Arial, sans-serif;
  cursor: pointer;
}

.promo-popup__submit:hover,
.promo-popup__submit:focus-visible {
  filter: brightness(1.08);
  outline: 3px solid rgba(255, 213, 106, .22);
}

.promo-popup__submit:disabled {
  cursor: wait;
  opacity: .7;
}

.promo-popup__status {
  min-height: 0;
  margin: 10px 0 0;
  color: #ffdc82;
  font: 700 13px/1.35 Arial, sans-serif;
}

@keyframes promo-launcher-pulse {
  0%, 55%, 100% { box-shadow: 0 14px 40px rgba(0, 0, 0, .3), 0 0 0 0 rgba(245, 185, 47, .35); }
  75% { box-shadow: 0 14px 40px rgba(0, 0, 0, .3), 0 0 0 13px rgba(245, 185, 47, 0); }
}

@media (max-width: 600px) {
  .promo-launcher {
    left: 8px;
    right: 8px;
    bottom: 12px;
    width: auto;
    min-height: 66px;
    padding-right: 14px;
    font-size: 13px;
  }

  .promo-launcher__text {
    font-size: 12px;
    white-space: normal;
  }

  .promo-launcher__accent {
    font-size: 13px;
  }

  .promo-popup {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    max-height: calc(100dvh - 16px);
    padding: 25px 20px 20px;
    border-radius: 23px;
  }

  .promo-popup h2 {
    padding-right: 20px;
    font-size: 25px;
    line-height: 1.04;
  }

  .promo-popup__phone {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 380px) {
  .promo-popup__fields {
    grid-template-columns: 1fr;
  }

}

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

  .promo-popup {
    transition-duration: .01ms;
  }
}
