/* Service detail page styles */

.sp-hero {
  background: var(--wfp-dark);
  padding: 7rem 3rem 5rem;
}
.sp-hero-in { max-width: 1280px; margin: 0 auto; }
.sp-back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
  text-decoration: none; margin-bottom: 3rem;
  transition: color .2s;
}
.sp-back:hover { color: #fff; }
.sp-num {
  font-family: var(--sans); font-size: 5rem; font-weight: 900;
  color: rgba(255,255,255,.2); line-height: 1;
  margin-bottom: .5rem; letter-spacing: -.04em;
}
.sp-ttl {
  font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300; color: #FFFFFF; line-height: 1.1;
  letter-spacing: -.02em; margin-bottom: 1.2rem;
}
.sp-desc {
  font-size: 1.05rem; color: rgba(255,255,255,.75);
  font-weight: 400; line-height: 1.75; max-width: 680px;
  text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}

/* Body */
.sp-body { background: var(--wfp-light); padding: 7rem 3rem; }
.sp-body-in { max-width: 1280px; margin: 0 auto; }
.sp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sp-card {
  background: #FFFFFF;
  border: 1px solid var(--wfp-border); border-radius: 6px;
  border-top: 3px solid var(--wfp-blue);
  padding: 2.2rem;
  transition: box-shadow .2s, transform .2s;
}
.sp-card:hover {
  box-shadow: 0 6px 24px rgba(0,125,188,.1);
  transform: translateY(-3px);
}
.sp-card-ttl {
  font-size: 1rem; font-weight: 700;
  color: var(--wfp-dark); margin-bottom: .6rem; line-height: 1.3;
}
.sp-card-txt {
  font-size: .88rem; color: var(--wfp-text2); line-height: 1.75;
  text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}

/* CTA strip */
.sp-cta {
  background: var(--wfp-blue); padding: 5rem 3rem;
  text-align: center;
}
.sp-cta-in { max-width: 720px; margin: 0 auto; }
.sp-cta-ttl {
  font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300; color: #fff; margin-bottom: 1rem; letter-spacing: -.02em;
}
.sp-cta-txt { font-size: .95rem; color: rgba(255,255,255,.8); margin-bottom: 2rem; line-height: 1.7; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.sp-cta-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 2.2rem;
  background: #fff; color: var(--wfp-dark);
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 4px; text-decoration: none;
  transition: background .2s, color .2s;
}
.sp-cta-btn:hover { background: var(--wfp-dark); color: #fff; }

/* Responsive */
@media (max-width: 1024px) { .sp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .sp-hero { padding: 6rem 1.5rem 4rem; }
  .sp-body { padding: 4rem 1.5rem; }
  .sp-grid { grid-template-columns: 1fr; }
  .sp-num { font-size: 3rem; }
}
