body.modal-bounce-shell-lock {
  overflow: hidden;
}

.request-sidebar {
  --request-surface: rgba(13, 21, 34, 0.9);
  --request-panel-text: #ffffff;
  --request-panel-muted: rgba(255, 255, 255, 0.72);
  --request-dialog-text: #f3f6fb;
  --request-dialog-muted: rgba(228, 235, 245, 0.74);
  --request-primary: var(--color-primary, #f28a2e);
  --request-primary-strong: var(--color-primary-strong, #d96a11);
  --request-accent: var(--color-accent, #1f5eff);
  --request-surface-strong: rgba(16, 24, 38, 0.98);
  --request-surface-soft: rgba(255, 255, 255, 0.05);
  --request-border: rgba(255, 255, 255, 0.06);
  position: fixed;
  right: 14px;
  top: calc(50% - 166px);
  z-index: 90;
}

.request-sidebar.is-modal-open {
  z-index: 1000;
}

body.prefab-header-menu-open .request-sidebar {
  opacity: 0;
  pointer-events: none;
}

.request-sidebar__rail {
  display: grid;
  gap: 8px;
}

.request-sidebar__action,
.request-sidebar__submit,
.request-sidebar__method,
.request-sidebar__close {
  font: inherit;
}

.request-sidebar__action {
  position: relative;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  background: var(--request-surface);
  color: var(--request-panel-text);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(7, 16, 29, 0.24);
  backdrop-filter: blur(16px);
  cursor: pointer;
  isolation: isolate;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.request-sidebar__action::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--request-border);
  pointer-events: none;
}

.request-sidebar__action:hover,
.request-sidebar__action:focus-visible {
  transform: translateX(-4px);
  box-shadow: 0 18px 34px rgba(7, 16, 29, 0.3);
}

.request-sidebar__action:focus-visible {
  outline: 2px solid rgba(242, 138, 46, 0.55);
  outline-offset: 4px;
}

.request-sidebar__action--primary {
  background: linear-gradient(135deg, var(--request-primary), var(--request-primary-strong));
}

.request-sidebar__icon {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.request-sidebar__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.request-sidebar__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.request-sidebar__flyout {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  min-width: 212px;
  padding: 12px 16px;
  display: grid;
  gap: 4px;
  border-radius: 16px;
  background: rgba(15, 24, 37, 0.97);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(7, 16, 29, 0.28);
  opacity: 0;
  transform: translate(14px, -50%);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: auto;
  white-space: nowrap;
  z-index: -1;
}

.request-sidebar__flyout strong {
  font-size: 16px;
  line-height: 1.1;
}

.request-sidebar__flyout span {
  color: var(--request-panel-muted);
  font-size: 13px;
  line-height: 1.35;
}

.request-sidebar__action--phone .request-sidebar__flyout span {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.request-sidebar__action:is(:hover, :focus-visible) .request-sidebar__flyout,
.request-sidebar__action.request-sidebar__action--expanded .request-sidebar__flyout {
  opacity: 1;
  transform: translate(0, -50%);
  z-index: 1;
}

.modal-bounce-shell {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
}

.modal-bounce-shell.is-visible {
  display: grid;
  place-items: center;
}

.modal-bounce-shell__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 29, 0.76);
}

.modal-bounce-shell__dialog {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), 620px);
  max-height: calc(100vh - 32px);
  margin: 0 auto;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(31, 94, 255, 0.16), transparent 26%),
    radial-gradient(circle at top left, rgba(242, 138, 46, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(16, 24, 38, 0.985) 0%, rgba(11, 18, 30, 0.985) 100%);
  box-shadow: 0 32px 100px rgba(7, 16, 29, 0.46);
  animation-duration: 0.75s;
  animation-fill-mode: both;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-bounce-shell.is-opening .modal-bounce-shell__dialog {
  animation-name: modal-bounce-shell-bounce-in;
}

.modal-bounce-shell.is-closing .modal-bounce-shell__dialog {
  animation-name: modal-bounce-shell-bounce-out-down;
  animation-duration: 0.5s;
}

.modal-bounce-shell__content {
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.request-sidebar__close.modal-bounce-shell__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(9, 16, 28, 0.88);
  color: var(--request-dialog-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
  box-shadow: 0 16px 30px rgba(4, 8, 16, 0.28);
}

.request-sidebar__close.modal-bounce-shell__close:hover,
.request-sidebar__close.modal-bounce-shell__close:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(12, 20, 34, 0.96);
  transform: scale(1.04);
  box-shadow: 0 18px 36px rgba(4, 8, 16, 0.34);
}

.request-sidebar__close-line {
  position: absolute;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: #f4f7fb;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.request-sidebar__close-line--left {
  transform: rotate(45deg);
}

.request-sidebar__close-line--right {
  transform: rotate(-45deg);
}

.request-sidebar__close.modal-bounce-shell__close:hover .request-sidebar__close-line--left,
.request-sidebar__close.modal-bounce-shell__close:focus-visible .request-sidebar__close-line--left {
  transform: rotate(-45deg);
}

.request-sidebar__close.modal-bounce-shell__close:hover .request-sidebar__close-line--right,
.request-sidebar__close.modal-bounce-shell__close:focus-visible .request-sidebar__close-line--right {
  transform: rotate(45deg);
}

.request-sidebar__close.modal-bounce-shell__close:hover .request-sidebar__close-line,
.request-sidebar__close.modal-bounce-shell__close:focus-visible .request-sidebar__close-line {
  background: #7fb0ff;
}

.request-sidebar__form-block,
.request-sidebar__success {
  padding: 36px 40px 32px;
  color: var(--request-dialog-text);
}

.request-sidebar__eyebrow {
  margin: 0 0 8px;
  color: #7ea8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.request-sidebar__title {
  margin: 0 0 8px;
  padding-right: 72px;
  font-size: 38px;
  line-height: 1;
  color: var(--request-dialog-text);
}

.request-sidebar__subtitle {
  margin: 0 0 16px;
  color: var(--request-dialog-muted);
  font-size: 16px;
  line-height: 1.35;
  max-width: 360px;
}

.request-sidebar__methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.request-sidebar__method {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--request-dialog-text);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.request-sidebar__method.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(31, 94, 255, 0.24), rgba(31, 94, 255, 0.14));
  color: #b7d0ff;
}

