/* ================================
   한백하우징 메인페이지 시안 — 디자인 토큰
   ================================ */
:root{
  --bg: #F5F1EA;
  --bg-alt: #D9D5CF;
  --ink: #181818;
  --ink-soft: #55504A;
  --dark: #181818;
  --dark-soft: #2A1210;
  --paper-on-dark: #F5F1EA;
  --accent: #B52B2B;
  --accent-deep: #8D2023;
  --accent-soft: #D97B6C;
  --line: #8D2023;
  --border: #D9D5CF;

  --max-w: 1280px;
  --gap-section: 64px;
  --gap-section-m: 72px;
  --radius: 4px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .7s;
}

@media (max-width: 820px){
  :root{ --gap-section: 40px; }
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", system-ui, sans-serif;
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
@media (max-width:430px){ body{ font-size:15px; } }

h1,h2,h3{ margin:0; font-weight:800; letter-spacing:-0.02em; color:var(--ink); }
p{ margin:0; }
img{ max-width:100%; display:block; }
a{ color:inherit; }
button{ font-family:inherit; cursor:pointer; }

.draft-flag{
  position:fixed; top:0; left:0; right:0; z-index:200;
  margin:0; padding:6px 12px; text-align:center;
  background:var(--dark); color:var(--paper-on-dark);
  font-size:12px; letter-spacing:.02em;
}
.skip-link{
  position:absolute; left:-999px; top:0; z-index:300;
  background:var(--ink); color:#fff; padding:10px 16px;
}
.skip-link:focus{ left:8px; top:30px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 26px; font-weight:700; font-size:15px;
  text-decoration:none; border:2px solid transparent;
  clip-path:polygon(0 0,100% 0,100% 100%,14px 100%,0 calc(100% - 14px));
  transition:transform .25s var(--ease), background .25s;
}
.btn-solid{ background:var(--accent); color:#fff; }
.btn-solid:hover{ transform:translateY(-2px); background:var(--accent-deep); }
.btn-outline{ background:transparent; border-color:var(--ink); color:var(--ink); }
.btn-outline:hover{ transform:translateY(-2px); background:var(--ink); color:#fff; }
.btn-lg{ padding:18px 36px; font-size:18px; }

/* ================================
   헤더
   ================================ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(245,241,234,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:var(--max-w); margin:0 auto; padding:16px 24px;
  display:flex; align-items:center; gap:28px;
}
.logo{
  display:flex; align-items:center; gap:8px; flex:none;
  font-size:19px; font-weight:800; text-decoration:none; color:var(--ink);
}
.logo-mark{
  display:block; width:26px; height:26px; flex:none;
}
@media (max-width:600px){
  .logo-mark{ width:24px; height:24px; }
}

/* ---------- 6개 대분류 최상위 메뉴 (직접 링크) ---------- */
.main-nav{ flex:1; min-width:0; }
.main-nav > ul{ display:flex; gap:4px; list-style:none; margin:0; padding:0; }
.nav-cat > a{
  position:relative; display:block;
  padding:10px 14px; text-decoration:none;
  font-weight:700; font-size:14px; letter-spacing:-0.01em; color:var(--ink);
  white-space:nowrap;
}
.nav-cat > a::after{
  content:""; position:absolute; left:14px; right:14px; bottom:6px; height:2px;
  background:var(--accent); transform:scaleX(0); transform-origin:left;
  transition:transform .3s var(--ease);
}
.nav-cat > a:hover, .nav-cat > a:focus-visible, .nav-cat > a.is-current{ color:var(--accent); }
.nav-cat > a:hover::after, .nav-cat > a:focus-visible::after, .nav-cat > a.is-current::after{ transform:scaleX(1); }

/* ---------- 보조 메뉴 (시공사례·업체소개) ---------- */
.secondary-nav{ display:flex; gap:20px; flex:none; }
.secondary-nav a{
  text-decoration:none; font-size:13px; font-weight:600; color:var(--ink-soft);
  white-space:nowrap;
}
.secondary-nav a:hover{ color:var(--ink); }

.header-cta{ padding:10px 22px; font-size:14px; flex:none; }

.hamburger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:40px; height:40px; background:transparent; border:none; padding:0; flex:none;
}
.hamburger span{ display:block; width:100%; height:2px; background:var(--ink); transition:transform .3s var(--ease), opacity .3s; }
.hamburger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- 모바일 메뉴 (직접 링크) ---------- */
.mobile-nav{
  background:var(--dark); color:var(--paper-on-dark);
  padding:20px 24px 28px; display:none; flex-direction:column; gap:20px;
  max-height:calc(100vh - 85px); overflow-y:auto;
}
.mobile-nav:not([hidden]){ display:flex; }
.mobile-cats{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.mobile-cat-link{
  display:block; padding:14px 4px; text-decoration:none;
  font-size:18px; font-weight:700; color:var(--paper-on-dark);
  border-bottom:1px solid rgba(245,241,234,.15);
}
.mobile-cat-link.is-current{ color:var(--accent); }
.mobile-secondary{ display:flex; flex-direction:column; }
.mobile-secondary a{
  display:block; padding:12px 4px; text-decoration:none; font-size:15px; font-weight:600;
  color:rgba(245,241,234,.85); border-bottom:1px solid rgba(245,241,234,.1);
}
.mobile-nav .btn{ align-self:flex-start; margin-top:4px; }

@media (max-width:1180px){
  .secondary-nav{ display:none; }
}
@media (max-width:1024px){
  .main-nav, .header-cta{ display:none; }
  .hamburger{ display:flex; }
}

/* ================================
   공통 섹션 레이아웃
   ================================ */
section{ padding:var(--gap-section) 24px; }
.section-head{ max-width:var(--max-w); margin:0 auto 48px; }
.section-head h2{ font-size:clamp(32px, calc(4vw + 14px), 68px); line-height:1.05; margin-top:4px; }
.section-lead{ margin-top:16px; color:var(--ink-soft); font-size:17px; max-width:640px; }
.disclaimer{ margin-top:16px; font-size:13px; color:var(--ink-soft); }

/* ================================
   히어로
   ================================ */
.hero{
  position:relative; min-height:92vh; display:flex; align-items:center;
  background:var(--dark); color:var(--paper-on-dark); overflow:hidden;
  padding:160px 24px 120px;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 56px),0 100%);
}
.hero-media{ position:absolute; inset:0; z-index:0; background:var(--dark); }
.hero-media img, .hero-media video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center 35%; display:block;
}
/* 메인 히어로 — 6장 실사진 크로스페이드 슬라이드쇼 (순수 CSS) */
.hero-slide{ opacity:0; animation:heroSlide 24s infinite; animation-delay:calc(var(--i) * -4s); }
@keyframes heroSlide{
  0%{ opacity:0; }
  3%{ opacity:1; }
  14%{ opacity:1; }
  18%{ opacity:0; }
  100%{ opacity:0; }
}
@media (prefers-reduced-motion:reduce){
  .hero-slide{ animation:none; opacity:0; }
  .hero-slide:first-child{ opacity:1; }
}
.hero-overlay{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(100deg, rgba(10,8,8,.42) 0%, rgba(10,8,8,.13) 45%, rgba(10,8,8,.02) 75%);
}
/* 벽돌색 기하학 패널 — 사진과 결합되는 사선 액센트 */
.hero-brick{
  position:absolute; right:0; bottom:0; z-index:1;
  width:36%; height:62%;
  background:var(--accent);
  clip-path:polygon(100% 100%, 100% 0, 38% 100%);
  opacity:.88;
  mix-blend-mode:multiply;
}
@media (max-width:820px){
  .hero-brick{ width:46%; height:40%; opacity:.8; }
}
.hero-inner{ position:relative; z-index:2; max-width:760px; }
.hero h1{ font-size:clamp(44px, calc(5vw + 20px), 112px); color:#fff; line-height:0.95; letter-spacing:-0.03em; text-shadow:0 2px 24px rgba(0,0,0,.3); }
.hero-sub{ margin-top:28px; font-size:clamp(16px,2vw,19px); color:rgba(245,241,234,.92); }
.hero-actions{ margin-top:40px; display:flex; flex-wrap:wrap; gap:16px; }
.hero .btn-outline{ border-color:#fff; color:#fff; }
.hero .btn-outline:hover{ background:#fff; color:var(--ink); }

@media (max-width:700px){
  .hero{ clip-path:polygon(0 0,100% 0,100% calc(100% - 28px),0 100%); }
  .hero-media img, .hero-media video{ object-position:center 25%; }
}

.scroll-cue{
  position:absolute; left:50%; bottom:32px; transform:translateX(-50%);
  width:26px; height:42px; border:2px solid rgba(245,241,234,.6); border-radius:14px;
  z-index:1;
}
.scroll-cue span{
  position:absolute; left:50%; top:8px; width:4px; height:8px; border-radius:2px;
  background:#fff; transform:translateX(-50%);
  animation:scrollcue 1.8s infinite var(--ease);
}
@keyframes scrollcue{ 0%{ opacity:1; top:8px;} 70%{ opacity:0; top:22px;} 100%{opacity:0; top:8px;} }
@media (prefers-reduced-motion:reduce){ .scroll-cue span{ animation:none; } }

/* ================================
   전문 서비스 — 3x2 사선 패널 그리드
   ================================ */
.work-bento{
  max-width:var(--max-w); margin:0 auto; display:grid;
  grid-template-columns:repeat(3,1fr); gap:3px;
}
.wb-item{
  position:relative; display:block; overflow:hidden; text-decoration:none; color:#fff;
  aspect-ratio:3/4;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 40px),calc(100% - 40px) 100%,0 100%);
}

.wb-item img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition:transform .6s var(--ease);
}
.wb-item:hover img, .wb-item:focus-visible img{ transform:scale(1.06); }
.wb-overlay{
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(24,24,24,.90) 0%, rgba(24,24,24,.3) 55%, rgba(24,24,24,.1) 100%);
  transition:background .3s;
}
.wb-item:hover .wb-overlay, .wb-item:focus-visible .wb-overlay{
  background:linear-gradient(0deg, rgba(181,43,43,.75) 0%, rgba(24,24,24,.45) 60%, rgba(24,24,24,.12) 100%);
}
.wb-text{
  position:absolute; left:24px; right:50px; bottom:26px; display:flex; flex-direction:column; gap:8px;
}
.wb-name{ font-size:clamp(28px, calc(2.4vw + 10px), 44px); font-weight:800; line-height:1.1; }
.wb-desc{ font-size:13px; color:rgba(245,241,234,.9); }
.wb-arrow{
  position:absolute; top:20px; right:20px; font-size:22px; color:var(--accent-soft);
  transition:transform .3s var(--ease), color .3s;
}
.wb-item:hover .wb-arrow, .wb-item:focus-visible .wb-arrow{ transform:translate(4px,-4px); color:#fff; }

@media (max-width:820px){
  .work-bento{ grid-template-columns:1fr; }
  .wb-item{ aspect-ratio:4/3; clip-path:polygon(0 0,100% 0,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%); }
}

/* ================================
   구조 시각화(3D 레이어)
   ================================ */
.structure-vis{ background:var(--bg-alt); }
.layer-diagram{ max-width:560px; margin:0 auto; text-align:center; }
.layer-stack{
  perspective:1000px; display:flex; flex-direction:column; align-items:center;
  padding:40px 0 70px;
}
.layer{
  width:280px; height:52px; margin-top:-14px;
  transform-style:preserve-3d;
  transform: rotateX(55deg) rotateZ(-45deg) translateZ(calc(var(--d) * -18px));
  display:flex; align-items:center; justify-content:center;
}
.layer-face{
  position:absolute; width:280px; height:52px;
  background:linear-gradient(180deg, var(--accent-soft), var(--accent));
  border:1px solid rgba(24,24,24,.25);
}
.layer:nth-child(1) .layer-face{ background:linear-gradient(180deg,#fff,var(--bg-alt)); }
.layer:nth-child(2) .layer-face{ background:linear-gradient(180deg,var(--accent-soft),var(--accent)); }
.layer:nth-child(3) .layer-face{ background:linear-gradient(180deg,var(--accent),var(--accent-deep)); }
.layer:nth-child(4) .layer-face{ background:linear-gradient(180deg,#8A8278,#4A4440); }
.layer-label{
  position:relative; transform: rotateZ(45deg) rotateX(-55deg);
  font-size:12px; font-weight:700; color:var(--ink); white-space:nowrap;
  background:rgba(245,241,234,.9); padding:2px 8px;
}
@media (prefers-reduced-motion:reduce){ .layer{ transition:none; } }

/* ================================
   대표 현장 사례 — 에디토리얼 갤러리
   ================================ */
.cases-portfolio{ background:var(--bg); }
.cp-head{ max-width:var(--max-w); margin:0 auto 44px; }
.cp-head h2{ font-size:clamp(32px, calc(4vw + 14px), 64px); line-height:1.05; color:var(--ink); }
.cp-head::after{
  content:""; display:block; margin-top:16px; width:64px; height:4px; background:var(--accent);
}

.cp-grid{
  max-width:var(--max-w); margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px;
}
.cp-card{ display:block; text-decoration:none; color:inherit; margin:0; }
.cp-card[hidden]{ display:none; }
.cp-media{
  position:relative; overflow:hidden; display:block; aspect-ratio:4/3; background:var(--bg-alt);
}
.cp-media::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:0; background:var(--accent);
  transition:height .3s var(--ease); z-index:1;
}
.cp-card:hover .cp-media::after{ height:4px; }
.cp-media img{
  width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s var(--ease);
}
.cp-card:hover .cp-media img{ transform:scale(1.03); }
.cp-info{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-top:14px;
}
.cp-title{ font-size:clamp(17px,1vw + 13px,19px); font-weight:800; color:var(--ink); line-height:1.3; }
.cp-arrow{ flex:none; font-size:17px; color:var(--accent); transition:transform .25s var(--ease); }
.cp-card:hover .cp-arrow{ transform:translate(4px,-4px); }

.cp-more-wrap{ max-width:var(--max-w); margin:48px auto 0; text-align:center; }
.cp-more-wrap[hidden]{ display:none; }

@media (max-width:860px){
  .cp-grid{ grid-template-columns:repeat(2,1fr); gap:18px; }
}
@media (max-width:430px){
  .cp-grid{ grid-template-columns:1fr; gap:24px; }
  .cp-title{ font-size:clamp(15px,3.6vw,17px); }
}
@media (hover:none){
  .cp-card:hover .cp-media img{ transform:none; }
  .cp-card:hover .cp-media::after{ height:0; }
}
@media (prefers-reduced-motion:reduce){
  .cp-media img, .cp-media::after, .cp-arrow{ transition:none; }
}

/* ================================
   업체소개 (편집형)
   ================================ */
.about{ max-width:var(--max-w); margin:0 auto; display:grid; grid-template-columns:0.85fr 1.15fr; gap:0; align-items:stretch; }
.about-media{ position:relative; aspect-ratio:4/5; overflow:hidden; clip-path:polygon(0 0,100% 0,100% 100%,30px 100%,0 calc(100% - 30px)); }
.about-media img{ width:100%; height:100%; object-fit:cover; }
.about-media::after{
  content:""; position:absolute; left:0; bottom:0; width:40%; height:14px; background:var(--accent);
}
.about-text{ padding:40px 0 40px 56px; display:flex; flex-direction:column; justify-content:center; }
.about-text h2{ font-size:clamp(32px, calc(3vw + 16px), 52px); line-height:1.08; margin-bottom:22px; max-width:11ch; }
.about-text p{ color:var(--ink-soft); margin-top:14px; font-size:17px; }
.area-line{ margin-top:24px !important; font-weight:700; color:var(--accent-deep) !important; }
@media (max-width:900px){
  .about{ grid-template-columns:1fr; }
  .about-text{ padding:40px 24px 0; }
}

/* ================================
   메인페이지 업체소개 (비대칭)
   ================================ */
.about-intro{
  max-width:var(--max-w); margin:0 auto;
  display:grid; grid-template-columns:55fr 45fr; gap:48px; align-items:center;
}
.ai-visual{ display:grid; grid-template-columns:1.3fr 1fr; gap:10px; height:560px; }
.ai-visual-main{
  position:relative; overflow:hidden; height:100%;
  clip-path:polygon(0 0,100% 0,100% 100%,36px 100%,0 calc(100% - 36px));
}
.ai-visual-side{ display:grid; grid-template-rows:1fr 1fr; gap:10px; height:100%; }
.ai-visual-sub{ position:relative; overflow:hidden; }
.ai-visual-main img, .ai-visual-sub img{ width:100%; height:100%; object-fit:cover; display:block; }
.ai-copy h2{
  font-size:clamp(32px, calc(2.6vw + 16px), 50px); line-height:1.22; font-weight:800;
  color:var(--ink); max-width:14ch; word-break:keep-all;
}
.ai-copy p{ color:var(--ink-soft); margin-top:20px; font-size:18px; line-height:1.6; max-width:34ch; }
.ai-area{
  margin-top:24px; font-weight:600; font-size:15px; color:var(--ink-soft);
  padding-top:16px; border-top:1px solid var(--border); max-width:34ch;
}
@media (max-width:900px){
  .about-intro{ grid-template-columns:1fr; gap:28px; }
  .ai-copy{ order:1; }
  .ai-visual{ order:2; height:auto; grid-template-columns:1.2fr 1fr; }
  .ai-visual-main{ height:360px; }
  .ai-visual-side{ height:360px; }
}
@media (max-width:480px){
  .ai-visual{ height:auto; }
  .ai-visual-main{ height:260px; }
  .ai-visual-side{ height:260px; }
}

/* ================================
   작업 진행 절차 — 프리미엄 가로형 타임라인
   ================================ */
#home-process.process{
  background:#191919; color:#fff;
  padding-top:110px; padding-bottom:110px;
}
.process-head{ max-width:var(--max-w); margin:0 auto 64px; }
.process-head h2{
  font-size:clamp(40px, calc(1.4vw + 34px), 48px); font-weight:800; color:#fff; text-align:left;
}

.process-line{
  max-width:var(--max-w); margin:0 auto; padding:0; list-style:none;
  display:flex; align-items:stretch; gap:0;
}
.process-line li{
  position:relative; flex:1; display:flex; flex-direction:column; align-items:center;
  padding:28px 20px 0;
}
.p-line{
  position:absolute; top:5px; left:0; right:0; height:1px;
  background:rgba(255,255,255,.22); transition:background .25s var(--ease);
}
.process-line li:first-child .p-line{ left:50%; }
.process-line li:last-child .p-line{ right:50%; }
.p-dot{
  position:relative; z-index:1; width:11px; height:11px; border-radius:50%;
  background:var(--accent); transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.p-label{
  margin-top:20px; font-weight:800; font-size:clamp(22px, 1vw + 18px, 26px);
  text-align:center; color:#fff;
}
.p-desc{
  margin-top:10px; font-size:15px; line-height:1.6; text-align:center;
  color:rgba(255,255,255,.62); max-width:30ch;
}
.process-line li:hover .p-line{ background:var(--accent); }
.process-line li:hover .p-dot{ transform:scale(1.5); box-shadow:0 0 0 6px rgba(181,43,43,.25); }

@media (max-width:820px){
  #home-process.process{ padding-top:72px; padding-bottom:72px; }
}
@media (max-width:700px){
  .process-line{ flex-direction:column; gap:0; }
  .process-line li{
    position:relative; flex-direction:column; align-items:flex-start;
    padding:22px 0 22px 32px;
  }
  .p-line{ top:0; bottom:0; left:9px; right:auto; width:1px; height:auto; }
  .process-line li:first-child .p-line{ top:50%; left:9px; right:auto; }
  .process-line li:last-child .p-line{ bottom:50%; left:9px; right:auto; }
  .p-dot{ position:absolute; left:4px; top:26px; }
  .p-label{ margin-top:0; text-align:left; font-size:20px; }
  .p-desc{ margin-top:8px; text-align:left; font-size:14px; max-width:none; }
}

/* ================================
   FAQ
   ================================ */
.faq-list{ max-width:820px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{
  all:unset; cursor:pointer; display:flex; justify-content:space-between; gap:16px;
  width:100%; padding:26px 4px; font-size:19px; font-weight:800;
}
.faq-q::after{ content:"+"; font-weight:300; font-size:26px; color:var(--accent); flex:none; transition:transform .25s; line-height:1; }
.faq-q[aria-expanded="true"]::after{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-a p{ padding:0 4px 20px; color:var(--ink-soft); max-width:620px; }

/* ================================
   상담 CTA
   ================================ */
.contact-cta{ text-align:center; background:var(--accent); color:#fff; }
.contact-cta h2{ font-size:clamp(36px, calc(4vw + 18px), 64px); color:#fff; margin:6px 0 18px; }
.contact-cta p{ color:rgba(255,255,255,.88); margin-bottom:28px; font-size:17px; }
.contact-cta .btn-solid{ background:#fff; color:var(--accent-deep); }
.contact-cta .btn-solid:hover{ background:var(--ink); color:#fff; }

/* ================================
   푸터
   ================================ */
.site-footer{ background:var(--dark); color:rgba(245,241,234,.75); padding:48px 24px 24px; }
.footer-inner{
  max-width:var(--max-w); margin:0 auto;
  display:flex; flex-wrap:wrap; gap:32px; justify-content:space-between;
  font-size:13px; padding-bottom:24px; border-bottom:1px solid rgba(245,241,234,.15);
}
.footer-brand{ font-size:16px; font-weight:800; color:#fff; }
.footer-info{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; }
.footer-nav{ display:flex; flex-direction:column; gap:6px; }
.footer-nav a{ text-decoration:none; }
.footer-nav a:hover{ color:#fff; }
.footer-copy{ max-width:var(--max-w); margin:16px auto 0; font-size:12px; }

/* ================================
   대분류 페이지 — 히어로 변형
   ================================ */
.hero--cat{ min-height:62vh; padding:150px 24px 90px; }
.hero--cat .hero-inner{ max-width:700px; }
.hero--cat h1{ font-size:clamp(2.6rem,7vw,4.6rem); }
.back-link{
  position:relative; z-index:1; display:inline-block; margin-bottom:18px;
  font-size:13px; font-weight:700; color:rgba(245,241,234,.75); text-decoration:none;
}
.back-link:hover{ color:#fff; }
/* 변형별 초점 위치만 다르게 — 사진마다 중요한 피사체 위치가 다르므로 */
.hero--v1 .hero-media img, .hero--v1 .hero-media video{ object-position:center 50%; }
.hero--v2 .hero-media img, .hero--v2 .hero-media video{ object-position:center 20%; }

/* ================================
   대분류 페이지 — 5개 세부서비스
   ================================ */
.sub-service-grid{
  max-width:var(--max-w); margin:0 auto; padding:0; list-style:none;
  display:grid; grid-template-columns:repeat(auto-fit, minmax(230px,1fr)); gap:1px;
  background:var(--border);
}
.sub-service-item{
  background:var(--bg); padding:28px 24px; position:relative;
}
.ssi-num{ font-size:13px; font-weight:700; color:var(--accent); }
.ssi-name{ margin-top:10px; font-size:19px; font-weight:800; }
.ssi-desc{ margin-top:10px; font-size:13px; color:var(--ink-soft); line-height:1.6; }
.ssi-badge{
  display:inline-block; margin-top:16px; padding:5px 12px;
  border:1px dashed var(--line); font-size:11px; font-weight:700; color:var(--ink-soft);
}

/* ================================
   대분류 페이지 — 흐름 다이어그램
   ================================ */
.flow-diagram{
  max-width:var(--max-w); margin:0 auto; display:flex; align-items:stretch;
  flex-wrap:wrap; gap:0; justify-content:center;
}
.flow-step{
  flex:1 1 180px; min-width:150px; text-align:center; padding:24px 16px;
  background:var(--bg-alt); position:relative;
}
.flow-step + .flow-step{ margin-left:2px; }
.flow-num{
  display:flex; align-items:center; justify-content:center; margin:0 auto 14px;
  width:40px; height:40px; background:var(--accent); color:#fff; font-weight:800; font-size:14px;
  clip-path:polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%);
}
.flow-label{ font-size:14px; font-weight:700; }
.flow-arrow{
  display:flex; align-items:center; justify-content:center; flex:0 0 32px;
  color:var(--line); font-size:18px;
}
@media (max-width:700px){
  .flow-diagram{ flex-direction:column; }
  .flow-arrow{ transform:rotate(90deg); margin:0 auto; }
  .flow-step + .flow-step{ margin-left:0; margin-top:2px; }
}

/* ================================
   대분류 페이지 — 확인할 사항
   ================================ */
.checklist{
  max-width:720px; margin:0 auto; padding:0; list-style:none;
  display:flex; flex-direction:column; gap:2px;
}
.checklist li{
  position:relative; padding:16px 0 16px 32px; font-size:15px; color:var(--ink-soft);
  border-bottom:1px solid var(--border);
}
.checklist li::before{
  content:""; position:absolute; left:0; top:21px; width:9px; height:9px;
  background:var(--accent); clip-path:polygon(0 100%,50% 0,100% 100%);
}

/* ================================
   스크롤 리빌 모션
   ================================ */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .reveal{ transition:opacity .2s linear; transform:none; }
}

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ================================
   정수기 페이지 — 상단 (벽돌빨강 인트로)
   ================================ */
.cat-intro{
  position:relative; background:var(--accent); color:#fff;
  padding:148px 24px 72px; overflow:hidden;
}
.cat-intro::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:40px;
  background:var(--bg); clip-path:polygon(0 100%, 100% 100%, 100% 0, 38% 100%, 0 40%);
}
.cat-intro-inner{ position:relative; z-index:1; max-width:var(--max-w); margin:0 auto; text-align:left; }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:12px; color:rgba(255,255,255,.75); margin-bottom:20px; }
.breadcrumb a{ color:rgba(255,255,255,.75); text-decoration:none; }
.breadcrumb a:hover{ color:#fff; }
.breadcrumb span[aria-current]{ color:#fff; font-weight:700; }
.cat-intro h1{ font-size:clamp(40px, calc(4vw + 24px), 80px); font-weight:800; line-height:1; color:#fff; }
.cat-intro-desc{ margin-top:16px; max-width:52ch; font-size:17px; line-height:1.6; color:rgba(255,255,255,.88); }

/* ================================
   정수기 페이지 — 세부 서비스 인터랙티브 목록
   ================================ */
.kw-section{ padding-top:56px; padding-bottom:56px; }
.kw-list{ max-width:var(--max-w); margin:0 auto; padding:0; list-style:none; border-top:1px solid var(--border); }
.kw-row{
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:space-between;
  min-height:88px; padding:0 20px; border-bottom:1px solid var(--border);
}
.kw-row::before{
  content:""; position:absolute; inset:0; background:var(--accent);
  transform:scaleX(0); transform-origin:left; transition:transform .35s var(--ease);
  z-index:0;
}
.kw-row:hover::before{ transform:scaleX(1); }
.kw-name{
  position:relative; z-index:1; font-size:clamp(22px, calc(1vw + 16px), 28px); font-weight:800;
  color:var(--ink); transition:color .25s var(--ease);
}
.kw-row:hover .kw-name{ color:#fff; }
.kw-arrow{
  position:relative; z-index:1; font-size:24px; color:var(--accent);
  transition:transform .3s var(--ease), color .25s var(--ease);
}
.kw-row:hover .kw-arrow{ transform:translateX(10px); color:#fff; }
@media (max-width:600px){
  .kw-row{ min-height:64px; padding:0 14px; }
  .kw-name{ font-size:20px; }
}
@media (hover:none){
  .kw-row::before{ display:none; }
}

/* ================================
   정수기 페이지 — 섹션 제목 (절제된 크기)
   ================================ */
.wp-section-head{ max-width:var(--max-w); margin:0 auto 24px; }
.wp-section-head h2{ font-size:clamp(22px, calc(1vw + 18px), 28px); font-weight:800; color:var(--ink); }

/* ================================
   정수기 페이지 — 작업 사례 (편집형 갤러리)
   ================================ */
.wp-cases{ padding-top:0; padding-bottom:56px; }
.wp-cases-grid{
  max-width:var(--max-w); margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr); gap:12px; align-items:start;
}
.wp-case{ margin:0; }
.wp-case-media{
  position:relative; overflow:hidden; height:260px;
}
.wp-case-featured .wp-case-media{ height:340px; }
.wp-case-media img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .5s var(--ease);
}
.wp-case:hover .wp-case-media img{ transform:scale(1.04); }
.wp-case-gradient{
  position:absolute; left:0; right:0; bottom:0; height:55%;
  background:linear-gradient(0deg, rgba(10,8,8,.68), transparent);
  pointer-events:none;
}
.wp-case-media figcaption{
  position:absolute; left:16px; right:16px; bottom:14px;
  color:#fff; font-size:15px; font-weight:700;
}
.wp-case-mark{
  position:absolute; top:14px; right:14px; width:30px; height:30px;
  display:flex; align-items:center; justify-content:center;
  background:var(--accent); color:#fff; font-size:15px;
  opacity:0; transform:translate(-6px,6px); transition:opacity .25s var(--ease), transform .25s var(--ease);
}
.wp-case:hover .wp-case-mark{ opacity:1; transform:translate(0,0); }
@media (max-width:820px){
  .wp-cases-grid{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .wp-case-featured{ grid-column:span 2; }
  .wp-case-featured .wp-case-media{ height:300px; }
}
@media (max-width:480px){
  .wp-cases-grid{ grid-template-columns:1fr; }
  .wp-case-featured{ grid-column:auto; }
  .wp-case-media, .wp-case-featured .wp-case-media{ height:240px; }
}
@media (hover:none){
  .wp-case-media img{ transition:none; }
  .wp-case:hover .wp-case-media img{ transform:none; }
  .wp-case-mark{ display:none; }
}
@media (prefers-reduced-motion:reduce){
  .kw-row::before, .wp-case-media img, .kw-arrow{ transition:none; }
}

/* ================================
   정수기 페이지 — 자주 묻는 질문
   ================================ */
.wp-faq{ padding-top:0; }
.wp-faq .faq-list{ max-width:760px; border-top:1px solid var(--border); }
.wp-faq .faq-item{ border-bottom:1px solid var(--border); transition:background .2s var(--ease); }
.wp-faq .faq-q{
  font-size:18px; font-weight:700; padding:24px 4px; color:var(--ink);
  transition:color .2s var(--ease);
}
.wp-faq .faq-q::after{
  content:"+"; font-size:22px; font-weight:400; color:var(--accent); transform:none;
}
.wp-faq .faq-q[aria-expanded="true"]{ color:var(--accent-deep); }
.wp-faq .faq-q[aria-expanded="true"]::after{ content:"−"; transform:none; }
.wp-faq .faq-item:has(.faq-q[aria-expanded="true"]){
  border-bottom-color:var(--accent);
}
.wp-faq .faq-a p{ font-size:16px; line-height:1.7; padding:0 4px 24px; max-width:680px; }
@media (max-width:600px){
  .wp-faq .faq-q{ font-size:16px; padding:20px 2px; }
  .wp-faq .faq-a p{ font-size:15px; padding:0 2px 20px; }
}

/* ================================
   상담문의 페이지
   ================================ */
.cf-section{ padding-top:0; }
.cf-layout{
  max-width:var(--max-w); margin:0 auto;
  display:grid; grid-template-columns:1.3fr 1fr; gap:56px; align-items:start;
}
.cf-form{ display:flex; flex-direction:column; gap:20px; }
.cf-field{ display:flex; flex-direction:column; gap:8px; }
.cf-field label{ font-weight:700; font-size:14px; color:var(--ink); }
.cf-field label span{ color:var(--accent); margin-left:2px; }
.cf-field input, .cf-field select, .cf-field textarea{
  padding:12px 14px; border:1px solid var(--border); background:var(--bg);
  font:inherit; font-size:15px; color:var(--ink); border-radius:0;
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus{
  outline:2px solid var(--accent); outline-offset:1px; border-color:var(--accent);
}
.cf-field textarea{ resize:vertical; }
.cf-website{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.cf-consent{ margin-top:4px; padding:18px; background:var(--bg-alt); }
.cf-consent-text{ font-size:13px; line-height:1.7; color:var(--ink-soft); }
.cf-consent-check{
  display:flex; align-items:flex-start; gap:8px; margin-top:14px;
  font-size:14px; font-weight:700; cursor:pointer;
}
.cf-consent-check input{ margin-top:3px; flex:none; }
.cf-consent-check span{ color:var(--accent); }

#cf-submit{ align-self:flex-start; margin-top:4px; }
.cf-status{ margin-top:2px; font-size:14px; min-height:20px; }
.cf-status-ok{ color:var(--ink); font-weight:700; }
.cf-status-error{ color:var(--accent); font-weight:700; }

.cf-info{ display:flex; flex-direction:column; gap:24px; }
.cf-info-box{ padding:24px; background:var(--bg-alt); }
.cf-info-box h2{ font-size:16px; font-weight:800; margin-bottom:14px; color:var(--ink); }
.cf-phone{
  display:block; font-size:26px; font-weight:800; color:var(--accent);
  text-decoration:none; margin-bottom:8px;
}
.cf-phone:hover{ color:var(--accent-deep); }
.cf-info-box p{ font-size:13px; color:var(--ink-soft); }
.cf-service-list, .cf-biz-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.cf-service-list a{ color:var(--ink); text-decoration:none; font-weight:700; font-size:14px; }
.cf-service-list a:hover{ color:var(--accent); }
.cf-biz-list li{ font-size:13px; color:var(--ink-soft); }

@media (max-width:860px){
  .cf-layout{ grid-template-columns:1fr; gap:40px; }
}
@media (max-width:480px){
  #cf-submit{ align-self:stretch; justify-content:center; }
}

/* 메인 상단: H1 타이틀 영역 + 사진 중심 히어로 */
.home-title{ background:var(--bg); text-align:center; padding:20px 24px; }
.home-title h1{ font-size:clamp(40px,4vw,56px); font-weight:800; line-height:1.1; letter-spacing:-0.03em; color:var(--ink); }
.home-title .hero-sub{ margin:10px auto 0; max-width:680px; font-size:clamp(15px,1.6vw,17px); line-height:1.6; color:var(--ink); }
.home-title .hero-actions{ margin-top:14px; gap:12px; justify-content:center; }
.home-title .btn{ padding:11px 26px; font-size:15px; }
.hero--home{ min-height:0; padding:0; clip-path:none; display:block; height:clamp(240px,34vw,480px); }
@media (max-width:820px){ .home-title{ padding:20px 20px 24px; } .home-title .br-pc{ display:none; } .home-title .hero-sub{ margin-top:12px; } .hero--home{ height:clamp(260px,64vw,400px); } .hero--home .hero-media img{ object-position:center 40%; } }
.home-title .hero-sub{ text-wrap:balance; } .home-title{ padding-top:26px; }
.home-title .hero-sub{ word-break:keep-all; }

/* 정수기 세부 독립페이지 (dp-) */
.dp-section{ padding-top:0; padding-bottom:48px; }
.dp-lead{ padding-top:40px; }
.dp-lead-grid{ max-width:var(--max-w); margin:0 auto; display:grid; grid-template-columns:1.2fr 1fr; gap:40px; align-items:center; }
.dp-text h2, .dp-box h2{ font-size:clamp(22px, calc(1vw + 18px), 28px); font-weight:800; color:var(--ink); margin-bottom:16px; }
.dp-text p{ font-size:16px; line-height:1.8; margin-top:12px; }
.dp-figure{ margin:0; }
.dp-figure img{ width:100%; height:420px; object-fit:cover; display:block; }
.dp-box{ max-width:var(--max-w); margin:0 auto; }
.dp-table{ width:100%; border-collapse:collapse; border-top:1px solid var(--border); }
.dp-table th, .dp-table td{ text-align:left; vertical-align:top; padding:16px 12px; border-bottom:1px solid var(--border); font-size:16px; line-height:1.7; }
.dp-table th{ width:180px; font-weight:800; color:var(--ink); }
.dp-note{ margin-top:14px; font-size:14px; color:#6b6560; }
.dp-list, .dp-steps{ margin:0; padding-left:22px; max-width:760px; }
.dp-list li, .dp-steps li{ font-size:16px; line-height:1.7; padding:6px 0; }
.dp-links{ list-style:none; margin:0; padding:0; max-width:760px; }
.dp-links li{ padding:10px 0; border-bottom:1px solid var(--border); }
.dp-links a{ font-size:16px; font-weight:700; color:var(--accent-deep); }
@media (max-width:820px){
  .dp-lead-grid{ grid-template-columns:1fr; gap:24px; }
  .dp-figure img{ height:auto; aspect-ratio:4/3; }
  .dp-table th, .dp-table td{ display:block; width:auto; padding:4px 0; border:0; }
  .dp-table tr{ display:block; padding:14px 0; border-bottom:1px solid var(--border); }
}
a.kw-name{ text-decoration:none; }
a.kw-name::after{ content:""; position:absolute; inset:0; z-index:2; }

/* ================================
   화면 밀도 최적화 (2026-11-16) — 간격·타이포·그리드 재배치
   ================================ */
.header-inner{ padding:12px 24px; }
.section-head{ margin-bottom:28px; }
.section-head h2, .cp-head h2{ font-size:clamp(26px, calc(1.6vw + 18px), 36px); line-height:1.2; }
.section-lead{ margin-top:10px; font-size:16px; }
.cp-head{ margin-bottom:24px; }
.cp-head::after{ margin-top:12px; height:3px; }

/* 메인 상단 */
.home-title{ padding:24px 24px 20px; }
.home-title h1{ font-size:clamp(34px,3.2vw,48px); }
.hero--home{ height:clamp(240px,31vw,460px); }

/* 6개 서비스 3×2 — 낮은 카드 */
.wb-item{ aspect-ratio:16/11; clip-path:polygon(0 0,100% 0,100% calc(100% - 28px),calc(100% - 28px) 100%,0 100%); }
.wb-text{ left:20px; right:44px; bottom:18px; gap:4px; }
.wb-name{ font-size:clamp(22px,1.4vw + 12px,28px); }
.wb-desc{ font-size:14px; }
.work-bento{ gap:8px; }
@media (max-width:820px){
  .work-bento{ grid-template-columns:repeat(2,1fr); }
  .wb-item{ aspect-ratio:4/3; }
  .wb-desc{ font-size:13px; }
}
@media (max-width:480px){
  .work-bento{ grid-template-columns:1fr; }
  .wb-item{ aspect-ratio:16/9; }
}

/* 시공사례 */
.cp-grid{ gap:16px; }
.cp-media{ aspect-ratio:3/2; }
.cp-info{ margin-top:10px; }
.cp-title{ font-size:16px; }
.cp-more-wrap{ margin-top:28px; }
@media (max-width:430px){ .cp-grid{ grid-template-columns:1fr 1fr; gap:14px 10px; } .cp-title{ font-size:14px; } .cp-arrow{ display:none; } }

/* 업체소개 */
.ai-visual{ height:380px; }
.about-intro{ gap:40px; }
.ai-copy h2{ font-size:clamp(26px,1.6vw + 18px,38px); max-width:none; }
.ai-copy p{ font-size:16px; margin-top:12px; max-width:44ch; }
.ai-area{ margin-top:16px; padding-top:12px; max-width:44ch; }
@media (max-width:900px){ .ai-visual-main,.ai-visual-side{ height:260px; } }
@media (max-width:480px){ .ai-visual-main,.ai-visual-side{ height:200px; } }

/* 진행 절차 */
#home-process.process{ padding-top:56px; padding-bottom:56px; }
.process-head{ margin-bottom:28px; }
.process-head h2{ font-size:clamp(26px,1.6vw + 18px,36px); }
.process-line li{ padding:20px 16px 0; }
.p-label{ margin-top:14px; font-size:clamp(18px,.6vw + 14px,22px); }
.p-desc{ margin-top:8px; font-size:14px; }
@media (max-width:820px){ #home-process.process{ padding-top:40px; padding-bottom:40px; } }
@media (max-width:700px){ .process-line li{ padding:14px 0 14px 32px; } .p-dot{ top:20px; } .p-label{ font-size:18px; } }

/* FAQ */
.faq-q{ padding:16px 4px; font-size:17px; }
.faq-a p{ padding:0 4px 16px; font-size:15px; }
.wp-faq .faq-q{ padding:16px 4px; font-size:17px; }
.wp-faq .faq-a p{ padding:0 4px 16px; font-size:15px; }
@media (max-width:600px){ .faq-q,.wp-faq .faq-q{ font-size:16px; padding:14px 2px; } }

/* 상담 CTA */
.contact-cta{ padding-top:48px; padding-bottom:48px; }
.contact-cta h2{ font-size:clamp(26px,2vw + 16px,40px); margin:0 0 10px; }
.contact-cta p{ margin-bottom:20px; font-size:16px; }
.btn-lg{ padding:14px 32px; font-size:16px; }
@media (max-width:820px){ .contact-cta{ padding-top:36px; padding-bottom:36px; } }

/* 대분류·세부 페이지 상단 */
.cat-intro{ padding:36px 24px 56px; }
.breadcrumb{ margin-bottom:12px; font-size:13px; }
.cat-intro h1{ font-size:clamp(30px,2vw + 22px,44px); line-height:1.15; }
.cat-intro-desc{ margin-top:10px; font-size:16px; }
.cat-intro::after{ height:28px; }

/* 세부서비스 — 클릭형 카드 그리드 */
.kw-section{ padding-top:28px; padding-bottom:28px; }
.kw-list{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; border-top:0; }
.kw-row{ min-height:68px; padding:0 20px; border:1px solid var(--border); background:#fff8; }
.kw-name{ font-size:clamp(18px,.5vw + 15px,22px); }
.kw-arrow{ font-size:20px; }
@media (max-width:900px){ .kw-list{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .kw-list{ grid-template-columns:1fr; gap:8px; } .kw-row{ min-height:56px; } .kw-name{ font-size:17px; } }

/* 작업 사례 */
.wp-section-head{ margin-bottom:16px; }
.wp-section-head h2, .dp-text h2, .dp-box h2{ font-size:clamp(22px,.8vw + 17px,28px); }
.wp-cases{ padding-bottom:36px; }
.wp-cases-grid{ gap:10px; align-items:stretch; }
.wp-case-media, .wp-case-featured .wp-case-media{ height:230px; }
@media (max-width:820px){ .wp-case-media{ height:170px; } .wp-case-featured .wp-case-media{ height:220px; } }
@media (max-width:480px){ .wp-cases-grid{ grid-template-columns:1fr 1fr; } .wp-case-featured{ grid-column:span 2; } .wp-case-media{ height:150px; } .wp-case-featured .wp-case-media{ height:200px; } .wp-case-media figcaption{ font-size:13px; left:10px; right:10px; bottom:10px; } }
.wp-faq{ padding-bottom:var(--gap-section); }

/* 세부 독립페이지 */
.dp-lead{ padding-top:24px; }
.dp-section{ padding-bottom:28px; }
.dp-lead-grid{ gap:32px; }
.dp-text h2, .dp-box h2{ margin-bottom:12px; }
.dp-text p{ font-size:16px; line-height:1.7; margin-top:8px; }
.dp-figure img{ height:300px; }
.dp-table th, .dp-table td{ padding:10px 12px; font-size:15px; line-height:1.6; }
.dp-table th{ width:160px; }
.dp-list li, .dp-steps li{ font-size:15px; padding:4px 0; }
.dp-list, .dp-steps{ max-width:none; }
.dp-links{ max-width:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:10px; }
.dp-links li{ padding:0; border:0; }
.dp-links a{ display:block; padding:14px 16px; border:1px solid var(--border); background:#fff8; text-decoration:none; font-size:15px; line-height:1.5; }
.dp-links a:hover{ border-color:var(--accent); }
@media (max-width:820px){ .dp-figure img{ height:auto; aspect-ratio:16/10; } .dp-table tr{ padding:10px 0; } }

/* 상담 페이지 */
.cf-layout{ gap:40px; }
.cf-form{ gap:14px; }
.cf-info{ gap:16px; }
.cf-info-box{ padding:20px; }

/* 푸터 */
.site-footer{ padding:36px 24px 20px; }

/* 모바일 공통 */
@media (max-width:600px){
  .home-title{ padding:20px 20px 18px; }
  .home-title h1{ font-size:32px; }
  .cat-intro{ padding:24px 20px 44px; }
  .cat-intro h1{ font-size:30px; }
  .section-head h2,.cp-head h2,.process-head h2{ font-size:26px; }
  .btn{ padding:12px 22px; }
  .hero--home{ height:clamp(220px,58vw,320px); }
}
.ai-visual{ grid-template-rows:minmax(0,1fr); }
.ai-visual-side{ grid-template-rows:minmax(0,1fr) minmax(0,1fr); min-height:0; }
.ai-visual-main, .ai-visual-sub{ min-height:0; }
.hamburger{ margin-left:auto; }
.dp-two{ max-width:var(--max-w); margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:32px; }
@media (max-width:820px){ .dp-two{ grid-template-columns:1fr; gap:20px; } }
.dp-two .dp-box{ margin:0; max-width:none; }
.dp-figure img{ object-position:center 45%; }
.ai-more{ margin-top:16px; }
/* 링크가 아닌 사진 카드는 클릭 요소처럼 보이지 않게 */
.wp-case-mark{ display:none; }
.wp-case:hover .wp-case-media img{ transform:none; }
.cases-sec{ padding-top:0; padding-bottom:28px; }
.dp-links-1{ grid-template-columns:1fr 1fr; }
@media (max-width:480px){ .dp-links-1{ grid-template-columns:1fr; } }

/* 세부 독립페이지 균형 개선 (dp2-) — 2026-11-22, 정수기배관연결부터 적용 */
.dp2-band{ background:rgba(217,213,207,.38); padding:44px 24px; margin-bottom:28px; }
.dp2-core{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,1fr); gap:14px 40px; }
.dp2-core li{ padding:16px 0; border-top:1px solid var(--border); }
.dp2-core strong{ display:block; font-size:17px; font-weight:800; color:var(--ink); margin-bottom:6px; }
.dp2-core p{ margin:0; font-size:15px; line-height:1.7; color:var(--ink-soft); }
.dp2-flow{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:48px; align-items:start; }
.dp2-flow-intro p{ font-size:16px; line-height:1.8; margin:0; color:var(--ink-soft); }
.dp2-steps{ list-style:none; margin:0; padding:0; }
.dp2-steps li{ display:grid; grid-template-columns:72px 1fr; gap:16px; padding:18px 0; border-top:1px solid var(--border); }
.dp2-steps li:last-child{ border-bottom:1px solid var(--border); }
.dp2-steps .dp2-n{ font-size:14px; font-weight:800; color:var(--accent-deep); padding-top:3px; }
.dp2-steps strong{ display:block; font-size:17px; font-weight:800; margin-bottom:4px; }
.dp2-steps p{ margin:0; font-size:15px; line-height:1.7; color:var(--ink-soft); }
.dp2-photos{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.dp2-photos figure{ margin:0; }
.dp2-photos img{ width:100%; height:300px; object-fit:cover; display:block; }
.dp2-photos figcaption{ margin-top:10px; font-size:15px; line-height:1.6; color:var(--ink-soft); }
.dp2-checks{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,1fr); gap:0 40px; }
.dp2-checks li{ padding:16px 0; border-top:1px solid var(--border); font-size:15px; line-height:1.7; color:var(--ink-soft); }
.dp2-checks strong{ display:block; font-size:16px; font-weight:800; color:var(--ink); margin-bottom:4px; }
@media (max-width:820px){
  .dp2-band{ padding:32px 20px; }
  .dp2-core, .dp2-checks, .dp2-photos{ grid-template-columns:1fr; }
  .dp2-flow{ grid-template-columns:1fr; gap:20px; }
  .dp2-steps li{ grid-template-columns:56px 1fr; gap:12px; }
  .dp2-photos img{ height:auto; aspect-ratio:4/3; }
}

/* 시공사례 사진 링크 + 사례 상세페이지 (2026-11-22) */
.wp-case-link{ display:block; color:inherit; text-decoration:none; cursor:pointer; }
.wp-case-link:focus-visible, .cp-card:focus-visible{ outline:3px solid var(--accent-deep); outline-offset:3px; }
.case-photo{ margin:0; }
.case-photo img{ width:100%; height:auto; max-height:560px; object-fit:contain; background:rgba(217,213,207,.38); display:block; }
.case-photo figcaption{ margin-top:10px; font-size:15px; line-height:1.6; color:var(--ink-soft); }
