/* ==========================================================================
   남강포장 — 공통 스타일
   ========================================================================== */

:root {
  --charcoal: #1b1b1b;
  --charcoal-2: #262626;
  --ink: #1f1f1f;
  --text: #333;
  --muted: #777;
  --line: #e4e2dd;
  --gray-bg: #f3f2ef;
  --white: #fff;
  --accent: #f2b233;       /* 크라프트 옐로 */
  --accent-dark: #d9961a;
  --kraft: #b58a5a;        /* 골판지 브라운 */

  --font-ko: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-en: 'Montserrat', var(--font-ko);

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ko);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

[hidden] { display: none !important; }

.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;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 2px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-line-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-line-white:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

.more-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .08em;
  color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid var(--ink);
}
.more-link span { transition: transform .25s var(--ease); }
.more-link:hover span { transform: translateX(4px); }

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background .3s var(--ease), color .3s var(--ease), height .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 68px;
  background: rgba(255,255,255,.97);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  background: var(--accent); color: var(--ink); border-radius: 4px;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { line-height: 1.1; }
.logo-text strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.logo-text small { font-family: var(--font-en); font-size: 10px; letter-spacing: .18em; opacity: .75; }

.gnb { display: flex; gap: clamp(20px, 3vw, 44px); }
.gnb a { font-size: 16px; font-weight: 600; position: relative; padding: 6px 0; }
.gnb a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.gnb a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { height: 42px; padding: 0 20px; font-size: 14px; }
.header-tel { font-family: var(--font-en); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; }

.menu-toggle {
  width: 44px; height: 44px; border: 0; background: transparent; color: inherit;
  display: none; place-items: center; padding: 0;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor; position: relative;
  transition: transform .3s var(--ease), background .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* ---------- 전체화면 메뉴 (모바일) ---------- */
.fullmenu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--charcoal); color: #fff;
  display: flex; flex-direction: column;
  padding: 24px var(--gutter) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.fullmenu.is-open { opacity: 1; visibility: visible; }
.fullmenu-top { display: flex; justify-content: space-between; align-items: center; }
.fullmenu-close { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 32px; line-height: 1; }
.fullmenu nav { margin-top: 48px; display: flex; flex-direction: column; }
.fullmenu nav a {
  font-size: clamp(26px, 7vw, 40px); font-weight: 700; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: baseline;
}
.fullmenu nav a small { font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .12em; color: rgba(255,255,255,.45); }
.fullmenu-contact { margin-top: auto; display: grid; gap: 10px; }
.fullmenu-contact .btn { width: 100%; }

