.services.services-v18 {
  position: relative;
  min-height: 900px;
  padding: 112px 0 104px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(112, 38, 255, .16), transparent 38%),
    linear-gradient(180deg, #05020c 0%, #090313 48%, #05020b 100%);
}

.services-v18-original {
  display: none !important;
}

.services-v18-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .8;
  background:
    radial-gradient(circle at 18% 25%, rgba(151, 73, 255, .12) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 17%, rgba(255, 255, 255, .25) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 70%, rgba(122, 54, 255, .13) 0 1px, transparent 2px);
  background-size: 190px 190px, 240px 240px, 155px 155px;
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}

.services-v18-shell {
  position: relative;
  z-index: 2;
}

.services-v18-heading {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.services-v18-heading .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a46cff;
  font-size: 11px;
  letter-spacing: .31em;
}

.services-v18-heading .section-kicker::before,
.services-v18-heading .section-kicker::after {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7c3aed);
}

.services-v18-heading .section-kicker::after {
  background: linear-gradient(90deg, #7c3aed, transparent);
}

.services-v18-heading h2 {
  margin: 18px 0 16px;
  color: #fff;
  font-size: clamp(38px, 4vw, 60px);
  letter-spacing: -.045em;
  line-height: 1.02;
}

.services-v18-heading h2 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg, #7c3aed, #b65cff);
  -webkit-background-clip: text;
  background-clip: text;
}

.services-v18-heading p {
  margin: 0;
  color: #afa7bd;
  font-size: 16px;
}

.bym-services-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
  gap: 14px;
}

.bym-carousel-viewport {
  position: relative;
  min-width: 0;
  height: 430px;
  overflow: hidden;
  touch-action: pan-y;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.bym-carousel-track {
  position: absolute;
  top: 22px;
  left: 0;
  display: flex;
  width: max-content;
  gap: 24px;
  will-change: transform;
  transition: transform .72s cubic-bezier(.2, .82, .2, 1);
}

.bym-service-card {
  position: relative;
  flex: 0 0 330px;
  height: 382px;
  overflow: hidden;
  border: 1px solid rgba(186, 149, 255, .18);
  border-radius: 28px;
  outline: none;
  color: #fff;
  background: rgba(21, 12, 35, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px rgba(0, 0, 0, .28);
  cursor: pointer;
  opacity: .36;
  transform: scale(.86);
  filter: saturate(.55);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1), filter .55s ease, border-color .4s ease, box-shadow .4s ease;
}

.bym-service-card.is-near {
  opacity: .58;
  transform: scale(.92);
  filter: saturate(.7);
}

.bym-service-card.is-active {
  z-index: 3;
  opacity: 1;
  transform: translateY(-10px) scale(1);
  filter: saturate(1);
  border-color: rgba(161, 99, 255, .78);
  background: rgba(40, 20, 69, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 28px 75px rgba(54, 14, 123, .52), 0 0 34px rgba(122, 55, 255, .22);
}

.bym-service-card:focus-visible {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #7c3aed;
}

.bym-service-image {
  position: absolute;
  inset: 0;
}

.bym-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}

.bym-service-card.is-active:hover .bym-service-image img {
  transform: scale(1.13);
}

.bym-service-image-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 2, 12, .08), rgba(6, 2, 14, .32) 36%, rgba(6, 2, 14, .97) 79%),
    linear-gradient(110deg, rgba(83, 30, 179, .26), transparent 55%);
}

.bym-service-card-top {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bym-service-number {
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  letter-spacing: .22em;
}

.bym-service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(190, 148, 255, .32);
  border-radius: 15px;
  color: #b98aff;
  background: rgba(7, 3, 17, .54);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 22px rgba(117, 48, 242, .17);
}

.bym-service-icon svg,
.bym-modal-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bym-service-card-copy {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
}

.bym-service-tag,
.bym-modal-tag {
  display: block;
  margin-bottom: 8px;
  color: #b381ff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
}

.bym-service-card h3 {
  max-width: 270px;
  margin: 0;
  font-size: 25px;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.bym-service-card p {
  display: -webkit-box;
  margin: 10px 0 14px;
  overflow: hidden;
  color: #bcb4c7;
  font-size: 12px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bym-service-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #eee8f8;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
}

.bym-service-more b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: #7c3aed;
  box-shadow: 0 0 18px rgba(124, 58, 237, .55);
  transition: transform .3s ease;
}

