.service-page {
  background: var(--bg);
}

.detail-nav {
  display: flex;
}

.service-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.service-hero img,
.service-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-hero img {
  object-fit: cover;
}

.service-hero-overlay {
  background: linear-gradient(90deg, rgba(17, 16, 13, 0.84), rgba(17, 16, 13, 0.48));
}

.service-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0 72px;
  color: #fff;
}

.service-hero-content h1 {
  max-width: 900px;
  margin: 10px 0 16px;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.96;
}

.service-hero-content p:not(.eyebrow) {
  max-width: 720px;
  color: #fbf6ee;
  font-size: 1.15rem;
}

.service-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
}

.service-article,
.sidebar-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-article {
  padding: 42px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.lead {
  margin: 0;
  color: var(--ink);
  font-size: 1.26rem;
  font-weight: 600;
}

.detail-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 42px;
}

.service-section {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.service-section + .service-section {
  margin-top: 34px;
}

.service-section h2,
.sidebar-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.service-section p {
  color: var(--muted);
}

.idea-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.idea-card {
  min-height: 150px;
  padding: 20px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.idea-card h3 {
  margin-bottom: 8px;
}

.idea-card p {
  margin: 0;
  color: #dfcfb5;
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.process-list strong {
  color: var(--ink);
}

.service-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}

.sidebar-panel {
  padding: 24px;
}

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

.sidebar-panel li a {
  display: block;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.sidebar-panel li a.active,
.sidebar-panel li a:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.detail-memberships {
  gap: 8px;
}

.detail-memberships span {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.dark-panel {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.dark-panel p {
  color: #dfcfb5;
}

.dark-panel .button.primary {
  color: var(--ink);
  background: var(--beige);
}

@media (max-width: 980px) {
  .detail-nav {
    position: static;
    display: flex;
    box-shadow: none;
    border: 0;
    background: transparent;
    color: #fff;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .detail-nav {
    display: none;
  }

  .service-article {
    padding: 26px;
  }

  .idea-grid {
    grid-template-columns: 1fr;
  }
}