/* ---------- 히어로 ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  color: #fff; overflow: hidden; background: var(--charcoal);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}
.hero-slide.is-active img { transform: scale(1); }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%),
    linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 40%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.hero-title {
  font-family: var(--font-en);
  font-size: clamp(48px, 8.5vw, 124px);
  line-height: .98; letter-spacing: -0.035em; font-weight: 300;
}
.hero-title b { font-weight: 800; }
.hero-sub {
  margin-top: 28px; font-size: clamp(17px, 1.6vw, 22px); font-weight: 500;
  color: rgba(255,255,255,.88); max-width: 560px; line-height: 1.55;
}
.hero-actions { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-steps {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-steps ol {
  list-style: none; margin: 0 auto; padding-block: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.hero-step {
  position: relative; width: 100%; background: transparent; border: 0; color: rgba(255,255,255,.55);
  text-align: left; padding: 22px 12px 26px 0;
  transition: color .3s var(--ease);
}
.hero-step:hover, .hero-step.is-active { color: #fff; }
.hero-step .num { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .08em; display: block; margin-bottom: 4px; }
.hero-step .label { font-size: 16px; font-weight: 600; }
.hero-step .bar { position: absolute; top: -1px; left: 0; right: 16px; height: 2px; background: transparent; overflow: hidden; }
.hero-step .bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.hero-step.is-active .bar i { animation: stepbar var(--slide-ms, 5500ms) linear forwards; }
@keyframes stepbar { to { width: 100%; } }

.scroll-hint {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 110px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.7);
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px;
}
.scroll-hint::after { content: ''; width: 1px; height: 56px; background: rgba(255,255,255,.5); animation: scrollhint 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollhint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 공통 섹션 ---------- */
.sec { padding-block: clamp(80px, 11vw, 150px); }
.sec-gray { background: var(--gray-bg); }
.sec-dark { background: var(--charcoal); color: #fff; }

.sec-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .en {
  font-family: var(--font-en);
  font-size: clamp(34px, 5vw, 64px); line-height: 1.1; letter-spacing: -0.03em;
  font-weight: 300; color: #9a9a9a;
}
.sec-head .en b { font-weight: 800; color: var(--ink); }
.sec-dark .sec-head .en b { color: #fff; }
.sec-head p { margin-top: 16px; font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); }
.sec-dark .sec-head p { color: rgba(255,255,255,.6); }
.sec-head.left { text-align: left; }

/* ---------- 제품 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.product-card { display: block; text-align: center; }
.product-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-bg); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card h3 { margin-top: 28px; font-family: var(--font-en); font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.product-card p { margin: 8px 0 18px; color: var(--muted); font-size: 15px; }

/* ---------- 원스톱 공정 ---------- */
.process-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.process-intro .sec-head { margin-bottom: 0; }
.process-intro .desc { max-width: 420px; color: rgba(255,255,255,.65); font-size: 16px; }
.process-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; counter-reset: step; }
.process-item { position: relative; overflow: hidden; aspect-ratio: 3 / 4.4; background: #111; }
.process-item img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.process-item:hover img { opacity: .8; transform: scale(1.05); }
.process-item .info { position: absolute; inset: auto 0 0 0; padding: 24px 22px; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.process-item .step-no { font-family: var(--font-en); font-size: 44px; font-weight: 800; line-height: 1; color: var(--accent); }
.process-item h3 { margin-top: 10px; font-size: 20px; font-weight: 700; }
.process-item h3 small { display: block; font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .12em; color: rgba(255,255,255,.55); margin-bottom: 2px; }
.process-item p { margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.5; }

/* ---------- 3단 카드 ---------- */
.trio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.trio-card { display: block; background: #fff; text-align: center; }
.trio-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.trio-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.trio-card:hover .thumb img { transform: scale(1.06); }
.trio-card .body { padding: 30px 20px 36px; }
.trio-card h3 { font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; color: var(--ink); }
.trio-card p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- 납품 사례 ---------- */
.works-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 20px; flex-wrap: wrap; }
.works-head .sec-head { margin-bottom: 0; }
.works-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.work-card .thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--gray-bg); }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .thumb img { transform: scale(1.06); }
.work-card .tag { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 600; color: var(--kraft); }
.work-card h3 { margin-top: 4px; font-size: 17px; font-weight: 600; color: var(--ink); }