.bym-service-card.is-active:hover .bym-service-more b {
  transform: translate(3px, -3px);
}

.bym-carousel-arrow {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(170, 116, 255, .3);
  border-radius: 50%;
  color: #d9c6ff;
  background: rgba(31, 16, 54, .42);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  font-size: 30px;
  cursor: pointer;
  transition: .28s ease;
}

.bym-carousel-arrow:hover {
  color: #fff;
  border-color: #9c5cff;
  background: #6d28d9;
  box-shadow: 0 0 28px rgba(124, 58, 237, .45);
  transform: scale(1.08);
}

.bym-carousel-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 1040px;
  margin: 8px auto 0;
  gap: 24px;
}

.bym-carousel-count {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #6f687a;
  font-size: 12px;
}

.bym-carousel-count strong {
  color: #fff;
  font-size: 18px;
}

.bym-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.bym-carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #3e3153;
  cursor: pointer;
  transition: .3s ease;
}

.bym-carousel-dots button.is-active {
  width: 34px;
  background: linear-gradient(90deg, #6924e9, #b05cff);
  box-shadow: 0 0 12px rgba(145, 72, 255, .7);
}

.bym-drag-hint {
  color: #716b7c;
  font-size: 8px;
  letter-spacing: .23em;
}

.bym-service-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s ease, visibility .35s ease;
}

.bym-service-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.bym-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 1, 8, .78);
  backdrop-filter: blur(16px);
}

.bym-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: 46% 54%;
  width: min(960px, 94vw);
  max-height: min(680px, 90vh);
  overflow: hidden;
  border: 1px solid rgba(180, 126, 255, .4);
  border-radius: 32px;
  outline: none;
  background: linear-gradient(135deg, rgba(31, 15, 52, .94), rgba(9, 5, 17, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 110px rgba(0, 0, 0, .68), 0 0 54px rgba(97, 38, 205, .26);
  transform: translateY(24px) scale(.96);
  transition: transform .42s cubic-bezier(.2, .85, .2, 1);
}

.bym-service-modal.is-open .bym-modal-panel {
  transform: translateY(0) scale(1);
}

.bym-modal-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: #fff;
  background: rgba(4, 2, 10, .5);
  backdrop-filter: blur(12px);
  font-size: 25px;
  cursor: pointer;
}

.bym-modal-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.bym-modal-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bym-modal-visual span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 58%, rgba(18, 9, 31, .92)), linear-gradient(180deg, transparent 55%, rgba(9, 4, 17, .46));
}

.bym-modal-content {
  align-self: center;
  padding: 68px 64px 58px 54px;
}

.bym-modal-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border: 1px solid rgba(177, 119, 255, .42);
  border-radius: 18px;
  color: #c194ff;
  background: rgba(123, 47, 237, .14);
  box-shadow: 0 0 30px rgba(112, 45, 221, .2);
}

.bym-modal-icon svg {
  width: 30px;
  height: 30px;
}

.bym-modal-content h3 {
  margin: 0 0 17px;
  color: #fff;
  font-size: clamp(32px, 3vw, 48px);
  letter-spacing: -.045em;
  line-height: 1;
}

.bym-modal-content > p {
  margin: 0 0 22px;
  color: #bdb5c8;
  font-size: 15px;
  line-height: 1.58;
}

.bym-modal-content ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 0 30px;
  padding: 0;
  gap: 12px 18px;
  list-style: none;
}

.bym-modal-content li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #eee9f4;
  font-size: 12px;
}

.bym-modal-content li i {
  color: #9e5cff;
  font-style: normal;
  text-shadow: 0 0 10px #7c3aed;
}

.bym-quote-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 260px;
  min-height: 60px;
  padding: 0 14px 0 26px;
  overflow: hidden;
  border: 1px solid rgba(220, 193, 255, .6);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #6d28d9, #8b32ff 58%, #6722e8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 30px rgba(111, 44, 229, .4);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

.bym-quote-button::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -25%;
  width: 18%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
  transform: skewX(-20deg);
  animation: bymQuoteShine 3.2s ease-in-out infinite;
}

