/* Services pages: add-ons that reuse homepage design system without altering base layout */
.services-page .nav-dropdown-toggle.active {
  color: var(--primary);
}

.services-page .nav-dropdown-toggle.active svg {
  transform: none;
}

.services-page .nav-dropdown-menu a.active {
  color: var(--primary);
  background: #eff6ff;
}

/* /services only: glassmorphism header while keeping the global menu structure */
.services-index-page .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.services-index-page .site-header.scrolled {
  border-bottom-color: transparent;
  box-shadow: none;
}

.services-index-page .site-header .nav-wrap {
  min-height: 74px;
  margin-top: 12px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.54);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.services-index-page .site-header.scrolled .nav-wrap {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.services-index-page .logo {
  color: #071126;
}

.services-index-page .site-nav a,
.services-index-page .nav-dropdown-toggle {
  color: #0f172a;
}

.services-index-page .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.services-index-page .nav-actions .btn-outline {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(199, 210, 254, 0.95);
}

.page-hero .hero-content {
  max-width: 960px;
}

.page-hero .hero-heading {
  min-height: 0;
}

.page-hero .hero-subtext {
  min-height: 0;
  max-width: 820px;
}

.page-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: rgba(226, 232, 240, 0.96);
  font-weight: 600;
  font-size: 0.94rem;
}

.page-breadcrumb a {
  color: rgba(191, 219, 254, 0.98);
}

.page-breadcrumb a:hover {
  color: #fff;
}

.breadcrumb-sep {
  opacity: 0.6;
}

/* /services only: compact premium hero slider */
.services-hero {
  --services-hero-header-offset: clamp(84px, 9vw, 108px);
  position: relative;
  height: clamp(620px, calc(65vh + 40px), 720px);
  color: #fff;
  background: #020617;
  overflow: hidden;
  isolation: isolate;
}

.services-hero .services-hero-slider {
  position: relative;
  height: 100%;
}

.services-hero .services-hero-track,
.services-hero .services-hero-slide,
.services-hero .services-hero-overlay {
  position: absolute;
  inset: 0;
}

.services-hero .services-hero-slide {
  opacity: 0;
  transform: scale(1.02);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: opacity 560ms ease, transform 560ms ease;
  will-change: opacity, transform;
}

.services-hero .services-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.services-hero .services-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(106deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.56) 100%),
    radial-gradient(circle at 74% 32%, rgba(255, 255, 255, 0.1), transparent 36%);
}

.services-hero .services-hero-shell {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: var(--services-hero-header-offset);
  padding-bottom: 70px;
  box-sizing: border-box;
}

.services-hero .services-hero-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.72fr);
  gap: clamp(18px, 2.8vw, 34px);
  align-items: center;
}

.services-hero .services-hero-copy {
  max-width: 760px;
}

.services-hero .services-hero-title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.services-hero .services-hero-subtext {
  margin: 14px 0 0;
  max-width: 60ch;
  color: rgba(241, 245, 249, 0.96);
  font-size: clamp(0.94rem, 1.35vw, 1.05rem);
  line-height: 1.52;
}

.services-hero .services-hero-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-hero .services-hero-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 8px 0 8px;
  max-width: 680px;
  padding: 0;
  list-style: none;
}

.services-hero .services-hero-feature-pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.services-hero .services-hero-pill-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  flex: 0 0 18px;
}

.services-hero .services-hero-pill-icon svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-hero .services-hero-mobile-actions {
  display: none;
}

.services-hero .services-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 9px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.services-hero .services-hero-btn:hover,
.services-hero .services-hero-btn:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.98);
  transform: translateY(-1px);
}

