:root {
  --bg: #ffffff;
  --bg-panel: #ffffff;
  --bg-panel-2: #f5f7f8;
  --ink: #12222e;
  --ink-soft: #4c6472;
  --line: #2f6b82;
  --line-soft: #a8c6ce;
  --brass: #195eb4;
  --brass-soft: #2d52ea;
  --cyan-text: #0e8a88;
  --hero-bg: #ffffff;
  --hero-ink: #12222e;
  --hero-line: #2f6b82;
  --card-border: rgba(18,34,46,0.12);
  --sample-tag: #b5442e;
}
/* 화이트 배경으로 고정 (다크모드 분기 없음) */
:root[data-theme="light"], :root[data-theme="dark"] {
  --bg: #ffffff; --bg-panel: #ffffff; --bg-panel-2: #f5f7f8;
  --ink: #12222e; --ink-soft: #4c6472; --line: #2f6b82; --line-soft: #a8c6ce;
  --brass: #195eb4; --brass-soft: #2d52ea; --cyan-text: #0e8a88; --hero-bg: #ffffff; --hero-ink: #12222e;
  --hero-line: #2f6b82; --card-border: rgba(18,34,46,0.12); --sample-tag: #b5442e;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

.brand-stripe { display: none; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 68px; }

.top-phone-bar {
  position: relative;
  background: #0B1B2A;
  text-align: center;
  padding: 0.55rem 1rem;
}
.page-hero-wrap .top-phone-bar { background: transparent; }
.top-phone-bar a {
  color: #fff; text-decoration: none;
  font-size: 0.85rem; font-weight: 700;
  display: block;
}

/* 상단 네비게이션 */
.site-nav {
  position: sticky; top: 0; z-index: 900;
  background: #0B1B2A;
  transition: background 0.25s ease;
}
.page-hero-wrap .site-nav { background: transparent; }
.page-hero-wrap .site-nav.scrolled { background: #0B1B2A; }
.site-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.5rem;
  gap: 1.5rem;
}
.site-nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800; font-size: 1.05rem;
  white-space: nowrap;
}
.site-nav-logo svg { width: 24px; height: 24px; flex-shrink: 0; }
.site-nav-links {
  display: flex; gap: 1.6rem;
  overflow-x: auto;
}
.site-nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav-links a:hover {
  color: #fff;
  border-bottom-color: #fff;
}
@media (max-width: 640px) {
  .site-nav-inner { padding: 0.65rem 0.6rem; gap: 0; }
  .site-nav-logo { display: none; }
  .site-nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0;
    overflow-x: visible;
  }
  .site-nav-links a { font-size: 0.72rem; }
}

.bg-fixed { display: none; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: inherit;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--brass-soft);
  font-weight: 700;
}
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 800; letter-spacing: -0.03em; }
h1, h2 { font-family: inherit; font-weight: 800; }
section { padding: 5.5rem 1.5rem; }
.wrap { max-width: 920px; margin: 0 auto; }
.narrow { max-width: 640px; }

/* HERO */
.page-hero-wrap {
  position: relative;
  background: #0B1B2A;
  color: #fff;
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 45%;
  display: block;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,27,42,0.86) 0%, rgba(11,27,42,0.74) 38%, rgba(11,27,42,0.32) 70%, rgba(11,27,42,0.44) 100%);
}
.hero-photo-bg {
  container-type: inline-size;
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 0;
}
.hero-content {
  position: relative;
  display: flex; flex-direction: column;
  gap: clamp(24px, 4cqw, 40px);
  width: 100%;
  max-width: 620px;
  padding: clamp(40px, 7cqw, 80px) clamp(1.5rem, 4cqw, 4rem);
}
.hero-text-block {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(14px, 2cqw, 22px);
  min-width: 0;
}
@container (min-width: 761px) {
  .hero-content { max-width: 100%; flex-direction: row; align-items: center; gap: clamp(32px, 4cqw, 60px); }
  .hero-text-block { flex: 1 1 0; order: 1; }
  .hero-form-card { flex: 0 0 260px; order: 2; align-self: center; margin-top: -30px; }
  .hero-mascot { flex: 0 0 240px; order: 2; align-self: flex-end; }
}

.hero-mascot { display: flex; justify-content: center; margin-top: 0.5rem; }
.hero-mascot img { width: 200px; max-width: 60%; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,0.35)); }
@media (max-width: 760px) {
  .hero-mascot img { width: 150px; }
}

.form-mobile-only { display: none; }
@media (max-width: 760px) {
  .form-desktop-only { display: none; }
  .form-mobile-only { display: block; margin-top: 2rem; }
}

