/* Каталог сервисов использует глобальную дизайн-систему ДивёрсИИ. */
.services-page,
.services-page button,
.services-page input,
.services-page textarea {
  font-family: "Onest", sans-serif;
}

.services-main {
  position: relative;
  isolation: isolate;
  min-height: 70vh;
  overflow: hidden;
  padding: 150px 0 130px;
  background: #050505;
}

.services-container {
  position: relative;
  z-index: 1;
}

.services-header {
  max-width: 760px;
  margin: 0 auto 64px;
  padding: 0;
  text-align: center;
}

.services-header .services-title {
  margin: 0 0 24px;
  font-weight: 650;
  letter-spacing: -.025em;
}

.services-header .services-lead {
  max-width: 640px;
  margin: 0 auto;
  color: #aaa7a2;
  font-size: 17px;
  line-height: 1.55;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 14px 14px 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  background: #111111;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card[href] {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.service-card[href]:focus-visible {
  outline: 2px solid #ff692a;
  outline-offset: 4px;
}

.service-card:hover {
  border-color: #ff692a;
  background: #151515;
  transform: translateY(-3px);
}

.service-card--featured {
  border-color: rgba(255, 255, 255, .13);
  background: #111111;
}

.service-card--soon:hover {
  border-color: #ff692a;
  background: #151515;
  transform: translateY(-3px);
}

.service-card-visual {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: #090909;
}

.service-card-visual--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-card-visual--audit {
  background:
    radial-gradient(circle at 70% 32%, rgba(255, 105, 42, .2), transparent 25%),
    #080808;
}

.audit-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.audit-visual-score {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 105, 42, .56);
  border-radius: 50%;
}

.audit-visual-score::after {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff692a;
  box-shadow: 0 0 18px rgba(255, 105, 42, .52);
  content: "";
}

.audit-visual-lines {
  position: absolute;
  right: 24px;
  bottom: 25px;
  left: 24px;
  display: grid;
  gap: 8px;
}

.audit-visual-lines i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
}

.audit-visual-lines i:nth-child(1) { width: 84%; }
.audit-visual-lines i:nth-child(2) { width: 62%; background: rgba(255, 105, 42, .54); }
.audit-visual-lines i:nth-child(3) { width: 73%; }

.service-card-visual--legal {
  background: radial-gradient(circle at 50% 100%, rgba(126, 74, 50, .2), transparent 50%), #090909;
}

.legal-visual-sheet {
  position: relative;
  display: grid;
  width: 44%;
  height: 72%;
  align-content: center;
  gap: 11px;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  transform: rotate(-3deg);
}

.legal-visual-sheet i {
  display: block;
  height: 3px;
  background: rgba(255, 255, 255, .2);
}

.legal-visual-sheet i:nth-child(2) { width: 76%; }
.legal-visual-sheet b { position: absolute; right: 14px; bottom: 12px; color: #ff692a; font-size: 12px; }

.service-card-visual--404 {
  align-content: center;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    #080808;
  background-size: 32px 32px;
}

.not-found-map {
  position: relative;
  display: block;
  width: min(78%, 344px);
  height: auto;
  aspect-ratio: 1.58;
  overflow: hidden;
  border: 1px solid rgba(245, 243, 239, .26);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012) 68%), #111111;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 20px 40px rgba(0, 0, 0, .36);
  transform: none;
}

.not-found-map::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(245, 243, 239, .045);
  border-radius: 9px;
  content: "";
  pointer-events: none;
}

.not-found-ui-chrome {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  height: 22%;
  padding: 0 8%;
  border-bottom: 1px solid rgba(255, 105, 42, .58);
  background: rgba(0, 0, 0, .16);
}

.not-found-ui-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 26%;
}

.not-found-ui-brand i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(245, 243, 239, .16);
}

.not-found-ui-brand b {
  display: block;
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: rgba(245, 243, 239, .2);
}

.not-found-ui-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.not-found-ui-nav i {
  display: block;
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: rgba(245, 243, 239, .14);
}

.not-found-ui-account {
  display: block;
  width: 18px;
  height: 18px;
  margin-left: 18px;
  border: 1px solid rgba(245, 243, 239, .18);
  border-radius: 3px;
}

.not-found-ui-main {
  position: absolute;
  top: 22%;
  right: 0;
  bottom: 16%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7%;
}

.not-found-ui-code {
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-items: end;
  gap: 2px;
}