.request-sidebar__field {
  position: relative;
}

.request-sidebar__field + .request-sidebar__field,
.request-sidebar__field + .request-sidebar__object,
.request-sidebar__field + .request-sidebar__policy,
.request-sidebar__field + .request-sidebar__submit {
  margin-top: 10px;
}

.request-sidebar__input,
.request-sidebar__textarea {
  width: 100%;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--request-dialog-text);
  font-size: 17px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.request-sidebar__input {
  height: 58px;
}

.request-sidebar__textarea {
  min-height: 124px;
  padding: 20px 18px 16px;
  resize: vertical;
}

.request-sidebar__input:focus,
.request-sidebar__textarea:focus {
  border-color: rgba(31, 94, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.12);
  outline: 0;
}

.request-sidebar__label {
  position: absolute;
  top: 17px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 24, 38, 0.9);
  color: rgba(243, 246, 251, 0.82);
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.request-sidebar__field--textarea .request-sidebar__label {
  top: 20px;
}

.request-sidebar__input:focus + .request-sidebar__label,
.request-sidebar__input:not(:placeholder-shown) + .request-sidebar__label,
.request-sidebar__textarea:focus + .request-sidebar__label,
.request-sidebar__textarea:not(:placeholder-shown) + .request-sidebar__label {
  top: -10px;
  font-size: 11px;
  color: #edf4ff;
  background: rgba(31, 94, 255, 0.26);
}

.request-sidebar__object,
.request-sidebar__policy,
.request-sidebar__submit {
  margin-top: 10px;
}

.request-sidebar__object {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--request-dialog-muted);
  line-height: 1.4;
}

