/* bucheon-sink-replacement.css — 지역서비스 #5. hue=185, HEADER:보더바텀만(스티키X) / HERO:2단분할 카드형 / CTA:중앙 배지형 카드 / FOOTER:다크 인버트 */

@font-face{
  font-family: "Jua Bucheon";
  src: url("/assets/fonts/jua-sink-faucet-replacement.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root{
  --h: 5;
  --disp-font: "Jua Bucheon";
  --brand:      hsl(var(--h) 62% 34%);
  --brand-deep: hsl(var(--h) 68% 20%);
  --brand-soft: hsl(var(--h) 58% 94%);
  --ink:        hsl(var(--h) 18% 15%);
  --ink-soft:   hsl(var(--h) 10% 40%);
  --line:       hsl(var(--h) 20% 87%);
  --bg:         hsl(var(--h) 28% 98%);
  --surface:    #ffffff;
  --r: 14px;
}

*, *::before, *::after{ box-sizing: border-box; }
*{ min-width: 0; }
html, body{ max-width: 100%; overflow-x: hidden; }
img, video, svg, table, pre{ max-width: 100%; }
img{ height: auto; display: block; }
body{
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Pretendard Variable", Pretendard, sans-serif;
  -webkit-text-size-adjust: 100%; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.78;
}
a{ color: inherit; }
:focus-visible{ outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce){ *{ animation: none !important; transition: none !important; } }

.wrap{ width: 100%; max-width: min(1080px, 100%); margin-inline: auto; padding-inline: clamp(14px, 4.2vw, 28px); }

h1{ font-family: var(--disp-font), -apple-system, sans-serif; font-weight: 400; font-size: clamp(26px, 6.8vw, 44px); line-height: 1.32; letter-spacing: -0.01em; margin: 0; }
h2{ font-family: var(--disp-font), -apple-system, sans-serif; font-weight: 400; font-size: clamp(20px, 4.6vw, 28px); line-height: 1.4; margin: 0 0 10px; }
h3{ font-weight: 700; font-size: clamp(16px, 3.9vw, 21px); margin: 0 0 6px; }
p, li{ font-size: clamp(15px, 3.9vw, 17px); line-height: 1.78; }
p{ margin: 0 0 14px; max-width: 68ch; }
.answer{ font-weight: 600; color: var(--ink); }

/* HEADER: 보더바텀만, 스티키 없음, 배경 투명 */
.site-head{ background: var(--bg); border-bottom: 1px solid var(--line); }
.site-head .wrap{ display: flex; align-items: center; justify-content: space-between; height: clamp(56px, 8vw, 64px); gap: 14px; }
.site-head__mark{ font-family: var(--disp-font); font-weight: 400; font-size: 21px; letter-spacing: -0.01em; text-decoration: none; color: var(--brand-deep); flex: none; }
.site-head__nav{ display: flex; gap: 4px; overflow-x: auto; }
.site-head__nav a{ display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: clamp(13px, 3.4vw, 15px); font-weight: 600; color: var(--ink-soft); text-decoration: none; white-space: nowrap; border-radius: var(--r); }
.site-head__nav a:hover, .site-head__nav a:active{ color: var(--brand); background: var(--brand-soft); }

/* HERO: 2단 분할 카드형 (텍스트 + 이미지 카드) */
.hero{ padding-block: clamp(32px, 6vw, 56px); }
.hero .wrap{ display: grid; gap: clamp(20px, 4vw, 36px); align-items: center; }
@media (min-width: 800px){ .hero .wrap{ grid-template-columns: 1.1fr .9fr; } }
.hero .hero-text{ background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.4); padding: clamp(22px, 4.4vw, 36px); }
.hero .eyebrow{ display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--brand-deep); }
.hero h1{ color: var(--brand-deep); }
.hero p.lead{ margin: 16px 0 0; color: var(--ink-soft); font-size: clamp(15px, 4vw, 18px); }
.hero .btn-row{ margin-top: 24px; }
.hero .hero-visual{ margin: 0; border-radius: calc(var(--r) * 1.4); overflow: hidden; border: 1px solid var(--line); }
.hero .hero-visual img{ width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* 전/후 사진 밴드: 2세트, 중앙 배치 */
.ba-band{ display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2.6vw, 24px); margin-block: clamp(28px, 5.6vw, 44px); max-width: 760px; margin-inline: auto; }
.ba-set{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.ba-set figure{ position: relative; margin: 0; border-radius: var(--r); overflow: hidden; }
.ba-set img{ width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ba-set figcaption{ position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: hsl(var(--h) 40% 10% / .62); color: #fff; font-size: 12px; font-weight: 600; }

/* 본문 단락 */
.para{ display: flex; flex-direction: column; gap: 16px; padding-block: clamp(20px, 4vw, 32px); border-top: 1px solid var(--line); }
.para-visual{ margin: 0; border-radius: var(--r); overflow: hidden; }
.para-visual img{ width: 100%; aspect-ratio: 16/10; object-fit: cover; }
@media (min-width: 768px){ .para{ flex-direction: row; align-items: center; gap: 32px; } .para-visual{ flex: 0 0 42%; } .para-body{ flex: 1 1 auto; min-width: 0; } }
.para:nth-of-type(even){ flex-direction: column-reverse; }
@media (min-width: 768px){ .para:nth-of-type(even){ flex-direction: row-reverse; } }

/* 표 + 체크리스트 */
.deep{ padding-block: clamp(24px, 5vw, 40px); border-top: 1px solid var(--line); }
.table-wrap{ overflow-x: auto; margin-block: 16px; }
table{ width: 100%; border-collapse: collapse; min-width: 480px; }
th, td{ text-align: left; padding: 12px 10px; border-top: 1px solid var(--line); font-size: 15px; }
thead th{ border-top: none; font-size: 13px; color: var(--ink-soft); letter-spacing: .04em; background: var(--brand-soft); }
.checklist{ list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.checklist li{ display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.checklist li svg{ flex: none; margin-top: 3px; color: var(--brand); }
.note{ font-size: 13.5px; color: var(--ink-soft); margin-top: 16px; }

/* CTA: 중앙 배지형 카드 */
.cta{ padding-block: clamp(32px, 6vw, 56px); }
.cta .wrap{ max-width: 640px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.6); padding: clamp(28px, 5vw, 44px); box-shadow: 0 12px 32px hsl(var(--h) 40% 20% / .1); }
.cta h2{ margin-bottom: 8px; color: var(--brand-deep); } .cta p{ margin: 0 auto 22px; color: var(--ink-soft); }
.btn-row{ display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn{ display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 24px; border-radius: var(--r); font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; }
.btn--outline{ border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover, .btn--outline:active{ background: var(--brand-soft); }
.btn--solid{ background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--solid:hover, .btn--solid:active{ background: var(--brand-deep); border-color: var(--brand-deep); }

/* FAQ */
.faq{ padding-block: clamp(24px, 5vw, 40px); border-top: 1px solid var(--line); }
.faq-item{ border-bottom: 1px solid var(--line); padding-block: 14px; }
.faq-item summary{ cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; align-items: center; }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{ content: "+"; flex: none; font-weight: 400; color: var(--brand); }
.faq-item[open] summary::after{ content: "\2212"; }
.faq-item p{ margin: 8px 0 0; color: var(--ink-soft); }

/* 관련 페이지 카드 6개 */
.rel{ padding-block: clamp(24px, 5vw, 40px); border-top: 1px solid var(--line); }
.rel-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
@media (min-width: 640px){ .rel-grid{ grid-template-columns: repeat(3, 1fr); } }
.rel-card{ border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--ink); min-height: 44px; background: var(--surface); }
.rel-card:hover{ border-color: var(--brand); }
.rel-card h3{ font-size: 15px; margin-bottom: 6px; color: var(--brand-deep); }
.rel-card p{ font-size: 13px; color: var(--ink-soft); margin: 0; }

/* FOOTER: 다크 인버트 */
.site-foot{ background: var(--brand-deep); border-top: 4px solid var(--brand); margin-top: 8px; }
.biz{ display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); font-size: clamp(11px, 3vw, 12.5px); line-height: 1.4; letter-spacing: .01em; word-break: keep-all; color: hsl(var(--h) 40% 92% / .85); }
.biz span{ white-space: nowrap; }
.biz .sep{ opacity: .5; }
.biz .addr{ white-space: normal; }