.hero-form-card {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  text-align: left;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.5);
}
.hero-form-card summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  font-family: inherit;
  font-weight: 700; font-size: 0.9rem; color: var(--ink);
}
.hero-form-card summary::-webkit-details-marker { display: none; }
.hero-form-card summary::after {
  content: "\25BE";
  font-size: 0.8rem;
  color: var(--ink-soft);
  transition: transform 0.25s ease;
}
.hero-form-card[open] summary::after { transform: rotate(180deg); }
.hero-form-card:not([open]) .hero-form-sub,
.hero-form-card:not([open]) .inquiry-form,
.hero-form-card:not([open]) .hero-form-success { display: none; }
.hero-form-sub { font-size: 0.7rem; color: var(--ink-soft); margin-top: 0.2rem; }
.inquiry-form { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.7rem; }
.inquiry-form[hidden] { display: none; }
.inquiry-form input[type="text"],
.inquiry-form input[type="tel"],
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--card-border);
  border-radius: 7px;
  padding: 0.4rem 0.6rem;
  font-family: inherit;
  font-size: 0.78rem;
  color: var(--ink);
  background: #fff;
  resize: none;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--brass-soft);
  box-shadow: 0 0 0 3px rgba(45,82,234,0.12);
}
.hero-form-card .consent {
  display: flex; align-items: flex-start; gap: 0.4rem;
  font-size: 0.68rem; color: var(--ink-soft);
  cursor: pointer;
}
.hero-form-card .consent input { margin-top: 0.15rem; }
.inquiry-form button[type="submit"] {
  margin-top: 0.2rem;
  padding: 0.6rem;
  border: none; border-radius: 999px;
  background: var(--brass-soft);
  color: #fff;
  font-weight: 800; font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px -10px rgba(45,82,234,0.5);
}
.inquiry-form button[type="submit"]:hover { transform: translateY(-2px); }
.inquiry-form button[type="submit"]:disabled { opacity: 0.7; cursor: default; transform: none; }
.hero-form-error { color: #c0392b; font-size: 0.8rem; text-align: center; margin-top: 0.2rem; }
.hero-form-success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.6rem; padding: 1.5rem 0.5rem;
}
.hero-form-success[hidden] { display: none; }
.hero-form-success svg { width: 42px; height: 42px; color: var(--brass-soft); }
.hero-form-success p { font-weight: 700; color: var(--ink); }
.hero-hook {
  margin: 0;
  font-size: clamp(1.15rem, 3cqw, 1.6rem);
  font-weight: 400; line-height: 1.4;
  color: rgba(255,255,255,0.92);
}
.hero-title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(2.9rem, 8.3cqw, 5.2rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.hero-title span { color: var(--brass-soft); }
.hero-lead {
  margin: 0; max-width: 42ch;
  font-size: clamp(1.35rem, 3.4cqw, 1.9rem);
  line-height: 1.6;
  color: #fff;
  font-weight: 700;
  text-wrap: pretty;
}
.hero-lead strong { color: #fff; font-weight: 700; white-space: nowrap; }
.hero-guarantee {
  display: inline-flex; align-items: center;
  font-size: clamp(1.35rem, 3.4cqw, 1.9rem);
  font-weight: 700;
  color: #fff;
}
/* 신뢰 스트립 — 모바일에서만 화면 하단 고정 (PC는 미표시) */
.hero-strip { display: none; }
.hero-strip .wrap { display: flex; align-items: stretch; }
.hero-strip span {
  flex: 1; text-align: center;
  padding: 15px 8px;
  font-size: clamp(0.74rem, 1.5vw, 0.92rem);
  font-weight: 700; letter-spacing: -0.01em;
  color: rgba(255,255,255,0.9);
  position: relative;
}
.hero-strip span + span::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: rgba(255,255,255,0.16);
}

/* INTRO */
.intro { background: #ffffff; }
.intro p { font-size: clamp(1.25rem, 2.6vw, 1.7rem); color: var(--ink-soft); margin-top: 1.3rem; text-align: center; line-height: 1.6; word-break: keep-all; text-wrap: pretty; }
.intro strong {
  position: relative;
  color: var(--brass-soft);
  font-weight: 800;
  background: linear-gradient(180deg, transparent 68%, rgba(45,82,234,0.16) 68%);
  padding: 0 0.1em;
}

/* FEATURES */
.features { background: #ffffff; }
.repair-tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  row-gap: 0.7rem; column-gap: 2.2rem;
  margin-top: 1.8rem;
}
.repair-tags a {
  color: var(--ink);
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.15s ease;
}
.repair-tags a:hover { color: var(--brass-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.9rem 1.6rem;
  position: relative;
  text-align: center;
  box-shadow: 0 2px 10px -4px rgba(18,34,46,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -12px rgba(25,94,180,0.22);
}
.feature-card::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 3px;
  background: var(--brass);
}
.feature-card svg { width: 34px; height: 34px; stroke: var(--line); margin: 0 auto 1rem; display: block; }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 0.6rem; }
.feature-card p { color: #33454f; font-size: 0.96rem; line-height: 1.8; word-break: keep-all; text-wrap: pretty; }

.service-grid { grid-template-columns: repeat(2, 1fr); }
.service-grid .feature-card { text-align: left; padding: 2rem 1.8rem; }
.service-grid .feature-card::before { left: 1.8rem; transform: none; }
.service-grid .feature-card svg { margin: 0 0 1rem; }
.service-grid .feature-card p { font-size: 0.96rem; line-height: 1.7; }

.photo-feature-grid .feature-card { padding-top: 0; overflow: hidden; }
.photo-feature-grid .feature-card::before { display: none; }
.photo-feature-grid .card-photo {
  margin: 0 -1.6rem 1.3rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.photo-feature-grid .card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }


/* PROCESS */
.process { background: #f5f7f8; }
.process-list {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 1.4rem;
}
.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0 0.3rem;
}
.process-item .step-num {
  font-family: inherit;
  font-size: 1.15rem;
  color: var(--brass-soft);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.process-item h3 {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.1rem;
}
.process-item p { color: #33454f; font-size: 0.88rem; line-height: 1.7; margin: 0; word-break: keep-all; text-wrap: pretty; }

/* PROCESS — vertical timeline (청아고양누수 전용, 덕양구 템플릿과 다른 레이아웃) */
.timeline {
  position: relative;
  margin: 2.8rem 0 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--card-border);
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.3rem;
  padding-bottom: 2.4rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  position: relative;
  z-index: 1;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brass-soft);
  color: var(--brass-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.timeline-body { padding-top: 0.7rem; min-width: 0; }
.timeline-body h3 { font-family: inherit; font-weight: 700; font-size: 1.05rem; margin: 0 0 0.35rem; }
.timeline-body p { color: #33454f; font-size: 0.92rem; line-height: 1.7; margin: 0; word-break: keep-all; text-wrap: pretty; }
@media (max-width: 720px) {
  .timeline::before { left: 21px; }
  .timeline-num { flex-basis: 44px; width: 44px; height: 44px; font-size: 0.92rem; }
  .timeline-item { gap: 1rem; padding-bottom: 1.8rem; }
  .timeline-body { padding-top: 0.4rem; }
  .timeline-body h3 { font-size: 0.98rem; }
  .timeline-body p { font-size: 0.88rem; }
}

/* BRANCHES */
.branches { background: #ffffff; color: var(--hero-ink); }
.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 2.4rem; }
.branch-card {
  border: 1px solid var(--card-border);
  background: var(--bg-panel-2);
  padding: 1.7rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px -4px rgba(18,34,46,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -12px rgba(25,94,180,0.22);
}
.branch-card h3 { font-size: 1.15rem; color: var(--hero-ink); margin-bottom: 0.6rem; }
.branch-card .coverage { font-size: 0.88rem; color: var(--hero-line); margin-top: 0.8rem; line-height: 1.8; overflow-wrap: anywhere; }
.branch-note { margin-top: 1.8rem; color: var(--hero-line); font-size: 0.95rem; text-align: center; }


/* CTA */
.cta { background: #f5f7f8; text-align: center; }
.cta-box {
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
}
.cta h2 { font-size: 1.7rem; }
.cta p { color: var(--ink-soft); margin-top: 0.6rem; }
.cta-btn {
  background: var(--brass);
  color: #fff;
  border: none;
  padding: 0.95rem 1.8rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.cta-btn:focus-visible { outline: 2px solid var(--line); outline-offset: 3px; }

footer { padding: 2.2rem 1.5rem; text-align: center; font-size: 0.8rem; color: var(--ink-soft); background: #ffffff; }
footer a { color: var(--ink-soft); }

/* CASES */
.cases { background: #ffffff; }
.case-card {
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-panel-2);
  box-shadow: 0 2px 10px -4px rgba(18,34,46,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -12px rgba(25,94,180,0.22);
}
.case-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.case-card .case-body { padding: 1.3rem 1.6rem 1.5rem; text-align: center; }
.case-card .case-area {
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.case-card h3 { font-size: 1.04rem; margin-top: 0.5rem; line-height: 1.5; word-break: keep-all; }
.case-card p { font-size: 0.92rem; color: #33454f; margin-top: 0.55rem; line-height: 1.75; word-break: keep-all; text-wrap: pretty; }

/* 시공사례 키워드 모음 */
.keyword-hub { max-width: 920px; margin: 0 auto; padding: 1.5rem 1.5rem 0; text-align: center; }
.keyword-hub summary {
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 500; color: var(--ink-soft);
  list-style: none;
  padding: 0.3rem 0.6rem;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.keyword-hub summary:hover { opacity: 0.9; }
.keyword-hub summary::-webkit-details-marker { display: none; }
.keyword-hub summary::after { content: "\25BE"; }
.keyword-hub[open] summary::after { content: "\25B4"; }
.keyword-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.9rem;
  margin-top: 1rem; padding-bottom: 0.5rem;
}
.keyword-list a {
  font-size: 0.8rem; color: var(--cyan-text); text-decoration: none;
  border-bottom: 1px dotted var(--cyan-text);
}
.keyword-list a:hover { color: var(--brass); border-color: var(--brass); }

/* 히어로를 제외한 섹션 제목은 가운데 정렬 (본문 텍스트 정렬엔 영향 없음) */
section:not(.hero) > .wrap > .eyebrow {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}
section:not(.hero) > .wrap > h2 {
  text-align: center;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-top: 0.9rem;
}
.intro > .wrap > h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }
.cta h2 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; }
@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; gap: 1.4rem 0; }
  .process-item { padding: 1.2rem 0; border-top: 1px solid var(--card-border); }
  .process-item:last-child { border-bottom: 1px solid var(--card-border); }
  section { padding: 3.6rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* 상시노출 상담 버튼 그룹 */
.sticky-actions {
  position: fixed;
  z-index: 999;
  right: 1.5rem; bottom: 1.5rem;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem;
}
.sticky-btn {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 0.95rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px -8px rgba(16,26,44,0.35);
}
.sticky-btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.sticky-btn.phone { background: var(--brass); color: #fff; }
.sticky-btn.blog { background: #fff; color: var(--brass); border: 1.5px solid var(--brass); }
.sticky-btn.kakao { background: #FEE500; color: #391B1B; }
.sticky-btn:focus-visible { outline: 2px solid var(--brass-soft); outline-offset: 3px; }

@media (max-width: 640px) {
  .sticky-actions {
    left: 0; right: 0; bottom: 0;
    flex-direction: row; align-items: stretch; gap: 0;
    width: 100%;
  }
  .sticky-btn {
    flex: 1; justify-content: center;
    border-radius: 0;
    padding: 0.85rem 0.4rem;
    font-size: 0.82rem;
    box-shadow: none;
  }
  .sticky-btn.blog { border: none; }
  body { padding-bottom: 104px; }

  /* 신뢰 스트립을 화면 하단에 고정 — 상담 버튼 바로 위 */
  .hero-strip {
    display: block;
    position: fixed; bottom: 49px; left: 0; right: 0;
    z-index: 998;
    background: #0e2436;
    box-shadow: 0 -6px 18px -8px rgba(0,0,0,0.35);
  }
  .hero-photo-bg { padding-bottom: 0; }
}

/* ============================================================
   덕양구누수 청년한방누수 — 지역별 페이지 추가 스타일
   ============================================================ */

/* 링크가 아닌 시공사례 카드는 포인터 커서 제거 */
.cases .case-card:not(a) { cursor: default; }

/* 시공사례 준비중 안내 (사례 데이터 채워지면 제거) */
.cases-empty {
  text-align: center;
  line-height: 1.9;
  color: #33507a;
  font-size: 1rem;
  margin: 1.5rem auto 0;
  max-width: 640px;
  word-break: keep-all;
}

/* 자주 묻는 질문 (홈) */
.faq { background: #f5f7f8; }
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--hero-ink);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  word-break: keep-all;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "\25BE"; color: var(--brass-soft); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\25B4"; }
.faq-item p { margin: 0.9rem 0 0; color: var(--hero-line); font-size: 0.95rem; line-height: 1.8; word-break: keep-all; }

/* 지역별 누수 섹션 (홈) */
.areas { background: #ffffff; }

/* 동별 상세 페이지 — 본문 가독성을 위해 고정 배경사진 제거, 흰 바탕 고정 */
body:has(.dong-body) { background: #ffffff; }

.dong-hero {
  position: relative;
  background: #ffffff;
  padding: 4.5rem 1.5rem 3.4rem;
  text-align: center;
  border-bottom: 1px solid var(--card-border);
}
.dong-hero .kicker {
  font-family: inherit;
  font-size: 0.72rem; letter-spacing: 0.12em;
  color: var(--brass-soft); font-weight: 700;
  text-transform: uppercase;
}
.dong-hero h1 {
  font-family: inherit;
  font-weight: 800;
  margin: 0.7rem 0 0;
  font-size: clamp(1.8rem, 5.4vw, 2.7rem);
  letter-spacing: -0.03em;
}
.dong-hero p.dong-sub {
  max-width: 44ch; margin: 1.1rem auto 0;
  color: var(--ink-soft); font-size: 1.02rem;
}
.dong-hero .dong-cta {
  display: inline-block; margin-top: 1.8rem;
  background: var(--brass-soft); color: #fff;
  font-weight: 800; text-decoration: none;
  padding: 0.9rem 1.7rem; border-radius: 999px;
  box-shadow: 0 12px 26px -10px rgba(45,82,234,0.45);
}
.dong-body { max-width: 760px; margin: 0 auto; padding: 3.4rem 1.5rem 1rem; }
.dong-body h2 {
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: -0.02em;
  margin: 2.6rem 0 0.9rem;
  text-align: left;
}
.dong-body h2:first-child { margin-top: 0; }
.dong-body p { color: #33454f; font-size: 1rem; line-height: 1.85; margin: 0.9rem 0; word-break: keep-all; text-wrap: pretty; }
.dong-body ul { color: #33454f; font-size: 1rem; line-height: 1.8; padding-left: 1.2rem; margin: 0.9rem 0; word-break: keep-all; }
.dong-body li { margin: 0.55rem 0; }
.dong-body strong { color: var(--ink); }
.dong-body a { color: var(--brass-soft); }
.dong-cases { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 1.2rem; }
.dong-cases .case-card { background: var(--bg-panel-2); cursor: default; }
.dong-cases .case-card img { height: 210px; }
.dong-cases .case-body { text-align: left; }
.dong-cases .case-card p { font-size: 0.95rem; line-height: 1.8; }
.dong-nav-back {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem;
  justify-content: center;
  max-width: 760px; margin: 0 auto; padding: 2.5rem 1.5rem 3.5rem;
}
.dong-nav-back a {
  font-size: 0.85rem; color: var(--cyan-text);
  text-decoration: none; border-bottom: 1px dotted var(--cyan-text);
}
.dong-nav-back a:hover { color: var(--brass-soft); border-color: var(--brass-soft); }

/* 한방에 배관케어 — 클릭 가능하되 효과 없음 (정적) */
.intro p.care-line { margin-top: 0.9rem; }
.care-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
/* 시공사례 사진 크게보기 (라이트박스) */
.lb-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(6,12,20,0.88);
  align-items: center; justify-content: center;
  padding: 3vh 3vw;
}
.lb-overlay.open { display: flex; }
.lb-img {
  max-width: 100%; max-height: 94vh;
  border-radius: 8px; display: block;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
}
.lb-close {
  position: fixed; top: 14px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.14); color: #fff;
  border: none; border-radius: 50%;
  font-size: 1.7rem; line-height: 1; cursor: pointer;
}

/* 시안 3: 누수 소견서 문서 비주얼 + 설명 */
.ins-doc { background: #f5f7f8; }
.ins-doc .doc-grid {
  display: grid; grid-template-columns: 360px 1fr; gap: 2.6rem; align-items: center;
  margin-top: 2.4rem;
}
.sogyeon {
  position: relative;
  background: #fff; color: #1a1a1a;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 1.8rem 1.6rem 1.5rem;
  font-size: 0.82rem; line-height: 1.75;
  box-shadow: 0 18px 40px -18px rgba(18,34,46,0.28);
}
.sogyeon .doc-title {
  text-align: center; font-weight: 800; letter-spacing: 0.35em;
  font-size: 1.05rem; margin-bottom: 1.3rem; color: #111;
}
.sogyeon .doc-row { display: flex; gap: 0.5rem; margin: 0.35rem 0; }
.sogyeon .doc-row .k { color: #666; white-space: nowrap; letter-spacing: 0.1em; }
.sogyeon .doc-body { margin: 0.7rem 0 0.9rem; color: #333; line-height: 1.95; word-break: keep-all; font-size: 0.76rem; white-space: nowrap; }
.sogyeon .doc-confirm { text-align: center; color: #555; font-size: 0.78rem; margin-top: 0.4rem; }
.sogyeon .doc-cert { margin-top: 1.4rem; text-align: right; font-size: 0.78rem; color: #444; }
.sogyeon .doc-cert strong { display: block; color: #111; font-size: 0.82rem; }
.sogyeon .seal {
  position: absolute; right: 22px; bottom: 46px;
  width: 62px; height: 62px; border-radius: 50%;
  border: 2px solid #c0392b; color: #c0392b;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.62rem; letter-spacing: 0.04em;
  transform: rotate(-10deg); opacity: 0.88;
}
.sogyeon .doc-flag {
  position: absolute; top: -11px; left: 14px;
  background: #0f2f5c; color: #fff;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem; border-radius: 3px;
}
.ins-doc .doc-copy h3 {
  font-family: inherit; font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); letter-spacing: -0.02em; text-align: left;
  margin-bottom: 0.9rem;
}
.ins-doc .doc-copy p { color: #33454f; font-size: 1rem; line-height: 1.8; margin: 0.7rem 0; word-break: keep-all; }
.ins-doc .doc-copy ul { color: #33454f; font-size: 0.98rem; line-height: 1.7; padding-left: 1.1rem; margin: 0.9rem 0; }
.ins-doc .doc-copy li { margin: 0.4rem 0; }
.ins-doc .doc-cta {
  display: inline-block; margin-top: 1.2rem;
  background: var(--brass-soft); color: #fff; font-weight: 800;
  text-decoration: none; padding: 0.85rem 1.7rem; border-radius: 999px;
}
@media (max-width: 720px) {
  .ins-doc .doc-grid { grid-template-columns: 1fr; gap: 1.8rem; justify-items: center; }
  .sogyeon { max-width: 360px; }
  .ins-doc .doc-copy h3, .ins-doc .doc-copy p { text-align: left; }
}

/* ============================================================
   "왜 한방누수인가" 섹션 시안 (사진 활용)
   ============================================================ */

/* 시안 A: 사진↔텍스트 교차 행 */
.why-alt { background: #fff; }
.why-alt .alt-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center;
  margin-top: 3rem;
}
.why-alt .alt-row:first-of-type { margin-top: 2.6rem; }
.why-alt .alt-row:nth-child(even) .alt-photo { order: 2; }
.why-alt .alt-photo {
  border-radius: 14px; overflow: hidden; aspect-ratio: 4/3;
  box-shadow: 0 20px 44px -20px rgba(18,34,46,0.3);
}
.why-alt .alt-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-alt .alt-text h3 {
  font-family: inherit; font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); letter-spacing: -0.02em;
  margin: 0 0 0.8rem; text-align: left;
}
.why-alt .alt-text p { color: #33454f; font-size: 1rem; line-height: 1.85; word-break: keep-all; margin: 0; }
@media (max-width: 760px) {
  .why-alt .alt-row { grid-template-columns: 1fr; gap: 1.3rem; }
  .why-alt .alt-row:nth-child(even) .alt-photo { order: 0; }
  .why-alt .alt-text h3, .why-alt .alt-text p { text-align: left; }
}


/* ============================================================
   지역별 누수 그리드 시안 (디자이너 느낌)
   ============================================================ */

/* 시안 1: 밑줄 디렉토리 — 미니멀, 화살표 */
.av1-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2.4rem; border-top: 1px solid var(--card-border); }
.av1-grid a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1rem; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: 1.02rem;
  border-bottom: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  transition: background 0.15s ease, color 0.15s ease;
}
.av1-grid a:nth-child(3n) { border-right: none; }
.av1-grid a:last-child:nth-child(3n+1) {
  grid-column: 1 / -1; justify-content: center; gap: 0.55rem;
  border-right: none;
}
.av1-grid a::after { content: "→"; color: var(--line-soft); font-weight: 400; transition: transform 0.15s ease, color 0.15s ease; }
.av1-grid a:hover { background: var(--bg-panel-2); color: var(--brass-soft); }
.av1-grid a:hover::after { transform: translateX(3px); color: var(--brass-soft); }
@media (max-width: 640px) {
  .av1-grid { grid-template-columns: repeat(2, 1fr); }
  .av1-grid a:nth-child(3n) { border-right: 1px solid var(--card-border); }
  .av1-grid a:nth-child(2n) { border-right: none; }
  .av1-grid a:last-child:nth-child(3n+1) { grid-column: auto; justify-content: space-between; }
}


/* ============================================================
   시공사례 섹션 시안 (브랜딩용, 직접 제작 느낌)
   ============================================================ */


/* 시공사례 — 사진 따로 / 글 따로 좌우 배치 (선·번호·카드배경 없음) */
.cx2 { background: #fff; }
.cx2-list { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.cx2-row {
  display: block;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-panel-2);
  box-shadow: 0 2px 10px -4px rgba(18,34,46,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none; color: inherit;
}
.cx2-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -12px rgba(25,94,180,0.22);
}
.cx2-row .cx2-text, .cx2-row .cx2-area { display: block; }
.cx2-row .cx2-thumb {
  border-radius: 0; overflow: hidden; aspect-ratio: 16/9; box-shadow: none; display: block;
}
.cx2-row .cx2-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.cx2-row:hover .cx2-thumb img { transform: scale(1.04); }
.cx2-row .cx2-text { padding: 1.3rem 1.6rem 1.5rem; text-align: center; }
.cx2-row h3::after { content: none; }
.cx2-row .cx2-area { font-size: 0.78rem; color: var(--ink-soft); font-weight: 700; letter-spacing: 0.03em; }
.cx2-row h3 {
  font-family: inherit; font-weight: 700;
  font-size: 1.02rem; margin: 0.5rem 0 0; color: var(--ink); letter-spacing: -0.02em; word-break: keep-all;
}
.cx2-row p { font-size: 0.9rem; line-height: 1.7; color: var(--ink-soft); margin: 0.5rem 0 0; word-break: keep-all; }
.cx2-row:hover h3, .cx2-row:active h3 { color: var(--brass-soft); }
.cx2-more { margin-top: 2.8rem; text-align: center; }
.cx2-more a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.95rem; color: var(--brass-soft);
  text-decoration: none; border-bottom: 1px solid var(--brass-soft); padding-bottom: 2px;
}
@media (max-width: 720px) {
  .cx2-list { gap: 1.6rem; grid-template-columns: 1fr; }
}

.footer-slogan {
  margin: 0 0 1.4rem;
  font-family: inherit; font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--ink); letter-spacing: -0.02em; line-height: 1.5;
}

/* ============================================================
   시공사례 상세 (블로그 글) + 하단 목록 게시판
   ============================================================ */
.post-wrap { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem 1rem; }
.post-crumb { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.post-crumb a { color: var(--ink-soft); text-decoration: none; }
.post-crumb a:hover { color: var(--brass-soft); }
.post-kicker { font-size: 0.82rem; color: var(--ink-soft); font-weight: 700; letter-spacing: 0.03em; }
.post h1 {
  font-family: inherit; font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.35;
  margin: 0.6rem 0 1.4rem; word-break: keep-all;
}
.post-photo { width: 100%; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 44px -22px rgba(18,34,46,0.35); }
.post-photo img { width: 100%; display: block; }
.post-body { margin-top: 1.8rem; }
.post-body p { font-size: 1.02rem; line-height: 1.9; color: #2b3b45; margin: 1rem 0; word-break: keep-all; }
.post-body h2 {
  font-family: inherit; font-weight: 700;
  font-size: 1.2rem; margin: 2.2rem 0 0.6rem; letter-spacing: -0.02em; text-align: left;
}
.post-cta {
  display: block; margin: 2.4rem 0 0; text-align: center;
  background: var(--brass-soft); color: #fff; font-weight: 800;
  text-decoration: none; padding: 1rem 1.5rem; border-radius: 6px;
}

.board { background: #f5f7f8; margin-top: 3.5rem; }
.board .wrap { max-width: 760px; }
.board h2 { text-align: left !important; font-size: 1.25rem !important; margin: 0 0 1.6rem !important; }
.board-list { display: flex; flex-direction: column; }
.board-list a {
  display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--card-border); text-decoration: none;
}
.board-list a:first-child { border-top: 1px solid var(--card-border); }
.board-list .bt { border-radius: 8px; overflow: hidden; aspect-ratio: 1; }
.board-list .bt img { width: 100%; height: 100%; object-fit: cover; }
.board-list .ba { font-size: 0.72rem; color: var(--ink-soft); font-weight: 700; }
.board-list h3 { font-size: 0.98rem; margin: 0.2rem 0 0; color: var(--ink); line-height: 1.45; word-break: keep-all; font-weight: 700; }
.board-list a:hover h3 { color: var(--brass-soft); }
.board-list a.current { opacity: 0.45; pointer-events: none; }
.board-list.no-thumb a { grid-template-columns: 1fr; }

/* ============================================================
   모바일 정비 — 스크롤 길이 축소 · 배치/여백 정리 · 히어로 강조
   (뒤에 오므로 위 규칙들을 재정의)
   ============================================================ */
@media (max-width: 760px) {
  /* 모바일 전용 서체 — Wanted Sans (더 모던·산뜻하게) + 헤딩 굵기 완화 */
  body {
    font-family: "Wanted Sans Variable", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
    letter-spacing: -0.01em;
  }
  h1, h2, h3 { font-weight: 700; }

  section { padding: 2.9rem 1.15rem; }
  section[id] { scroll-margin-top: 56px; }
  section:not(.hero) > .wrap > .eyebrow { font-size: 0.7rem; letter-spacing: 0.14em; font-weight: 700; }
  section:not(.hero) > .wrap > h2 { font-size: clamp(1.5rem, 5.6vw, 1.9rem); margin-top: 0.7rem; font-weight: 700; }

  /* 히어로: 높이 축소 + 제목 크되 너무 두껍지 않게 */
  .hero-photo-bg { min-height: 74vh; }
  .hero-content { padding: 28px 22px 34px; gap: 18px; }
  .hero-text-block { gap: 14px; }
  .hero-hook { font-size: 1.02rem; line-height: 1.45; }
  .hero-title {
    font-size: clamp(2.95rem, 13vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1; letter-spacing: -0.045em;
  }
  .hero-lead { font-size: 1.15rem; line-height: 1.55; }
  .hero-lead strong { white-space: normal; }
  .hero-guarantee { font-size: 1.15rem; }
  .hero-strip span { padding: 12px 4px; font-size: 0.75rem; letter-spacing: -0.02em; }

  /* 인트로 */
  .intro p { font-size: 1.12rem; margin-top: 0.9rem; line-height: 1.62; }
  .intro .hero-form-card.form-mobile-only { margin-top: 1.6rem; }

  /* 왜 한방누수 — 사진 높이·행간 축소 */
  .repair-tags {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 0.5rem; margin-top: 1.4rem;
  }
  .repair-tags a { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); text-align: center; }
  .why-alt .alt-row,
  .why-alt .alt-row:first-of-type { margin-top: 1.9rem; gap: 1.1rem; }
  .why-alt .alt-photo { aspect-ratio: 16 / 10; }
  .why-alt .alt-text h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
  .why-alt .alt-text p { font-size: 0.95rem; line-height: 1.7; }

  /* 지역별 그리드 */
  .av1-grid { margin-top: 1.9rem; }
  .av1-grid a { padding: 0.95rem 0.85rem; font-size: 0.96rem; }

  /* 프로세스 — 2열 카드로 한눈에 (스크롤 최소화) */
  .process-list { grid-template-columns: 1fr 1fr; gap: 0.55rem; margin-top: 1.7rem; }
  .process-item {
    flex-direction: column; align-items: center; text-align: center;
    gap: 0.3rem; padding: 1.15rem 0.7rem;
    background: var(--bg-panel-2); border-radius: 12px;
    border: none;
  }
  .process-item:last-child { border: none; }
  .process-item:nth-child(5) { grid-column: 1 / -1; }
  .process-item .step-num { font-size: 1rem; }
  .process-item h3 { font-size: 0.95rem; margin-bottom: 0.1rem; }
  .process-item p { font-size: 0.82rem; line-height: 1.55; text-wrap: balance; }

  /* 소견서 섹션 — 제목만 가운데, 본문은 왼쪽(가독성) */
  .ins-doc .doc-grid { margin-top: 1.9rem; gap: 1.6rem; }
  .ins-doc .doc-copy h3 { text-align: center; font-size: clamp(1.2rem, 5vw, 1.45rem); }
  .ins-doc .doc-copy p { text-align: left; font-size: 0.95rem; line-height: 1.75; }
  .ins-doc .doc-copy ul { text-align: left; }
  .ins-doc .doc-cta { display: block; text-align: center; }

  /* 시공사례 — 2열 이미지 카드(갤러리), 가운데 정렬 */
  .cases.cx2 h2 { margin-bottom: 0.2rem; }
  .cx2-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 0.8rem; margin-top: 1.8rem; }
  .cx2-row { grid-template-columns: 1fr; gap: 0; text-align: center; align-items: start; }
  .cx2-row .cx2-thumb { aspect-ratio: 4 / 3; border-radius: 10px; }
  .cx2-row .cx2-area { display: block; margin-top: 0.55rem; font-size: 0.7rem; }
  .cx2-row h3 { font-size: 0.9rem; margin: 0.25rem 0 0; line-height: 1.42; }
  .cx2-row h3::after { content: ""; margin: 0; }
  .cx2-row p { display: none; }
  .cx2-more { margin-top: 1.9rem; }

  /* 왜 한방누수 — 제목 가운데, 본문 왼쪽 */
  .why-alt .alt-text h3 { text-align: center; }
  .why-alt .alt-text p { text-align: left; }

  /* 출동가능지역 / CTA */
  .branch-note { font-size: 0.9rem; margin-top: 1.4rem; text-wrap: balance; }
  .cta-box { gap: 1.1rem; }
  .cta p { text-wrap: balance; }

  /* 동별 상세 페이지 */
  .dong-hero { padding: 3rem 1.2rem 2.3rem; }
  .dong-hero h1 { font-size: clamp(1.95rem, 7.4vw, 2.35rem); }
  .dong-hero p.dong-sub { font-size: 0.97rem; margin-top: 0.9rem; }
  .dong-hero .dong-cta { margin-top: 1.4rem; padding: 0.85rem 1.5rem; }
  .dong-body { padding: 2.5rem 1.2rem 1rem; }
  .dong-body h2 { margin: 2rem 0 0.7rem; font-size: clamp(1.3rem, 5.6vw, 1.55rem); text-align: center; }
  .dong-body p { font-size: 0.97rem; line-height: 1.8; margin: 0.85rem 0; text-align: left; }
  .dong-body ul { font-size: 0.97rem; line-height: 1.8; margin: 0.9rem 0; text-align: left; }
  .dong-body li { margin: 0.45rem 0; }
  .dong-cases .case-card img { height: 180px; }
  .dong-cases .case-body { padding: 1.1rem 1.2rem 1.3rem; }
  .dong-cases .case-area { display: block; text-align: center; }
  .dong-cases .case-card h3 { text-align: center; }
  .dong-cases .case-card p { text-align: left; }

  /* 상세(블로그) 글 */
  .post-wrap { padding: 2.6rem 1.2rem 1rem; }
  .post-crumb, .post-kicker, .post h1 { text-align: center; }
  .post-body h2 { text-align: center; }
  .post-body p { font-size: 0.98rem; line-height: 1.85; text-align: left; }
}

@media (max-width: 360px) {
  .hero-title { font-size: 2.9rem; }
}
