.services-page {
  background:
    radial-gradient(circle at top left, rgba(156, 196, 49, 0.22), transparent 28%),
    linear-gradient(180deg, #edf1f4 0%, #d7dade 48%, #cfd6dd 100%);
}

.services-main {
  padding-bottom: 40px;
}

.services-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 44px;
}

.services-hero::before,
.services-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.services-hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -130px;
  background: rgba(156, 196, 49, 0.18);
  filter: blur(10px);
}

.services-hero::after {
  width: 300px;
  height: 300px;
  left: -90px;
  bottom: -120px;
  background: rgba(33, 54, 79, 0.1);
}

.services-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.services-copy {
  padding: 28px 30px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(5, 15, 29, 0.95), rgba(28, 45, 65, 0.92));
  color: #fff;
  box-shadow: 0 24px 60px rgba(9, 19, 34, 0.22);
}

.services-copy.theme-light {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border: 1px solid rgba(33, 54, 79, 0.1);
}

.services-copy.theme-lime {
  background: linear-gradient(145deg, rgba(226, 239, 186, 0.95), rgba(255, 255, 255, 0.9));
  color: var(--ink);
  border: 1px solid rgba(156, 196, 49, 0.18);
}

.services-copy.theme-light .services-kicker,
.services-copy.theme-lime .services-kicker {
  color: #6b8719;
  border-color: rgba(156, 196, 49, 0.5);
}

.services-copy.theme-light p,
.services-copy.theme-lime p {
  color: var(--ink-muted);
}

.services-copy.theme-light .services-btn--secondary,
.services-copy.theme-lime .services-btn--secondary {
  color: var(--ink);
  border-color: rgba(33, 54, 79, 0.2);
}

.services-copy.theme-light .services-btn--primary,
.services-copy.theme-lime .services-btn--primary {
  color: #fff;
}

.services-copy-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.services-copy-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 14px;
  background: rgba(156, 196, 49, 0.16);
  color: inherit;
  font-family: "Questrial", sans-serif;
  font-size: 22px;
}

.services-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(156, 196, 49, 0.44);
  border-radius: 999px;
  color: #d6ebb0;
  font-family: "Questrial", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-copy h1 {
  margin: 0 0 14px;
  font-family: "Questrial", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
}

.services-copy p {
  margin: 0 0 16px;
  max-width: 760px;
  color: #edf5ff;
  font-size: 18px;
  line-height: 1.55;
}

.services-helper-copy {
  max-width: 620px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.services-copy.theme-light .services-helper-copy,
.services-copy.theme-lime .services-helper-copy {
  border-top-color: rgba(33, 54, 79, 0.12);
}

.services-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.services-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Questrial", sans-serif;
  font-size: 16px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.services-btn:hover {
  transform: translateY(-2px);
}

.services-btn--primary {
  background: var(--lime);
  color: #fff;
}

.services-btn--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.main-nav [data-service].is-active,
.footer-links [data-service].is-active {
  color: var(--lime);
}

.services-detail-rail {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.services-section {
  display: none;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.55fr);
  gap: 24px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 46px rgba(12, 25, 42, 0.08);
}

.service-panel--dark {
  background: linear-gradient(140deg, rgba(20, 34, 51, 0.96), rgba(44, 65, 89, 0.94));
  color: #fff;
}

.service-panel--lime {
  background: linear-gradient(145deg, rgba(156, 196, 49, 0.18), rgba(255, 255, 255, 0.92));
}

.service-panel__intro {
  display: grid;
  gap: 16px;
  align-content: start;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(156, 196, 49, 0.22);
  color: inherit;
  font-family: "Questrial", sans-serif;
  font-size: 24px;
}

.service-panel__intro h2 {
  margin: 0;
  font-family: "Questrial", sans-serif;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 0.98;
}

.service-panel__intro p {
  margin: 0;
  line-height: 1.6;
  color: inherit;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: "Questrial", sans-serif;
  font-size: 14px;
}

.service-panel--lime .service-meta span,
.service-panel:not(.service-panel--dark) .service-meta span {
  background: rgba(33, 54, 79, 0.06);
  border-color: rgba(33, 54, 79, 0.1);
}

.service-panel__content {
  display: grid;
  gap: 18px;
}

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

.service-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(33, 54, 79, 0.05);
  border: 1px solid rgba(33, 54, 79, 0.08);
}

.service-panel--dark .service-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.services-detail-rail.theme-dark .service-card {
  background: rgba(23, 39, 59, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 18px 42px rgba(9, 19, 34, 0.14);
}

.services-detail-rail.theme-light .service-card,
.services-detail-rail.theme-lime .service-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(33, 54, 79, 0.08);
  box-shadow: 0 16px 38px rgba(11, 25, 42, 0.08);
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: "Questrial", sans-serif;
  font-size: 20px;
}

.service-card p {
  margin: 0 0 12px;
  line-height: 1.5;
}

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

.service-list li {
  position: relative;
  padding-left: 16px;
  line-height: 1.45;
}

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

.services-cta {
  padding: 38px 0 58px;
}

.services-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(5, 15, 29, 0.94), rgba(38, 57, 78, 0.92));
  color: #fff;
  box-shadow: 0 22px 54px rgba(11, 22, 39, 0.16);
}

.services-cta-box h2 {
  margin: 0 0 10px;
  font-family: "Questrial", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
}

.services-cta-box p {
  margin: 0;
  max-width: 720px;
  color: #edf5ff;
  line-height: 1.55;
}

.services-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.services-page .site-footer {
  background: transparent;
}

@media (max-width: 1180px) {
  .services-hero-layout,
  .service-panel,
  .services-cta-box {
    grid-template-columns: 1fr;
  }

  .services-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .services-hero {
    padding-top: 26px;
  }

  .services-copy,
  .service-panel,
  .services-cta-box {
    padding: 20px;
    border-radius: 22px;
  }

  .services-copy p,
  .service-panel__intro p,
  .service-card p,
  .services-cta-box p {
    font-size: 16px;
  }

  .services-detail-rail,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .services-actions,
  .services-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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