/* SERVICES EXPERIENCE PAGE ONLY */

.services-page {
  position: relative;
  min-height: calc(100vh - 88px);
  background: #05060b;
  overflow-x: hidden;
}

.services-hero {
  position: relative;
  min-height: calc(100vh - 88px);
  overflow: hidden;
  padding: 38px 7vw 70px;
  background: #05060b;
}

.services-video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #05060b;
}

.services-preview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, transform .65s ease;
}

.services-dark-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,6,11,.50) 0%, rgba(5,6,11,.08) 48%, rgba(5,6,11,.58) 100%),
    linear-gradient(180deg, rgba(5,6,11,.18) 0%, rgba(5,6,11,.38) 100%);
}

.services-focus-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 52%, rgba(255,30,45,.13), transparent 26%),
    radial-gradient(circle at 18% 28%, rgba(60,90,255,.10), transparent 28%);
}

.services-brand-card {
  position: relative;
  z-index: 5;
  width: fit-content;
  max-width: min(420px, 100%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(8,10,16,.58);
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.services-brand-logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}

.services-brand-logo img {
  width: 42px;
  height: auto;
}

.services-brand-copy h1 {
  font-size: 18px;
  margin: 0;
  line-height: 1.2;
}

.services-brand-copy p {
  font-size: 13px;
  color: #c8ccd5;
  margin: 4px 0 0;
}

.service-card {
  position: absolute;
  z-index: 6;
  right: clamp(130px, 10vw, 190px);
  bottom: 64px;
  width: min(520px, calc(100% - 220px));
  max-height: calc(100vh - 220px);
  overflow: auto;
  padding: 34px;
  border-radius: 34px;
  background: rgba(8,10,16,.72);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  scrollbar-width: none;
}

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

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #cfd5e2;
  font-size: 12px;
  margin-bottom: 18px;
  letter-spacing: .12em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--active-color,#3a5cff);
  box-shadow: 0 0 16px var(--active-color,#3a5cff);
}

.service-title {
  font-size: clamp(38px,4vw,64px);
  line-height: 1;
  margin-bottom: 14px;
}

.service-subtitle {
  color: var(--active-color,#3a5cff);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .08em;
}

.service-description {
  color: #d8dce6;
  line-height: 1.85;
}

.service-meta {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
  margin: 22px 0;
}

.meta-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

.meta-card h3 {
  font-size: 12px;
  color: #aab1c0;
  margin-bottom: 6px;
  letter-spacing: .08em;
}

.meta-card p {
  font-size: 14px;
  color: #fff;
  font-weight: 700;
}

.service-points {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
  margin: 20px 0;
}

.service-points li {
  color: #e7eaf1;
  line-height: 1.6;
}

.service-points li::before {
  content: "●";
  color: var(--active-color,#3a5cff);
  margin-inline-end: 8px;
  text-shadow: 0 0 14px var(--active-color,#3a5cff);
}

.action-row {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #fff;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg,var(--active-color,#3a5cff),#ff505b);
}

.circle-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  overflow-x: visible;
  padding: 10px 4px 10px 0;
  scrollbar-width: none;
}

.circle-rail::-webkit-scrollbar {
  display: none;
}

.circle-item {
  width: 118px;
  height: 118px;
  flex: 0 0 118px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  opacity: .48;
  transform: scale(.82);
  transition: .35s ease;
  background: rgba(255,255,255,.04);
}

.circle-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-label {
  position: absolute;
  inset: auto 8px 12px;
  font-size: 11px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px #000;
  pointer-events: none;
}

.circle-item.active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--active-color,#3a5cff);
  box-shadow:
    0 0 28px color-mix(in srgb,var(--active-color,#3a5cff),transparent 55%),
    0 22px 54px rgba(0,0,0,.45);
}

.circle-item.inactive:hover {
  opacity: .85;
  transform: scale(.92);
}

.fade-swap {
  animation: panelSwap .45s ease;
}

@keyframes panelSwap {
  from { opacity: .35; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1100px) {
  .services-hero {
    padding-inline: 28px;
  }

  .service-card {
    right: 112px;
    width: min(500px, calc(100% - 160px));
  }

  .circle-item {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }
}

@media (max-width: 768px) {
  .services-page {
    min-height: auto;
  }

  .services-hero {
    min-height: auto;
    padding: 22px 14px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .services-video-layer {
    position: relative;
    order: 3;
    height: 74vh;
    min-height: 560px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
  }

  .services-preview-video {
    object-fit: cover;
    object-position: center center;
  }

  .services-dark-layer,
  .services-focus-layer {
    display: none;
  }

  .services-brand-card {
    order: 1;
    width: 100%;
    justify-content: center;
    padding: 12px;
    border-radius: 22px;
  }

  .services-brand-logo {
    width: 46px;
    height: 46px;
  }

  .services-brand-logo img {
    width: 36px;
  }

  .services-brand-copy h1 {
    font-size: 15px;
  }

  .services-brand-copy p {
    font-size: 11px;
  }

  .circle-rail {
    position: relative;
    order: 2;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 2px 14px;
    gap: 12px;
  }

  .circle-item {
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    opacity: .75;
    transform: none;
  }

  .circle-item.active {
    transform: scale(1.05);
  }

  .circle-label {
    font-size: 9px;
    inset: auto 4px 8px;
  }

  .service-card {
    position: relative;
    order: 4;
    right: auto;
    bottom: auto;
    width: 100%;
    max-height: none;
    margin: 0;
    padding: 20px 18px;
    border-radius: 26px;
    background: rgba(10,10,16,.66);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0,0,0,.35);
  }

  .service-title {
    font-size: clamp(28px,8vw,42px);
    line-height: 1.1;
  }

  .service-subtitle {
    font-size: 14px;
  }

  .service-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .service-meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .meta-card {
    padding: 14px;
    border-radius: 16px;
  }

  .action-row {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    padding: 14px;
  }
}