.services-hero .services-hero-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.services-hero .services-hero-card {
  justify-self: end;
  width: min(100%, 430px);
  padding: 30px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.services-hero .services-hero-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  background: transparent;
  padding: 6px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.services-hero .services-hero-card-title {
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.22;
}

.services-hero .services-hero-card-text {
  margin: 10px 0 0;
  color: rgba(241, 245, 249, 0.95);
  font-size: 0.97rem;
  line-height: 1.55;
}

.services-hero .services-hero-card-link {
  margin-top: 18px;
}

.services-hero .services-hero-controls {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.services-hero .services-hero-arrows,
.services-hero .services-hero-meta {
  pointer-events: auto;
}

.services-hero .services-hero-arrows {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.services-hero .services-hero-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.services-hero .services-hero-arrow:hover,
.services-hero .services-hero-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.services-hero .services-hero-arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.services-hero .services-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.services-hero .services-hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.services-hero .services-hero-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.services-hero .services-hero-dots button.is-active {
  width: 24px;
  background: rgba(255, 255, 255, 0.95);
}

.services-hero .services-hero-dots button:hover,
.services-hero .services-hero-dots button:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.services-hero .services-hero-dots button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

.services-hero .services-hero-counter {
  margin: 0;
  color: rgba(248, 250, 252, 0.92);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .services-hero {
    height: clamp(380px, 50vh, 480px);
  }

  .services-hero .services-hero-shell {
    padding-bottom: 60px;
  }

  .services-hero .services-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.72fr);
    gap: 18px;
  }

  .services-hero .services-hero-title {
    font-size: clamp(1.8rem, 4.8vw, 2.9rem);
  }

  .services-hero .services-hero-feature-pills li {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  .services-hero {
    min-height: 360px;
    height: auto;
  }

  .services-hero .services-hero-shell {
    display: flex;
    flex-direction: column;
    height: auto;
    align-items: flex-start;
    padding-top: calc(var(--services-hero-header-offset) + 8px);
    padding-bottom: 12px;
  }

  .services-hero .services-hero-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .services-hero .services-hero-copy,
  .services-hero .services-hero-card {
    max-width: 100%;
    width: 100%;
    justify-self: stretch;
  }

  .services-hero .services-hero-card {
    padding: 22px;
  }

  .services-hero .services-hero-controls {
    position: static;
    margin-top: 18px;
    padding-bottom: 14px;
  }
}

@media (max-width: 640px) {
  .services-hero .services-hero-title {
    font-size: clamp(1.54rem, 7.3vw, 2.1rem);
  }

  .services-hero .services-hero-subtext {
    margin-top: 12px;
    font-size: 0.92rem;
  }

  .services-hero .services-hero-actions {
    margin-top: 18px;
  }

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

  .services-hero .services-hero-feature-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .services-hero .services-hero-feature-pills li {
    padding: 4px 7px;
    gap: 5px;
    font-size: 0.6rem;
  }

  .services-hero .services-hero-pill-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .services-hero .services-hero-pill-icon svg {
    width: 9px;
    height: 9px;
  }

  .services-hero .services-hero-meta {
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .services-hero .services-hero-feature-pills {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-hero .services-hero-slide,
  .services-hero .services-hero-btn,
  .services-hero .services-hero-arrow,
  .services-hero .services-hero-dots button {
    transition: none;
  }
}

/* /services only: premium hero slider treatment (layout preserved, style upgraded) */
.services-index-page .services-hero-premium {
  min-height: clamp(740px, 88vh, 880px);
}

.home-page {
  --home-hero-container-desktop: calc(100% - 16px);
  --home-hero-container-tablet: calc(100% - 28px);
  --home-hero-container-mobile: calc(100% - 16px);
  --home-hero-radius-desktop: 24px;
  --home-hero-radius-tablet: 18px;
  --home-hero-radius-mobile: 14px;
}

.home-page .home-services-hero {
  width: var(--home-hero-container-desktop);
  margin: 16px auto 0;
  border-radius: var(--home-hero-radius-desktop);
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.24);
}

.home-page .home-services-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto auto -24% -8%;
  width: clamp(280px, 42vw, 560px);
  height: clamp(280px, 42vw, 560px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 68%);
  pointer-events: none;
}

.home-page .home-services-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -24% -8% auto auto;
  width: clamp(220px, 36vw, 460px);
  height: clamp(220px, 36vw, 460px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.18) 0%, rgba(147, 197, 253, 0) 70%);
  pointer-events: none;
}

.home-page .home-services-hero .services-hero-shell {
  position: relative;
  z-index: 3;
}

.home-page .home-services-hero .services-hero-controls {
  z-index: 4;
}

