.elementor-638 .elementor-element.elementor-element-879e2f6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-gallery .elementor-gallery-item__title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-gallery .elementor-gallery-item__description{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-gallery{--galleries-title-color-normal:var( --e-global-color-primary );--galleries-title-color-hover:var( --e-global-color-secondary );--galleries-pointer-bg-color-hover:var( --e-global-color-accent );--gallery-title-color-active:var( --e-global-color-secondary );--galleries-pointer-bg-color-active:var( --e-global-color-accent );}.elementor-widget-gallery .elementor-gallery-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-638 .elementor-element.elementor-element-db681bf .e-gallery-item:hover .elementor-gallery-item__overlay, .elementor-638 .elementor-element.elementor-element-db681bf .e-gallery-item:focus .elementor-gallery-item__overlay{background-color:rgba(0,0,0,0.5);}.elementor-638 .elementor-element.elementor-element-db681bf{--image-transition-duration:800ms;--overlay-transition-duration:800ms;--content-text-align:center;--content-padding:20px;--content-transition-duration:800ms;--content-transition-delay:800ms;}/* Start custom CSS for container, class: .elementor-element-879e2f6 *//* ===== SERVICE GALLERY SECTION ===== */

.msp-service-gallery {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(255,255,255,.90) 0%, rgba(255,255,255,0) 30%),
    linear-gradient(135deg, #f4f3ef 0%, #eef1f2 52%, #f8f8f6 100%);
}

.msp-service-gallery::before {
  content: "";
  position: absolute;
  right: -18%;
  top: -28%;
  width: 54%;
  height: 135%;
  background: rgba(255,255,255,.44);
  transform: skewX(-14deg);
  pointer-events: none;
}

.msp-service-gallery > .e-con-inner {
  position: relative;
  z-index: 2;
  width: min(1480px, calc(100% - 72px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* если Elementor не создаёт .e-con-inner */
.msp-service-gallery > .elementor-widget-html,
.msp-service-gallery > .elementor-widget-gallery,
.msp-service-gallery > .elementor-widget-image-gallery {
  position: relative;
  z-index: 2;
  width: min(1480px, calc(100% - 72px)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* HEAD */

.msp-gallery-head {
  max-width: 820px;
  margin-bottom: 46px;
}

.msp-gallery-kicker {
  margin-bottom: 16px;
  color: rgba(24,33,43,.52);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.msp-gallery-head h2 {
  margin: 0 0 18px;
  color: #18212b;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.03em;
}

.msp-gallery-head p {
  margin: 0;
  max-width: 720px;
  color: rgba(24,33,43,.68);
  font-size: 18px;
  line-height: 1.58;
}

/* ===== ELEMENTOR STANDARD IMAGE GALLERY ===== */

.msp-service-gallery .elementor-image-gallery .gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 !important;
}

.msp-service-gallery .elementor-image-gallery .gallery-item {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.msp-service-gallery .elementor-image-gallery .gallery-icon {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #111820;
  box-shadow: 0 18px 44px rgba(17,24,32,.10);
}

.msp-service-gallery .elementor-image-gallery .gallery-icon a {
  display: block;
  height: 100%;
  text-decoration: none !important;
}

.msp-service-gallery .elementor-image-gallery .gallery-icon img {
  width: 100% !important;
  height: 280px !important;
  display: block;
  object-fit: cover;
  border: 0 !important;
  transition: transform .35s ease, filter .35s ease;
}

.msp-service-gallery .elementor-image-gallery .gallery-item:hover img {
  transform: scale(1.045);
  filter: saturate(1.06);
}

.msp-service-gallery .elementor-image-gallery .gallery-caption,
.msp-service-gallery .elementor-image-gallery .wp-caption-text {
  margin-top: 10px;
  color: rgba(24,33,43,.62);
  font-size: 14px;
  line-height: 1.35;
}

/* ===== ELEMENTOR PRO GALLERY ===== */

.msp-service-gallery .elementor-gallery__container {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px !important;
}

.msp-service-gallery .e-gallery-item {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(17,24,32,.10);
}

.msp-service-gallery .e-gallery-image {
  min-height: 280px;
  transition: transform .35s ease, filter .35s ease;
}

.msp-service-gallery .e-gallery-item:hover .e-gallery-image {
  transform: scale(1.045);
  filter: saturate(1.06);
}

/* ADAPTIVE */

@media (max-width: 1024px) {
  .msp-service-gallery {
    padding: 90px 0;
  }

  .msp-service-gallery > .e-con-inner,
  .msp-service-gallery > .elementor-widget-html,
  .msp-service-gallery > .elementor-widget-gallery,
  .msp-service-gallery > .elementor-widget-image-gallery {
    width: min(860px, calc(100% - 48px)) !important;
  }

  .msp-service-gallery .elementor-image-gallery .gallery,
  .msp-service-gallery .elementor-gallery__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .msp-service-gallery .elementor-image-gallery .gallery-icon img,
  .msp-service-gallery .e-gallery-image {
    height: 260px !important;
    min-height: 260px;
  }
}

@media (max-width: 767px) {
  .msp-service-gallery {
    padding: 70px 0;
  }

  .msp-service-gallery > .e-con-inner,
  .msp-service-gallery > .elementor-widget-html,
  .msp-service-gallery > .elementor-widget-gallery,
  .msp-service-gallery > .elementor-widget-image-gallery {
    width: calc(100% - 28px) !important;
  }

  .msp-gallery-head {
    margin-bottom: 32px;
  }

  .msp-gallery-head h2 {
    font-size: 28px;
  }

  .msp-gallery-head p {
    font-size: 16px;
  }

  .msp-service-gallery .elementor-image-gallery .gallery,
  .msp-service-gallery .elementor-gallery__container {
    grid-template-columns: 1fr;
    gap: 14px !important;
  }

  .msp-service-gallery .elementor-image-gallery .gallery-icon,
  .msp-service-gallery .e-gallery-item {
    border-radius: 14px;
  }

  .msp-service-gallery .elementor-image-gallery .gallery-icon img,
  .msp-service-gallery .e-gallery-image {
    height: 220px !important;
    min-height: 220px;
  }
}/* End custom CSS */