/* (주)크린버텍 공통 스타일 */
:root {
  --orange: #e8890c;
  --orange-dark: #c46f00;
  --navy: #1f3a68;
  --navy-dark: #152847;
  --ink: #1f2a44;
  --muted: #5b6577;
  --line: #e3e6ec;
  --beige: #f7f2ea;
  --bg: #ffffff;
  --radius: 14px;
  --wrap: 1200px;
  --shadow: 0 6px 24px rgba(21, 40, 71, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; color: var(--navy-dark); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 100; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 2px solid transparent; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 40px; width: auto; }
.logo img[src*="logo-header"] { height: 56px; }
@media (max-width: 480px) { .logo img[src*="logo-header"] { height: 46px; } }
.gnb { display: flex; align-items: center; gap: 28px; }
.gnb > ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.gnb > ul a { font-weight: 600; font-size: 16px; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.gnb > ul a:hover, .gnb > ul a[aria-current="page"] { color: var(--orange-dark); border-color: var(--orange); }
.gnb .btn { padding: 10px 20px; font-size: 15px; }
.lang-switch { font-size: 13px; color: var(--muted); white-space: nowrap; margin-left: -10px; }
.lang-switch a { color: var(--muted); font-weight: 600; }
.lang-switch a:hover { color: var(--orange-dark); }
.lang-nav { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 15px; }
.lang-nav .btn { padding: 10px 18px; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 28px; color: var(--navy); cursor: pointer; }

/* 첫 화면 */
.hero {
  position: relative; color: #fff; min-height: 560px; display: flex; align-items: center;
  background: var(--navy-dark) center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,30,55,.86) 0%, rgba(15,30,55,.55) 55%, rgba(15,30,55,.15) 100%); }
