html {
  scroll-behavior: auto !important;
  overflow-y: auto;
}

body {
  overflow-x: hidden;
  overflow-y: auto !important;
  pointer-events: auto !important;
  touch-action: pan-y;
  overscroll-behavior-y: auto;
}

[id] {
  scroll-margin-top: 96px;
}

.request-contacts {
  display: none !important;
}

.header-calc-button,
.header-contact > .button-dark.button-small {
  background-image: linear-gradient(110deg, #24272c 0%, #24272c 38%, #f4c400 50%, #ffd929 62%, #24272c 100%);
  background-position: 0 0;
  background-size: 260% 100%;
  transition: color .25s ease, background-position .55s ease, box-shadow .25s ease !important;
}

.header-calc-button:hover,
.header-calc-button:focus-visible,
.header-contact > .button-dark.button-small:hover,
.header-contact > .button-dark.button-small:focus-visible {
  color: #24272c;
  background-position: 100% 0;
  box-shadow: 0 10px 24px rgba(191, 150, 0, .28);
}

.phone-dropdown {
  max-height: min(520px, calc(100vh - 110px));
  min-width: 330px;
  overflow-y: auto;
}

.service-hero img {
  opacity: .78 !important;
  filter: saturate(.96) contrast(1.02) !important;
  object-position: center center;
  transform: scale(1) !important;
}

.service-hero::after {
  background: linear-gradient(90deg, rgba(27, 29, 32, .72), rgba(27, 29, 32, .14)) !important;
}

.service-hero-inner {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .36);
}

.slider figure {
  pointer-events: none;
}

.slider figure.active {
  pointer-events: auto;
}

.slider-order-button {
  position: absolute;
  z-index: 4;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  color: #24272c;
  background: #ffd31a;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.slider-order-button:hover,
.slider-order-button:focus-visible {
  background: #ffe268;
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(0, 0, 0, .28);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.transport-modal-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-y: auto;
  background: rgba(20, 22, 25, .68);
  backdrop-filter: blur(5px);
}

.transport-modal {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 36px);
  padding: 30px;
  overflow-y: auto;
  color: #24272c;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.transport-modal h2 {
  margin: 0 42px 10px 0;
  font-size: 28px;
  line-height: 1.15;
}

.transport-modal > p {
  margin: 0 42px 22px 0;
  color: #6b7076;
  font-size: 14px;
  line-height: 1.55;
}

.transport-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #24272c;
  background: #f1f2f3;
  border: 0;
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.form-success {
  width: 100%;
  min-height: 250px;
  justify-content: center;
  border: 1px solid #e5e6e7;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(36, 39, 44, .08);
}

.form-success p {
  max-width: 520px;
}

.form-success-action {
  margin-top: 22px;
}

.transport-modal .form-success {
  min-height: 280px;
  padding: 30px;
  text-align: left;
}

@media (max-width: 1050px) and (min-width: 761px) {
  .menu-button {
    display: block;
    margin-left: 12px;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px 20px;
    background: #fff;
    border-bottom: 1px solid #e1e3e4;
    box-shadow: 0 14px 25px rgba(0, 0, 0, .08);
  }

  .mobile-nav > a:not(.button) {
    padding: 12px 5px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    font-weight: 700;
  }
}

@media (max-width: 760px) {
  [id] { scroll-margin-top: 80px; }
  .slider-order-button { top: 14px; right: 14px; min-height: 44px; padding: 0 15px; }
  .transport-modal { padding: 24px 18px; }
  .transport-modal h2 { font-size: 24px; }
  .service-hero::after { background: linear-gradient(90deg, rgba(27, 29, 32, .66), rgba(27, 29, 32, .2)) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .header-calc-button,
  .header-contact > .button-dark.button-small,
  .slider-order-button { transition: none !important; }
}
