
/* Service body: full-width opening, then text left / existing photo right. */
.sd-feature.sd-feature-two-stage { display: block; min-height: 0; padding: 72px 0; }
.sd-feature-two-stage .sd-feature-heading { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.sd-feature-two-stage .sd-feature-heading .sd-feature-icon { flex: 0 0 auto; width: 64px; height: 64px; margin: 0; object-fit: contain; }
.sd-feature-two-stage .sd-feature-heading h2 { text-align: center; }
.sd-feature-two-stage .sd-feature-intro > .sd-rule { margin: 24px auto 32px; }
.sd-feature-two-stage .sd-feature-opening > p { margin: 0; }
.sd-feature-two-stage .sd-feature-upper { display: grid; grid-template-columns: minmax(0,1fr) 46%; align-items: start; gap: 56px; margin-top: 0; }
.sd-feature-two-stage .sd-feature-continuation > p { margin: 0; }
.sd-feature-two-stage .sd-feature-upper > figure { width: 100%; height: auto; aspect-ratio: 16 / 10; margin: 0; transform: none; }
.sd-feature-two-stage .sd-feature-upper > figure img { display: block; width: 100%; height: 100%; object-fit: cover; transform: none; }
@media (max-width: 900px) {
 .sd-feature.sd-feature-two-stage { padding: 64px 0; }
 .sd-feature-two-stage .sd-feature-heading { gap: 16px; }
 .sd-feature-two-stage .sd-feature-heading .sd-feature-icon { width: 48px; height: 48px; }
 .sd-feature-two-stage .sd-feature-upper { grid-template-columns: minmax(0,1fr); gap: 28px; margin-top: 0; }
 .sd-feature-two-stage .sd-feature-upper > figure { height: auto; aspect-ratio: 16 / 10; }
}

/* Strength headings only; source paragraphs and all other sections stay intact. */
.sd-feature-two-stage .sd-strength-heading { margin: 0 0 18px; color: var(--sd-blue); font-size: 22px; font-weight: 500; line-height: 1.6; text-align: left; overflow-wrap: anywhere; }
@media (max-width: 900px) {
 .sd-feature-two-stage .sd-strength-heading { margin-bottom: 16px; font-size: 20px; }
}

/* Keep strength-heading phrases together; permit emergency wrapping on very narrow screens. */
.sd-feature-two-stage .sd-strength-heading { text-wrap: balance; }
.sd-feature-two-stage .sd-strength-phrase { display: inline-block; max-width: 100%; vertical-align: top; overflow-wrap: anywhere; }

/* PC detail FV: add 64px in normal flow; mobile dimensions remain unchanged. */
@media (min-width: 901px) {
 .service-page .sd-hero,
 .service-page .sd-hero-inner { min-height: calc(100vh - 98px + 64px); }
}

/* Second text block now spans the full width below the photo row. */
.sd-feature-two-stage .sd-feature-lower { display: block; margin-top: 40px; }
@media (max-width: 900px) {
 .sd-feature-two-stage .sd-feature-lower { margin-top: 28px; }
}

/* Mobile consultation cards: small icon left, full text right. */
@media (max-width: 900px) {
 .service-page .sd-consultation-grid > article { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: center; gap: 12px; min-height: 0; padding: 16px; }
 .service-page .sd-consultation-grid > article > img { width: 36px; height: 36px; margin: 0; object-fit: contain; }
 .service-page .sd-consultation-grid > article > p { min-width: 0; margin: 0; text-align: left; line-height: 1.75; text-wrap: pretty; overflow-wrap: anywhere; }
}

/* Mobile benefit pairs and even vertical spacing in results. */
@media (max-width: 900px) {
 .service-page .sd-benefit-grid { width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 16px; align-items: start; }
 .service-page .sd-benefit-grid > article { min-width: 0; }
 .service-page .sd-benefit-grid > article:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 16px) / 2); justify-self: center; }
 .service-page .sd-benefit-grid article > span { width: 88px; height: 88px; max-width: 100%; margin-bottom: 16px; }
 .service-page .sd-benefit-grid img { max-width: 60px; max-height: 48px; }
 .service-page .sd-benefit-grid p { font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
 .service-page .sd-results { position: relative; padding: 36px 24px; }
 .service-page .sd-results h2 { position: absolute; top: 0; left: 50%; margin: 0; transform: translate(-50%,-50%); }
 .service-page .sd-results li { padding-top: 14px; padding-bottom: 14px; }
 .service-page .sd-results li::before { top: 15px; }
}