.home-page .home-services-hero .services-hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.home-page .home-services-hero .services-hero-subtext {
  font-size: clamp(0.96rem, 1.45vw, 1.12rem);
  max-width: 62ch;
}

.home-page .home-services-hero .services-hero-feature-pills li {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.home-page .home-services-hero .services-hero-card {
  box-shadow: 0 24px 52px rgba(2, 6, 23, 0.34);
}

.home-page .home-services-hero .services-hero-mobile-actions {
  position: static;
  display: none;
}

@media (max-width: 1024px) {
  .home-page .home-services-hero {
    width: var(--home-hero-container-tablet);
    margin: 10px auto 0;
    border-radius: var(--home-hero-radius-tablet);
  }
}

@media (max-width: 820px) {
  .home-page .home-services-hero {
    width: var(--home-hero-container-tablet);
    margin: 10px auto 0;
    border-radius: var(--home-hero-radius-tablet);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
    min-height: clamp(700px, 84svh, 840px);
  }

  .home-page .home-services-hero .services-hero-shell {
    padding-top: calc(var(--services-hero-header-offset) + 2px);
    padding-bottom: 8px;
  }

  .home-page .home-services-hero .services-hero-layout {
    gap: 14px;
  }

  .home-page .home-services-hero .services-hero-copy {
    display: flex;
    flex-direction: column;
  }

  .home-page .home-services-hero .services-hero-title {
    font-size: clamp(2rem, 8.3vw, 2.72rem);
    max-width: 13ch;
    line-height: 1.04;
    min-height: 3.2em;
  }

  .home-page .home-services-hero .services-hero-subtext {
    margin-top: 12px;
    font-size: 0.96rem;
    line-height: 1.45;
    max-width: 35ch;
    min-height: 3.3em;
  }

  .home-page .home-services-hero .services-hero-feature-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .home-page .home-services-hero .services-hero-feature-pills li {
    min-height: 42px;
    font-size: 0.72rem;
    line-height: 1.18;
    padding: 7px 10px;
    white-space: normal;
  }

  .home-page .home-services-hero .services-hero-pill-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .home-page .home-services-hero .services-hero-pill-icon svg {
    width: 10px;
    height: 10px;
  }

  .home-page .home-services-hero .services-hero-actions {
    margin-top: 14px;
  }

  .home-page .home-services-hero .services-hero-actions .services-hero-btn {
    width: 240px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 0.95rem;
  }

  .home-page .home-services-hero .services-hero-actions .services-hero-btn--soft {
    display: none;
  }

  .home-page .home-services-hero .services-hero-card {
    padding: 20px;
    border-radius: 22px;
    min-height: 248px;
    display: flex;
    flex-direction: column;
  }

  .home-page .home-services-hero .services-hero-card-title {
    font-size: 1.22rem;
    line-height: 1.18;
    margin-top: 12px;
    min-height: 2.2em;
  }

  .home-page .home-services-hero .services-hero-card-text {
    font-size: 0.92rem;
    line-height: 1.5;
    min-height: 3.6em;
  }

  .home-page .home-services-hero .services-hero-card-link.services-hero-btn {
    width: 100%;
    min-height: 48px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 999px;
    font-size: 0.92rem;
    margin-top: auto;
  }

  .home-page .home-services-hero .services-hero-mobile-actions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .home-page .home-services-hero .services-hero-mobile-actions .services-hero-btn {
    width: 100%;
    min-height: 48px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 999px;
    font-size: 0.9rem;
  }

  .home-page .home-services-hero .services-hero-controls {
    margin-top: 14px;
    padding-bottom: 20px;
  }
}

@media (max-width: 640px) {
  .home-page .home-services-hero {
    width: var(--home-hero-container-mobile);
    border-radius: var(--home-hero-radius-mobile);
  }
}

@media (max-width: 480px) {
  .home-page .home-services-hero .services-hero-title {
    font-size: clamp(1.82rem, 8.4vw, 2.16rem);
    max-width: 13ch;
  }

  .home-page .home-services-hero .services-hero-subtext {
    font-size: 0.9rem;
    max-width: 32ch;
    min-height: 3.7em;
  }

  .home-page .home-services-hero .services-hero-feature-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    gap: 7px;
  }

  .home-page .home-services-hero .services-hero-feature-pills li {
    min-height: 40px;
    font-size: 0.68rem;
    padding: 6px 8px;
  }

  .home-page .home-services-hero .services-hero-mobile-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.services-index-page .services-hero-premium .hero-slide {
  background-position: center 56%;
  transform: none;
}

.services-index-page .services-hero-premium .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 58%, rgba(255, 170, 92, 0.18), transparent 34%),
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.22) 0%, rgba(6, 10, 18, 0.12) 36%, rgba(6, 10, 18, 0.28) 100%);
  pointer-events: none;
}

