:root {
  --service-bg-start: #0b0f18;
  --service-bg-mid: #050506;
  --service-surface: rgba(15, 23, 42, 0.65);
  --service-border: rgba(148, 163, 184, 0.18);
  --service-text: #e2e8f0;
  --service-text-muted: #94a3b8;
  --service-chip-bg: rgba(148, 163, 184, 0.12);
  --service-highlight: rgba(248, 250, 252, 0.12);
  --service-shadow: 0 32px 64px rgba(2, 6, 23, 0.38);
}

body.service-page {
  background: radial-gradient(circle at top, var(--service-bg-start) 0%, var(--service-bg-mid) 60%, #030304 100%);
  color: var(--service-text);
}

.service-main {
  padding: clamp(4.5rem, 6vw, 6.5rem) 0 clamp(4rem, 6vw, 6rem);
}

.service-shell {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 5vw, 4rem);
}

.service-hero {
  position: relative;
  background: var(--service-surface);
  border: 1px solid var(--service-border);
  border-radius: 32px;
  padding: clamp(2.75rem, 4vw, 3.5rem);
  box-shadow: var(--service-shadow);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 1.5rem;
}

.service-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: var(--service-chip-bg);
  color: var(--service-text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.service-hero__title {
  margin: 0;
  font-size: clamp(2.4rem, 4vw + 1rem, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.service-hero__lead {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: var(--service-text);
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(248, 250, 252, 0.24);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(203, 213, 225, 0.65));
  color: #0b0f18;
  font-weight: 700;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.36);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.46);
}

.service-cta:active {
  transform: translateY(0);
}

.service-tabs {
  display: grid;
  grid-auto-flow: column;
  gap: 0.75rem;
  padding: 0.6rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.16);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.service-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 9999px;
  background: transparent;
  color: var(--service-text-muted);
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.service-tab:focus-visible,
.service-tab:hover {
  color: var(--service-text);
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(148, 163, 184, 0.12);
}

.service-section {
  position: relative;
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid var(--service-border);
  border-radius: 28px;
  padding: clamp(2.4rem, 4vw, 3rem);
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.32);
  display: grid;
  gap: 1.75rem;
}

.service-section--alt {
  background: rgba(2, 6, 23, 0.45);
}

.service-section__header {
  display: grid;
  gap: 0.75rem;
}

.section-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
}

.service-section__title {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-section__lead {
  margin: 0;
  color: var(--service-text-muted);
  max-width: 65ch;
}

.service-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.checklist-card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.checklist {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--service-text);
}

.checklist__item {
  position: relative;
  padding-left: 1.65rem;
  line-height: 1.6;
}

.checklist__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(59, 130, 246, 0.9));
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.6);
}

.timeline {
  position: relative;
  margin: 0;
  padding-left: 1.5rem;
  list-style: none;
  display: grid;
  gap: 1.75rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.45), rgba(148, 163, 184, 0.25));
}

.timeline__item {
  position: relative;
  padding-left: 1.2rem;
}

.timeline__item::before {
  content: attr(data-step);
  position: absolute;
  left: -1.65rem;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #f8fafc;
  font-weight: 600;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 18px rgba(15, 23, 42, 0.32);
}

.timeline__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--service-text);
}

.timeline__desc {
  margin: 0;
  color: var(--service-text-muted);
  line-height: 1.7;
}

.faq {
  display: grid;
  gap: 1rem;
}

.faq details {
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.28);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--service-text);
}

.faq p {
  margin: 0.75rem 0 0;
  color: var(--service-text-muted);
  line-height: 1.7;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.related-card {
  background: rgba(248, 250, 252, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  display: grid;
  gap: 0.75rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: 0 22px 36px rgba(15, 23, 42, 0.3);
}

.related-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--service-text);
}

.related-card__desc {
  margin: 0;
  color: var(--service-text-muted);
  line-height: 1.6;
}

.related-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.85);
}

@media (max-width: 900px) {
  .service-tabs {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .service-section,
  .service-section--alt {
    padding: clamp(2rem, 6vw, 2.5rem);
  }
}

@media (max-width: 600px) {
  .service-hero {
    padding: 2.25rem 1.75rem;
  }

  .service-main {
    padding: 4rem 0;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline::before {
    left: 0.2rem;
  }

  .timeline__item::before {
    left: -1.85rem;
  }
}
