html:has(.service-hero),
body:has(.service-hero) {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body:has(.service-hero) > * {
  min-width: 0;
  max-width: 100%;
}

.service-content {
  box-sizing: border-box;
  align-self: center;
  width: min(1240px, calc(100% - 32px));
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 40px;
}

.service-content > :is(p, h1, h2, h3, h4, h5, h6, ul, ol) {
  box-sizing: border-box;
  max-width: none;
  margin-bottom: 30px;
}

.service-content > p.wp-block-paragraph,
.service-content :is(.wp-block-group, .wp-block-column) > p.wp-block-paragraph {
  color: #2c2c2c;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: normal;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
}

.service-content :is(.wp-block-columns, .wp-block-column, .wp-block-group) {
  padding-left: 0;
  padding-right: 0;
}

.service-content > ul li,
.service-content > ol li {
  color: #2c2c2c;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: normal;
  text-align: justify;
}

.service-content > h2,
.service-content > h3 {
  color: #38b4d5;
  font-family: 'Raleway', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: normal;
  text-align: left;
}

.service-content > ul,
.service-content > ol {
  display: block;
  padding-left: 20px;
  list-style: disc;
}

.service-content > ul li,
.service-content > ol li {
  margin: 0 0 10px 27px;
}

.service-content > ul li:last-child,
.service-content > ol li:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  html:has(.service-hero) {
    scrollbar-width: none;
  }

  html:has(.service-hero)::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .service-call,
  .service-price,
  .service-accent,
  .service-intro {
    /* overflow-x: clip; */
  }

  .service-content > h2,
  .service-content > h3,
  .service-content :is(.wp-block-group, .wp-block-column) :is(h1, h2, h3, h4, h5, h6) {
    font-size: 28px;
    line-height: 32px;
  }

  .service-content > p.wp-block-paragraph,
  .service-content :is(.wp-block-group, .wp-block-column) > p.wp-block-paragraph,
  .service-content > ul li,
  .service-content > ol li {
    font-size: 16px;
  }
}

.service-others {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 100px 0;
  background-color: #f4f7fb;
  background-image: url('../img/service-others-bg.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-others__layout {
  display: grid;
  grid-template-columns: max(16px, calc((100% - 1240px) / 2)) minmax(0, 1fr);
  row-gap: 50px;
  width: 100%;
}

.service-others h2.service-others__title {
  grid-column: 2;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: var(--Black, #141414);
  text-align: left !important;
  font-family: 'Raleway', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 40px;
}

.service-others__scroller {
  grid-column: 2;
  min-width: 0;
  box-sizing: border-box;
  container-type: inline-size;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  padding: 0 16px 0 0;
  -webkit-overflow-scrolling: touch;
}

.service-others__scroller::-webkit-scrollbar {
  display: none;
}

.service-others__scroller.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.service-others__list {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-others__list > li {
  flex: 0 0 375px;
  margin: 0;
  padding: 0;
  list-style: none;
  scroll-snap-align: start;
}

.service-others__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  box-sizing: border-box;
  height: 100%;
  padding: 30px;
  border: 1px solid #f8f9fa;
  border-radius: 16px;
  background: #fff;
}

.service-others__card img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.service-others__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.service-others__card h3 {
  margin: 0;
  max-width: 313px;
  color: #333;
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 33.6px;
  text-align: center;
}

.service-others__card p {
  margin: 0;
  min-height: 80px;
  color: var(--Gray);
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}

.service-others__more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 5px 20px;
  border-radius: 10px;
  background: var(--Blue);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 26.4px;
  text-align: center;
  text-decoration: none;
}

.service-others__more:hover {
  background: #2ea6c6;
  color: #fff;
}

@media (max-width: 767px) {
  .service-others {
    padding: 48px 0;
  }

  .service-others__layout {
    row-gap: 32px;
  }

  .service-others h2.service-others__title {
    font-size: 28px;
    line-height: 32px;
  }

  .service-others__list > li {
    flex-basis: min(375px, calc(100cqw - 16px));
  }
}

.service-contacts {
  align-self: stretch;
  width: 100%;
  padding: 100px 0;
}

.service-contacts__inner {
  display: flex;
  align-items: center;
  gap: 77px;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.service-contacts__info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  min-width: 0;
}

.service-contacts h2.service-contacts__title {
  margin: 0;
  color: var(--Black, #141414);
  text-align: left !important;
  font-family: 'Raleway', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 40px;
}

.service-contacts__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-contacts__item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-contacts__icon {
  display: flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
}

.service-contacts__icon img {
  display: block;
  flex: 0 0 auto;
  max-width: none;
}

.service-contacts__note img {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  max-width: none;
}

.service-contacts__icon--pin img {
  width: 28px;
  height: 36px;
}

.service-contacts__icon--mail img {
  width: 30px;
  height: 25px;
}

.service-contacts__icon--phone img {
  width: 28px;
  height: 29px;
}

.service-contacts__icon--time img {
  width: 28px;
  height: 23px;
}

.service-contacts__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.service-contacts__label {
  color: #38b4d5;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.service-contacts__value {
  color: #000;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-decoration: none;
}

a.service-contacts__value:hover {
  color: #38b4d5;
}

.service-contacts__note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 30px;
  background: #f5f5f5;
  color: #50a81b;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.service-contacts__map {
  flex: 0 0 840px;
  width: 840px;
  max-width: 100%;
  align-self: stretch;
  min-width: 0;
  min-height: 400px;
  overflow: hidden;
  border-radius: 40px;
}

.service-contacts__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .service-contacts {
    padding: 48px 0;
  }

  .service-contacts__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .service-contacts__info {
    flex-basis: auto;
  }

  .service-contacts h2.service-contacts__title {
    font-size: 28px;
    line-height: 32px;
  }

  .service-contacts__map {
    flex-basis: auto;
    width: 100%;
    min-height: 320px;
  }
}

