body.uslugi-premium-page {
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #070708;
  background-size: 72px 72px;
}

.uslugi-premium-page .breadcrumb {
  position: relative;
  z-index: 4;
  background: rgba(5, 5, 6, 0.94);
  border-bottom: 1px solid rgba(237, 28, 36, 0.18);
}

.services-hero-v2 {
  position: relative;
  min-height: min(760px, calc(100vh - 105px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background-color: #09090a;
  background-image: url("/assets/page-heroes/uslugi.jpg");
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(237, 28, 36, 0.5);
}

.services-hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 3, 4, 0.96) 0%, rgba(3, 3, 4, 0.82) 42%, rgba(3, 3, 4, 0.28) 72%, rgba(3, 3, 4, 0.44) 100%),
    linear-gradient(180deg, rgba(3, 3, 4, 0.12) 0%, rgba(3, 3, 4, 0.28) 48%, rgba(3, 3, 4, 0.98) 100%);
}

.services-hero-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 48%, rgba(237, 28, 36, 0.28) 48.2%, transparent 48.5%),
    radial-gradient(circle at 82% 18%, rgba(237, 28, 36, 0.2), transparent 30%);
}

.services-hero-v2__inner {
  width: min(1520px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(84px, 12vh, 132px) 0 34px;
}

.services-hero-v2__content {
  max-width: 930px;
}

.services-hero-v2__content > * {
  min-width: 0;
}

.services-hero-v2__eyebrow,
.services-opening__eyebrow,
.services-precision__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-hero-v2__eyebrow::before,
.services-opening__eyebrow::before,
.services-precision__eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: #ed1c24;
  box-shadow: 0 0 18px rgba(237, 28, 36, 0.7);
}

.services-hero-v2 h1 {
  width: 100%;
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(48px, 6.7vw, 108px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  white-space: normal !important;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.55);
}

.services-hero-v2 h1 span {
  color: #ed1c24;
}

.services-hero-v2__lead {
  max-width: 800px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.65;
}

.services-hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.services-hero-v2__actions .btn {
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 4px;
}

.services-hero-v2__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 930px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.services-hero-v2__fact {
  min-width: 0;
  padding: 17px 18px 17px 0;
}

.services-hero-v2__fact + .services-hero-v2__fact {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.services-hero-v2__fact strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
  text-transform: uppercase;
}

.services-hero-v2__fact span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.services-hero-v2__rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.services-hero-v2__rail a {
  position: relative;
  min-height: 104px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.services-hero-v2__rail a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.88));
}

.services-hero-v2__rail a:hover {
  transform: translateY(-5px);
  border-color: rgba(237, 28, 36, 0.72);
}