/* ---------- 친환경 띠 ---------- */
.eco {
  position: relative; color: #fff; overflow: hidden;
  padding-block: clamp(90px, 12vw, 160px);
}
.eco-bg { position: absolute; inset: 0; }
.eco-bg img { width: 100%; height: 100%; object-fit: cover; }
.eco::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(28, 26, 20, .68); }
.eco .container { position: relative; z-index: 2; }
.eco .en { font-family: var(--font-en); font-size: clamp(34px, 5vw, 64px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; }
.eco .en b { font-weight: 800; }
.eco p { margin-top: 18px; max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.82); }
.eco-chips { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.eco-chips li { padding: 10px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 40px; font-size: 14px; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side .sec-head { margin-bottom: 24px; }
.faq-side p.lead { color: var(--muted); font-size: 16px; }
.pdf-card {
  margin-top: 36px; padding: 28px; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; gap: 14px;
}
.pdf-card strong { font-size: 19px; }
.pdf-card span { color: rgba(255,255,255,.6); font-size: 14px; }
.pdf-card .btn { align-self: flex-start; height: 46px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 4px; font-size: clamp(16px, 1.4vw, 18px); font-weight: 600; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .q { font-family: var(--font-en); color: var(--accent-dark); margin-right: 12px; font-weight: 800; }
.faq-list summary::after { content: '+'; font-size: 26px; font-weight: 300; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 4px 26px 36px; color: var(--muted); font-size: 15px; }

/* ---------- 빠른 견적 ---------- */
.quick-quote { background: var(--charcoal-2); color: #fff; padding-block: clamp(80px, 10vw, 130px); }
.quick-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(32px, 6vw, 96px); }
.quick-info .en { font-family: var(--font-en); font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 300; }
.quick-info .en b { font-weight: 800; }
.quick-info p { margin-top: 18px; color: rgba(255,255,255,.65); font-size: 16px; }
.quick-hotline { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.quick-hotline small { display: block; color: var(--accent); font-weight: 600; font-size: 14px; }
.quick-hotline a { font-family: var(--font-en); font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -0.01em; }
.quick-hotline span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.5); }

.qform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 36px; }
.qfield { position: relative; }
.qfield.full { grid-column: 1 / -1; }
.qfield label { display: block; font-size: 13px; color: rgba(255,255,255,.55); padding-top: 18px; }
.qfield label em { color: var(--accent); font-style: normal; margin-left: 2px; }
.qfield input, .qfield select, .qfield textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.28);
  color: #fff; font: inherit; font-size: 16px; padding: 10px 0 12px; border-radius: 0;
  transition: border-color .25s var(--ease);
}
.qfield select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: right 6px center, right 0 center; background-size: 6px 6px; background-repeat: no-repeat; }
.qfield select option { color: var(--ink); }
.qfield textarea { resize: vertical; min-height: 96px; }
.qfield input:focus, .qfield select:focus, .qfield textarea:focus { outline: 0; border-bottom-color: var(--accent); }
.qfield input::placeholder, .qfield textarea::placeholder { color: rgba(255,255,255,.3); }
.qfield .err { display: none; font-size: 12px; color: #ff9b85; margin-top: 6px; }
.qfield.has-error .err { display: block; }
.qfield.has-error input, .qfield.has-error select { border-bottom-color: #ff9b85; }
.qfield .unit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.qform-bottom { grid-column: 1 / -1; margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.agree { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.75); cursor: pointer; }
.agree input { width: 18px; height: 18px; accent-color: var(--accent); }
.agree a { text-decoration: underline; }
.agree.has-error { color: #ff9b85; }
.qform-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-kakao { background: #fee500; color: #191919; }
.btn-kakao:hover { background: #f5d900; }
.qform-done {
  grid-column: 1 / -1; display: none;
  padding: 48px 32px; text-align: center; border: 1px solid rgba(255,255,255,.18);
}
.qform-done.is-show { display: block; }
.qform-done strong { font-size: 24px; display: block; }
.qform-done p { margin: 10px 0 24px; color: rgba(255,255,255,.65); }
.hp-field { position: absolute; left: -9999px; }

/* ---------- 푸터 ---------- */
.site-footer { background: #121212; color: rgba(255,255,255,.55); padding-block: 60px 40px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-top .logo { color: #fff; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.8); font-weight: 500; }
.footer-nav a:hover { color: var(--accent); }
.footer-info { padding-top: 28px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; line-height: 1.9; }
.footer-info .hot { color: var(--accent); font-weight: 700; }
.footer-info .hot a { color: #fff; font-family: var(--font-en); }
.footer-info address { font-style: normal; }
.footer-copy { margin-top: 24px; font-size: 12px; color: rgba(255,255,255,.35); display: flex; gap: 16px; flex-wrap: wrap; }
.footer-copy a { color: rgba(255,255,255,.6); }

/* ---------- 플로팅 버튼 ---------- */
.float-btns {
  position: fixed; right: 20px; bottom: 24px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .25s var(--ease);
  position: relative;
}
.float-btn:hover { transform: translateY(-3px); }
.float-btn svg { width: 26px; height: 26px; }
.float-btn .tip {
  position: absolute; right: 68px; white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
  padding: 7px 12px; border-radius: 4px; opacity: 0; pointer-events: none; transform: translateX(6px);
  transition: opacity .2s, transform .2s;
}
.float-btn:hover .tip { opacity: 1; transform: none; }
.float-kakao { background: #fee500; color: #191919; }
.float-tel { background: var(--ink); color: #fff; }
.float-top {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink);
  font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: .06em;
  display: grid; place-items: center; line-height: 1;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.float-top.is-show { opacity: 1; visibility: visible; }

/* ---------- 스크롤 등장 효과 ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide img { transition: none; transform: none; }
}

/* ==========================================================================
   서브 페이지 공통
   ========================================================================== */
.gnb a[aria-current="page"]::after { width: 100%; }

.sub-visual {
  position: relative; overflow: hidden;
  min-height: clamp(380px, 54vh, 540px);
  display: flex; align-items: flex-end;
  color: #fff; background: var(--charcoal);
}
.sub-visual-bg { position: absolute; inset: 0; }
.sub-visual-bg img { width: 100%; height: 100%; object-fit: cover; }
.sub-visual::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 100%),
    linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 50%);
}
.sub-visual .container {
  position: relative; z-index: 2;
  padding-top: var(--header-h);
  padding-bottom: clamp(88px, 11vw, 130px);
}
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.breadcrumb a:hover { color: #fff; }
.sub-eyebrow { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--accent); }
.sub-title { margin-top: 10px; font-size: clamp(38px, 5.5vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.sub-desc { margin-top: 14px; font-size: clamp(16px, 1.5vw, 20px); color: rgba(255,255,255,.85); }

.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- 견적문의: 상담 채널 ---------- */
.channels { position: relative; z-index: 3; margin-top: clamp(-64px, -5vw, -40px); }
.channel-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.08);
}
.channel {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 30px 28px; border-right: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.channel:last-child { border-right: 0; }
.channel:hover { background: var(--gray-bg); }
.channel-icon { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.channel-icon svg { width: 24px; height: 24px; }
.channel-icon.kakao { background: #fee500; color: #191919; }
.channel-icon.tel { background: var(--ink); color: #fff; }
.channel-icon.mail { background: var(--accent); color: var(--ink); }
.channel small { display: block; font-size: 13px; color: var(--muted); }
.channel strong { display: block; margin-top: 2px; font-size: 19px; color: var(--ink); word-break: break-all; }
.channel span span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ---------- 견적문의: 3단계 폼 ---------- */
.quote-sec { padding-top: clamp(64px, 8vw, 110px); }
.wz-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }

.wz-stepper { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wz-step { border-top: 3px solid var(--line); padding-top: 14px; color: #aaa; transition: border-color .3s var(--ease), color .3s var(--ease); }
.wz-step .n { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.wz-step .t { display: block; margin-top: 2px; font-size: 17px; font-weight: 700; }
.wz-step.is-active { border-color: var(--accent); color: var(--ink); }
.wz-step.is-done { border-color: var(--ink); color: var(--ink); }

.wz-panel h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.wz-panel h2:focus { outline: none; }
.wz-lead { margin-top: 8px; color: var(--muted); }

.wz-group { margin: 36px 0 0; padding: 0; border: 0; min-width: 0; }
.wz-label { display: block; padding: 0; margin-bottom: 12px; font-size: 16px; font-weight: 700; color: var(--ink); }
.wz-label em { margin-left: 3px; font-style: normal; color: var(--accent-dark); }
.wz-label small { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--muted); }

.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card .box {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px 20px; background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.choice-card .box svg { width: 36px; height: 36px; margin-bottom: 4px; color: var(--kraft); }
.choice-card strong { font-size: 17px; color: var(--ink); }
.choice-card .desc { font-size: 13px; line-height: 1.5; color: var(--muted); }
.choice-card:hover .box { border-color: #bbb; }
.choice-card input:checked + .box { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fffaf0; }
.choice-card input:checked + .box::after {
  content: '✓'; position: absolute; top: 14px; right: 14px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 800;
}
.choice-card input:focus-visible + .box { outline: 2px solid var(--accent-dark); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 40px; background: #fff;
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover span { border-color: #bbb; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent-dark); outline-offset: 2px; }

.field-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.field-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wz-panel > .field-row.two { margin-top: 28px; }
.field-row.two > .wz-group { margin-top: 0; }
.wz-panel > .field-row.two:has(> .wz-group) { margin-top: 36px; }

.input {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 0; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .2s;
}
textarea.input { height: auto; min-height: 130px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
select.input {
  appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23777' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.input:focus { outline: 0; border-color: var(--ink); }
.input:disabled { background: var(--gray-bg); color: #aaa; }
.input::placeholder { color: #aaa; }
.input-unit { position: relative; }
.input-unit .input { padding-right: 48px; }
.input-unit i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 14px; color: var(--muted); pointer-events: none; }
.check { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; flex: none; accent-color: var(--ink); }

.wz-err { display: none; margin-top: 8px; font-size: 13px; font-weight: 500; color: #d6452b; }
.wz-err.is-show { display: block; }
.has-error .input { border-color: #d6452b; }

.dropzone {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 32px 20px; text-align: center; cursor: pointer;
  border: 1.5px dashed #cfccc4; background: var(--gray-bg);
  transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--accent-dark); background: #fff6e3; }
.dropzone:focus-within { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone svg { width: 36px; height: 36px; color: var(--kraft); }
.dropzone strong { font-size: 16px; color: var(--ink); }
.dropzone span { font-size: 13px; color: var(--muted); }

.file-list { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.file-list:empty { display: none; }
.file-item { position: relative; border: 1px solid var(--line); background: #fff; }
.file-item .thumb { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: var(--gray-bg); }
.file-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-item .thumb b { font-family: var(--font-en); font-size: 15px; color: #c0392b; }
.file-item .meta { padding: 6px 8px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-item.is-processing .thumb { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.file-item .remove {
  position: absolute; top: 6px; right: 6px;
  width: 26px; height: 26px; border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,0,0,.72); color: #fff; font-size: 16px; line-height: 1;
}

.wz-summary { margin-top: 36px; padding: 22px 24px; background: var(--gray-bg); }
.wz-summary h3 { margin-bottom: 12px; font-size: 15px; font-weight: 700; color: var(--ink); }
.wz-summary dl { margin: 0; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 6px 12px; font-size: 14px; }
.wz-summary dt { color: var(--muted); }
.wz-summary dd { margin: 0; font-weight: 500; color: var(--ink); }

.agree-box { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--line); }
.agree-box.has-error { border-color: #d6452b; }
.agree-box .check { margin: 0; font-weight: 600; color: var(--ink); }
.agree-box details { margin-top: 8px; font-size: 13px; color: var(--muted); }
.agree-box summary { cursor: pointer; text-decoration: underline; }
.agree-box ul { margin-top: 8px; padding-left: 18px; list-style: disc; line-height: 1.8; }

.wz-nav { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.wz-nav .spacer { flex: 1; }
.wz-nav .btn { min-width: 150px; }

.wz-done { padding: 32px 0; text-align: center; }
.wz-done .ok { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); }
.wz-done .ok svg { width: 38px; height: 38px; }
.wz-done h2 { margin-top: 24px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.wz-done h2:focus { outline: none; }
.wz-done .receipt { display: inline-block; margin-top: 18px; padding: 10px 18px; background: var(--gray-bg); font-weight: 600; color: var(--ink); }
.wz-done .receipt span { font-family: var(--font-en); font-weight: 700; letter-spacing: .04em; }
.wz-done p { margin-top: 16px; color: var(--muted); }
.wz-done p b { color: var(--ink); }
.wz-done .actions { margin-top: 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.wz-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside-card { padding: 28px 26px; background: var(--ink); color: #fff; }
.aside-card small { font-size: 13px; font-weight: 600; color: var(--accent); }
.aside-card .tel { display: block; margin-top: 6px; font-family: var(--font-en); font-size: 28px; font-weight: 700; }
.aside-card p { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.55); }
.aside-card .btn { width: 100%; height: 48px; margin-top: 20px; }
.aside-tip { padding: 24px 26px; border: 1px solid var(--line); }
.aside-tip strong { display: block; font-size: 16px; color: var(--ink); }
.aside-tip ul { margin-top: 12px; display: grid; gap: 8px; font-size: 14px; color: var(--text); }
.aside-tip li { position: relative; padding-left: 18px; }
.aside-tip li::before { content: ''; position: absolute; left: 0; top: .75em; width: 8px; height: 2px; background: var(--accent-dark); }

.faq-center { max-width: 900px; margin: 0 auto; }

@media (max-width: 1100px) {
  .wz-wrap { grid-template-columns: 1fr; }
  .wz-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .channel-grid { grid-template-columns: 1fr; }
  .channel { padding: 22px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .channel:last-child { border-bottom: 0; }
  .wz-aside { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { gap: 8px; }
  .field-row.two { grid-template-columns: 1fr; gap: 0; }
  .field-row.two > .field + .field { margin-top: 20px; }
  .field-row.two > .wz-group + .wz-group { margin-top: 36px; }
  .input-unit .input { padding: 0 34px 0 12px; }
  .input-unit i { right: 10px; font-size: 13px; }
  .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .choice-card .box { padding: 16px 14px; }
  .choice-card .box svg { width: 30px; height: 30px; }
  .choice-card strong { font-size: 15px; }
  .chip span { height: 40px; padding: 0 14px; font-size: 14px; }
  .wz-step .t { font-size: 14px; }
  .wz-nav .btn { min-width: 0; flex: 1; }
  .wz-nav .spacer { display: none; }
  .wz-summary dl { grid-template-columns: 72px minmax(0, 1fr); }
}

/* ---------- 준비 중 페이지 ---------- */
.sub-visual.is-soon { min-height: 100vh; min-height: 100svh; align-items: center; }
.sub-visual.is-soon .container { padding-bottom: 80px; }
.soon-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 40px;
  font-size: 14px; font-weight: 600;
}
.soon-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
.soon-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) {
  .soon-actions .btn { flex: 1 1 100%; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1100px) {
  .gnb, .header-tel { display: none; }
  .menu-toggle { display: grid; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-item .info { padding: 18px 16px; }
  .process-item .step-no { font-size: 34px; }
  .process-item h3 { font-size: 18px; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .header-actions .btn { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .trio-grid { grid-template-columns: 1fr; }
  .faq-wrap, .quick-grid { grid-template-columns: 1fr; }
  /* 공정 카드: 옆으로 밀어서 보기 */
  .process-list {
    display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .process-list::-webkit-scrollbar { display: none; }
  .process-item { flex: 0 0 64%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .hero-step { padding: 16px 6px 20px 0; }
  .hero-step .label { font-size: 13px; }
  .hero-step .num { font-size: 11px; }
}
@media (max-width: 560px) {
  .qform { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-step .label { font-size: 12px; letter-spacing: -0.03em; }
  .process-item { flex-basis: 76%; }
  .process-item .step-no { font-size: 32px; }
  .process-item h3 { font-size: 17px; }
  .works-grid { gap: 12px; }
  .float-btns { right: 14px; bottom: 16px; }
  .float-btn { width: 50px; height: 50px; }
  .qform-actions, .qform-actions .btn { width: 100%; }
}