.services-index-page .services-hero-premium .hero-overlay {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(102deg, rgba(6, 10, 18, 0.72) 0%, rgba(10, 17, 31, 0.48) 48%, rgba(6, 10, 18, 0.42) 100%);
}

.services-index-page .services-hero-premium::after {
  background: linear-gradient(190deg, rgba(255, 255, 255, 0.16), rgba(2, 6, 23, 0));
}

.services-index-page .services-hero-premium .hero-content {
  max-width: min(860px, 100%);
  padding-top: 152px;
  padding-bottom: 188px;
}

.services-hero-panel {
  width: min(760px, calc(100% - 8px));
  padding: clamp(20px, 2.2vw, 30px);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(8, 14, 25, 0.42) 0%, rgba(8, 14, 25, 0.28) 100%);
  box-shadow: 0 22px 54px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
}

.services-index-page .services-hero-premium .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  color: rgba(248, 250, 252, 0.98);
  margin-bottom: 16px;
}

.services-index-page .services-hero-premium .hero-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #93c5fd;
  box-shadow: 0 0 0 5px rgba(147, 197, 253, 0.2);
}

.services-index-page .services-hero-premium .hero-heading {
  margin-bottom: 14px;
  min-height: 0;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.02;
  max-width: 680px;
}

.services-index-page .services-hero-premium .hero-subtext {
  max-width: 640px;
  margin-top: 0;
  min-height: 0;
  color: rgba(226, 232, 240, 0.95);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.55;
}

.services-index-page .services-hero-premium .hero-features {
  margin-top: 22px;
  min-height: 0;
  gap: 10px;
}

.services-index-page .services-hero-premium .hero-features span {
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(241, 245, 249, 0.98);
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.services-index-page .services-hero-premium .hero-features strong {
  width: 22px;
  height: 22px;
  font-size: 0.78rem;
  border-width: 1px;
  border-color: rgba(191, 219, 254, 0.95);
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.14);
}

.services-index-page .services-hero-premium .hero-cta {
  margin-top: 24px;
  gap: 12px;
}

.services-index-page .services-hero-premium .hero-cta .btn {
  min-width: 180px;
  padding: 14px 22px;
  font-size: 0.98rem;
}

.services-index-page .services-hero-premium .hero-cta .btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.services-index-page .services-hero-premium .hero-cta .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.58);
}

.services-index-page .services-hero-stats {
  left: clamp(14px, 2.4vw, 28px);
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.1vw, 24px);
  background: rgba(8, 14, 25, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.18);
}

.services-index-page .services-hero-stats div {
  align-items: flex-start;
  text-align: left;
  min-height: 84px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
}

.services-index-page .services-hero-stats div + div {
  border-left-color: rgba(255, 255, 255, 0.12);
}

.services-index-page .services-hero-stats h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.services-index-page .services-hero-stats p {
  margin-top: 6px;
  line-height: 1.2;
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.9);
}

/* Service detail pages: apply the same premium hero treatment while preserving each page's own background image + content */
.service-detail-page .services-hero-premium {
  min-height: clamp(700px, 84vh, 840px);
}

.service-detail-page .services-hero-premium .hero-slide {
  transform: none;
  background-position: center 52%;
}

.service-detail-page .services-hero-premium .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 52%, rgba(255, 180, 110, 0.14), transparent 34%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(7, 10, 17, 0.2) 0%, rgba(7, 10, 17, 0.1) 34%, rgba(7, 10, 17, 0.24) 100%);
  pointer-events: none;
}

