.cz-home-services-v2 {
  --rail: 1080px;
  --inset: max(24px, calc((100% - var(--rail)) / 2));
  --card-width: 320px;
  padding: clamp(60px, 7vw, 104px) 0;
  overflow: hidden;
  background: #fff;
  color: #17181c;
}

.cz-home-services-v2__intro {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto clamp(24px, 3.6vw, 43px);
  text-align: center;
}
.cz-home-services-v2__intro h2 {
  margin: 0;
  font-size: clamp(34px, 4.65vw, 66px);
  font-weight: 680;
  letter-spacing: -.055em;
  line-height: 1.03;
  text-wrap: balance;
}
.cz-home-services-v2__intro p {
  max-width: 660px;
  margin: 20px auto 0;
  color: #555860;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.55;
}

.cz-home-services-v2__viewport {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 0 22px;
  overflow: auto hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--inset);
  scroll-snap-type: x mandatory;
}
.cz-home-services-v2__viewport::-webkit-scrollbar { display: none; }
.cz-home-services-v2__viewport:focus-visible { outline: 2px solid #2a64c5; outline-offset: -2px; }
.cz-home-services-v2__track {
  display: flex;
  gap: 14px;
  box-sizing: content-box;
  width: max-content;
  margin: 0;
  padding: 0 max(24px, calc((100vw - var(--rail)) / 2));
  list-style: none;
}

.cz-home-services-v2__card {
  position: relative;
  flex: 0 0 var(--card-width);
  width: var(--card-width);
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 562px;
  border-radius: 18px;
  background: #22242b;
  color: #fff;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.cz-home-services-v2__card:last-child { scroll-snap-align: end; }
.cz-home-services-v2__copy {
  position: relative;
  z-index: 2;
  padding: 25px 22px 0;
}
.cz-home-services-v2__copy h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.cz-home-services-v2__copy p {
  margin: 12px 0 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}
.cz-home-services-v2__cta,
.cz-home-services-v2__cta:visited {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 40px;
  margin-top: 16px;
  padding: 8px 13px;
  border-radius: 8px;
  background: #fff;
  color: #202127;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s, translate .2s;
}
.cz-home-services-v2__cta:hover { background: #f0edf3; text-decoration: none; translate: 0 -1px; }
.cz-home-services-v2__cta:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.cz-home-services-v2__card--marketing .cz-home-services-v2__cta { background: #fb4d8d; color: #fff; }
.cz-home-services-v2__card--marketing .cz-home-services-v2__cta:hover { background: #ff79ab; }

.cz-home-services-v2__photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.cz-home-services-v2__card--marketing::before,
.cz-home-services-v2__card--reputation::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #11121aef 0%, #121319c9 24%, #15131a6a 46%, #17131a00 72%);
}
.cz-home-services-v2__card--marketing .cz-home-services-v2__photo { object-position: 52% center; }
.cz-home-services-v2__card--reputation .cz-home-services-v2__photo { object-position: center 29px; }
.cz-home-services-v2__card--reputation::before { background: linear-gradient(180deg, #16171bf0, #17191bc2 34%, #11141900 66%); }

.cz-home-services-v2__card--logistics {
  border: 1px solid #f1dce5;
  background: #fff2f7;
  color: #222128;
}
.cz-home-services-v2__card--logistics p { color: #4a444c; }
.cz-home-services-v2__card--logistics .cz-home-services-v2__cta { background: #242128; color: #fff; }
.cz-home-services-v2__card--logistics .cz-home-services-v2__cta:hover { background: #4b3949; }
.cz-home-services-v2__card--logistics .cz-home-services-v2__photo {
  z-index: 0;
  inset: auto 0 0 auto;
  width: 90%;
  height: 49%;
  border-radius: 19px 0 0;
  object-position: center 54%;
}

.cz-home-services-v2__card--operator {
  background: radial-gradient(ellipse at 70% 93%, #68425e, transparent 61%), linear-gradient(160deg, #211d2f, #30263d 58%, #3a2947);
}
.cz-home-services-v2__operator {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: radial-gradient(ellipse at 54% 66%, #9f66aa58, transparent 68%);
  pointer-events: none;
}
.cz-home-services-v2__phone {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 66%;
  height: 103%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  translate: -50%;
  border: 1px solid #8a6685;
  border-radius: 31px;
  background: linear-gradient(160deg, #322843, #211a2c 72%);
  box-shadow: 0 14px 28px #100b1a60, inset 0 0 0 4px #181421;
  color: #fff;
}
.cz-home-services-v2__island { width: 45px; height: 9px; border-radius: 9px; background: #15111a; }
.cz-home-services-v2__call-icon { box-sizing: content-box; margin-top: 8px; padding: 11px; border-radius: 50%; background: #f8a2c9; color: #402338; }
.cz-home-services-v2__phone strong { font-size: 16px; letter-spacing: -.025em; }
.cz-home-services-v2__wave { display: flex; align-items: center; gap: 4px; height: 31px; }
.cz-home-services-v2__wave i { width: 3px; height: 9px; border-radius: 3px; background: #da96c3; }
.cz-home-services-v2__wave i:nth-child(2n) { height: 17px; }
.cz-home-services-v2__wave i:nth-child(3n) { height: 24px; }
.cz-home-services-v2__wave i:nth-child(5) { height: 31px; }
.cz-home-services-v2__answered {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 16px;
  background: #eef5ed;
  color: #235b45;
  font-size: 10px;
  font-weight: 650;
}
.cz-home-services-v2__answered i { width: 6px; height: 6px; border-radius: 50%; background: #337a5a; }
.cz-home-services-v2__message,
.cz-home-services-v2__place {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  padding: 9px;
  border-radius: 12px;
  background: #fff;
  color: #25232e;
  box-shadow: 0 12px 23px #19132d32;
}
.cz-home-services-v2__message { right: 5%; bottom: 11%; }
.cz-home-services-v2__message svg,
.cz-home-services-v2__place svg { flex: none; }
.cz-home-services-v2__message strong,
.cz-home-services-v2__place strong { display: block; font-size: 12px; }
.cz-home-services-v2__message span,
.cz-home-services-v2__place span { display: block; margin-top: 3px; color: #5a5564; font-size: 10px; }

.cz-home-services-v2__card--local { background: linear-gradient(160deg, #132b30, #26474a 70%, #3a5a54); }
.cz-home-services-v2__map {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  isolation: isolate;
  background: #dbe5d9;
  pointer-events: none;
}
.cz-home-services-v2__map::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #203c40 0%, #28474ab5 23%, #294b4d20 67%, #223c403f 100%);
}
.cz-home-services-v2__map-art { position: absolute; z-index: -2; width: 100%; height: 100%; }
.cz-home-services-v2__pin {
  position: absolute;
  top: var(--y);
  left: var(--x);
  translate: -50% -50%;
  display: grid;
  place-items: center;
  min-width: 31px;
  height: 29px;
  border: 1px solid #fff;
  border-radius: 10px 10px 10px 2px;
  background: #eafbfa;
  box-shadow: 0 5px 12px #1c3f4940;
  color: #225d55;
  font-size: 12px;
  font-weight: 720;
}
.cz-home-services-v2__pin--primary { min-width: 42px; height: 39px; background: #285f57; color: #fff; font-size: 17px; }
.cz-home-services-v2__place { inset: auto 16px 14px; width: max-content; max-width: calc(100% - 32px); margin-inline: auto; }
.cz-home-services-v2__place svg { color: #2e7167; }

.cz-home-services-v2__controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  width: min(var(--rail), calc(100% - 48px));
  margin: 0 auto;
}
.cz-home-services-v2__controls[hidden] { display: none; }
.cz-home-services-v2__controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e8e9ec;
  color: #292a33;
  cursor: pointer;
}
.cz-home-services-v2__controls button:enabled:hover { background: #dcdde3; }
.cz-home-services-v2__controls button:focus-visible { outline: 2px solid #2a64c5; outline-offset: 3px; }
.cz-home-services-v2__controls button:disabled { opacity: .4; cursor: default; }
.cz-home-services-v2__viewport.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }

@media (hover: hover) and (pointer: fine) {
  .cz-home-services-v2__card { cursor: grab; transition: scale .26s ease, box-shadow .26s ease; }
  .cz-home-services-v2__card:hover { z-index: 3; scale: 1.018; box-shadow: 0 11px 27px #25212a28; }
  .cz-home-services-v2__viewport.is-dragging .cz-home-services-v2__card { cursor: grabbing; scale: 1; }
  .cz-home-services-v2__cta { cursor: pointer; }
}
@media (max-width: 768px) {
  .cz-home-services-v2 { --card-width: min(82vw, 322px); --inset: calc((100% - var(--card-width)) / 2); }
  .cz-home-services-v2__intro h2 { font-size: clamp(31px, 8.1vw, 46px); }
  .cz-home-services-v2__intro p { margin-top: 15px; }
  .cz-home-services-v2__track { gap: 12px; padding-inline: calc((100vw - var(--card-width)) / 2); }
  .cz-home-services-v2__card,
  .cz-home-services-v2__card:last-child { min-height: 520px; scroll-snap-align: center; }
  .cz-home-services-v2__copy { padding: 21px 17px 0; }
  .cz-home-services-v2__copy p { font-size: 14px; }
  .cz-home-services-v2__controls { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cz-home-services-v2__card, .cz-home-services-v2__cta { transition: none; }
  .cz-home-services-v2__card:hover { scale: 1; }
  .cz-home-services-v2__cta:hover { translate: none; }
}
