.service-page {
  overflow: hidden;
  background: #05010d;
}

.service-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(56px, 6.4svh, 70px);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(2 0 9 / 0.92), rgb(2 0 9 / 0.58) 68%, transparent);
}

.service-navigation {
  position: absolute;
  top: clamp(8px, 1.25svh, 14px);
  right: clamp(16px, 2.3vw, 44px);
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.35vw, 27px);
  white-space: nowrap;
  pointer-events: auto;
  font-family: "Leelawadee UI", Tahoma, sans-serif;
  font-size: clamp(15px, 1.05vw, 20px);
  font-weight: 700;
  line-height: 1;
}

.service-navigation a {
  position: relative;
  display: inline-flex;
  min-height: clamp(38px, 3.2vw, 48px);
  align-items: center;
  justify-content: center;
  color: rgb(255 255 255 / 0.92);
  cursor: pointer;
  text-decoration: none;
  text-shadow: 0 0 7px rgb(0 0 0 / 0.95);
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition:
    color 160ms ease,
    text-shadow 160ms ease,
    transform 160ms ease;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.service-navigation a:hover,
.service-navigation a:focus-visible,
.service-navigation a.is-current {
  color: #fff;
  text-shadow:
    0 0 4px rgb(255 255 255 / 0.98),
    0 0 13px rgb(255 255 255 / 0.84),
    0 0 24px rgb(117 218 255 / 0.52);
  transform: translateZ(0) scale(1.09);
}

.service-navigation a.is-current::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 1px;
  left: 8%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff32d2, #30ddff);
  box-shadow: 0 0 12px rgb(75 220 255 / 0.88);
}

.service-navigation a:focus-visible {
  border-radius: 9px;
  outline: 2px solid rgb(111 231 255 / 0.96);
  outline-offset: 4px;
}

.service-navigation__contact {
  gap: 7px;
  padding: 4px 14px;
  border: 1px solid rgb(255 57 219 / 0.88);
  border-radius: 11px;
  background: rgb(5 1 16 / 0.6);
  box-shadow:
    inset 0 0 10px rgb(255 57 219 / 0.1),
    0 0 12px rgb(255 57 219 / 0.18);
}

.service-navigation__contact:hover,
.service-navigation__contact:focus-visible {
  border-color: #ff61e2;
  box-shadow:
    inset 0 0 12px rgb(255 57 219 / 0.16),
    0 0 17px rgb(255 57 219 / 0.4);
}

.service-poster {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 420px;
  isolation: isolate;
  overflow: hidden;
  background: #05010d;
}

.service-poster__backdrop {
  position: absolute;
  z-index: -1;
  inset: -5vmax;
  overflow: hidden;
  background: #05010d;
}

.service-poster__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(3 0 12 / 0.24), transparent 18% 82%, rgb(3 0 12 / 0.38)),
    rgb(3 0 12 / 0.08);
}

.service-poster__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(24px) saturate(1.08) brightness(0.62);
  transform: scale(1.08);
}

.service-poster__master {
  position: absolute;
  inset:
    clamp(58px, 6.4svh, 72px)
    clamp(10px, 1.25vw, 24px)
    clamp(8px, 1.5svh, 18px);
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  place-items: center;
}

.service-poster__master img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 18px 48px rgb(0 0 0 / 0.48));
}

@media (max-width: 980px) {
  .service-header {
    height: 58px;
    overflow: hidden;
    background: rgb(2 0 9 / 0.92);
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.42);
  }

  .service-navigation {
    inset: 0;
    justify-content: flex-start;
    gap: 18px;
    padding: 7px 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    font-size: 15px;
  }

  .service-navigation::-webkit-scrollbar {
    display: none;
  }

  .service-navigation a {
    min-height: 42px;
  }

  .service-navigation__contact {
    margin-right: 8px;
  }

  .service-poster__master {
    inset: 60px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-navigation a {
    transition: none;
  }
}