.service-detail-page .services-hero-premium .hero-overlay {
  background:
    radial-gradient(circle at 16% 28%, rgba(255, 255, 255, 0.06), transparent 36%),
    linear-gradient(102deg, rgba(6, 10, 18, 0.76) 0%, rgba(8, 14, 25, 0.5) 46%, rgba(6, 10, 18, 0.36) 100%);
}

.service-detail-page .services-hero-premium::after {
  background: linear-gradient(190deg, rgba(255, 255, 255, 0.12), rgba(2, 6, 23, 0));
}

.service-detail-page .services-hero-premium .hero-content {
  max-width: min(1020px, 100%);
  padding-top: 146px;
  padding-bottom: 116px;
}

.services-hero-panel-detail {
  width: min(820px, calc(100% - 8px));
  padding: clamp(18px, 2vw, 28px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(8, 14, 25, 0.44) 0%, rgba(8, 14, 25, 0.28) 100%);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(12px) saturate(122%);
  -webkit-backdrop-filter: blur(12px) saturate(122%);
}

.service-detail-page .services-hero-premium .page-breadcrumb {
  margin-bottom: 12px;
  color: rgba(226, 232, 240, 0.96);
  gap: 7px;
}

.service-detail-page .services-hero-premium .page-breadcrumb a {
  color: rgba(219, 234, 254, 0.98);
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.service-detail-page .services-hero-premium .page-breadcrumb a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.service-detail-page .services-hero-premium .page-breadcrumb [aria-current="page"] {
  color: rgba(248, 250, 252, 0.98);
}

.service-detail-page .services-hero-premium .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  color: rgba(248, 250, 252, 0.98);
  margin-bottom: 14px;
}

.service-detail-page .services-hero-premium .hero-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #93c5fd;
  box-shadow: 0 0 0 5px rgba(147, 197, 253, 0.2);
}

.service-detail-page .services-hero-premium .hero-heading {
  margin-bottom: 12px;
  min-height: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  max-width: 760px;
}

.service-detail-page .services-hero-premium .hero-subtext {
  margin-top: 0;
  min-height: 0;
  max-width: 680px;
  color: rgba(226, 232, 240, 0.94);
  font-size: clamp(0.98rem, 1.45vw, 1.08rem);
  line-height: 1.58;
}

.service-detail-page .services-hero-premium .hero-features {
  margin-top: 18px;
  min-height: 0;
  gap: 10px 12px;
}

.service-detail-page .services-hero-premium .hero-features span {
  color: rgba(241, 245, 249, 0.98);
  font-size: 0.9rem;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-detail-page .services-hero-premium .hero-features strong {
  width: 22px;
  height: 22px;
  font-size: 0.78rem;
  border-width: 1px;
  border-color: rgba(191, 219, 254, 0.95);
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.14);
}

.service-detail-page .services-hero-premium .hero-cta {
  margin-top: 22px;
  gap: 12px;
}

.service-detail-page .services-hero-premium .hero-cta .btn {
  min-width: 180px;
  padding: 14px 22px;
  font-size: 0.98rem;
}

.service-detail-page .services-hero-premium .hero-cta .btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.service-detail-page .services-hero-premium .hero-cta .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.58);
}

.services-catalog-grid .card {
  height: 100%;
}

.service-overview-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-color: #e8eef8;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
  border-color: #bfdbfe;
}

.service-overview-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  margin-bottom: 8px;
  animation: none;
}

.service-overview-icon svg {
  width: 28px;
  height: 28px;
}

.service-overview-list {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
}

.service-overview-list li {
  color: #334155;
  padding-left: 16px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.45;
}

.service-overview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.service-card-actions {
  margin-top: auto;
  padding-top: 10px;
}

.service-card-actions .btn {
  width: 100%;
}

.dewa-support-shell {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  align-items: stretch;
}

.dewa-premium-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dewa-premium-card .dewa-support-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dewa-checklist-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #334155;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

.dewa-note {
  color: var(--muted);
  line-height: 1.55;
}

.dewa-note a,
.faq-links-row a,
.service-link-list a {
  color: var(--primary);
  font-weight: 600;
}

.faq-links-row {
  margin-top: 12px;
  line-height: 1.55;
}