.bym-quote-button i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font-style: normal;
}

.bym-quote-button:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 45px rgba(135, 62, 255, .7);
}

.bym-modal-open {
  overflow: hidden !important;
}

@keyframes bymQuoteShine {
  0%, 58% { left: -30%; opacity: 0; }
  66% { opacity: 1; }
  88%, 100% { left: 120%; opacity: 0; }
}

@media (max-width: 860px) {
  .services.services-v18 {
    min-height: 900px;
    padding: 88px 0 88px;
  }

  .services-v18-heading {
    margin-bottom: 50px;
    padding: 0 22px;
  }

  .bym-services-carousel {
    grid-template-columns: 1fr;
  }

  .bym-carousel-viewport {
    height: 486px;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }

  .bym-service-card {
    flex-basis: min(380px, calc(100vw - 62px));
    height: 442px;
    opacity: .2;
    transform: scale(.89);
  }

  .bym-service-card.is-active {
    transform: scale(1);
  }

  .bym-carousel-arrow {
    position: absolute;
    z-index: 8;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }

  .bym-carousel-prev {
    left: 9px;
  }

  .bym-carousel-next {
    right: 9px;
  }

  .bym-carousel-arrow:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .bym-carousel-footer {
    grid-template-columns: auto 1fr;
    margin-top: 16px;
    padding: 0 26px;
  }

  .bym-drag-hint {
    display: none;
  }

  .bym-modal-panel {
    grid-template-columns: 1fr;
    width: min(540px, 94vw);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 26px;
  }

  .bym-modal-visual {
    min-height: 250px;
    max-height: 290px;
  }

  .bym-modal-visual span {
    background: linear-gradient(180deg, transparent 48%, rgba(18, 9, 31, .98));
  }

  .bym-modal-content {
    padding: 18px 32px 40px;
  }

  .bym-modal-icon {
    width: 50px;
    height: 50px;
    margin: -38px 0 18px;
  }
}

@media (max-width: 520px) {
  .services.services-v18 {
    min-height: 920px;
    padding: 76px 0 92px;
  }

  .services-v18-heading {
    margin-bottom: 44px;
    padding-inline: 24px;
  }

  .services-v18-heading h2 {
    font-size: 37px;
    line-height: 1.07;
  }

  .services-v18-heading p {
    max-width: 330px;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.65;
  }

  .bym-carousel-viewport {
    height: 492px;
  }

  .bym-service-card {
    flex-basis: calc(100vw - 48px);
    height: 452px;
    border-radius: 24px;
  }

  .bym-service-card-copy {
    right: 26px;
    bottom: 28px;
    left: 26px;
  }

  .bym-service-card h3 {
    max-width: 290px;
    font-size: 23px;
    line-height: 1.13;
  }

  .bym-service-card p {
    margin: 14px 0 20px;
    font-size: 12.5px;
    line-height: 1.58;
    -webkit-line-clamp: 3;
  }

  .bym-service-more {
    gap: 10px;
    font-size: 12px;
  }

  .bym-carousel-footer {
    margin-top: 18px;
    padding-inline: 24px;
    gap: 18px;
  }

  .bym-carousel-dots {
    gap: 5px;
  }

  .bym-carousel-dots button {
    width: 5px;
    height: 5px;
  }

  .bym-carousel-dots button.is-active {
    width: 22px;
  }

  .bym-service-modal {
    padding: 14px;
  }

  .bym-modal-content {
    padding: 14px 24px 34px;
  }

  .bym-modal-content h3 {
    margin-bottom: 20px;
    font-size: 32px;
    line-height: 1.08;
  }

  .bym-modal-content > p {
    margin-bottom: 26px;
    font-size: 14px;
    line-height: 1.65;
  }

  .bym-modal-content ul {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
    gap: 13px;
  }

  .bym-modal-content li {
    font-size: 13px;
    line-height: 1.4;
  }

  .bym-quote-button {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    margin-top: 4px;
    padding-left: 28px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bym-carousel-track,
  .bym-service-card,
  .bym-service-image img,
  .bym-modal-panel,
  .bym-quote-button::before {
    transition: none;
    animation: none;
  }
}