@media (max-width: 767px) {
  .service-contacts {
    padding: 32px 0;
  }

  .service-contacts__inner {
    gap: 20px;
  }

  .service-contacts__info {
    display: contents;
  }

  .service-contacts h2.service-contacts__title {
    order: 1;
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
  }

  .service-contacts__map {
    order: 2;
    height: 180px;
    min-height: 0;
    border-radius: 16px;
  }

  .service-contacts__list {
    order: 3;
    gap: 14px;
  }

  .service-contacts__item {
    gap: 12px;
  }

  .service-contacts__icon {
    flex-basis: auto;
  }

  .service-contacts__icon--pin img {
    width: 16px;
    height: 23px;
  }

  .service-contacts__icon--mail img {
    width: 18px;
    height: 14px;
  }

  .service-contacts__icon--phone img {
    width: 16px;
    height: 17px;
  }

  .service-contacts__icon--time img {
    width: 16px;
    height: 12px;
  }

  .service-contacts__text {
    gap: 2px;
  }

  .service-contacts__label {
    font-size: 12px;
    line-height: normal;
  }

  .service-contacts__value {
    font-size: 13px;
    line-height: normal;
  }

  .service-contacts__note {
    order: 4;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    border-radius: 20px;
    font-size: 13px;
    line-height: normal;
  }

  .service-contacts__note img {
    display: none;
  }
}

.service-hero {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  width: 100%;
  min-height: 557px;
  padding: 100px 0;
  overflow: hidden;
  box-sizing: border-box;
}

.service-hero__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-hero__placeholder,
.service-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-hero__placeholder {
  background: #8b939a;
}

.service-hero__image {
  object-fit: cover;
  display: block;
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(102, 102, 102, 0.5) 100%),
    linear-gradient(90deg, rgba(17, 71, 158, 0.5) 0%, rgba(56, 180, 213, 0.225) 100%);
}

.service-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: min(1240px, calc(100% - 32px));
  max-width: 1240px;
  margin: 0 auto;
}

.service-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.service-hero__crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--White);
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  line-height: 25.5px;
  white-space: nowrap;
}

.service-hero__crumbs a,
.service-hero__crumbs span {
  color: inherit;
  text-decoration: none;
}

.service-hero__crumbs a {
  font-weight: 700;
}

.service-hero__crumbs span {
  font-weight: 400;
}

.service-hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
  width: 100%;
  max-width: 740px;
}

.service-hero h1 {
  margin: 0;
  color: var(--White);
  font-family: 'Raleway', sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
}

.service-hero__lead {
  margin: 0;
  color: var(--White);
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 22.5px;
}

.service-hero__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.service-hero .primery_btn,
.service-hero__btn-secondary {
  box-sizing: border-box;
  height: 48px;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
}

.service-hero .primery_btn {
  padding: 0 24px;
}

.service-hero .primery_btn p {
  margin: 0;
  line-height: 16px;
}

.service-hero .primery_btn img {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.service-hero__btn-secondary {
  display: flex;
  padding: 0 24px;
  justify-content: center;
  align-items: center;
  border-radius: 95px;
  background: var(--White);
  border: none;
  transition: background 0.3s ease-in-out;
}

.service-hero__btn-secondary p {
  margin: 0;
  color: var(--Blue);
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
}

.service-hero__btn-secondary:hover {
  background: #f3fbfd;
}

.service-hero__btn-secondary:active {
  background: var(--Blue);
}

.service-hero__btn-secondary:active p {
  color: var(--White);
}

@media (max-width: 767px) {
  .service-hero {
    min-height: 0;
    padding: 32px 0;
  }

  .service-hero__crumbs {
    flex-wrap: wrap;
    white-space: normal;
  }

  .service-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .service-hero .primery_btn,
  .service-hero__btn-secondary {
    width: 100%;
  }

  .service-hero h1 {
    font-size: 28px;
    line-height: 32px;
  }

  .service-hero__lead {
    font-size: 16px;
    line-height: 22px;
  }
}
