.cwd-service-detail-page .cwd-hero__glass h1 {
  max-width: none;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cwd-service-detail-page .cwd-breadcrumb {
  padding-top: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: 0;
}

.cwd-service-detail-page .cwd-breadcrumb .breadcrumb {
  margin-bottom: 0;
  font-size: 0.875rem;
  --bs-breadcrumb-divider-color: rgba(44, 34, 69, 0.35);
}

.cwd-service-detail-page .cwd-breadcrumb .breadcrumb-item a {
  color: var(--bs-primary);
  text-decoration: none;
  font-weight: 600;
}

.cwd-service-detail-page .cwd-breadcrumb .breadcrumb-item.active {
  color: var(--cwd-home-muted);
}

.cwd-service-detail-page .cwd-service-features__grid h3.fs-4 {
  margin-bottom: 0;
}

.cwd-service-detail-page .cwd-home-section ul li {
  text-align: left;
}

.cwd-service-detail-page .cwd-main > section.cwd-home-section {
  padding-top: 0;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* Section container */

.cwd-service-detail-page .cwd-main > section.cwd-home-section .container {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.cwd-service-detail-page .cwd-main > section.cwd-home-section .container::before {
  content: none;
}

/* Section accent */

.cwd-service-detail-page .cwd-home-surface::before {
  content: none;
}

.cwd-service-detail-page .cwd-main > section.cwd-home-section h2 {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(1.375rem, 2.8vw, 1.625rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cwd-home-text);
  margin-bottom: 1.25rem;
}

.cwd-service-detail-page .cwd-main > section.cwd-home-section .text-center h2 {
  margin-left: auto;
  margin-right: auto;
}

.cwd-service-detail-page .cwd-main > section.cwd-home-section h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 1rem;
  border-radius: 2px;
  background: var(--cwd-home-accent);
}

.cwd-service-detail-page .cwd-main > section.cwd-home-section h3.fs-4 {
  font-size: 1rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cwd-home-text);
}

/* What We Do — equal-width columns, top-aligned feature blocks */

.cwd-service-detail-page .cwd-service-features__grid {
  align-items: stretch;
}

.cwd-service-detail-page .cwd-service-features__grid > .col {
  display: flex;
  max-width: none;
}

.cwd-service-detail-page .cwd-service-features__grid .service-card {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cwd-service-detail-page .cwd-service-features__grid .service-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.cwd-service-detail-page .cwd-service-features__grid .service-card .card-body {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  width: 100%;
}

.cwd-service-detail-page .cwd-service-features__grid .service-card .card-body > .d-flex {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
}

.cwd-service-detail-page .cwd-service-features__grid h3.fs-4 {
  margin-bottom: 0.5rem !important;
}

/* Brand icon colors — blue, purple, pink (matches services + portfolio) */

.cwd-service-detail-page .cwd-service-features__grid .col:nth-child(3n + 1) .bs-icon-primary, .cwd-service-detail-page .cwd-service-approach__grid .col:nth-child(3n + 1) .bs-icon-primary {
  background: var(--bs-info) !important;
}

.cwd-service-detail-page .cwd-service-features__grid .col:nth-child(3n + 2) .bs-icon-primary, .cwd-service-detail-page .cwd-service-approach__grid .col:nth-child(3n + 2) .bs-icon-primary {
  background: var(--bs-primary) !important;
}

.cwd-service-detail-page .cwd-service-features__grid .col:nth-child(3n + 3) .bs-icon-primary, .cwd-service-detail-page .cwd-service-approach__grid .col:nth-child(3n + 3) .bs-icon-primary {
  background: var(--bs-secondary) !important;
}

/* CTA is its own panel — no white surface wrapper around it */

.cwd-service-detail-page .cwd-home-surface:has(.cwd-service-detail-cta) {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.cwd-service-detail-page .cwd-home-surface:has(.cwd-service-detail-cta)::before {
  content: none;
}

.cwd-service-detail-page .cwd-service-detail-cta {
  background: linear-gradient(135deg, var(--bs-primary) 0%, #5a4894 55%, var(--bs-secondary) 100%) !important;
  border: none !important;
  border-radius: var(--cwd-home-radius) !important;
  box-shadow: var(--cwd-shadow-lg);
}

.cwd-service-detail-page .cwd-service-detail-cta h2 {
  color: #fff !important;
}

.cwd-service-detail-page .cwd-service-detail-cta h2::after {
  background: rgba(255, 255, 255, 0.55) !important;
}

.cwd-service-detail-page .cwd-service-detail-cta p {
  color: rgba(255, 255, 255, 0.92);
}

.cwd-service-detail-page .cwd-footer {
  background: #fff;
}

@media (max-width: 767.98px) {
  .cwd-service-detail-page .cwd-hero__glass h1 {
    font-size: clamp(1.125rem, 5vw, 1.5rem) !important;
  }
}

@media (max-width: 767.98px) {
  .cwd-service-detail-page .cwd-main > section.cwd-home-section .row > [class*='col'] {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  .cwd-service-detail-page .cwd-main > section.cwd-home-section .row > [class*='col']:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .cwd-service-detail-page .cwd-service-detail-cta .btn {
    width: 100%;
  }
}