.not-found-ui-code strong {
  color: #f5f3ef;
  font-size: clamp(36px, 7vw, 62px);
  font-weight: 700;
  letter-spacing: -.1em;
  line-height: .85;
}

.not-found-ui-code strong:nth-child(2) { color: #ff692a; }

.not-found-ui-message {
  display: grid;
  justify-items: start;
  gap: 8px;
  min-width: 90px;
}

.not-found-ui-message > b {
  color: rgba(245, 243, 239, .54);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .12em;
}

.not-found-ui-message > i {
  display: block;
  width: 54px;
  height: 1px;
  background: rgba(245, 243, 239, .22);
}

.not-found-ui-message em {
  display: block;
  padding: 7px 11px 6px;
  border: 1px solid rgba(255, 105, 42, .7);
  border-radius: 4px;
  color: #ff8a54;
  font-size: 7px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .09em;
}

.not-found-ui-art {
  position: absolute;
  right: 10%;
  bottom: 8%;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 105, 42, .5);
  border-radius: 4px;
  transform: rotate(12deg);
}

.not-found-ui-art::before,
.not-found-ui-art::after {
  position: absolute;
  top: 12px;
  left: 5px;
  width: 15px;
  height: 1px;
  background: #ff692a;
  content: "";
  transform: rotate(45deg);
}

.not-found-ui-art::after { transform: rotate(-45deg); }

.not-found-ui-footer {
  position: absolute;
  right: 8%;
  bottom: 7%;
  left: 8%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.not-found-ui-footer i {
  display: block;
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: rgba(245, 243, 239, .13);
}

.not-found-ui-footer i:first-child { background: #ff692a; }

.not-found-ui-footer b {
  display: block;
  width: 24%;
  height: 4px;
  margin-left: auto;
  border-radius: 2px;
  background: rgba(245, 243, 239, .13);
}

.service-card-visual--loader {
  background: radial-gradient(circle, rgba(255, 105, 42, .13), transparent 42%), #080808;
}

.loader-visual-ring {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-top-color: #ff692a;
  border-radius: 50%;
  animation: service-loader-spin 4s linear infinite;
}

.loader-visual-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff692a;
  box-shadow: 0 0 22px rgba(255, 105, 42, .48);
}

.service-card-body {
  position: relative;
  z-index: 1;
  padding: 26px 10px 0;
}

.service-card-title {
  margin: 0;
  color: #f5f3ef;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.16;
}

.service-card-description {
  margin: 13px 0 0;
  color: #aaa7a2;
  font-size: 14.5px;
  line-height: 1.58;
}

.service-card-footer {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin-top: auto;
  padding: 28px 10px 0;
}

.service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.service-badge--available {
  border: 1px solid rgba(255, 105, 42, .38);
  color: #ff8a54;
  background: rgba(255, 105, 42, .12);
}

.service-badge--unavailable {
  border-color: rgba(245, 243, 239, .16);
  color: rgba(245, 243, 239, .5);
  background: rgba(245, 243, 239, .06);
}

.service-badge--soon {
  border: 1px solid rgba(255, 255, 255, .13);
  color: rgba(245, 243, 239, .58);
  background: rgba(255, 255, 255, .055);
}

.service-price {
  color: rgba(245, 243, 239, .62);
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}

.service-card-action {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 20px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(240, 77, 22, .18), inset 0 1px 0 rgba(255, 255, 255, .2);
  text-decoration: none;
}

.service-card-action:hover {
  box-shadow: 0 15px 32px rgba(240, 77, 22, .24), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.service-card-action--disabled,
.service-card-action--disabled:hover {
  justify-content: center;
  color: rgba(245, 243, 239, .5);
  background: #242424;
  box-shadow: none;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

.service-card-action span {
  transition: transform 180ms ease;
}

.service-card-action:hover span {
  transform: translateX(3px);
}

@keyframes service-loader-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1020px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .services-main { padding: 118px 0 82px; }
  .services-header { margin-bottom: 42px; }
  .services-header .services-title { font-size: clamp(40px, 12vw, 54px); line-height: 1; }
  .services-header .services-lead { font-size: 15.5px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 12px 12px 22px; }
  .service-card-body { padding: 22px 8px 0; }
  .service-card-footer { padding: 24px 8px 0; }
  .service-card-title { font-size: 22px; }
  .service-card-action { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card-action span,
  .loader-visual-ring {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
