/* Introductions and page navigation for the website and content services. */
.service-page section[id] {
  scroll-margin-top: 100px;
}

.service-intro {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.service-intro-dark {
  background: radial-gradient(ellipse at 100% 0%, rgba(171, 22, 29, .15), transparent 60%), #080b12;
  color: #e0e2e6;
}

.website-hero {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background-color: #080b12;
  background-image: linear-gradient(90deg, rgba(8, 11, 18, .94) 0%, rgba(8, 11, 18, .82) 48%, rgba(8, 11, 18, .4) 100%), url("../images/bg/websites-development.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.website-hero-content {
  max-width: 48rem;
}

#industry-websites .btn,
#michiana-websites .btn {
  max-width: 100%;
  white-space: normal;
}

.service-kicker {
  color: var(--bs-primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.service-intro-dark .service-kicker {
  display: inline-block;
  padding: .55rem .8rem;
  border-radius: .25rem;
  background: var(--bs-primary);
  color: #fff;
}

.service-intro h1 {
  color: #fff;
  font-size: clamp(2.25rem, 4.1vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
}

.service-intro .lead {
  max-width: 38rem;
}

.service-price-summary {
  border-left: 3px solid var(--bs-primary);
  padding-left: 1rem;
  margin: 1.75rem 0;
  color: #fff;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.service-actions .btn {
  margin: 0;
  white-space: normal;
}

.service-intro-figure {
  margin: 0;
}

.service-intro-figure img {
  width: 100%;
  height: auto;
  max-height: 490px;
  object-fit: cover;
  border-radius: 1rem;
}

.service-intro-figure figcaption {
  color: #c6c9d0;
  font-size: .8rem;
  margin-top: .75rem;
}

.service-content-image {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 1rem;
}

/* Shared section navigation: centered white links on the brand dark strip. */
.service-jump-links {
  background: #11151e;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid #252c39;
}

.service-jump-links .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem 1rem;
  padding-top: .85rem;
  padding-bottom: .85rem;
}

.service-jump-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.25rem;
  border-radius: .5rem;
  color: #fff;
  font-size: .95rem;
  line-height: 1.4;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  scroll-margin-top: 100px;
  transition: background-color .2s ease, transform .2s ease;
}

.service-jump-links a::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  bottom: .4rem;
  left: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--bs-primary);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.service-jump-links a:hover,
.service-jump-links a:focus-visible {
  background-color: rgba(255, 255, 255, .08);
  color: #fff;
  transform: translateY(-2px);
}

.service-jump-links a:hover::after,
.service-jump-links a:focus-visible::after {
  transform: scaleX(1);
}

.service-jump-links a:focus-visible {
  /* Override the theme's global outline: none !important reset. */
  outline: 2px solid #fff !important;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .service-jump-links a,
  .service-jump-links a::after {
    transition: none;
  }

  .service-jump-links a:hover,
  .service-jump-links a:focus-visible {
    transform: none;
  }
}

.service-detail {
  height: 100%;
  border-top: 1px solid #d9dce1;
  padding-top: 1.75rem;
}

.service-detail > i {
  display: block;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-step {
  display: block;
  color: var(--bs-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-cta-copy {
  max-width: 44rem;
}

@media (max-width: 575.98px) {
  .website-hero {
    background-image: linear-gradient(rgba(8, 11, 18, .86), rgba(8, 11, 18, .92)), url("../images/bg/websites-development.jpg");
    background-position: 60% center;
  }

  .service-jump-links .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem;
  }

  .service-jump-links a {
    padding-right: .4rem;
    padding-left: .4rem;
  }

  .service-jump-links a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .service-actions .btn {
    width: 100%;
  }

  .service-content-image {
    height: 230px;
  }
}
