/* 실제 현장 → 청소 범위 → 상담 순서로 구성한 서비스 상세 페이지 */
.story-inner { width: 100%; max-width: 1160px; margin: 0 auto; }
.service-intro { padding: 124px 5% 60px; background: #f5f3ed; }
.service-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.service-intro h1 { color: #223b31; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.35; letter-spacing: -.045em; }
.service-intro h1 em { color: #3e7862; font-style: normal; }
.service-intro-copy > p { margin: 22px 0; color: #5c695d; font-size: 1rem; line-height: 1.9; }
.service-intro-copy > small { display: block; margin-top: 20px; color: #677363; font-size: .77rem; line-height: 1.7; }
.story-hero-photo { margin: 0; overflow: hidden; border: 1px solid #e0e5db; border-radius: 14px; background: #fff; }
.story-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.story-hero-photo figcaption { padding: 16px 20px; color: #37533e; font-size: .83rem; line-height: 1.7; }
.story-jump-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 34px; padding-top: 20px; border-top: 1px solid #d8dfd2; }
.story-jump-links a { display: inline-flex; align-items: center; min-height: 40px; color: #375b48; font-size: .85rem; font-weight: 700; text-underline-offset: 4px; }
.story-results, .story-work, .story-scope, .story-assurance { padding: 64px 5%; scroll-margin-top: 76px; }
.story-results, .story-scope { background: #f6f7f3; }
.story-section-heading { max-width: 760px; margin-bottom: 28px; }
.story-section-heading h2 { color: #223b31; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.4; letter-spacing: -.035em; }
.story-section-heading p { margin-top: 14px; color: #5f6c60; line-height: 1.8; font-size: .93rem; }
.story-results .proof-case--featured .proof-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.story-detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; margin-top: 22px; align-items: stretch; }
.story-detail-grid .proof-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.story-notes { padding: 26px; border: 1px solid #dce4d7; border-radius: 14px; background: #edf3e9; }
.story-notes h3 { color: #2e4a38; font-size: 1.18rem; line-height: 1.5; }
.story-notes ul { padding-left: 18px; margin: 18px 0; color: #5b6c5b; font-size: .9rem; line-height: 1.85; }
.story-notes li + li { margin-top: 12px; }
.story-notes .proof-button { margin-top: 12px; }
.story-photo-note { margin-top: 20px; color: #6b7669; font-size: .76rem; line-height: 1.8; }
.story-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story-work-photo { min-width: 0; margin: 0; }
.story-work-photo > a { display: block; position: relative; overflow: hidden; border-radius: 10px; background: #edf0e9; }
.story-work-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.story-work-photo figcaption { padding: 18px 0 0; }
.story-work-photo small { color: #60725c; font-size: .74rem; }
.story-work-photo h3 { margin-top: 8px; color: #2a4837; font-size: 1.1rem; line-height: 1.5; }
.story-work-photo p { margin-top: 8px; color: #647060; font-size: .87rem; line-height: 1.8; }
.story-scope-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.story-scope-item { padding-top: 20px; border-top: 2px solid #a8bba0; }
.story-scope-item h3 { font-size: 1.08rem; color: #304d3b; margin-bottom: 12px; }
.story-scope-item p { font-size: .9rem; color: #616e5e; line-height: 1.9; }
.story-quote-note { margin-top: 30px; padding: 24px 26px; border-radius: 12px; background: #fff; border: 1px solid #dce4d7; }
.story-quote-note h3 { font-size: 1.12rem; color: #2b4836; margin-bottom: 12px; }
.story-quote-note p { color: #617060; font-size: .9rem; line-height: 1.9; }
.story-quote-note a, .story-faq a { color: #26544a; text-underline-offset: 4px; }
.story-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 0 32px; padding: 0; list-style: none; counter-reset: story-step; }
.story-steps li { counter-increment: story-step; color: #617060; font-size: .85rem; line-height: 1.8; }
.story-steps li::before { content: '0' counter(story-step); display: block; color: #638254; font-size: .86rem; font-weight: 700; margin-bottom: 12px; }
.story-steps strong { display: block; color: #2b4836; font-size: 1.03rem; margin-bottom: 8px; }
.story-faq { border-top: 1px solid #dde4d9; }
.story-faq details { padding: 18px 0; border-bottom: 1px solid #dde4d9; }
.story-faq summary { cursor: pointer; color: #304d3b; font-weight: 700; font-size: .97rem; line-height: 1.7; }
.story-faq details p { padding-top: 14px; color: #617060; font-size: .9rem; line-height: 1.9; }
.story-final { padding: 44px 5%; background: #edf3e9; color: #223b31; }
.story-final .proof-cta { border: 0; margin: 0; padding: 0; }
.story-final .proof-cta strong { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.story-service-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.story-service-nav a { color: #2e5641; min-height: 40px; display: inline-flex; align-items: center; font-size: .87rem; text-underline-offset: 4px; }
.service-story a:focus-visible, .service-story summary:focus-visible { outline: 3px solid #557b5e; outline-offset: 4px; }
.mobile-contact-dock { display: none; }
@media (max-width: 900px) {
  .service-intro-grid { gap: 28px; }
  .story-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .story-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .service-intro { padding: 106px 5% 38px; }
  .service-intro-grid { grid-template-columns: minmax(0, 1fr); }
  .story-hero-photo { max-width: 620px; width: 100%; }
  .story-results, .story-work, .story-scope, .story-assurance { padding: 44px 5%; }
  .story-work-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .story-work-photo { max-width: 620px; width: 100%; }
  .story-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .has-contact-dock { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .has-contact-dock .fab, .has-contact-dock .phone-fab, .has-contact-dock .email-fab, .has-contact-dock .admin-link { display: none; }
  .has-contact-dock .kakao-fab { width: 48px; height: 48px; right: 16px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .mobile-contact-dock { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; position: fixed; z-index: 950; inset: auto 0 0; padding: 10px 5% calc(10px + env(safe-area-inset-bottom, 0px)); background: #fffffff7; border-top: 1px solid #dce4d7; box-shadow: 0 -4px 20px #2039290a; }
  .mobile-contact-dock a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px; border-radius: 8px; border: 1px solid #cedbca; color: #26544a; font-size: .93rem; font-weight: 800; text-decoration: none; }
  .mobile-contact-dock .dock-quote { background: #26544a; border-color: #26544a; color: #fff; }
}
@media (max-width: 600px) {
  .story-scope-grid { gap: 24px 18px; }
  .story-notes, .story-quote-note { padding: 22px 18px; }
  .story-detail-grid .proof-case-head { padding: 20px 18px 16px; }
  .story-results .proof-case--featured .proof-pair { grid-template-columns: minmax(0, 1fr); }
}

/* Portrait bathroom pairs retain the complete wall and floor in both views. */
.story-results .proof-case--portrait .proof-photo img { aspect-ratio: 3 / 4; object-fit: cover; }
/* 2026-10 카톡 견적: 휴대폰 아래 고정 줄을 전화 상담 · 카톡 견적 · 무료 견적 3칸으로.
   카톡 버튼이 고정 줄에 생겨서, 떠 있던 노란 카톡 동그라미는 숨깁니다.
   편지 동그라미도 고정 줄의 무료 견적과 같은 문의창이라 위(760px 블록)에서 숨깁니다. */
@media (max-width: 760px) {
  .mobile-contact-dock.has-kakao { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mobile-contact-dock.has-kakao a { padding: 12px 6px; font-size: .9rem; }
  .mobile-contact-dock .dock-kakao { background: #FEE500; border-color: #FEE500; color: #3C1E1E; }
  .has-contact-dock .kakao-fab { display: none; }
}
/* 2026-10 입주·이사청소 합치기: 대표 사례가 두 개 이어질 때 간격 */
.story-results .proof-case--featured + .proof-case--featured { margin-top: 22px; }