/* Related items without a menu destination remain as readable text below the buttons. */
.sd-related .sd-related-notes { margin-top: 20px; color: #5d5d5d; text-align: left; font-size: 14px; font-weight: 400; line-height: 1.8; overflow-wrap: anywhere; }
.sd-related .sd-related-notes p { margin: 0; }
.sd-related .sd-related-notes p + p { margin-top: 8px; }

/* Original code-native SVG artwork: shared stroke and preserved aspect ratio. */
.sd-benefit-grid .sd-benefit-icon { display: block; width: 64px; height: 64px; max-width: 100%; color: #fff; flex: 0 0 auto; }
@media (max-width: 900px) {
 .sd-benefit-grid .sd-benefit-icon { width: 48px; height: 48px; }
}

/* Align mobile section gutters and tighten consultation cards. */
.sd-related .sd-related-notes { text-align: center; }
@media (max-width: 900px) {
 .service-page .sd-recommend { width: calc(100% - 40px); }
 .service-page .sd-recommend-body { padding: 28px 20px 48px; }
 .service-page .sd-check-list { display: grid; width: 100%; margin: 0; }
 .service-page .sd-feature-intro,
 .service-page .sd-feature-continuation { padding-right: 20px; padding-left: 20px; }
 .service-page .sd-benefits { padding-right: 20px; padding-left: 20px; }
 .service-page .sd-results { padding-right: 20px; padding-left: 20px; }
 .service-page .sd-consultation-grid { gap: 10px; }
 .service-page .sd-consultation-grid > article { padding: 14px; }
 .service-page .sd-consultation-grid > article > p { line-height: 1.55; }
 .service-page .sd-results h2 { width: max-content; max-width: calc(100% - 32px); padding: 0 12px; line-height: 1.4; }
 .service-page .sd-related-notes { padding-right: 20px; padding-left: 20px; }
}

/* Mobile title wraps at phrase boundaries while desktop remains inline. */
@media (max-width: 900px) {
 .sd-feature-challenge .sd-challenge-title-phrase { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
}

/* Mobile text uses natural line wrapping, with no phrase-level fixed boxes. */
@media (max-width: 900px) {
 .service-page .sd-recommend h3,
 .service-page .sd-consultation-grid > article > p,
 .service-page .sd-feature-two-stage h2,
 .service-page .sd-feature-two-stage h3,
 .service-page .sd-feature-two-stage p { white-space: normal; text-wrap: wrap; word-break: normal; overflow-wrap: break-word; }
 .service-page .sd-feature-two-stage .sd-strength-phrase,
 .service-page .sd-feature-challenge .sd-challenge-title-phrase { display: inline; white-space: normal; overflow-wrap: inherit; }
}

/* Remove the mobile title cutout; keep the existing title position and white card. */
@media (max-width: 900px) {
 .service-page .sd-results h2 { background: transparent; }
}

/* Slightly wider mobile challenge/reason content; retain 32px viewport gutters. */
@media (max-width: 900px) {
 .service-page .sd-feature-two-stage .sd-feature-intro,
 .service-page .sd-feature-two-stage .sd-feature-continuation { padding-right: 12px; padding-left: 12px; }
}

/* Reference-aligned mobile width: one 5vw gutter, no nested horizontal padding. */
@media (max-width: 900px) {
 .service-page .sd-feature.sd-feature-two-stage { width: 90%; }
 .service-page .sd-feature-two-stage .sd-feature-intro,
 .service-page .sd-feature-two-stage .sd-feature-continuation { padding-right: 0; padding-left: 0; }
}