.hero .wrap { position: relative; width: 100%; }
.hero-eyebrow { display: inline-block; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.02em; max-width: 800px; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; opacity: .92; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 신뢰 띠 */
.trust { background: var(--navy); color: #fff; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 22px 0; gap: 12px; }
.trust li { text-align: center; font-size: 15px; line-height: 1.45; border-left: 1px solid rgba(255,255,255,.18); padding: 0 10px; }
.trust li:first-child { border-left: 0; }
.trust strong { display: block; font-size: 20px; color: #ffc46b; }

/* 구역 */
.section { padding: 88px 0; }
.section.alt { background: var(--beige); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--orange-dark); font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.section-head p { color: var(--muted); }

/* 제품 카드 */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb.ph { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.card-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 18px; margin-bottom: 4px; }
.card p { font-size: 15px; color: var(--muted); margin-bottom: 12px; flex: 1; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--orange-dark); background: #fff3e2; padding: 2px 10px; border-radius: 999px; align-self: flex-start; }

/* 제작 절차 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px 18px; text-align: center; box-shadow: var(--shadow); position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 20px;
}
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* 제작 과정 (탭 + 자세히) */
.process-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; margin: 0 0 18px; padding: 0; position: relative; }
.process-tabs button { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px 16px; background: #fff; border: 2px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow); cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, transform .2s; }
.process-tabs button:hover { transform: translateY(-2px); }
.process-tabs .num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fff3e2; color: var(--orange-dark); font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.process-tabs b { font-size: 17px; }
.process-tabs small { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.process-tabs button[aria-selected="true"] { border-color: var(--orange); }
.process-tabs button[aria-selected="true"] .num { background: var(--orange); color: #fff; }
.process-panel { display: grid; grid-template-columns: 1fr 1.25fr; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.process-panel[hidden] { display: none; }
.process-panel > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.process-body { padding: 30px 34px; }
.process-step { font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--orange-dark); }
.process-body h3 { font-size: 23px; line-height: 1.4; margin: 6px 0 10px; }
.process-body > p { color: var(--muted); margin: 0 0 14px; }
.process-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 8px; }
.process-cols h4 { font-size: 15px; margin: 0 0 6px; color: var(--navy); }
.process-cols ul { margin: 0; padding-left: 18px; font-size: 15px; }
.process-cols li { margin: 3px 0; }
.process-note { font-size: 14px; color: var(--muted); background: var(--beige); border-radius: 8px; padding: 8px 12px; margin: 10px 0 0; }
.process-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (max-width: 900px) {
  .process-panel { grid-template-columns: 1fr; }
  .process-panel > img { min-height: 0; aspect-ratio: 16 / 9; }
  .process-body { padding: 22px 20px; }
}
@media (max-width: 640px) {
  .process-tabs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .process-tabs button { padding: 10px 2px; }
  .process-tabs .num { width: 32px; height: 32px; font-size: 15px; }
  .process-tabs b { font-size: 14px; }
  .process-tabs small { display: none; }
  .process-cols { grid-template-columns: 1fr; gap: 12px; }
  .process-body h3 { font-size: 19px; }
}

/* 주문 절차 페이지: 요약 단계(누르면 이동) + 단계별 자세한 설명 */
.steps-link li { padding: 0; }
.steps-link a { display: block; padding: 26px 18px; border-radius: var(--radius); border: 2px solid transparent; transition: border-color .2s; }
.steps-link a:hover { border-color: var(--orange); }
.steps-link li::before { margin-top: 22px; margin-bottom: -10px; }
.flow { display: grid; gap: 24px; margin-top: 40px; }
.flow .process-panel { scroll-margin-top: 90px; }
.steps-more { text-align: center; margin: 22px 0 0; font-weight: 700; }
.steps-more a { color: var(--orange-dark); }

/* 첫 화면: 실제 공장 공정 */
.make-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.make-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.make-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.make-body { padding: 16px 20px 20px; }
.make-num { font-size: 13px; font-weight: 800; color: var(--orange-dark); letter-spacing: .04em; }
.make-body h3 { font-size: 19px; margin: 2px 0 6px; }
.make-body p { font-size: 15px; color: var(--muted); margin: 0; }
.order-strip { margin-top: 36px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border-left: 5px solid var(--orange); }
.order-strip h3 { font-size: 19px; margin: 0 0 6px; }
.order-strip p { font-size: 14.5px; color: var(--muted); margin: 6px 0 0; }
.order-mini { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-weight: 700; color: var(--navy); }
.order-mini li + li::before { content: "→"; color: var(--orange); margin: 0 8px; }
.order-strip-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* 중국어는 띄어쓰기가 없어 keep-all이면 줄바꿈이 안 됨 */
body:lang(zh) { word-break: normal; line-break: strict; }

/* 영어·중국어 페이지: 세로 단계 목록 */
.steps.steps-en { grid-template-columns: 1fr; gap: 10px; }
.steps.steps-en li { display: grid; grid-template-columns: 44px 120px 1fr; align-items: center; gap: 12px; padding: 12px 16px; text-align: left; }
.steps.steps-en li::before { margin: 0; width: 36px; height: 36px; font-size: 16px; }
.steps.steps-en h3 { margin: 0; font-size: 16px; }
@media (max-width: 560px) { .steps.steps-en li { grid-template-columns: 40px 1fr; } .steps.steps-en li p { grid-column: 2; } }

/* 수상 페이지 사진 */
.award-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 24px; }
.award-photos img { width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 640px) { .award-photos { grid-template-columns: 1fr; } }

/* 유통 네트워크 페이지 */
.net-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.net-grid a { display: flex; flex-direction: column; gap: 2px; height: 100%; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.net-grid a:hover { border-color: var(--orange); transform: translateY(-2px); }
.net-grid b { font-size: 18px; color: var(--navy-dark); }
.net-grid small { font-size: 14px; color: var(--muted); line-height: 1.45; }
.net-num { font-size: 13px; font-weight: 800; color: var(--orange-dark); letter-spacing: .04em; }
.net-line { max-width: 860px; margin: 0 auto; padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.net-line:first-child { border-top: 0; padding-top: 0; }
.net-line h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 2px 0 12px; }
.net-line h3 { font-size: 18px; margin: 18px 0 6px; }
.net-line p { color: #3b4458; }
.net-links { font-size: 15px; font-weight: 600; color: var(--muted) !important; margin: 0; }
.net-links a { color: var(--orange-dark); }
.net-promise { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.home-net { text-align: center; margin: 28px 0 0; font-size: 16px; color: var(--muted); }
.home-net a { color: var(--orange-dark); font-weight: 700; }
@media (max-width: 900px) { .net-grid { grid-template-columns: repeat(2, 1fr); } .net-promise { grid-template-columns: 1fr; } }

/* 공장 현장 영상 (소리 없는 반복 재생) */
.clip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.clip-grid figure { margin: 0; }
.clip-grid video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: #000; display: block; }
.clip-grid figcaption { text-align: center; font-weight: 700; font-size: 15px; margin-top: 6px; color: var(--navy-dark); }
@media (max-width: 640px) { .clip-grid { grid-template-columns: repeat(2, 1fr); } }

/* 공장 페이지 */
.fac-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.fac-hero img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.fac-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 20px 0 0; padding: 0; }
.fac-facts li { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; text-align: center; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.fac-facts strong { display: block; font-size: 22px; color: var(--orange-dark); }
.fac-step { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); }
.fac-step:nth-of-type(even) .fac-text { order: 2; }
.fac-text h3 { font-size: 23px; margin: 2px 0 10px; }
.fac-text p { color: var(--muted); }
.fac-text ul { margin: 0 0 12px; padding-left: 20px; font-size: 15.5px; }
.fac-link { margin: 0; font-weight: 700; }
.fac-link a { color: var(--orange-dark); }
.fac-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fac-photos.one { grid-template-columns: 1fr; }
.fac-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
@media (max-width: 900px) {
  .fac-hero { grid-template-columns: 1fr; }
  .fac-facts { grid-template-columns: repeat(2, 1fr); }
  .fac-step { grid-template-columns: 1fr; gap: 16px; }
  .fac-step:nth-of-type(even) .fac-text { order: 0; }
}
@media (max-width: 900px) { .make-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .make-grid { grid-template-columns: 1fr; }
  .order-strip { padding: 20px; }
  .order-strip-actions .btn { width: 100%; }
}

/* 활용 분야 */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.industry {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; transition: border-color .2s;
}
.industry:hover { border-color: var(--orange); }
.industry .ico { flex: 0 0 48px; height: 48px; border-radius: 12px; background: #fff3e2; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.industry h3 { font-size: 17px; margin-bottom: 2px; }
.industry p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* 사례 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.case img { width: 100%; height: 100%; object-fit: cover; }
.case figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-size: 15px; background: linear-gradient(transparent, rgba(10,20,40,.8)); }
.case figcaption strong { display: block; font-size: 17px; }
.case-list { display: grid; gap: 28px; }
.case-item { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; background: #fff; border: 1px solid var(--line, #e3e7ee); border-radius: var(--radius); padding: 22px; }
.case-item:nth-child(even) .case-photos { order: 2; }
.case-photos .main { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.case-photos .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.case-photos .thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.case-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary, #0d3387); background: #eef2fb; border-radius: 999px; padding: 3px 12px; }
.case-text h2 { font-size: 22px; margin: 10px 0 8px; line-height: 1.35; }
.case-client { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.case-client b { color: var(--ink, #1d2433); margin-right: 6px; }
.case-points { margin: 12px 0 14px; padding-left: 18px; }
.case-points li { margin: 3px 0; }
.case-link { font-weight: 700; }
@media (max-width: 760px) { .case-item { grid-template-columns: 1fr; padding: 16px; gap: 16px; } .case-item:nth-child(even) .case-photos { order: 0; } .case-text h2 { font-size: 19px; } }
.note { font-size: 14px; color: var(--muted); text-align: center; margin-top: 18px; }

/* 영상 */
.video-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
button.video { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.video .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; padding-left: 5px;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.check { list-style: none; padding: 0; margin: 0 0 24px; }
.check li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }

/* 가이드·기사 목록 */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post .cat { font-size: 13px; font-weight: 700; color: var(--orange-dark); margin-bottom: 6px; }
.post h3 { font-size: 18px; }
.post p { font-size: 15px; color: var(--muted); flex: 1; }
.post .more { font-weight: 700; color: var(--navy); font-size: 15px; }
.press-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--navy); }
.press-list li { display: flex; gap: 20px; align-items: baseline; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.press-list time { flex: 0 0 100px; color: var(--muted); font-size: 15px; }
.press-list a:hover { color: var(--orange-dark); text-decoration: underline; }
.press-list .src { margin-left: auto; font-size: 14px; color: var(--muted); white-space: nowrap; }

/* 문의 띠 */
.cta { background: linear-gradient(120deg, var(--navy-dark), var(--navy)); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); }
.cta p { opacity: .85; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .tel { font-size: 28px; font-weight: 800; color: #ffc46b; display: block; margin-top: 6px; }

/* 하단 */
.site-footer { background: #0f1c33; color: #b8c1d1; font-size: 14.5px; padding: 48px 0 100px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer a:hover { color: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px; font-size: 13px; }

/* 모바일 하단 고정 바 */
.mobile-bar { display: none; }

/* 카카오톡 상담 버튼 (PC: 오른쪽 아래 떠 있는 버튼) */
.kakao-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 6px;
  background: #FEE500; color: #191919; font-weight: 800; font-size: 15px; padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.kakao-float:hover { background: #f5d900; }
.kakao-float span { font-size: 18px; line-height: 1; }
.btn-kakao { background: #FEE500; color: #191919; border: 1px solid #FEE500; }
.btn-kakao:hover { background: #f5d900; }

/* 하위 페이지 머리 */
.page-head { background: var(--beige); padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--orange-dark); }
.breadcrumb span { margin: 0 6px; }

/* 제품 상세 */
.product-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--beige); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: var(--beige); }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--orange); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; }
.product-info .lead { font-size: 18px; color: var(--muted); }
.key-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; }
.key-facts li { background: var(--beige); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.key-facts strong { display: block; color: var(--navy); font-size: 13px; }
.product-info .hero-actions .btn-line { border-color: var(--navy); }

.content-section { padding: 64px 0; border-top: 1px solid var(--line); }
.content-section h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin-bottom: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .num { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.feature-list h3 { font-size: 17px; margin: 4px 0 2px; }
.feature-list p { font-size: 15px; color: var(--muted); margin: 0; }
.use-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.use-list li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; background: #fff; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec-table th, .spec-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 30%; background: var(--beige); color: var(--navy); font-weight: 700; }
.spec-table thead th { width: auto; background: var(--navy); color: #fff; }
.tbd { color: var(--orange-dark); font-weight: 600; }

.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }

/* 견적 상자 */
.quote-box { background: var(--navy); color: #fff; border-radius: 20px; padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.quote-box h2 { color: #fff; margin-bottom: 6px; }
.quote-box p { opacity: .85; margin: 0; }
.quote-box .btns { display: flex; flex-direction: column; gap: 10px; }

/* 견적 문의 양식 */
.quote-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; margin: 0 0 18px; }
.quote-form legend { font-weight: 800; color: var(--navy); padding: 0 8px; font-size: 18px; }
.quote-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.quote-form input, .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #cfd5df; border-radius: 10px;
  font: inherit; font-weight: 400; background: #fff; color: var(--ink);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.quote-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form .agree { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.quote-form .agree input { width: auto; margin: 0; }
.quote-form .req { color: #d14; }
.quote-form .hp { position: absolute; left: -9999px; }

/* 본문 글 (가이드·회사 소개) */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 24px; margin: 40px 0 14px; }
.article h3 { font-size: 19px; margin: 28px 0 10px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article .summary { background: var(--beige); border-left: 4px solid var(--orange); border-radius: 10px; padding: 18px 20px; margin: 0 0 28px; }
.article .summary p:last-child { margin: 0; }
.article table { margin: 10px 0 20px; }
.article .video { margin: 20px 0; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--orange); }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); }
.timeline strong { color: var(--navy); margin-right: 8px; }

/* 반응형 */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .industry-grid, .post-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .video-wrap, .product-top, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .gnb { position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .gnb.open { display: flex; }
  .gnb > ul { flex-direction: column; gap: 0; }
  .gnb > ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .gnb .btn { margin-top: 16px; }
  .lang-switch { margin: 14px 0 0; text-align: center; font-size: 15px; }
  .trust ul { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .trust li:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .quote-box { grid-template-columns: 1fr; padding: 28px; }
  .two-col[style] { grid-template-columns: 1fr !important; }
  .quote-form .row2 { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--navy-dark); box-shadow: 0 -4px 16px rgba(0,0,0,.15);
  }
  .mobile-bar a { color: #fff; text-align: center; padding: 12px 0 14px; font-size: 14px; font-weight: 700; }
  .mobile-bar a:nth-child(2) { background: var(--orange); }
  .mobile-bar a.kakao { background: #FEE500; color: #191919; }
  .kakao-float { display: none; }
  .mobile-bar span { display: block; font-size: 20px; line-height: 1.2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { min-height: 480px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card h3 { font-size: 16px; }
  .card p { font-size: 13.5px; }
  .steps, .industry-grid, .post-grid, .case-grid { grid-template-columns: 1fr; }
  .press-list li { flex-wrap: wrap; gap: 4px 12px; }
  .press-list time { flex-basis: auto; }
  .press-list .src { margin-left: 0; }
  .key-facts { grid-template-columns: 1fr 1fr; }
  .spec-table th { width: 38%; }
  .spec-table th, .spec-table td { padding: 12px 10px; font-size: 15px; }
}

/* 업종 페이지 제작 예시 */
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.ex-grid figure { margin: 0; }
.ex-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
.ex-grid figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .ex-grid { grid-template-columns: 1fr; } }
