/* Dalpaengi Counter — 싱크대상판광택 The달팽이
   Design DNA A 재해석: 비대칭 스플릿 히어로 + 벤토그리드, 헤어라인 디바이더, 에디토리얼 여백
   컬러: deep #161616 / accent #E8D9C4 / bg #FFFFFF / bg-soft #F5F6F8 / bar-chrome #EBECEE
*/

:root {
  --deep: #161616;
  --accent: #E8D9C4;
  --accent-soft: #F5EEE4;
  --bg: #FFFFFF;
  --bg-soft: #F5F6F8;
  --ink: #1A1A1A;
  --desc: #475569;
  --bar-chrome: #EBECEE;
  --radius: 2px;
  --radius-img: 10px;
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 16px; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 12px; }

.dc-skip {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--deep); color: #fff; padding: 10px 16px;
}
.dc-skip:focus { left: 0; }

.dc-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--desc); text-transform: uppercase; margin-bottom: 12px;
}

/* ── 버튼 ─────────────────────────────────────────────────── */
.dc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--deep); color: #fff;
  padding: 13px 26px; font-size: 15px; font-weight: 600;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.dc-btn:hover { background: #2b2b2b; transform: translateY(-1px); }
.dc-btn-lg { padding: 16px 34px; font-size: 16px; }
.dc-btn-header {
  background: var(--accent); color: var(--deep); margin-left: auto;
}
.dc-btn-header:hover { background: #dfc9ab; }
.dc-btn-sticky { width: 100%; background: var(--accent); color: var(--deep); }
.dc-btn-sticky:hover { background: #dfc9ab; }

/* ── 헤더 (2-state sticky) ────────────────────────────────── */
.dc-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent; transition: background .25s, box-shadow .25s;
}
.dc-header.is-scrolled {
  background: var(--bar-chrome); box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.dc-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; gap: 32px;
}
.dc-logo { font-size: 20px; font-weight: 800; color: var(--deep); }
.dc-logo span { color: #9c7a48; }
.dc-nav { display: flex; gap: 24px; }
.dc-nav a { color: var(--ink); font-size: 15px; font-weight: 500; opacity: .85; }
.dc-nav a:hover { opacity: 1; text-decoration: underline; }
.dc-burger { display: none; }
.dc-nav-mobile { display: none; }

/* ── 히어로 (스플릿 · 사진 단독 주연) ─────────────────────── */
.dc-hero {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg) 58%);
  color: var(--deep); padding: 0;
  margin-top: -76px; padding-top: 76px;
}
.dc-hero-inner {
  max-width: none; margin: 0;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; align-items: stretch;
  min-height: 620px;
}
.dc-hero-copy {
  padding: 88px 48px 88px max(24px, calc((100vw - 1200px) / 2 + 24px));
  display: flex; flex-direction: column; justify-content: center;
}
.dc-hero-copy .dc-eyebrow { color: var(--desc); }
.dc-hero h1 { color: var(--deep); font-size: clamp(34px, 4vw, 46px); }
.dc-hero-desc { color: var(--desc); font-size: 17px; }
.dc-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.dc-hero-badges span {
  font-size: 13px; padding: 8px 14px; border: 1px solid var(--accent);
  background: var(--bg); border-radius: 999px; color: var(--deep);
}
.dc-hero-bento {
  position: relative; min-height: 620px; overflow: hidden;
  animation: dc-hero-fade .8s ease .1s both;
}
.dc-bento-a {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 0;
}
@keyframes dc-hero-fade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ── 서브히어로 (내부 페이지 공통 · 풀블리드) ──────────────── */
.dc-subhero {
  position: relative; overflow: hidden;
  margin-top: -76px; padding-top: 76px;
  min-height: 300px;
  display: flex; align-items: flex-end;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-soft) 100%);
}
.dc-subhero:has(.dc-subhero-img) { min-height: 440px; }
.dc-subhero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 0;
}
.dc-subhero:has(.dc-subhero-img)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.12) 40%, rgba(0,0,0,.58) 100%);
}
.dc-subhero-content {
  position: relative; z-index: 1;
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 0 24px 44px;
}
.dc-subhero-content h1 { color: var(--deep); }
.dc-subhero-content .dc-hero-desc { color: var(--desc); }
.dc-subhero:has(.dc-subhero-img) .dc-subhero-content h1 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.dc-subhero:has(.dc-subhero-img) .dc-subhero-content .dc-eyebrow { color: #fff; opacity: .92; }
.dc-subhero:has(.dc-subhero-img) .dc-subhero-content .dc-hero-desc { color: #f2f2f2; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.dc-subhero-consult .dc-subhero-content { max-width: 640px; margin: 0 auto; text-align: center; }

/* ── 섹션 공통 ─────────────────────────────────────────────── */
.dc-section { padding: 72px 24px; border-top: 1px solid #ececec; }
.dc-section-alt { background: var(--bg-soft); }
.dc-section-inner { max-width: 1200px; margin: 0 auto; }

/* ── 증상 리스트 ──────────────────────────────────────────── */
.dc-symptom-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dc-symptom-item {
  padding: 24px; background: var(--bg-soft); border-radius: var(--radius);
  border-left: 3px solid var(--accent); font-size: 15px; color: var(--desc);
}
.dc-symptom-item strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 16px; }

/* ── 프로세스 세로 타임라인 ───────────────────────────────── */
.dc-steps { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.dc-steps li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #e4e0da; }
.dc-steps li:last-child { border-bottom: none; }
.dc-steps span { font-size: 22px; font-weight: 800; color: var(--accent); min-width: 44px; }
.dc-steps li div strong { display: block; margin-bottom: 4px; font-size: 16px; }

/* ── 갤러리 그리드 ────────────────────────────────────────── */
.dc-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.dc-gallery-grid-full { grid-template-columns: repeat(4, 1fr); }
.dc-related-card { display: block; overflow: hidden; border-radius: var(--radius-img); }
.dc-related-card img { aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; }
.dc-related-card:hover img { transform: scale(1.04); }
.dc-link-more { font-weight: 600; color: var(--deep); }

/* ── CTA 밴드 ─────────────────────────────────────────────── */
.dc-cta-band {
  background: var(--deep); color: #fff; padding: 48px 24px;
  display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
  text-align: center;
}
.dc-cta-band p { font-size: 20px; font-weight: 700; margin: 0; }
.dc-cta-band .dc-btn { background: var(--accent); color: var(--deep); }
.dc-cta-band .dc-btn:hover { background: #dfc9ab; }

/* ── 지역 칩 그리드 ───────────────────────────────────────── */
.dc-region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dc-region-chip {
  padding: 16px; text-align: center; background: var(--bg); border: 1px solid #e0e0e0;
  border-radius: var(--radius); font-weight: 600; font-size: 14px;
}
.dc-region-chip:hover { border-color: var(--deep); background: var(--bg-soft); }

/* ── FAQ ──────────────────────────────────────────────────── */
.dc-faq-list { max-width: 800px; }
.dc-faq-item { border-bottom: 1px solid #e4e0da; padding: 18px 0; }
.dc-faq-item summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
.dc-faq-item summary::-webkit-details-marker { display: none; }
.dc-faq-item summary::after { content: '+'; float: right; font-size: 20px; color: var(--accent); }
.dc-faq-item[open] summary::after { content: '−'; }
.dc-faq-item p { margin-top: 12px; color: var(--desc); }

/* ── 크로스 레이아웃 (교차 이미지-텍스트, 고정 스펙) ───────── */
.dc-cross-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  margin-bottom: 56px;
}
.dc-cross-row img { border-radius: var(--radius-img); aspect-ratio: 4/3; object-fit: cover; }
.dc-cross-row-rev { direction: rtl; }
.dc-cross-row-rev > * { direction: ltr; }

/* ── 체크리스트 ───────────────────────────────────────────── */
.dc-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dc-checklist-item {
  padding: 20px; background: var(--bg); border: 1px solid #e4e0da; border-radius: var(--radius);
  font-size: 14px; color: var(--desc);
}
.dc-checklist-item strong { color: var(--ink); display: block; margin-bottom: 6px; }

/* ── 상담 카드 ────────────────────────────────────────────── */
.dc-consult-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
.dc-info-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px 24px; border: 1px solid #e4e0da; border-radius: var(--radius);
  background: var(--bg-soft);
}
.dc-info-card svg { width: 44px; height: 44px; color: var(--deep); margin-bottom: 16px; }
.dc-info-card .dc-btn { margin-top: 16px; }
.dc-consult-card:hover { border-color: var(--deep); }

/* ── 리스트/본문 ──────────────────────────────────────────── */
.dc-list { padding-left: 20px; max-width: 700px; color: var(--desc); }
.dc-list li { margin-bottom: 8px; }
.dc-body-text { max-width: 760px; color: var(--desc); font-size: 16px; }

/* ── 사이트맵 ─────────────────────────────────────────────── */
.dc-sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.dc-sitemap-col a { display: block; padding: 6px 0; color: var(--desc); }
.dc-sitemap-col a:hover { color: var(--deep); text-decoration: underline; }

/* ── Closing 사진 (B-25) ──────────────────────────────────── */
.dc-closing { position: relative; }
.dc-closing img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.dc-closing-overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,22,22,.1), rgba(22,22,22,.75));
  display: flex; align-items: flex-end; padding: 40px;
}
.dc-closing-overlay p { color: #fff; font-size: 18px; font-weight: 600; margin: 0; }

/* ── 푸터 ─────────────────────────────────────────────────── */
.dc-footer { background: var(--deep); color: #cfcfcf; padding: 56px 24px 24px; }
.dc-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px;
}
.dc-footer-logo { font-size: 20px; font-weight: 800; color: #fff; }
.dc-footer-logo span { color: var(--accent); }
.dc-footer-desc { font-size: 14px; margin-top: 8px; }
.dc-footer-col h3 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.dc-footer-col a { display: block; font-size: 14px; padding: 4px 0; color: #b8b8b8; }
.dc-footer-col a:hover { color: #fff; }
.dc-footer-biz p { font-size: 13px; color: #9a9a9a; }
.dc-footer-bottom {
  max-width: 1200px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid #333;
  font-size: 12px; color: #808080;
}

/* ── 하단 고정 CTA 바 (B-23) ──────────────────────────────── */
.dc-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: -80px; z-index: 90;
  padding: 12px 16px; background: var(--bg); box-shadow: 0 -4px 16px rgba(0,0,0,.1);
  transition: bottom .25s; display: none;
}
.dc-sticky-cta.is-visible { bottom: 0; }

/* ── 애니메이션 훅 ────────────────────────────────────────── */
[data-anim] { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
[data-anim].is-in { opacity: 1; transform: none; }
[data-anim="slide-left"] { transform: translateX(-24px); }
[data-anim="slide-left"].is-in { transform: none; }
[data-anim="scale-in"] { transform: scale(.94); }
[data-anim="scale-in"].is-in { transform: none; }
[data-anim][data-delay="1"] { transition-delay: .05s; }
[data-anim][data-delay="2"] { transition-delay: .1s; }
[data-anim][data-delay="3"] { transition-delay: .15s; }
[data-anim][data-delay="4"] { transition-delay: .2s; }
[data-anim][data-delay="5"] { transition-delay: .25s; }

/* ── 반응형 ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .dc-hero-inner { grid-template-columns: 1fr; }
  .dc-symptom-list, .dc-checklist, .dc-region-grid { grid-template-columns: repeat(2, 1fr); }
  .dc-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .dc-gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
  .dc-cross-row, .dc-cross-row-rev { grid-template-columns: 1fr; direction: ltr; }
  .dc-footer-inner, .dc-sitemap-grid { grid-template-columns: 1fr 1fr; }
  .dc-consult-cards { grid-template-columns: 1fr; }
  .dc-nav { display: none; }
  .dc-btn-header { display: none; }
  .dc-burger {
    display: flex; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; margin-left: auto; padding: 8px;
  }
  .dc-burger span { width: 22px; height: 2px; background: var(--deep); }
  .dc-nav-mobile {
    display: none; flex-direction: column; background: var(--bg); padding: 16px 24px;
    border-top: 1px solid #eee;
  }
  .dc-nav-mobile.is-open { display: flex; }
  .dc-nav-mobile a { padding: 10px 0; border-bottom: 1px solid #eee; color: var(--ink); }
}
@media (max-width: 560px) {
  .dc-symptom-list, .dc-checklist, .dc-region-grid, .dc-gallery-grid, .dc-gallery-grid-full, .dc-sitemap-grid, .dc-footer-inner {
    grid-template-columns: 1fr;
  }
}
