/*
Theme Name: 타일수리 (Tile Repair)
Theme URI: https://tilerepair.jibsurifactory.com/
Author: 집수리팩토리
Description: 집수리팩토리 타일수리 전문 사이트 테마
Version: 1.0
Text Domain: tilerepair
*/

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: #222222;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

:root {
  --navy: #1c2b3a;
  --navy-dark: #101b26;
  --gray-deep: #33383d;
  --bg-white: #ffffff;
  --bg-soft: #f6f5f2;
  --bg-beige: #f3efe7;
  --line: #e6e3db;
  --text-main: #212529;
  --text-muted: #62666b;
  --radius: 14px;
  --container: 1180px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--beige { background: var(--bg-beige); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; padding: 0 16px; }
.section-head h1, .section-head h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.section-head p { margin-top: 12px; color: var(--text-muted); font-size: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-call {
  background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(28,43,58,.25);
}
.btn-call:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-outline {
  background: #fff; color: var(--navy); border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-icon { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: var(--container); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--navy); }
.brand-icon { width: 30px; height: 30px; flex: none; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav-list { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--gray-deep); }
.main-nav a:hover { color: var(--navy); }
.main-nav .btn-call { padding: 10px 20px; font-size: 14px; }
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .main-nav { position: fixed; inset: 64px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start;
    padding: 18px 24px 24px; gap: 16px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .18s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav-list { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
  .main-nav .btn-call { width: 100%; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: none; background: none; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 22px; height: 2px; background: var(--navy); position: relative; transition: .2s;
  }
  .nav-toggle span::before { position: absolute; top: -7px; }
  .nav-toggle span::after { position: absolute; top: 7px; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--bg-soft); color: var(--text-main); overflow: hidden; }
.hero__media { position: relative; width: 100%; aspect-ratio: 16/9; max-height: 480px; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; z-index: 1; }
.hero__slide.is-active { opacity: 1; z-index: 2; }
.hero__slide img, .hero__slide .tr-placeholder { width: 100%; height: 100%; object-fit: cover; }
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 20px 28px; text-align: center; z-index: 4;
}
@media (max-width: 600px) {
  .hero__media { aspect-ratio: 4/3; max-height: 380px; }
}
.hero__badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .02em; margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.hero h1 {
  font-size: clamp(30px, 6vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; color: var(--navy);
  text-shadow: 0 0 4px #fff, 0 0 10px #fff, 0 0 18px rgba(255,255,255,.9), 0 0 30px rgba(255,255,255,.7);
}
.hero__lead {
  max-width: 620px; margin: 0 auto 22px; font-size: clamp(15px, 2vw, 18px); color: var(--gray-deep);
  text-shadow: 0 0 4px #fff, 0 0 9px #fff, 0 0 16px rgba(255,255,255,.9), 0 0 26px rgba(255,255,255,.7);
}
.hero__actions { display: flex; justify-content: center; }

/* ---------- problem cards (section1) ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.problem-card__media { position: absolute; inset: 0; }
.problem-card__media img, .problem-card__media .tr-placeholder { width: 100%; height: 100%; object-fit: cover; }
.problem-card__top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2; padding: 18px 20px;
  font-size: 19px; font-weight: 800; color: var(--navy);
  text-shadow: 0 0 4px #fff, 0 0 10px #fff, 0 0 18px rgba(255,255,255,.9), 0 0 30px rgba(255,255,255,.7);
}
.problem-card__bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 0 20px 18px;
  font-size: 14.5px; color: var(--gray-deep); font-weight: 600;
  text-shadow: 0 0 4px #fff, 0 0 9px #fff, 0 0 16px rgba(255,255,255,.9), 0 0 26px rgba(255,255,255,.7);
}

@media (max-width: 860px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ---------- empathy hero (section2) ---------- */
.empathy-hero { position: relative; overflow: hidden; min-height: 520px; width: 100%; margin: 32px 0; }
.empathy-hero__media { position: absolute; inset: 0; }
.empathy-hero__media img, .empathy-hero__media .tr-placeholder { width: 100%; height: 100%; object-fit: cover; }
.empathy-hero__content {
  position: relative; z-index: 2; max-width: 1100px; min-height: 520px; margin: 0 auto;
  padding: 48px 40px; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.empathy-hero__main { flex: 1 1 520px; max-width: 560px; }
.empathy-hero__main--wide { max-width: 680px; }
.empathy-hero__content h2 {
  color: var(--navy); font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; margin-bottom: 20px; line-height: 1.35;
  text-shadow: 0 0 4px #fff, 0 0 10px #fff, 0 0 18px rgba(255,255,255,.9), 0 0 30px rgba(255,255,255,.7);
}
.empathy-hero__content p {
  color: var(--gray-deep); font-size: 17px; line-height: 1.75; margin-bottom: 18px;
  text-shadow: 0 0 4px #fff, 0 0 9px #fff, 0 0 16px rgba(255,255,255,.9), 0 0 26px rgba(255,255,255,.7);
}

.empathy-points-row { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 20px; }
.empathy-pill {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--navy);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.empathy-pill__num {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff;
  font-size: 11.5px; display: flex; align-items: center; justify-content: center;
}

.empathy-hero__process { flex: 0 1 360px; max-width: 380px; }
.empathy-hero__process h3 {
  color: var(--navy); font-size: 18px; font-weight: 800; margin-bottom: 18px;
  text-shadow: 0 0 4px #fff, 0 0 10px #fff, 0 0 18px rgba(255,255,255,.9), 0 0 30px rgba(255,255,255,.7);
}
.process-list { display: grid; gap: 16px; }
.process-list li {
  color: var(--gray-deep); font-size: 14.5px; line-height: 1.6; padding-left: 16px;
  border-left: 2px solid rgba(28,43,58,.4); list-style: none;
  text-shadow: 0 0 4px #fff, 0 0 9px #fff, 0 0 16px rgba(255,255,255,.9), 0 0 26px rgba(255,255,255,.7);
}
.process-list li strong { color: var(--navy); font-weight: 800; }

@media (max-width: 900px) {
  .empathy-hero__content { flex-direction: column; align-items: flex-start; }
  .empathy-hero__process { max-width: 100%; }
}

@media (max-width: 780px) {
  .empathy-hero { min-height: 460px; }
  .empathy-hero__content { max-width: 100%; min-height: 460px; padding: 20px; gap: 16px; }
  .empathy-hero__main, .empathy-hero__process { max-width: 100%; }
}

/* ---------- 시공사례 전/후 드래그 비교 슬라이더 ---------- */
.case-feature { max-width: 900px; margin: 0 auto 8px; }
.ba-compare {
  position: relative; aspect-ratio: 2/1; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--line); cursor: ew-resize; user-select: none; touch-action: none;
}
.ba-compare__before, .ba-compare__after { position: absolute; inset: 0; }
.ba-compare__before img, .ba-compare__after img,
.ba-compare__before .tr-placeholder, .ba-compare__after .tr-placeholder { width: 100%; height: 100%; object-fit: cover; }
.ba-compare__before { z-index: 1; }
.ba-compare__after { z-index: 2; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-badge {
  position: absolute; top: 12px; z-index: 3; background: var(--navy); color: #fff;
  font-size: 12.5px; font-weight: 800; padding: 6px 14px; border-radius: 999px; pointer-events: none;
}
.ba-badge--before { left: 12px; }
.ba-badge--after { right: 12px; }
.ba-compare__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); transform: translateX(-50%);
  width: 3px; background: #fff; z-index: 4; pointer-events: none; box-shadow: 0 0 8px rgba(0,0,0,.25);
}
.ba-compare__handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.case-feature__caption {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center; margin: 16px auto 0; padding: 10px 20px; max-width: fit-content;
  background: var(--navy); color: #fff; border-radius: 999px;
  font-size: 14px; font-weight: 800; letter-spacing: -.01em;
  box-shadow: 0 8px 18px rgba(28,43,58,.22);
}
.case-feature__caption svg { flex: none; width: 18px; height: 18px; }

@media (max-width: 600px) {
  .ba-compare { aspect-ratio: 4/3; }
}

/* ---------- cases / services grid (5 cards) ---------- */
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1040px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .grid-5 { grid-template-columns: 1fr; } }

.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; }
.case-card .tr-img-wrap { aspect-ratio: 1/1; overflow: hidden; }
.case-card img, .case-card .tr-placeholder { width: 100%; height: 100%; object-fit: cover; }

/* ---------- services (section4) - 반응형 그리드, 넓은 화면은 1행 / 좁으면 자동 줄바꿈 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; display: flex; flex-direction: column;
}
.service-card .tr-img-wrap { aspect-ratio: 1/1; overflow: hidden; }
.service-card img, .service-card .tr-placeholder { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.service-card p { font-size: 13.5px; color: var(--text-muted); flex: 1; margin-bottom: 14px; }
.service-card__actions { display: flex; gap: 8px; }
.service-card .btn { padding: 8px 10px; font-size: 12.5px; width: 100%; }

/* ---------- story / empathy long-form (section5) ---------- */
.story-blocks-dark { display: grid; gap: 28px; margin-top: 8px; }
.story-block-dark { position: relative; padding-left: 26px; border-left: 2px solid rgba(28,43,58,.3); }
.story-block-dark__num {
  position: absolute; left: -13px; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.story-block-dark h3 {
  font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 8px;
  text-shadow: 0 0 4px #fff, 0 0 10px #fff, 0 0 18px rgba(255,255,255,.9), 0 0 30px rgba(255,255,255,.7);
}
.story-block-dark p {
  font-size: 15px; color: var(--gray-deep); margin-bottom: 0;
  text-shadow: 0 0 4px #fff, 0 0 9px #fff, 0 0 16px rgba(255,255,255,.9), 0 0 26px rgba(255,255,255,.7);
}

/* ---------- steps (section6) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.step-num { font-size: 14px; font-weight: 800; color: #fff; background: var(--navy); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step-card h3 { font-size: 16.5px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--text-muted); }

.checklist { display: grid; gap: 10px; margin-top: 22px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--navy); }
.checklist li svg { flex: none; width: 20px; height: 20px; }

/* ---------- 설득+최종 CTA 병합 배너 (타일 사진 배경, 풀블리드) ---------- */
.cta-final { position: relative; width: 100%; overflow: hidden; }
.cta-final__media { position: absolute; inset: 0; }
.cta-final__media img, .cta-final__media .tr-placeholder { width: 100%; height: 100%; object-fit: cover; }
.cta-final__body {
  position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 56px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 44px;
}
.cta-final__text { flex: 1; min-width: 0; }
.cta-final__text h2 {
  color: var(--navy); font-size: clamp(21px, 3vw, 26px); font-weight: 800; margin-bottom: 16px;
  text-shadow: 0 0 4px #fff, 0 0 10px #fff, 0 0 18px rgba(255,255,255,.9), 0 0 30px rgba(255,255,255,.7);
}
.cta-final__text p {
  color: var(--gray-deep); font-size: 14.5px; margin-bottom: 10px;
  text-shadow: 0 0 4px #fff, 0 0 9px #fff, 0 0 16px rgba(255,255,255,.9), 0 0 26px rgba(255,255,255,.7);
}
.cta-final__text .checklist { margin-top: 18px; }
.checklist--dark li {
  color: var(--navy); font-weight: 700;
  text-shadow: 0 0 4px #fff, 0 0 9px #fff, 0 0 16px rgba(255,255,255,.9), 0 0 26px rgba(255,255,255,.7);
}
.cta-final__action { flex: none; display: flex; justify-content: center; }
.cta-final__action .btn-call--lg { padding: 20px 38px; font-size: 17px; }

@media (max-width: 820px) {
  .cta-final__body { flex-direction: column; align-items: stretch; padding: 36px 26px; gap: 28px; }
  .cta-final__action { justify-content: flex-start; }
  .cta-final__action .btn-call--lg { width: 100%; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: none; text-align: left; font-size: 15.5px; font-weight: 700; color: var(--navy);
}
.faq-q::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--navy); flex: none; transition: transform .2s ease;
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 14.5px; color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta-banner {
  background: var(--navy-dark); color: #fff; text-align: center; padding: 64px 20px; border-radius: 20px;
  max-width: var(--container); margin: 0 auto;
}
.cta-banner h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; margin-bottom: 16px; }
.cta-banner p { color: #dfe2e6; font-size: 15.5px; margin-bottom: 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 32px 0; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer__biz { font-size: 13.5px; color: var(--text-muted); line-height: 1.9; }
.footer__biz strong { color: var(--gray-deep); }
.footer__sitemap a { font-size: 14px; font-weight: 700; color: var(--navy); }

@media (max-width: 900px) { .site-footer { padding-bottom: 90px; } }

.section--tight-bottom { padding-bottom: 0; }

/* ---------- floating / sticky call buttons ---------- */
.floating-call {
  position: fixed; right: 26px; bottom: 100px; z-index: 60;
  display: none; align-items: center; gap: 10px; padding: 14px 22px;
  background: var(--navy); color: #fff; border-radius: 999px; font-weight: 700; box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
@media (min-width: 900px) { .floating-call { display: inline-flex; } }

.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 20px; background: var(--navy); color: #fff; font-weight: 800; font-size: 16px;
}
@media (min-width: 900px) { .sticky-call { display: none; } }

/* ---------- image fallback placeholder ---------- */
.tr-placeholder {
  background: repeating-linear-gradient(45deg, #eceae4, #eceae4 12px, #e2ded4 12px, #e2ded4 24px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #8b877c; font-size: 13px; font-weight: 600; padding: 10px;
}

/* ---------- back button (service pages) ---------- */
/* ---------- service page hero (simple) ---------- */
.page-hero { background: var(--bg-soft); color: var(--text-main); }
.page-hero__media { position: relative; width: 100%; aspect-ratio: 21/9; max-height: 420px; overflow: hidden; }
.page-hero__media img, .page-hero__media .tr-placeholder { width: 100%; height: 100%; object-fit: cover; }
.page-hero__content { padding: 32px 20px; text-align: center; }
.page-hero__content h1 { font-size: clamp(26px, 5vw, 36px); font-weight: 800; color: var(--navy); }
.page-hero__content p { margin-top: 10px; color: var(--gray-deep); font-size: 15px; }

/* ---------- service body content ---------- */
.svc-body { max-width: 780px; margin: 0 auto; }
.svc-body p { font-size: 15.5px; color: var(--text-main); margin-bottom: 18px; }
.svc-body h2 { font-size: 21px; font-weight: 800; color: var(--navy); margin: 36px 0 14px; }

.svc-actions { display: flex; justify-content: center; gap: 12px; margin: 34px 0 6px; flex-wrap: wrap; }

/* ---------- 지역 세부페이지: 브레드크럼 ---------- */
.crumb { padding: 14px 0; font-size: 13px; color: var(--text-muted); border-bottom: 1px solid var(--line); }
.crumb a { color: var(--navy); font-weight: 600; }
.crumb .sep { margin: 0 8px; color: var(--line); }
.crumb b { color: var(--gray-deep); }

/* ---------- 지역 세부페이지: 본문+스티키 사진 2단 ---------- */
.region-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.region-detail h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.region-detail p { font-size: 15.5px; color: var(--text-main); margin-bottom: 16px; }
.region-detail__photo {
  position: sticky; top: 90px; margin: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; box-shadow: 0 12px 30px rgba(0,0,0,.1);
}
.region-detail__photo img, .region-detail__photo .tr-placeholder { width: 100%; height: 100%; object-fit: cover; }
.region-callout {
  margin-top: 22px; padding: 16px 20px; background: var(--bg-beige); border-radius: 14px;
  font-weight: 800; color: var(--navy); display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.region-callout .btn { padding: 10px 22px; font-size: 14px; }

@media (max-width: 860px) {
  .region-detail { grid-template-columns: 1fr; }
  .region-detail__photo { position: static; aspect-ratio: 16/9; }
}

/* ---------- 지역 세부페이지: 시공 사례 큰 정사각 사진 ---------- */
.case-photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 820px; margin: 0 auto; }
.case-photo-grid__item { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; }
.case-photo-grid__item img, .case-photo-grid__item .tr-placeholder { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA 배지 행 ---------- */
.cta-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 26px; }
.cta-badges div { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 14px; }
.cta-badges svg { width: 18px; height: 18px; flex: none; }

.related-box { max-width: 760px; margin: 0 auto; text-align: center; }
.related-box h2 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.related-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; }
.related-card .tr-img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.related-card img, .related-card .tr-placeholder { width: 100%; height: 100%; object-fit: cover; }
.related-card__title { display: block; padding: 8px 6px; font-size: 12.5px; font-weight: 700; color: var(--navy); }
.related-card:hover { border-color: var(--navy); }

@media (max-width: 560px) {
  .related-grid { gap: 8px; }
  .related-card__title { font-size: 11px; padding: 6px 4px; }
}

/* ---------- sitemap page ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; max-width: var(--container); margin: 0 auto; }
.sitemap-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.sitemap-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.sitemap-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.sitemap-card a.go { font-size: 13.5px; font-weight: 700; color: var(--navy); }

/* ---------- contact page ---------- */
.contact-box { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-box p { font-size: 15.5px; color: var(--text-main); margin-bottom: 20px; }
.contact-box .btn-call { padding: 18px 40px; font-size: 18px; margin: 18px 0 8px; }
.contact-note { font-size: 13.5px; color: var(--text-muted); margin-top: 26px; }