.services-hero-v2__rail span {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.services-ticker {
  overflow: hidden;
  border-bottom: 1px solid rgba(237, 28, 36, 0.28);
  background: #ed1c24;
}

.services-ticker__track {
  display: flex;
  width: max-content;
  animation: servicesTicker 26s linear infinite;
}

.services-ticker__group {
  display: flex;
  flex: none;
  align-items: center;
  white-space: nowrap;
}

.services-ticker__group span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.services-ticker__group span::after {
  content: "+";
  margin: 0 22px;
  color: rgba(255, 255, 255, 0.65);
}

@keyframes servicesTicker {
  to {
    transform: translateX(-50%);
  }
}

.uslugi-premium-page .section-quicknav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 9px 0;
  background: rgba(5, 5, 6, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.uslugi-premium-page .quicknav-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.uslugi-premium-page .quicknav-label {
  flex: none;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.uslugi-premium-page .quicknav-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
}

.uslugi-premium-page .quicknav-chips::-webkit-scrollbar {
  display: none;
}

.uslugi-premium-page .quicknav-chip {
  flex: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
}

.uslugi-premium-page .quicknav-chip:hover,
.uslugi-premium-page .quicknav-chip.active {
  color: #fff;
  border-color: rgba(237, 28, 36, 0.72);
  background: rgba(237, 28, 36, 0.15);
}

.services-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 34px;
  align-items: start;
  padding: clamp(34px, 6vw, 72px) 0 8px;
}

.services-opening h2,
.services-precision h2 {
  margin: 0;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.services-opening h2 span,
.services-precision h2 span {
  color: #ed1c24;
}

.services-opening__copy > p {
  max-width: 850px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.85;
}

.services-opening__routes {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.services-opening__routes a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.services-opening__routes a:hover {
  padding-left: 8px;
  color: #ff5b61;
}

.services-opening__routes b {
  color: #ed1c24;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
}

.services-opening__routes strong {
  font-size: 14px;
  line-height: 1.35;
  text-transform: uppercase;
}

.services-opening__routes i {
  font-style: normal;
  font-size: 20px;
}

.services-precision {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(237, 28, 36, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(237, 28, 36, 0.15), transparent 40%),
    #0c0c0d;
}

.services-precision::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -190px;
  border: 1px solid rgba(237, 28, 36, 0.34);
  transform: rotate(32deg);
  pointer-events: none;
}

.services-precision p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

.services-precision__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.services-precision__step {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.services-precision__step span {
  display: block;
  margin-bottom: 16px;
  color: #ed1c24;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.services-precision__step strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-transform: uppercase;
}

.services-precision__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.uslugi-premium-page .page-content {
  overflow: clip;
}

.uslugi-premium-page .service-group-shell {
  scroll-margin-top: 76px;
  border-radius: 8px;
}

.uslugi-premium-page .service-group-card {
  border-radius: 8px;
}

.uslugi-premium-page .service-group-card img {
  border-radius: 6px 6px 0 0;
}

.uslugi-premium-page .service-link {
  color: #fff;
  text-decoration-color: rgba(237, 28, 36, 0.72);
  text-underline-offset: 5px;
}

.uslugi-premium-page .service-link:hover {
  color: #ff5b61;
}

@media (max-width: 980px) {
  .services-hero-v2 {
    min-height: 720px;
  }

  .services-hero-v2__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-opening,
  .services-precision {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services-hero-v2 {
    min-height: auto;
    background-position: 60% center;
  }

  .services-hero-v2::before {
    background:
      linear-gradient(180deg, rgba(3, 3, 4, 0.46) 0%, rgba(3, 3, 4, 0.88) 42%, rgba(3, 3, 4, 0.99) 100%),
      linear-gradient(90deg, rgba(3, 3, 4, 0.5), rgba(3, 3, 4, 0.12));
  }

  .services-hero-v2__inner {
    width: min(100% - 28px, 620px);
    padding: 118px 0 20px;
  }

  .services-hero-v2 h1 {
    max-width: 100%;
    font-size: clamp(38px, 11vw, 54px);
    line-height: 0.94;
    text-wrap: wrap;
  }

  .services-hero-v2__lead {
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: break-word;
    white-space: normal !important;
  }

  .services-hero-v2__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .services-hero-v2__actions .btn {
    max-width: 100%;
    width: 100%;
  }

  .services-hero-v2__actions .btn:nth-child(2) {
    display: none;
  }

  .services-hero-v2__facts {
    display: none;
  }

  .services-hero-v2__rail {
    display: none;
  }

  .uslugi-premium-page .section-quicknav {
    top: 62px;
  }

  .uslugi-premium-page .quicknav-wrap {
    gap: 0;
  }

  .uslugi-premium-page .quicknav-label {
    display: none;
  }

  .services-opening {
    gap: 24px;
    padding-top: 34px;
  }

  .services-opening h2,
  .services-precision h2 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .services-opening__copy > p,
  .services-precision p {
    font-size: 14px;
    line-height: 1.75;
  }

  .services-precision {
    gap: 26px;
    padding: 24px 18px;
  }

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

  .services-precision__step {
    min-height: 0;
  }

  .services-precision__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .services-precision__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-ticker__track {
    animation: none;
  }

  .services-hero-v2__rail a,
  .services-opening__routes a {
    transition: none;
  }
}
