:root {
  --bs-auto-black: #050505;
  --bs-auto-dark: #111111;
  --bs-auto-yellow: #f8b214;
  --bs-auto-yellow-2: #ffca37;
  --bs-auto-white: #ffffff;
  --bs-auto-muted: rgba(255, 255, 255, 0.72);
  --bs-auto-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}

html {
  scroll-behavior: smooth;
}

body:has(.bizsoul-autoservice-page) {
  /* background: var(--bs-auto-black); */
  background: #fff;
}

.bizsoul-autoservice-page,
.bizsoul-autoservice-page * {
  box-sizing: border-box;
}

.bizsoul-autoservice-page {
  position: relative;
  /* width: 100vw; */
  width: 100%;
  /* max-width: 100vw; */
  max-width: 75vw;
  /* margin-left: calc(50% - 50vw); */
  /* margin-right: calc(50% - 50vw); */
  overflow: clip;
  background:
    radial-gradient(
      circle at 20% 4%,
      rgba(248, 178, 20, 0.18),
      transparent 24rem
    ),
    radial-gradient(
      circle at 82% 14%,
      rgba(248, 178, 20, 0.12),
      transparent 30rem
    ),
    linear-gradient(180deg, #020202 0%, #111111 47%, #030303 100%);
  color: var(--bs-auto-white);
  font-family: Inter, Manrope, Montserrat, Arial, sans-serif;
  isolation: isolate;
}

.bizsoul-autoservice-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.36;
  background:
    linear-gradient(
      135deg,
      transparent 0 47%,
      rgba(248, 178, 20, 0.08) 48%,
      transparent 52% 100%
    ),
    repeating-linear-gradient(
      -12deg,
      rgba(255, 255, 255, 0.025) 0 1px,
      transparent 1px 28px
    );
}

.bs-auto-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99998;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.bs-auto-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--bs-auto-yellow),
    var(--bs-auto-yellow-2)
  );
  box-shadow: 0 0 22px rgba(248, 178, 20, 0.75);
  transition: width 0.08s linear;
}

.bs-auto-nav {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  z-index: 99999;
  width: min(330px, calc(100vw - 36px));
  font-family: Inter, Manrope, Montserrat, Arial, sans-serif;
}

.bs-auto-nav__button {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--bs-auto-white);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.bs-auto-nav__button:hover,
.bs-auto-nav__button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(248, 178, 20, 0.72);
  background: rgba(15, 15, 15, 0.94);
  outline: none;
}

.bs-auto-nav__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bs-auto-yellow);
  box-shadow: 0 0 18px rgba(248, 178, 20, 0.95);
}

.bs-auto-nav__menu {
  position: absolute;
  top: calc(100% + 246px);
  right: 619px;
  width: 100%;
  max-height: calc(100vh - 92px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid rgba(248, 178, 20, 0.28);
  border-radius: 22px;
  background: rgba(5, 5, 5, 0);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--bs-auto-shadow);
  /* opacity: 0; */
  /* visibility: hidden; */
  /* pointer-events: none; */
  transform: translateY(-8px) scale(0.98);
  /* transform-origin: top right; */
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.bs-auto-nav.is-open .bs-auto-nav__menu,
.bs-auto-nav:focus-within .bs-auto-nav__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.bs-auto-nav__menu a {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.18;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.bs-auto-nav__menu a span {
  color: var(--bs-auto-yellow);
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.bs-auto-nav__menu a:hover,
.bs-auto-nav__menu a:focus-visible,
.bs-auto-nav__menu a.is-active {
  color: var(--bs-auto-white);
  background: rgba(248, 178, 20, 0.14);
  transform: translateX(-2px);
  outline: none;
}

.bs-auto-stage {
  width: 100%;
}

.bs-auto-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(54px, 6vw, 92px) clamp(16px, 4vw, 42px);
  scroll-margin-top: 86px;
}

.bs-auto-section::before {
  content: attr(data-section-title);
  position: absolute;
  left: clamp(18px, 3vw, 42px);
  top: clamp(18px, 3vw, 42px);
  z-index: 0;
  color: rgba(255, 255, 255, 0.145);
  font-size: clamp(42px, 8vw, 118px);
  font-weight: 900;
  line-height: 1;
  /* letter-spacing: -0.07em; */
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.bs-auto-section:nth-child(even) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.018),
    rgba(248, 178, 20, 0.035)
  );
}

.bs-auto-section__inner {
  position: relative;
  z-index: 1;
  width: min(909px, 100%);
  display: block;
}

.bs-auto-slide {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: #111;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.bs-auto-seo-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bs-auto-to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 99998;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #111;
  background: var(--bs-auto-yellow);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.bs-auto-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bs-auto-to-top:hover,
.bs-auto-to-top:focus-visible {
  color: #111;
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 760px) {
  .bs-auto-nav {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: min(310px, calc(100vw - 24px));
  }

  .bs-auto-nav__button {
    min-height: 42px;
    padding: 9px 15px;
    font-size: 12px;
  }

  .bs-auto-section {
    min-height: auto;
    padding: 72px 10px 38px;
    scroll-margin-top: 72px;
  }

  .bs-auto-section::before {
    display: none;
  }

  .bs-auto-slide {
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.6);
  }

  .bs-auto-to-top {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bs-auto-nav__menu,
  .bs-auto-nav__button,
  .bs-auto-to-top,
  .bs-auto-nav__menu a {
    transition: none;
  }
}

body.admin-bar .bs-auto-progress {
  top: 32px;
}

body.admin-bar .bs-auto-nav {
  top: calc(32px + max(18px, env(safe-area-inset-top)));
}

@media (max-width: 782px) {
  body.admin-bar .bs-auto-progress {
    top: 46px;
  }

  body.admin-bar .bs-auto-nav {
    top: calc(46px + max(12px, env(safe-area-inset-top)));
  }
}
