/* Service offering detail — CODA marketing surfaces */

:root {
  --sod-navy: #243865;
  --sod-navy-dark: #1c2d50;
  --sod-gold: #e7ad4a;
  --sod-radius: 12px;
  --sod-shadow: 0 8px 28px rgba(36, 56, 101, 0.08);
}

.service-offering-detail-page {
  background: #f4f6fa;
}

/* Anchor targets clear fixed navbar */
.service-offering-detail-page #service-overview,
.service-offering-detail-page #pricing-plans,
.service-offering-detail-page #testimonials,
.service-offering-detail-page #next-steps {
  scroll-margin-top: 5rem;
}

.service-offering-detail-page .sod-sidebar-nav a {
  font-weight: 600;
  color: var(--sod-navy);
}

.service-offering-detail-page .sod-sidebar-nav a:hover {
  color: var(--sod-navy-dark);
  text-decoration: underline;
}

.service-offering-detail-page .sod-inline-link {
  font-weight: 600;
  color: var(--sod-navy);
  white-space: nowrap;
}

.service-offering-detail-page .sod-inline-link:hover {
  color: var(--sod-navy-dark);
  text-decoration: underline;
}

.service-offering-detail-page .sod-pricing-footnote .sod-inline-link {
  white-space: normal;
}

.service-offering-detail-hero {
  background: linear-gradient(
    145deg,
    rgba(36, 56, 101, 0.06) 0%,
    rgba(231, 173, 74, 0.07) 55%,
    rgba(255, 255, 255, 0.95) 100%
  );
  border-bottom: 1px solid rgba(36, 56, 101, 0.1);
}

.service-offering-detail-hero h1 {
  color: var(--sod-navy);
  font-weight: 800;
  font-size: clamp(1.55rem, 2vw + 1rem, 2.35rem);
  line-height: 1.15;
}

.service-offering-detail-hero .sod-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #5c677d;
}

.service-offering-detail-hero .lead {
  color: #3d4963;
  max-width: 42rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.service-offering-detail-hero .sod-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.service-offering-detail-page .sod-btn-primary {
  background-color: var(--sod-navy) !important;
  border-color: var(--sod-navy) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 0.5rem 1.35rem !important;
}

.service-offering-detail-page .sod-btn-primary:hover {
  background-color: var(--sod-navy-dark) !important;
  border-color: var(--sod-navy-dark) !important;
  color: #fff !important;
}

.service-offering-detail-page .sod-btn-outline {
  border: 2px solid var(--sod-navy) !important;
  color: var(--sod-navy) !important;
  background: #fff !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 0.45rem 1.25rem !important;
}

.service-offering-detail-page .sod-btn-outline:hover {
  background: rgba(36, 56, 101, 0.06) !important;
  color: var(--sod-navy-dark) !important;
}

.service-offering-card {
  border: 1px solid rgba(36, 56, 101, 0.11);
  border-radius: var(--sod-radius);
  background: #fff;
  box-shadow: var(--sod-shadow);
}

.service-offering-card--fill {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-offering-card--fill .service-offering-card__grow {
  flex-grow: 1;
}

.service-offering-card h2 {
  color: var(--sod-navy);
  font-size: 1.15rem;
  font-weight: 700;
}

.service-offering-card h3.service-offering-h3 {
  color: var(--sod-navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-offering-list {
  margin: 0;
  padding-left: 1.15rem;
}

.service-offering-list li {
  margin-bottom: 0.55rem;
  color: #49586f;
  line-height: 1.45;
}

.service-offering-benefit-chip {
  border: 1px solid rgba(36, 56, 101, 0.14);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  color: var(--sod-navy);
  background: rgba(36, 56, 101, 0.035);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 0.4rem 0.45rem 0;
  display: inline-flex;
  line-height: 1.3;
}

.service-offering-pricing-card {
  border: 1px solid rgba(36, 56, 101, 0.11);
  border-radius: 10px;
  background: #fff;
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-offering-pricing-card h3 {
  color: var(--sod-navy);
  font-size: 1.02rem;
  font-weight: 700;
}

.service-offering-pricing-card .price {
  color: var(--sod-navy);
  font-size: 1.15rem;
  font-weight: 800;
}

.service-offering-pricing-card .direct-badge {
  font-size: 0.75rem;
}

@media (min-width: 992px) {
  .service-offering-sidebar > article:first-child {
    position: sticky;
    top: 1rem;
    z-index: 2;
  }
}

.service-offering-sidebar-actions .btn {
  width: 100%;
  max-width: 100%;
  font-weight: 600;
  border-radius: 10px;
}

@media (min-width: 992px) {
  .service-offering-sidebar-actions .btn {
    max-width: none;
  }
}

.service-offering-cta-band {
  border-radius: var(--sod-radius);
  background: linear-gradient(125deg, var(--sod-navy) 0%, var(--sod-navy-dark) 100%);
  color: #fff;
  box-shadow: var(--sod-shadow);
}

.service-offering-cta-band h2 {
  color: #fff;
}

.service-offering-cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.service-offering-cta-band .sod-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.service-offering-cta-band .sod-btn-cta-primary {
  background-color: var(--sod-gold) !important;
  border-color: var(--sod-gold) !important;
  color: var(--sod-navy-dark) !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
}

.service-offering-cta-band .sod-btn-cta-primary:hover {
  filter: brightness(1.06);
  color: var(--sod-navy-dark) !important;
}

.service-offering-cta-band .sod-btn-cta-outline {
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  color: #fff !important;
  background: transparent !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
}

.service-offering-cta-band .sod-btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}
