/* ================================================================
   Services hub (/services/) and service landing pages (/services/*)
   ================================================================ */

.services-hub {
  padding-top: var(--page-top);
}

.service-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 48px 0 64px;
}

.service-link-card {
  display: block;
  padding: 28px;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  background: var(--card-dark);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-link-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 0 40px var(--accent-glow);
}

.service-link-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.service-link-text {
  display: block;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-light);
}

.service-link-more {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.services-grid .service-card {
  position: relative;
  width: auto;
  cursor: default;
}

.services-grid .service-text {
  color: var(--text-light);
}

/* --- Landing page --- */
.service-page {
  padding-top: var(--page-top);
}

.service-container {
  max-width: 860px;
}

.service-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  font-weight: 500;
  color: var(--text-dark);
  max-width: 44em;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn--line {
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  background: transparent;
}

.btn--line:hover {
  border-color: var(--text-dark);
  transform: translateY(-2px);
}

.service-body h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 56px 0 16px;
}

.service-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 10px;
}

.service-body ul,
.service-body ol {
  margin: 0 0 24px 1.2em;
}

.service-body li {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.service-body li strong {
  color: var(--text-dark);
}

.service-steps {
  list-style: none;
  counter-reset: step;
  margin-left: 0;
}

.service-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
}

.service-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-2);
}

.service-faq {
  margin-top: 64px;
}

.service-faq h2 {
  margin-bottom: 8px;
}

.service-faq details {
  border-top: 1px solid var(--border-light);
  padding: 20px 0;
}

.service-faq details:last-child {
  border-bottom: 1px solid var(--border-light);
}

.service-faq summary {
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  list-style-position: outside;
}

.service-faq details p {
  margin: 12px 0 0;
  color: var(--text-mid);
  line-height: 1.8;
}

.service-related {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.service-related h2 {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin: 0 0 16px;
}

.service-related ul {
  list-style: none;
  margin: 0;
}

.service-related li {
  margin-bottom: 10px;
}

.service-related a {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.service-related a:hover {
  color: var(--accent-2);
}

.service-cta {
  margin-top: 64px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  background: var(--bg-dark);
  color: var(--text-white);
}

.service-cta h2 {
  color: var(--text-white);
  margin-top: 0;
}

.service-cta p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}
