/* =====================================================================
   Northaven — css/services.css
   Page-specific styles for services.html and services/*.html only.
   Shared tokens, reset, typography, nav, footer, cards, buttons, .cta,
   and .reveal all come from ../styles.css (linked before this file).
   Order: page header -> process strip -> service detail hero ->
          includes list -> cta action spacing -> media queries.
   ===================================================================== */

/* ------------------------------------------------------- Page header */
.page-header {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--space-8));
  padding-bottom: var(--space-8);
}
.page-header__glow {
  position: absolute; top: -180px; right: -140px; z-index: 0;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139,124,246,0.18), transparent);
  filter: blur(40px); pointer-events: none;
}
.page-header__inner { position: relative; z-index: 1; }
.page-header__lead {
  margin-top: var(--space-5);
  font-size: 1.25rem; line-height: 1.55;
  color: var(--text-muted);
  max-width: 56ch;
}

/* -------------------------------------------------------- How we work */
.process__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.process__step { padding-top: var(--space-5); border-top: 1px solid var(--border); }
.process__num {
  font-family: var(--font-mono); font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--accent);
  margin-bottom: var(--space-3);
}
.process__title { margin-bottom: var(--space-2); }
.process__body { color: var(--text-muted); }

/* --------------------------------------------------- Service detail hero */
.detail-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--space-7));
  padding-bottom: var(--space-7);
}
.detail-hero__glow {
  position: absolute; bottom: -200px; left: -160px; z-index: 0;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(198,242,78,0.10), transparent);
  filter: blur(40px); pointer-events: none;
}
.detail-hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: var(--space-8);
  grid-template-columns: 1fr;
  align-items: center;
}
.detail-hero__eyebrow { margin-bottom: var(--space-3); }
.detail-hero__lead {
  margin-top: var(--space-5);
  font-size: 1.25rem; line-height: 1.55;
  color: var(--text-muted);
  max-width: 52ch;
}
.detail-back {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-top: var(--space-6);
  font-size: 0.9375rem; font-weight: 500;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}
.detail-back span { transition: transform var(--dur) var(--ease); }
.detail-back:hover { color: var(--accent); }
.detail-back:hover span { transform: translateX(-3px); }

.detail-hero__glyph { display: flex; justify-content: center; }
.detail-hero__glyph-panel {
  position: relative;
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.detail-hero__glyph-panel .service__glyph {
  margin-bottom: 0;
  transform: scale(1.8);
}

/* ------------------------------------------------------ Includes list */
.includes__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-5);
  margin-top: var(--space-7);
}
.includes__item {
  display: flex; gap: var(--space-4); align-items: flex-start;
  padding: var(--space-5);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.includes__check {
  flex-shrink: 0; margin-top: 3px;
  font-size: 1.125rem; font-weight: 700; line-height: 1;
  color: var(--accent);
}
.includes__title { margin-bottom: var(--space-2); }
.includes__body { color: var(--text-muted); }

/* ------------------------------------------------- CTA action spacing */
/* Used on services.html and service detail pages, where the .cta panel
   (reused from styles.css) has a link button instead of the contact form. */
.cta__action { margin-top: var(--space-6); }

/* ==================================================================== */

@media (min-width: 820px) {
  .detail-hero__inner { grid-template-columns: 1.1fr 0.9fr; }
}

@media (min-width: 820px) {
  .includes__list { grid-template-columns: repeat(2, 1fr); }
}
