.service-page {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 8px;
  padding-bottom: 0;
  margin-bottom: -50px;
  color: #17243a;
}

.service-page *,
.service-page *::before,
.service-page *::after {
  box-sizing: border-box;
}

.service-page h1,
.service-page h2,
.service-page h3,
.service-page p {
  margin-top: 0;
}

.service-page p {
  line-height: 1.6;
}

.service-page__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(410px, .55fr);
  gap: 48px;
  align-items: center;
  padding: 44px 48px;
  background: #f5f8fc;
  border: 1px solid #e0e7f1;
  border-radius: 14px;
}

.service-page__eyebrow {
  margin-bottom: 12px;
  color: #2150ba;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-page__hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #13233d;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.18;
}

.service-page__lead {
  max-width: 780px;
  margin-bottom: 0;
  color: #53627a;
  font-size: 17px;
}

.service-page__hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 26px;
  padding: 0 24px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: #2150ba;
  border-radius: 8px;
  transition: background .2s ease, transform .2s ease;
}

.service-page__hero-action:hover,
.service-page__hero-action:focus-visible {
  color: #fff;
  text-decoration: none;
  background: #173f9a;
}

.service-page__hero-action:active {
  transform: translateY(1px);
}

.service-hero-slider {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e7edf5;
  border: 1px solid #d8e0eb;
  border-radius: 12px;
  outline: none;
}

.service-hero-slider:focus-visible {
  box-shadow: 0 0 0 3px rgba(33, 80, 186, .2);
}

.service-hero-slider__viewport,
.service-hero-slider__slide {
  position: absolute;
  inset: 0;
}

.service-hero-slider__slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.service-hero-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.service-hero-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero-slider__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  font: 400 30px/1 Arial, sans-serif;
  background: rgba(14, 30, 56, .58);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}

.service-hero-slider__arrow:hover,
.service-hero-slider__arrow:focus-visible {
  background: rgba(14, 30, 56, .82);
  outline: none;
}

.service-hero-slider__arrow--prev {
  left: 12px;
}

.service-hero-slider__arrow--next {
  right: 12px;
}

.service-hero-slider__dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 12px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.service-hero-slider__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  background: rgba(255, 255, 255, .58);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.service-hero-slider__dots button.is-active {
  background: #fff;
  transform: scale(1.35);
}

.service-hero-slider__dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.service-page__services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #dfe6ef;
  border-bottom: 1px solid #dfe6ef;
}

.service-page__service {
  min-width: 0;
  padding: 30px 34px;
}

.service-page__service:first-child {
  padding-left: 0;
}

.service-page__service:last-child {
  padding-right: 0;
}

.service-page__service + .service-page__service {
  border-left: 1px solid #dfe6ef;
}

.service-page__service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-bottom: 18px;
}

.service-page__icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  background: #eef4ff;
  border: 1px solid #d5e2fb;
  border-radius: 12px;
}

.service-page__icon img {
  display: block;
  width: 30px;
  height: 30px;
}

.service-page__number {
  display: block;
  color: #2150ba;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.service-page__service h3 {
  margin-bottom: 10px;
  color: #17243a;
  font-size: 19px;
  line-height: 1.3;
}

.service-page__service p {
  margin-bottom: 0;
  color: #66758c;
  font-size: 15px;
}


.service-map {
  position: relative;
  left: 50%;
  width: 100vw;
  min-height: 500px;
  margin-left: -50vw;
  overflow: hidden;
  background: #e8edf4;
  border-top: 1px solid #dfe6ef;
  border-bottom: 1px solid #dfe6ef;
  border-radius: 0;
  box-shadow: 0 18px 46px rgba(19, 35, 61, .12);
  isolation: isolate;
}

.service-map__frame {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.service-map__card {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100% - 72px));
  margin-top: 36px;
  margin-right: 36px;
  margin-bottom: 36px;
  margin-left: max(36px, calc(50vw - 512px + 36px));
  padding: 34px 36px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(214, 224, 238, .98);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(20, 42, 77, .22), 0 8px 24px rgba(20, 42, 77, .12);
  backdrop-filter: blur(8px);
}

.service-map__card h3 {
  max-width: 460px;
  margin-bottom: 12px;
  color: #17243a;
  font-size: 24px;
  line-height: 1.28;
}

.service-map__card > p {
  max-width: 480px;
  margin-bottom: 22px;
  color: #66758c;
  font-size: 15px;
}