.request-sidebar__policy {
  display: flex;
  gap: 10px;
  color: var(--request-dialog-muted);
  font-size: 13px;
  line-height: 1.4;
}

.request-sidebar__policy input {
  accent-color: var(--request-accent);
}

.request-sidebar__policy a {
  color: #9ec2ff;
}

.request-sidebar__submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #1c4fcf, #173b97);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(20, 55, 145, 0.34);
}

.request-sidebar__submit:hover {
  background: linear-gradient(135deg, #2459de, #1c4fcf);
}

.request-sidebar__success {
  text-align: center;
}

.request-sidebar__success h3 {
  margin: 0 0 8px;
  font-size: 32px;
}

.request-sidebar__success p {
  margin: 0;
  color: var(--request-dialog-muted);
}

@keyframes modal-bounce-shell-bounce-in {
  0%,
  20%,
  40%,
  60%,
  80%,
  100% {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    transform: scale3d(1.08, 1.08, 1.08);
  }

  40% {
    transform: scale3d(0.92, 0.92, 0.92);
  }

  60% {
    opacity: 1;
    transform: scale3d(1.02, 1.02, 1.02);
  }

  80% {
    transform: scale3d(0.98, 0.98, 0.98);
  }

  100% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes modal-bounce-shell-bounce-out-down {
  20% {
    transform: translate3d(0, 10px, 0);
  }

  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, 2000px, 0);
  }
}

@media (max-width: 900px) {
  .request-sidebar {
    right: 12px;
  }

  .request-sidebar__flyout {
    min-width: 198px;
  }
}

@media (max-width: 640px) {
  .request-sidebar {
    top: auto;
    right: 12px;
    bottom: 122px;
  }

  .request-sidebar__rail {
    gap: 0;
  }

  .request-sidebar__action {
    width: 58px;
    height: 58px;
    border-radius: 20px;
  }

  .request-sidebar__icon {
    width: 24px;
    height: 24px;
  }

  .request-sidebar__flyout {
    display: none;
  }

  .request-sidebar__action--phone,
  .request-sidebar__action--max,
  .request-sidebar__action--telegram,
  .request-sidebar__action--whatsapp {
    display: none;
  }

  .request-sidebar__action--primary {
    box-shadow: 0 16px 34px rgba(7, 16, 29, 0.32);
  }

  body.setmod-cookie-banner-visible .request-sidebar {
    opacity: 0;
    pointer-events: none;
  }

  .modal-bounce-shell__dialog {
    width: min(calc(100% - 16px), 620px);
    max-height: calc(100vh - 16px);
    margin: 0 auto;
    border-radius: 22px;
  }

  .modal-bounce-shell__content {
    max-height: calc(100vh - 16px);
  }

  .request-sidebar__close.modal-bounce-shell__close {
    top: 10px;
    right: 10px;
    width: 46px;
    height: 46px;
  }

  .request-sidebar__form-block,
  .request-sidebar__success {
    padding: 18px 14px 14px;
  }

  .request-sidebar__title {
    font-size: 24px;
    padding-right: 46px;
  }

  .request-sidebar__label {
    font-size: 14px;
  }

  .request-sidebar__subtitle {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .request-sidebar__eyebrow {
    display: none;
  }

  .request-sidebar__methods {
    gap: 6px;
    margin-bottom: 12px;
  }

  .request-sidebar__method {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .request-sidebar__input {
    height: 52px;
    font-size: 16px;
  }

  .request-sidebar__textarea {
    min-height: 86px;
    padding-top: 18px;
    font-size: 16px;
  }

  .request-sidebar__field + .request-sidebar__field,
  .request-sidebar__field + .request-sidebar__object,
  .request-sidebar__field + .request-sidebar__policy,
  .request-sidebar__field + .request-sidebar__submit,
  .request-sidebar__object,
  .request-sidebar__policy,
  .request-sidebar__submit {
    margin-top: 8px;
  }

  .request-sidebar__policy {
    font-size: 12px;
    line-height: 1.35;
  }

  .request-sidebar__submit {
    min-height: 50px;
    font-size: 16px;
  }
}
