body {
  margin: 0;
  background: #f0f0ee;
  color: #111111;
  font-family: 'Space Grotesk', sans-serif;
}

.service-detail-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 88px;
}

.detail-hero {
  padding: 28px 0 68px;
}

.detail-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-family: 'Michroma', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: #d82f4a;
  font-family: 'Michroma', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 620px;
  margin: 0;
  color: #4a4a4a;
  font-size: 1.08rem;
  line-height: 1.7;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.media-panel {
  overflow: hidden;
  min-height: 420px;
  border-radius: 14px;
  background: #111111;
  padding: 12px;
}

.media-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 396px;
  border-radius: 10px;
  object-fit: cover;
  opacity: 0.86;
}

.detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 14px;
  background: #ffffff;
  padding: clamp(24px, 5vw, 42px);
}

.detail-copy p {
  margin: 0;
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.7;
}

.detail-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  padding: 12px 0;
  color: #111111;
  font-weight: 700;
}

.detail-list li::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin: 0 10px 2px 2px;
  border-top: 2px solid #d82f4a;
  border-right: 2px solid #d82f4a;
  content: '';
  transform: rotate(45deg);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 104px;
}

.detail-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 14px;
  background: #ffffff;
  padding: 20px 18px;
}

.service-index {
  margin-bottom: 24px;
  color: #d82f4a;
  font-family: 'Michroma', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.detail-card h3 {
  margin: 0 0 10px;
  font-family: 'Michroma', sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.detail-card p {
  margin: 0;
  color: #4a4a4a;
  font-size: 0.9rem;
  line-height: 1.55;
}

.detail-section {
  padding-top: 104px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 0;
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.1;
}

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

.detail-why-item {
  min-height: 180px;
  border-radius: 14px;
  background: #111111;
  color: #f5f5f3;
  padding: 22px 20px;
}

.detail-why-item h3 {
  margin: 0 0 10px;
  color: #ef8597;
  font-family: 'Michroma', sans-serif;
  font-size: 1rem;
}

.detail-why-item p {
  margin: 0;
  color: rgba(245, 245, 243, 0.76);
  font-size: 0.9rem;
  line-height: 1.6;
}

.selected-work-grid {
  display: grid;
  gap: 12px;
}

.selected-work-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 14px;
  background: #ffffff;
  color: #111111;
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.selected-work-card:hover,
.selected-work-card:focus-visible {
  border-color: #d82f4a;
  transform: translateY(-2px);
}

.selected-work-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.selected-work-card span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.selected-work-card strong {
  font-family: 'Michroma', sans-serif;
  font-size: 0.9rem;
}

.selected-work-card small {
  color: #4a4a4a;
  line-height: 1.4;
}

.selected-work-card b {
  color: #d82f4a;
  font-size: 1.3rem;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 104px;
  border-radius: 14px;
  background: #d82f4a;
  color: #ffffff;
  padding: 30px 28px;
}

.cta-section h2 {
  max-width: 560px;
  margin: 0;
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.12;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #111111;
  border-radius: 999px;
  padding: 0 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button .link-arrow {
  flex-shrink: 0;
}

.button.primary {
  background: #111111;
  color: #ffffff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #ffffff;
  color: #111111;
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .detail-grid,
  .detail-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .service-detail-shell {
    width: min(100% - 20px, 100%);
    padding: 32px 0 64px;
  }

  .detail-grid,
  .detail-why-grid {
    grid-template-columns: 1fr;
  }

  .media-panel {
    min-height: 280px;
  }

  .media-panel img {
    min-height: 256px;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}
