/*──────────────────────────────────────────────────────────
  SERVICE SHARED
  Used on both archive-service.php and single-service.php. Anything that
  appears on only one of the two lives in service-archive.css /
  service-single.css instead — this file exists specifically to avoid
  duplicating the same rules in both.
──────────────────────────────────────────────────────────*/

.service-section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}
.service-section-alt {
  background: var(--gray-50);
  border-top: 1px solid rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.container-narrow {
  max-width: 820px;
}

/*──────────────────────────────────────────────────────────
  CTA BANNER
──────────────────────────────────────────────────────────*/
.service-cta {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  background: linear-gradient(160deg, var(--gray-100), var(--gray-50) 70%);
  border: 1px solid rgba(255, 255, 255, .06);
}
.service-cta-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.service-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(5, 5, 5, .88), rgba(5, 5, 5, .72));
}
.service-cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.service-cta-heading {
  font-family: var(--font-display);
  font-size:clamp(1.58rem,3.12vw,2.3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--white);
}
.service-cta-text {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.7;
}

/*──────────────────────────────────────────────────────────
  FAQ (native <details>/<summary>) — reused by single-service,
  the services archive, Resources, and Contact.
──────────────────────────────────────────────────────────*/
.service-faqs {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.service-faq {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 0 1.5rem;
  background: rgba(255, 255, 255, .015);
}
.service-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  font-weight: 600;
  color: var(--white);
  font-size: .98rem;
}
.service-faq summary::-webkit-details-marker {
  display: none;
}
.service-faq-icon {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
}
.service-faq-icon::before,
.service-faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gray-500);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-expo), opacity .3s;
}
.service-faq-icon::before {
  width: 1.1rem;
  height: 1.5px;
}
.service-faq-icon::after {
  width: 1.5px;
  height: 1.1rem;
}
.service-faq[open] .service-faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}
.service-faq-answer {
  padding-bottom: 1.3rem;
  color: var(--gray-500);
  font-size: .92rem;
  line-height: 1.75;
}
.service-faq-answer p:last-child {
  margin-bottom: 0;
}

/*──────────────────────────────────────────────────────────
  TESTIMONIALS — reused by single-service and the About page.
──────────────────────────────────────────────────────────*/
.service-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}
.service-testimonial {
  padding: 1.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .06);
}
.service-testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--svc-accent-start, var(--blue));
  line-height: 1;
  margin-bottom: .5rem;
}
.service-testimonial-text {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.service-testimonial-author {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.service-testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}
.service-testimonial-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
}
.service-testimonial-role {
  font-size: .78rem;
  color: var(--gray-500);
}