.keyword-tags a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid #dbeafe;
}

.service-detail-grid .about-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.service-detail-actions .btn {
  min-width: 190px;
}

.services-detail-cards .card,
.service-highlight-card {
  height: 100%;
}

.service-highlight-card {
  border-color: #e8eef8;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.service-highlight-card h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.services-area-grid {
  margin-top: 6px;
}

.service-detail-support-grid {
  margin-top: 20px;
}

.service-link-list {
  display: grid;
  gap: 8px;
}

.service-link-list li::marker {
  color: var(--primary);
}

.faq-modern-grid-compact {
  grid-template-columns: 1fr;
}

.faq-accordion-wrap-full {
  max-width: none;
}

@media (max-width: 1100px) {
  .dewa-support-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .services-index-page .site-header .nav-wrap {
    margin-top: 8px;
    min-height: 68px;
    padding: 0 12px;
    border-radius: 16px;
  }

  .services-index-page .site-nav {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(226, 232, 240, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .services-index-page .nav-dropdown-menu {
    background: rgba(248, 250, 252, 0.9);
  }

  .services-index-page .services-hero-premium {
    min-height: 880px;
  }

  .services-index-page .services-hero-premium .hero-content {
    padding-top: 132px;
    padding-bottom: 214px;
  }

  .services-hero-panel {
    width: 100%;
    border-radius: 22px;
    padding: 18px;
  }

  .services-index-page .services-hero-premium .hero-features span {
    font-size: 0.86rem;
  }

  .services-index-page .services-hero-stats {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .services-index-page .services-hero-stats div {
    min-height: 78px;
    padding: 12px;
  }

  .service-detail-page .services-hero-premium {
    min-height: 820px;
  }

  .service-detail-page .services-hero-premium .hero-content {
    padding-top: 128px;
    padding-bottom: 94px;
  }

  .services-hero-panel-detail {
    width: 100%;
    border-radius: 20px;
    padding: 16px;
  }

  .service-detail-page .services-hero-premium .hero-features span {
    font-size: 0.85rem;
  }

  .page-hero .hero-content {
    padding-bottom: 164px;
  }

  .dewa-premium-card .dewa-support-actions .btn,
  .service-detail-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .services-index-page .site-header .nav-wrap {
    margin-top: 6px;
    padding: 0 10px;
  }

  .services-index-page .services-hero-premium {
    min-height: 920px;
  }

  .services-index-page .services-hero-premium .hero-content {
    padding-top: 118px;
    padding-bottom: 228px;
  }

  .services-index-page .services-hero-premium .hero-heading {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .services-index-page .services-hero-premium .hero-features {
    grid-template-columns: 1fr;
    display: grid;
  }

  .services-index-page .services-hero-premium .hero-features span {
    width: 100%;
    justify-content: flex-start;
    border-radius: 14px;
    padding: 10px 12px;
  }

  .services-index-page .services-hero-premium .hero-cta {
    grid-template-columns: 1fr;
  }

  .services-index-page .services-hero-premium .hero-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .services-index-page .services-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-page .services-hero-premium {
    min-height: 900px;
  }

  .service-detail-page .services-hero-premium .hero-content {
    padding-top: 114px;
    padding-bottom: 84px;
  }

  .service-detail-page .services-hero-premium .hero-heading {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  .service-detail-page .services-hero-premium .page-breadcrumb {
    display: grid;
    justify-items: start;
    gap: 6px;
  }

  .service-detail-page .services-hero-premium .page-breadcrumb .breadcrumb-sep {
    display: none;
  }

  .service-detail-page .services-hero-premium .hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-detail-page .services-hero-premium .hero-features span {
    width: 100%;
    justify-content: flex-start;
    border-radius: 14px;
    padding: 10px 12px;
  }

  .service-detail-page .services-hero-premium .hero-cta {
    grid-template-columns: 1fr;
  }

  .service-detail-page .services-hero-premium .hero-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .page-breadcrumb {
    font-size: 0.86rem;
    gap: 6px;
  }

  .service-overview-card {
    padding: 22px;
  }

  .service-overview-icon {
    width: 56px;
    height: 56px;
  }

  .hero-stats div {
    min-height: 84px;
  }
}