.service-map__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.service-map__contacts > a {
  color: #2150ba;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.service-map__contacts > a:hover,
.service-map__contacts > a:focus-visible {
  color: #173f9a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-page__hours {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 16px;
  color: #66758c;
  font-size: 14px;
  line-height: 1.45;
}

.service-page__hours strong {
  margin-bottom: 2px;
  color: #17243a;
  font-size: 14px;
}

.service-map__route {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: #2150ba;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(33, 80, 186, .22);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.service-map__route svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.service-map__route,
.service-map__route span,
.service-map__route svg {
  color: #fff !important;
}

.service-map__route:hover,
.service-map__route:focus-visible {
  color: #fff;
  text-decoration: none;
  background: #173f9a;
  box-shadow: 0 12px 28px rgba(33, 80, 186, .28);
}

.service-map__route:active {
  transform: translateY(1px);
}

@media (max-width: 980px) {
  .service-page__hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-page__hero {
    padding: 34px;
  }

  .service-hero-slider {
    width: min(100%, 520px);
    justify-self: start;
  }

  .service-page__services {
    grid-template-columns: 1fr;
  }

  .service-page__service,
  .service-page__service:first-child,
  .service-page__service:last-child {
    padding: 24px 0;
  }

  .service-page__service + .service-page__service {
    border-top: 1px solid #dfe6ef;
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .service-map {
    min-height: 560px;
  }

  .service-map__card {
    width: min(520px, calc(100% - 48px));
    margin: 24px;
  }
}

@media (max-width: 680px) {
  .service-page {
    gap: 20px;
    padding-bottom: 24px;
  }

  .service-page__hero {
    padding: 24px 20px;
    border-radius: 10px;
  }

  .service-page__hero h1 {
    font-size: 25px;
  }

  .service-page__lead {
    font-size: 16px;
  }

  .service-hero-slider {
    width: 100%;
  }

  .service-map {
    min-height: 660px;
    border-radius: 12px;
  }

  .service-map__card {
    width: calc(100% - 28px);
    margin: 14px;
    padding: 24px 20px;
    border-radius: 10px;
  }

  .service-map__card h3 {
    font-size: 21px;
  }

  .service-map__route {
    width: 100%;
  }
}

.service-request {
  padding: 38px;
  background: linear-gradient(135deg, #d8e8ff 0%, #eef5ff 48%, #cbdfff 100%);
  border: 1px solid #aac4ee;
  border-radius: 14px;
  box-shadow: 0 28px 70px rgba(24, 67, 150, .24), 0 10px 28px rgba(24, 67, 150, .14);
}

.service-request__intro {
  max-width: 820px;
  margin-bottom: 28px;
}

.service-request__intro h3 {
  margin-bottom: 10px;
  color: #123b86;
  font-size: 26px;
  line-height: 1.25;
}

.service-request__intro p {
  margin-bottom: 0;
  color: #66758c;
  font-size: 15px;
}

.service-request__message {
  margin-bottom: 24px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  color: #34445c;
  font-size: 14px;
  line-height: 1.5;
}

.service-request__message strong {
  display: block;
  margin-bottom: 3px;
  color: #17243a;
}

.service-request__message ul {
  margin: 7px 0 0;
  padding-left: 20px;
}

.service-request__message--success {
  border-color: #b9ddc8;
  background: #f6fcf8;
}

.service-request__message--error {
  border-color: #e3c4c4;
  background: #fff8f8;
}

.service-request__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.service-request__field {
  min-width: 0;
}

.service-request__field--full {
  grid-column: 1 / -1;
}

.service-request__field > label {
  display: block;
  margin-bottom: 8px;
  color: #24344d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.service-request__field > label span {
  color: #2150ba;
}

.service-request__field input[type="text"],
.service-request__field input[type="tel"],
.service-request__field input[type="email"],
.service-request__field input[type="date"],
.service-request__field select,
.service-request__field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  color: #17243a;
  font: inherit;
  background: #fff;
  border: 1px solid #ccd6e3;
  border-radius: 8px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.service-request__field textarea {
  min-height: 122px;
  resize: vertical;
}

.service-request__field input:focus,
.service-request__field select:focus,
.service-request__field textarea:focus {
  border-color: #2150ba;
  box-shadow: 0 0 0 3px rgba(33, 80, 186, .1);
}

.service-request__hint {
  margin: 7px 0 0;
  color: #7a879a;
  font-size: 12px;
  line-height: 1.45;
}

.service-request__hint--top {
  margin: -2px 0 8px;
}

.service-upload {
  position: relative;
  padding: 26px;
  background: #fff;
  border: 1px dashed #aebbd0;
  border-radius: 10px;
  transition: border-color .2s ease, background .2s ease;
}

.service-upload.is-dragover {
  border-color: #2150ba;
  background: #f8faff;
}

.service-upload.is-invalid {
  border-color: #b74a4a;
}

.service-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.service-upload__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: #5d6c82;
  font-size: 14px;
}

.service-upload__copy strong {
  color: #263750;
  font-size: 15px;
}

.service-upload__button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  background: #2150ba;
  border-radius: 7px;
}

.service-upload > p {
  margin: 10px 0 0;
  color: #7a879a;
  font-size: 12px;
}

.service-upload__list {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.service-upload__file {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 7px;
  border-top: 1px solid #edf1f6;
  color: #53627a;
  font-size: 12px;
  line-height: 1.4;
}

.service-upload__file strong {
  overflow: hidden;
  color: #33445d;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-upload__error {
  margin-top: 10px;
  color: #a53f3f;
  font-size: 12px;
  font-weight: 600;
}

.service-request__consent {
  padding-top: 2px;
}

.service-request__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 860px;
  margin: 0;
  color: #33445d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}

.service-request__consent-label input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 1px 0 0;
  accent-color: #2150ba;
  cursor: pointer;
}

.service-request__consent-label a {
  color: #123b86;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.service-request__consent-label a:hover {
  color: #2150ba;
}

.service-request__consent-label strong {
  color: #2150ba;
}

.service-request__submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 2px;
}

.service-request__submit {
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: #2150ba;
  border: 0;
  border-radius: 8px;
  transition: background .2s ease, transform .2s ease;
}

.service-request__submit:hover {
  background: #173f9a;
}

.service-request__submit:active {
  transform: translateY(1px);
}

.service-request__submit-row > span {
  color: #7a879a;
  font-size: 12px;
}

@media (max-width: 780px) {
  .service-request {
    padding: 26px 22px;
  }

  .service-request__form {
    grid-template-columns: 1fr;
  }

  .service-request__field--full {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .service-request {
    padding: 22px 18px;
    border-radius: 10px;
  }

  .service-request__intro h3 {
    font-size: 22px;
  }

  .service-upload {
    padding: 20px 16px;
  }

  .service-upload__copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-request__submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-request__submit {
    width: 100%;
  }
}

.service-request__success {
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px 20px;
  text-align: center;
  animation: service-success-fade .45s ease both;
}

.service-request__success-check {
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
}

.service-request__success-check svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.service-request__success-circle,
.service-request__success-tick {
  fill: none;
  stroke: #2e9a5f;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-request__success-circle {
  stroke-width: 3;
  stroke-dasharray: 195;
  stroke-dashoffset: 195;
  animation: service-success-circle .7s cubic-bezier(.65, 0, .45, 1) .1s forwards;
}

.service-request__success-tick {
  stroke-width: 5;
  stroke-dasharray: 45;
  stroke-dashoffset: 45;
  animation: service-success-tick .45s cubic-bezier(.65, 0, .45, 1) .68s forwards;
}

.service-request__success h3 {
  margin-bottom: 10px;
  color: #17243a;
  font-size: 28px;
  line-height: 1.25;
}

.service-request__success-number {
  margin-bottom: 16px;
  color: #66758c;
  font-size: 15px;
  line-height: 1.5;
}

.service-request__success-number strong {
  color: #2150ba;
  font-weight: 800;
}

.service-request__success p {
  max-width: 720px;
  margin-bottom: 0;
  color: #66758c;
  font-size: 16px;
}

@keyframes service-success-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes service-success-circle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes service-success-tick {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-request__success,
  .service-request__success-circle,
  .service-request__success-tick {
    animation: none;
  }

  .service-request__success-circle,
  .service-request__success-tick {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 520px) {
  .service-request__success {
    min-height: 320px;
    padding: 24px 6px;
  }

  .service-request__success-check {
    width: 82px;
    height: 82px;
  }

  .service-request__success h3 {
    font-size: 24px;
  }
}
