@charset "utf-8";
/* 구조 전용. 색·서체·질감은 theme-*.css 가 토큰으로 결정한다. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; font-weight: var(--w-title); letter-spacing: var(--ls-title); }
p, ul, ol, dl, table { margin: 0 0 1em; }
ul { padding-left: 1.1em; }
table { border-collapse: collapse; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100;
  padding: 10px 16px; background: var(--accent); color: #fff; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--head-bg); border-bottom: 1px solid var(--head-line); }
.head-inner { display: flex; align-items: center; gap: 24px; min-height: var(--head-h); }
.brand { display: flex; flex-direction: column; line-height: 1.2; color: var(--head-ink); text-decoration: none; flex: none; }
.brand strong { font-size: 19px; font-weight: var(--w-title); letter-spacing: var(--ls-title); }
.brand span { font-size: 11px; opacity: .6; letter-spacing: .06em; }

.gnb { margin-left: auto; }
.gnb > ul { display: flex; gap: var(--nav-gap); margin: 0; padding: 0; list-style: none; }
.gnb > ul > li { position: relative; }
/*
 * 좌우 여백과 글자 크기가 **화면 폭을 따라 줄어든다.**
 * 한글 대분류가 7개(회사소개·샌딩기·쇼트기·소모품·연마재·표면처리 임가공·자료실)라
 * 고정 크기로 두면 1100~1250px 구간에서 줄이 넘쳐 「연마재 / · / 투사재」처럼 세 줄로
 * 접히고, 밀려난 언어 전환 단추가 화면 밖으로 잘려 나간다.
 * 최소값(12.5px)에 닿기 전에 햄버거로 넘어가므로 이보다 더 작아지지는 않는다.
 */
.gnb > ul > li > a { display: block; padding: calc((var(--head-h) - 22px) / 2) clamp(8px, 1.1vw, 14px);
  font-weight: 600; white-space: nowrap;
  color: var(--head-ink); text-decoration: none; font-size: clamp(12.5px, 1.15vw, var(--fs-nav)); }
.gnb > ul > li.on > a, .gnb > ul > li:hover > a { color: var(--accent); }

.gnb .sub { position: absolute; left: 0; top: 100%; min-width: 224px; margin: 0; padding: 8px 0; list-style: none;
  background: var(--sub-bg); border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.gnb li:hover > .sub, .gnb li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.gnb .sub a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 16px; color: var(--ink); font-size: 14.5px; text-decoration: none; }
.gnb .sub a:hover { background: var(--bg-soft); color: var(--accent); }
.gnb .sub i { font-style: normal; opacity: .45; font-size: 12px; }
/* 외부 사이트로 나가는 링크 표시 */
.ext { margin-left: 4px; font-size: .8em; opacity: .65; vertical-align: 1px; }

.head-tel { margin: 0; flex: none; font-size: 14px; text-align: right; line-height: 1.3; color: var(--head-ink); }
.head-tel span { display: block; font-size: 11px; opacity: .6; }
.head-tel a { font-weight: 700; font-size: 17px; color: var(--head-ink); }
/* 언어 전환 — 머리말 오른쪽 끝. 지금 보는 말이 아니라 **갈 곳의 말**을 적는다
   (한국어 화면에는 "English", 영문 화면에는 "한국어"). 그래야 누를 이유가 분명하다. */
.langsw { flex: none; margin-left: 14px; padding: 6px 13px; font-size: 13px; font-weight: 700;
  color: var(--head-ink); border: 1px solid var(--head-line); border-radius: var(--radius);
  text-decoration: none; white-space: nowrap; transition: border-color .16s, color .16s; }
.langsw:hover, .langsw:focus-visible { border-color: var(--accent); color: var(--accent); text-decoration: none; }
/* 같은 단추가 햄버거 메뉴 안에도 하나 있다. 좁은 화면에서만 나온다 — 아래 1100px 규칙 참조. */
.gnb__lang { display: none; }
/*
 * 영문에서는 **넓은 화면 머리말에 전화번호를 두지 않는다** (2026-08-04 Louis).
 * 영문 메뉴가 한글보다 길어 자리가 빠듯하고, 번호는 꼬리말·문의 단추에 그대로 있다.
 * 좁은 화면에서는 남긴다 — 거기서는 눌러서 바로 거는 값이라 쓸모가 다르다.
 * (좁은 화면 규칙은 1100px 분기 안에 있고, 이 규칙은 그 위에서만 걸린다.)
 */
@media (min-width: 1101px) {
  html[lang="en"] .head-tel { display: none; }
}

.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 12px 26px; border-radius: var(--radius);
  background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; border: 1px solid var(--accent); }
.btn:hover, .btn:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: #fff; }

/* ---------- 영상 히어로 ---------- */
.vhero { position: relative; overflow: hidden; height: var(--vhero-h); background: #06090c; }
.vhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease; }
.vhero__video.is-ready { opacity: 1; }
.vhero__scrim { position: absolute; inset: 0; background: var(--vhero-veil); }
.vhero__caption { position: relative; z-index: 2; display: flex; align-items: center; height: 100%; color: #fff; }
.vhero__eyebrow { margin: 0 0 16px; font-size: 12px; letter-spacing: .28em; font-weight: 700; color: var(--accent-light); }
.vhero__title { font-size: var(--fs-hero); line-height: 1.22; margin: 0 0 .45em; color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.vhero__desc { max-width: 56ch; margin: 0 0 32px; font-size: 17px; color: rgba(255,255,255,.88);
  text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.vhero__act { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }

.vhero__scroll { position: absolute; left: 50%; bottom: 26px; z-index: 3; width: 26px; height: 44px;
  margin-left: -13px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; }
.vhero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px;
  background: #fff; border-radius: 2px; animation: scrollCue 1.8s infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.hero-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- 섹션 공통 ---------- */
.section { padding: var(--sec-pad); }
.section--wash { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 0 46px; }
.eyebrow { margin: 0 0 10px; font-size: 12px; letter-spacing: .22em; font-weight: 700; color: var(--accent); }
.section-head h2 { font-size: var(--fs-h2); margin: 0 0 .4em; }
.section-desc { margin: 0; opacity: .72; }
.lead { max-width: 74ch; font-size: 17px; opacity: .84; }
.link-more { display: inline-block; margin-top: 8px; font-weight: 600; }
.link-more::after { content: " →"; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; margin: 40px 0 26px; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.stats li { padding: 26px 20px; background: var(--bg); text-align: center; }
.stats strong { display: block; font-size: 38px; line-height: 1; font-weight: 800; color: var(--accent); font-family: var(--font-model); }
.stats span { display: block; margin-top: 10px; font-size: 13.5px; opacity: .68; }

/* ---------- 제품군 모자이크 (구 메인 5분할 승계) ---------- */
.pmosaic { display: grid; gap: 14px; margin: 0 0 26px; padding: 0; list-style: none;
  grid-template-columns: 1.12fr .8fr 1.12fr;
  grid-template-rows: var(--pbox-h) var(--pbox-h); }
.pbox--sanding  { grid-column: 1; grid-row: 1; }
.pbox--shot     { grid-column: 1; grid-row: 2; }
.pbox--abrasive { grid-column: 2; grid-row: 1 / span 2; }
.pbox--toll     { grid-column: 3; grid-row: 1; }
.pbox--auto     { grid-column: 3; grid-row: 2; }

.pbox { position: relative; overflow: hidden; border-radius: var(--radius); background: #10151a; }
.pbox a { position: relative; display: block; width: 100%; height: 100%; color: #fff; text-decoration: none; }
.pbox__img { position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1); transition: transform .7s cubic-bezier(.16,.7,.3,1), filter .4s; }
.pbox__img::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,19,.28) 0%, rgba(10,14,19,.58) 62%, rgba(10,14,19,.82) 100%); }
.pbox a:hover .pbox__img { transform: scale(1.07); }
.pbox a::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; transition: border-color .25s; }
.pbox a:hover::after { border-color: var(--accent); }

.pbox__txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px 24px 22px; text-align: center; }
.pbox__txt strong { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.01em;
  text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.pbox__txt em { display: block; margin-top: 2px; font-style: normal; font-size: 13.5px; letter-spacing: .03em;
  color: rgba(255,255,255,.86); text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.pbox__txt i { display: inline-block; margin-top: 12px; padding: 3px 12px; font-style: normal; font-size: 11.5px;
  letter-spacing: .06em; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); }
.pbox a:hover .pbox__txt i { background: var(--accent); border-color: var(--accent); }

/* 세로 타일은 글자를 가운데로 */
.pbox--abrasive .pbox__txt { top: 50%; bottom: auto; transform: translateY(-50%); }
.pbox--abrasive .pbox__txt strong { font-size: 23px; }

.more--left { text-align: left; }

/* ---------- 풀블리드 배너 ---------- */
.banner { position: relative; padding: 96px 0; background-size: cover; background-position: center; color: #fff; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(12,17,22,.74); }
.banner__inner { position: relative; z-index: 1; max-width: 780px; }
.banner h2 { color: #fff; font-size: var(--fs-h2); }
.banner p { color: rgba(255,255,255,.84); }
.banner .eyebrow { color: var(--accent-light); }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- 서비스 + 영상 ---------- */
.svc { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.svc__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.svc__list a { display: flex; align-items: baseline; gap: 12px; padding: 20px 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; transition: padding-left .2s, color .2s; }
.svc__list a:hover { padding-left: 12px; color: var(--accent); }
.svc__list strong { font-size: 17px; font-weight: 600; }
.svc__list span { font-size: 12.5px; letter-spacing: .05em; opacity: .5; }
.svc__list a::after { content: "→"; margin-left: auto; opacity: .4; }
.svc__vdesc { margin: 14px 0 0; font-size: 14px; opacity: .7; }

/* ---------- 스크롤 등장 (구 사이트 animate.css 방향 어휘 승계) ---------- */
[data-anim] { opacity: 0; transition: opacity .85s cubic-bezier(.16,.7,.3,1), transform .85s cubic-bezier(.16,.7,.3,1); }
[data-anim="up"]    { transform: translateY(42px); }
[data-anim="down"]  { transform: translateY(-32px); }
[data-anim="left"]  { transform: translateX(-52px); }
[data-anim="right"] { transform: translateX(52px); }
[data-anim].is-in   { opacity: 1; transform: none; }

/* 자식이 순차로 올라온다 */
.pmosaic[data-anim] > li,
.gal[data-anim] > li,
.stats[data-anim] > li,
.clients[data-anim] > li { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.pmosaic[data-anim].is-in > li,
.gal[data-anim].is-in > li,
.stats[data-anim].is-in > li,
.clients[data-anim].is-in > li { opacity: 1; transform: none; }
.pmosaic.is-in > li:nth-child(1), .gal.is-in > li:nth-child(1), .stats.is-in > li:nth-child(1) { transition-delay: .05s; }
.pmosaic.is-in > li:nth-child(2), .gal.is-in > li:nth-child(2), .stats.is-in > li:nth-child(2) { transition-delay: .15s; }
.pmosaic.is-in > li:nth-child(3), .gal.is-in > li:nth-child(3), .stats.is-in > li:nth-child(3) { transition-delay: .25s; }
.pmosaic.is-in > li:nth-child(4), .gal.is-in > li:nth-child(4), .stats.is-in > li:nth-child(4) { transition-delay: .35s; }
.gal.is-in > li:nth-child(5) { transition-delay: .3s; }
.gal.is-in > li:nth-child(6) { transition-delay: .38s; }
.gal.is-in > li:nth-child(7) { transition-delay: .46s; }
.gal.is-in > li:nth-child(8) { transition-delay: .54s; }

/* ---------- 패럴랙스 ---------- */
.parallax { background-attachment: fixed; }
@supports (-webkit-touch-callout: none) { .parallax { background-attachment: scroll; } }

/* ---------- 라이트박스 ---------- */
.lb { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; background: rgba(6,9,12,.94); opacity: 0; visibility: hidden; transition: opacity .28s, visibility .28s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb img { max-width: 100%; max-height: 82vh; box-shadow: 0 24px 70px rgba(0,0,0,.6); }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; color: #dfe5eb; font-size: 15px; }
.lb__close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; opacity: .75; }
.lb__close:hover { opacity: 1; }

/* ---------- 거래처 흐름 ---------- */
.marquee { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  [data-anim], .pmosaic > li, .gal > li, .stats > li, .clients > li { opacity: 1 !important; transform: none !important; transition: none; }
  .vhero__scroll span { animation: none; }
  .parallax { background-attachment: scroll; }
}

.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.gal li { position: relative; overflow: hidden; border-radius: var(--radius); background: #000; }
.gal a { display: block; color: inherit; text-decoration: none; }
.gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; opacity: .92; transition: transform .4s, opacity .3s; }
.gal li:hover img { transform: scale(1.05); opacity: 1; }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.gal figcaption span { display: block; font-weight: 400; font-size: 12px; opacity: .8; }

.video, .loca-map { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; }
.video iframe, .loca-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.loca { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.loca-map { padding-top: 42%; }
.loca-lead { font-weight: 600; }
.loca ul { list-style: none; padding: 0; }
.loca li { padding: 9px 0; border-bottom: 1px dashed var(--line); }

.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin: 0 0 30px; padding: 0; list-style: none; }
.clients li { display: flex; align-items: center; justify-content: center; padding: 18px; background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); }
.clients img { max-height: 46px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.clients li:hover img { filter: none; opacity: 1; }
.more { text-align: center; margin: 0; }

/* ================= 서브페이지 공통 부품 ================= */

/* ---------- 배경형 페이지 머리 ---------- */
.ptop { position: relative; padding: var(--ptop-pad); background: var(--phead-bg); color: var(--phead-ink);
  background-size: cover; background-position: center; }
.ptop--img::before { content: ""; position: absolute; inset: 0; background: var(--ptop-veil); }
.ptop__inner { position: relative; z-index: 1; }
.ptop__eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: .22em; font-weight: 700; color: var(--accent-light); }
.ptop--img .ptop__eyebrow { color: var(--accent-light); }
.ptop__title { margin: 0 0 14px; font-size: var(--fs-h1); }
.ptop--img .ptop__title, .ptop--img .crumb { color: #fff; }
.ptop--img .crumb { opacity: .78; }
.crumb__mid { opacity: .8; }

/* ---------- LNB (하위 메뉴 스위처) ----------
   좁은 화면 = 접이식(details) / 넓은 화면 = 줄바꿈 나열.
   가로 스크롤을 쓰지 않는다 — 끝쪽 항목이 없는 것처럼 보이기 때문. */
.lnb { position: sticky; top: var(--head-h); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.lnb__box { position: relative; }

.lnb__now { display: flex; align-items: center; gap: 10px; padding: 15px 2px; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--ink); list-style: none; }
.lnb__now::-webkit-details-marker { display: none; }
.lnb__now_c { padding: 1px 8px; font-size: 11.5px; font-weight: 600; font-family: var(--font-model);
  background: var(--bg-soft); border: 1px solid var(--line); opacity: .72; }
.lnb__caret { width: 9px; height: 9px; margin-left: auto; opacity: .5;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.lnb__box[open] .lnb__caret { transform: rotate(-135deg) translate(-1px, -1px); }

.lnb__list { display: flex; flex-direction: column; margin: 0; padding: 0 0 10px; list-style: none; }
.lnb__list a { display: flex; align-items: center; gap: 8px; padding: 12px 2px; font-size: 14.5px;
  color: var(--ink); opacity: .66; text-decoration: none; border-top: 1px solid var(--line); }
.lnb__list a:hover { opacity: 1; text-decoration: none; }
.lnb__list a.is-current { opacity: 1; font-weight: 700; color: var(--accent); }
.lnb__list i { font-style: normal; font-size: 11.5px; font-family: var(--font-model); opacity: .45; }

@media (min-width: 900px) {
  .lnb__now { display: none; }
  /* 닫힌 상태여도 넓은 화면에서는 목록을 보여준다 (JS 가 open 을 붙이면 이 규칙은 놀고 있는다) */
  .lnb__box:not([open]) > .lnb__list { display: flex; }
  .lnb__list { flex-direction: row; flex-wrap: wrap; gap: 0 2px; padding: 0; }
  .lnb__list a { padding: 15px 15px; border-top: 0; border-bottom: 2px solid transparent;
    transition: opacity .18s, border-color .18s, color .18s; }
  .lnb__list a.is-current { border-bottom-color: var(--accent); }
}

/* ---------- 나열식 스위처 (.lnb--row) ----------
   항목이 적은 묶음(회사소개 4개)은 접지 않고 한 줄로 펼친다.
   접이식은 16개짜리 샌딩기를 담으려고 만든 장치라, 4개에 쓰면 가릴 것도 없이 손만 더 간다.

   좁은 화면 = 넷이 폭을 고르게 나눠 갖는 분할 막대(세로 구분선으로 한 덩어리로 읽힌다).
   넓은 화면 = 가운데로 모이고 글자 사이가 넉넉해진다.
   모서리를 굴리지 않는 것은 테마 B(인더스트리얼)의 규칙을 따른 것이다. */
.lnb--row .lnbrow { display: flex; margin: 0; padding: 0; list-style: none; }
.lnb--row .lnbrow li { flex: 1 1 0; min-width: 0; display: flex; }
.lnb--row .lnbrow li + li { border-left: 1px solid var(--line); }
.lnb--row .lnbrow a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 16px 6px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-align: center;
  color: var(--ink); opacity: .55; text-decoration: none; border-bottom: 2px solid transparent;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity .18s, color .18s, border-color .18s, background-color .18s; }
.lnb--row .lnbrow a:hover { opacity: 1; text-decoration: none; background: var(--bg-soft); }
.lnb--row .lnbrow a:focus-visible { opacity: 1; }
/* 현재 위치는 색·굵기·밑줄·바탕 네 가지로 표시한다 — 색 하나에만 기대지 않는다 */
.lnb--row .lnbrow a.is-current { opacity: 1; color: var(--accent); font-weight: 800;
  border-bottom-color: var(--accent); background: var(--bg-soft); }

@media (min-width: 900px) {
  .lnb--row .lnbrow { justify-content: center; }
  .lnb--row .lnbrow li { flex: 0 0 auto; }
  .lnb--row .lnbrow a { padding: 17px 34px; font-size: 15.5px; }
}
@media (max-width: 420px) {
  /* 「오시는 길」이 잘리지 않을 만큼만 줄인다 */
  .lnb--row .lnbrow a { padding: 15px 3px; font-size: 13.5px; }
}

/* ---------- 사진 + 글 2단 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split__figure { margin: 0; }
.split__figure img { width: 100%; border-radius: var(--radius); }
.split__figure figcaption { margin-top: 10px; font-size: 13px; opacity: .6; }
.split .prose { max-width: var(--wrap-text); }
.split .prose h2 { font-size: var(--fs-h2); margin-bottom: .6em; }
.split .prose p { margin: 0 0 1.1em; }

/* ---------- 번호 카드 ---------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.vcard { padding: 30px 28px 32px; background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 3px solid var(--accent); }
.vcard__no { display: block; font-family: var(--font-model); font-size: 13px; letter-spacing: .1em; color: var(--accent); }
.vcard__title { margin: 12px 0 10px; font-size: 18px; }
.vcard__desc { margin: 0; font-size: 14.5px; opacity: .76; }

/* ---------- 연혁 타임라인 ---------- */
.tl { margin: 0; padding: 0; list-style: none; }
.tl__row { display: grid; grid-template-columns: 132px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
.tl__row:last-child { border-bottom: 1px solid var(--line); }
.tl__year { font-family: var(--font-model); font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--accent); }
.tl__items { margin: 0; padding: 0; list-style: none; }
.tl__items li { position: relative; padding-left: 18px; margin-bottom: 7px; font-size: 15px; }
.tl__items li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px;
  background: var(--accent); opacity: .55; }
.tl__items li:last-child { margin-bottom: 0; }

/* ---------- 사업장 ---------- */
.sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; margin: 0 0 22px;
  padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.sites li { display: flex; gap: 14px; padding: 20px 22px; background: var(--bg); }
.sites strong { flex: none; width: 92px; font-size: 14px; color: var(--accent); }
.sites span { font-size: 14.5px; opacity: .8; }

/* ---------- 정보 표 ---------- */
.info { margin: 0; border-top: 1px solid var(--line); }
.info__row { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.info__label { margin: 0; font-weight: 600; font-size: 14.5px; opacity: .62; }
.info__value { margin: 0; font-size: 15.5px; }

/* ---------- 마무리 유도 ---------- */
.cta { padding: 76px 0; background: var(--cta-bg); color: #fff; text-align: center; }
.cta__title { margin: 0 0 10px; font-size: var(--fs-h2); color: #fff; }
.cta__desc { margin: 0 0 26px; color: rgba(255,255,255,.78); }
.cta__row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 0; }

.section--tight { padding: 44px 0; }

/* ---------- 서명 ---------- */
.sign { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.sign strong { font-weight: 700; }
.sign b { font-size: 17px; letter-spacing: .06em; }

/* ---------- 인용 (경영 이념) ---------- */
.quote { position: relative; margin: 0 0 28px; padding: 34px 34px 34px 62px;
  background: var(--card-bg); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.quote::before { content: "\201C"; position: absolute; left: 22px; top: 16px;
  font-size: 54px; line-height: 1; color: var(--accent); opacity: .35; }
.quote p { margin: 0 0 1em; font-size: 16.5px; }
.quote p:last-child { margin-bottom: 0; }

/* ---------- 태그 ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 6px 14px; font-size: 13px; background: var(--bg); border: 1px solid var(--line); }
.tags--lg li { padding: 11px 20px; font-size: 15px; font-weight: 600; }
.tags--lg li:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 설명 목록 (설비 등) ---------- */
.deflist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.deflist li { padding: 18px 2px; border-bottom: 1px solid var(--line); }
.deflist strong { display: block; font-size: 17px; margin-bottom: 4px; }
.deflist strong::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px;
  vertical-align: 2px; background: var(--accent); }
.deflist span { font-size: 14.5px; opacity: .74; }

/* ---------- 가로 띠 사진 (리플렛 사례 모음) ---------- */
.strips { margin: 0; padding: 0; list-style: none; }
.strips li { margin: 0 0 16px; }
.strips a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: border-color .2s, box-shadow .2s; }
.strips a:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.strips img { display: block; width: 100%; height: auto; }

/* ---------- 사진 그리드 ---------- */
.figgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
  margin: 0 0 22px; padding: 0; list-style: none; }
.figgrid li { margin: 0; }
.figgrid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); }
.figgrid figcaption { margin-top: 8px; font-size: 13.5px; opacity: .68; }

/* ---------- 인증서·특허 ----------
   원본이 216x302 뿐이라 확대하지 않는다. 원래 크기 부근에서 선명하게 보여준다. */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 20px;
  margin: 0; padding: 0; list-style: none; }
.cert { margin: 0; }
.cert__img { display: block; padding: 14px; background: var(--bg); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s; }
.cert:hover .cert__img { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.cert__img img { display: block; width: 100%; max-width: 216px; margin: 0 auto; }
.cert__cap { display: block; margin-top: 11px; font-size: 13.5px; font-weight: 600; text-align: center; line-height: 1.45; }
.certs--patent .cert__cap { font-family: var(--font-model); letter-spacing: .01em; }

/* ---------- 목록 도구 막대 (계열 칩 · 보기 전환) ---------- */
.plist__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; font-size: 13.5px; font-weight: 600;
  color: var(--ink); text-decoration: none; border: 1px solid var(--line); background: var(--bg);
  transition: border-color .18s, color .18s, background .18s; }
.chip i { font-style: normal; font-size: 11.5px; font-family: var(--font-model); opacity: .5; }
.chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.is-on i { opacity: .8; }

.views { display: flex; flex: none; border: 1px solid var(--line); }
.views a { padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink); opacity: .6; text-decoration: none; }
.views a + a { border-left: 1px solid var(--line); }
.views a:hover { opacity: 1; text-decoration: none; }
.views a.is-on { background: var(--ink); color: #fff; opacity: 1; }

/* ---------- 사양표 보기 ---------- */
.ptable { width: 100%; font-size: 14px; }
.ptable th, .ptable td { padding: 12px 14px; border: 1px solid var(--line); text-align: center; vertical-align: middle; }
.ptable thead th { background: var(--bg-soft); font-size: 13px; font-weight: 700; white-space: nowrap; }
.ptable__m { text-align: left !important; background: var(--bg); }
.ptable__m a { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.ptable__m img { width: 46px; height: 46px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none; }
.ptable__m b { font-family: var(--font-model); font-weight: 600; white-space: nowrap; }
.ptable__m b.is-ko { font-family: var(--font); font-weight: 700; letter-spacing: -.01em; }
.ptable__m a:hover b { color: var(--accent); }
.ptable__s { white-space: nowrap; font-size: 12.5px; opacity: .72; }
.ptable td { font-family: var(--font-model); font-size: 13px; white-space: nowrap; }
.dash { opacity: .3; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 6px; font-style: normal; font-size: 10.5px;
  background: var(--accent); color: #fff; letter-spacing: .04em; }

/* ---------- 제품 카드 (카탈로그 형식) ----------
   모바일 2열 → 태블릿 3열 → PC 4열.
   좁은 화면에서는 계열·모델명만 두고, 폭이 생기면 요약·사양이 따라 나온다. */
.pcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin: 0; padding: 0; list-style: none; }
.pcard { margin: 0; }
.pcard a { display: flex; flex-direction: column; height: 100%; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: var(--ink); text-decoration: none;
  transition: border-color .2s, box-shadow .25s, transform .25s; }
.pcard a:hover { border-color: var(--accent); box-shadow: var(--shadow-hover);
  transform: translateY(-3px); text-decoration: none; }

/* 제품 사진은 흰 배경 누끼이고 대부분 세로형이다. 정사각형 박스에 contain 이 맞다. */
.pcard__img { position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1/1; overflow: hidden; background: #fff; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 16px;
  transition: transform .45s cubic-bezier(.16,.7,.3,1); }
.pcard a:hover .pcard__img img { transform: scale(1.06); }
.pcard__noimg { font-size: 12.5px; opacity: .4; }

.pcard__body { display: block; padding: 15px 15px 18px; text-align: center; border-top: 1px solid var(--line); }
.pcard__type { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  line-height: 1.35; color: var(--accent); text-transform: uppercase; }
.pcard__model { display: block; margin-top: 5px; font-family: var(--font-model); font-size: 16px;
  font-weight: 600; letter-spacing: .02em; }
/* 한글 제품명은 고정폭 글꼴에서 자간이 벌어져 어색하다 — 본문 글꼴로 되돌린다. */
.pcard__model--ko { font-family: var(--font); font-weight: 700; letter-spacing: -.01em; }
.pcard__lead { display: none; margin-top: 9px; font-size: 12.5px; line-height: 1.6; opacity: .66; }
.pcard__spec { display: none; margin-top: 13px; padding-top: 11px; border-top: 1px dashed var(--line); }
.pcard__spec > span { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; line-height: 1.75; }
.pcard__spec i { font-style: normal; opacity: .55; white-space: nowrap; }
.pcard__spec b { font-weight: 500; font-family: var(--font-model); font-size: 12px; text-align: right; }

@media (min-width: 560px) {
  .pcards { gap: 18px; }
  .pcard__spec { display: block; }
}
@media (min-width: 760px) {
  .pcards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 1060px) {
  .pcards { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .pcard__body { padding: 18px 18px 22px; }
  .pcard__type { font-size: 12px; }
  .pcard__model { font-size: 17px; }
  .pcard__lead { display: block; }   /* 넓은 화면에서만 카탈로그 설명문을 보여준다 */
}

/* ---------- 거래처 로고 ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 1px;
  margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.logos li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px 12px; background: var(--bg); }
.logos img { max-width: 100%; height: auto; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos span { font-size: 12.5px; opacity: .62; text-align: center; }

/* ---------- 오시는 길 ---------- */
.loca2 { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.loca2__map { position: relative; padding-top: 74%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.loca2__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.muted { opacity: .6; }
.sm { font-size: 13px; }

.maplinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.maplink { display: inline-block; padding: 10px 16px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none;
  transition: border-color .18s, color .18s, background .18s; }
.maplink::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; vertical-align: 1px; }
.maplink--naver::before  { background: #03c75a; }
.maplink--kakao::before  { background: #fee500; }
.maplink--google::before { background: #4285f4; }
.maplink:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; background: var(--bg-soft); }

/* 접근 경로 카드 */
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px;
  margin: 0; padding: 0; list-style: none; }
.route { padding: 28px 26px 26px; background: var(--card-bg); border: 1px solid var(--line);
  border-radius: var(--radius); border-top: 3px solid var(--accent); }
.route__head strong { display: block; font-size: 19px; font-weight: 700; }
.route__head em { display: block; margin-top: 4px; font-style: normal; font-size: 13.5px; color: var(--accent); font-family: var(--font-model); }
.route__steps { margin: 18px 0 14px; padding-left: 1.2em; }
.route__steps li { margin-bottom: .45em; font-size: 14.5px; }
.route__steps b { font-weight: 700; }
.route__note { margin: 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; opacity: .68; }

/* 사업장 목록 */
.placelist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.placelist li { display: grid; grid-template-columns: 168px 1fr auto; gap: 20px; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--line); }
.placelist__name { font-weight: 700; font-size: 15px; }
.placelist__addr { font-size: 14.5px; opacity: .78; }
.placelist__act { display: flex; gap: 6px; }
.placelist__act a { padding: 5px 11px; font-size: 12.5px; border: 1px solid var(--line); color: var(--ink); opacity: .75; text-decoration: none; }
.placelist__act a:hover { border-color: var(--accent); color: var(--accent); opacity: 1; text-decoration: none; }
.placelist--os li { grid-template-columns: 200px 1fr; }

@media (max-width: 860px) {
  .loca2 { grid-template-columns: 1fr; gap: 26px; }
  .loca2__map { padding-top: 82%; }
  .placelist li, .placelist--os li { grid-template-columns: 1fr; gap: 6px; }
  .placelist__act { margin-top: 6px; }
}

/* ---------- 취득 내역 ---------- */
.rec { margin: 0 0 20px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rec li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.rec__year { font-family: var(--font-model); font-weight: 700; color: var(--accent); }
.rec__txt { font-size: 15px; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .tl__row { grid-template-columns: 78px 1fr; gap: 16px; padding: 20px 0; }
  .tl__year { font-size: 20px; }
  .info__row { grid-template-columns: 110px 1fr; gap: 12px; }
  .lnb { position: static; }
}

/* ---------- page head ---------- */
.page-head { padding: var(--phead-pad); background: var(--phead-bg); color: var(--phead-ink);
  border-bottom: 1px solid var(--line); margin-bottom: 46px; }
.page-head h1 { font-size: var(--fs-h1); margin: 0; }
.page-count { margin: 8px 0 0; opacity: .65; font-size: 14px; }
.crumb { margin-bottom: 12px; font-size: 13px; opacity: .7; }
.crumb a, .crumb span { display: inline-block; color: inherit; }
.crumb a::after, .crumb span:not(:last-child)::after { content: "›"; margin: 0 8px; opacity: .5; }
.crumb span:last-child { font-weight: 600; opacity: 1; }

/* ---------- grids ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--card-min), 1fr)); gap: var(--grid-gap); margin: 0 0 64px; padding: 0; list-style: none; }
.grid a { display: block; color: var(--ink); text-decoration: none; }
.grid .thumb { position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: var(--thumb-ratio); overflow: hidden; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius); }
.grid .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.grid a:hover .thumb { border-color: var(--accent); }
.grid a:hover .thumb img { transform: scale(1.04); }
.grid strong { display: block; margin-top: 13px; font-size: var(--fs-card); font-weight: var(--w-model); letter-spacing: var(--ls-model); font-family: var(--font-model); }
.grid em { display: block; font-style: normal; font-size: 13px; opacity: .62; }
.badge { position: absolute; top: 8px; left: 8px; padding: 2px 9px; border-radius: 2px; background: var(--accent); color: #fff; font-size: 11px; letter-spacing: .06em; }

/* ---------- product ---------- */
.prod { display: grid; grid-template-columns: var(--prod-cols); gap: 48px; margin-bottom: 76px; }
/* 사진이 없는 제품은 두 칸으로 나눌 이유가 없다 — 글이 55% 폭에 갇힌다 */
.prod--noimg { grid-template-columns: minmax(0, 1fr); }

/* 제품 사진 — 큰 사진 한 장 + 아래 작은 목록.
   사진이 1장이든 6장이든 큰 사진의 자리와 크기가 같아야 한다. 그래서 비율을 고정하고
   contain 으로 담는다(제품 사진은 흰 배경 누끼에 비율이 0.54~1.13 으로 제각각이다).
   글이 긴 제품에서 사진이 따라 올라오도록 위쪽에 붙인다. */
.prod-media { align-self: start; }
.pgal__main { position: relative; display: block; aspect-ratio: 4 / 5; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pgal__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pgal__zoom { position: absolute; right: 12px; bottom: 12px; padding: 5px 13px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  background: rgba(11, 15, 20, .74); color: #fff; border-radius: var(--radius);
  opacity: 0; transition: opacity .18s; pointer-events: none; }
.pgal__main:hover .pgal__zoom,
.pgal__main:focus-visible .pgal__zoom { opacity: 1; }

.pgal__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.pgal__thumbs a { display: block; width: 66px; height: 66px; padding: 5px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .16s, box-shadow .16s; }
.pgal__thumbs img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pgal__thumbs a:hover { border-color: var(--accent); }
/* 지금 보고 있는 장은 테두리 두 겹으로 — 색 하나로만 구분하지 않는다 */
.pgal__thumbs a.is-current { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }

.prose p { margin: 0 0 .9em; }
.prod-sec { margin: 0 0 34px; }
.prod-sec h2 { font-size: 18px; padding-bottom: 10px; border-bottom: var(--rule); }
.prod-sec ul { padding-left: 1.2em; }
.prod-sec li { margin-bottom: .3em; }

.spec { width: 100%; font-size: 14.5px; font-family: var(--font-spec); }
.spec th, .spec td { padding: 11px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 34%; background: var(--bg-soft); font-weight: 600; }
.spec-matrix th { width: auto; text-align: center; white-space: nowrap; }
.spec-matrix td { text-align: center; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 유튜브 영상 — 16:9 로 반응형. 자동재생·무음·컨트롤 없음은 주소의 파라미터로 정한다.
   폭이 넓은 화면에서 영상만 화면을 꽉 채우면 부담스러워서 가운데로 모으고 폭을 묶는다. */
.pvideo { position: relative; width: 100%; max-width: 960px; margin: 0 auto;
  aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; }
.pvideo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* .prod 의 아래 여백과 겹치지 않게 — 영상 구역은 자기 위아래 여백을 스스로 갖는다 */
.prod-video { margin-top: -20px; }

/* 영문 상세에서 「설명은 한국어로 있습니다」 안내. 본문이 아니라 곁다리라 눈에 덜 띄게 둔다. */
.prod-konote { margin: 0 0 26px; padding: 12px 16px; background: var(--bg-soft);
  border-left: 3px solid var(--line); font-size: 14px; color: var(--ink); opacity: .85; }
.prod-konote a { font-weight: 700; }

.prod-cta { padding: 18px 22px; background: var(--bg-soft); border-left: 3px solid var(--accent); font-weight: 600; }
.prod-cta span { opacity: .4; margin: 0 6px; }
.back { margin-top: 28px; }

/* ---------- gallery / manual ---------- */
.case { padding-bottom: 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.case h2 { font-size: 20px; }
.case time { margin-left: 10px; font-size: 13px; font-weight: 400; opacity: .6; }
.case-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.case-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

.dl-list { margin: 0 0 32px; padding: 0; list-style: none; }
.dl-list a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 10px; color: var(--ink); text-decoration: none; }
.dl-list a:hover { border-color: var(--accent); background: var(--bg-soft); }
.dl-type { flex: none; padding: 6px 10px; border-radius: 2px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
.dl-list strong { flex: 1; }
.dl-list em { font-style: normal; font-size: 13px; opacity: .6; }

.page-body { margin-bottom: 76px; }
.page-media figure { margin: 0 0 18px; }
.note { padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; opacity: .7; }
.empty { padding: 60px 0; text-align: center; opacity: .6; }
.notfound { padding: 110px 0; text-align: center; }
.notfound .hero-act { justify-content: center; }

/* ---------- footer ---------- */
.site-foot { padding: 52px 0 42px; background: var(--foot-bg); color: var(--foot-ink); font-size: 14px; }
.foot-brand strong { display: block; color: var(--foot-strong); font-size: 17px; }
.foot-brand span { font-size: 12px; opacity: .6; }
.foot-contact { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; max-width: 640px; margin: 24px 0; }
.foot-contact dt { opacity: .6; }
.foot-contact dd { margin: 0; }
.site-foot a { color: var(--foot-strong); }
.copy { margin: 0; padding-top: 20px; border-top: 1px solid var(--foot-line); font-size: 12.5px; opacity: .6; }

/* ---------- 테마 전환 바 (개발 전용) ---------- */
.themebar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 200;
  display: flex; gap: 6px; padding: 8px 10px; background: rgba(20,24,29,.94); border-radius: 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,.3); font-family: system-ui, sans-serif; }
.themebar a { padding: 7px 15px; border-radius: 30px; color: #cfd6dd; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.themebar a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.themebar a.on { background: #fff; color: #14181d; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .prod, .loca, .svc { grid-template-columns: 1fr; gap: 32px; }
  /* 한 칸이 되면 사진 칸이 화면 폭을 다 먹는다 — 태블릿에서 1024×1280 짜리 사진이 된다.
     폭을 묶고 가운데로 모은다. 휴대폰(<440px)에서는 그대로 꽉 찬다. */
  .prod-media { width: 100%; max-width: 440px; margin: 0 auto; }
  .vhero { height: auto; min-height: 62vh; }
}
@media (max-width: 900px) {
  .pmosaic { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, var(--pbox-h)); }
  .pbox--sanding  { grid-column: 1; grid-row: 1; }
  .pbox--shot     { grid-column: 2; grid-row: 1; }
  .pbox--abrasive { grid-column: 1 / span 2; grid-row: 2; }
  .pbox--toll     { grid-column: 1; grid-row: 3; }
  .pbox--auto     { grid-column: 2; grid-row: 3; }
  .pbox--abrasive .pbox__txt { top: auto; bottom: 0; transform: none; }
}
@media (max-width: 560px) {
  .pmosaic { grid-template-columns: 1fr; grid-template-rows: repeat(5, 190px); }
  .pbox--sanding, .pbox--shot, .pbox--abrasive, .pbox--toll, .pbox--auto { grid-column: 1; grid-row: auto; }
}
@media (max-width: 720px) {
  /* 세로 화면에서도 영상이 배경으로 깔린다. 캡션은 아래쪽에 붙인다. */
  .vhero { min-height: 78vh; }
  .vhero__caption { align-items: flex-end; padding: 96px 0 84px; }
  .vhero__eyebrow { font-size: 11px; letter-spacing: .2em; margin-bottom: 12px; }
  .vhero__desc { font-size: 15.5px; margin-bottom: 26px; }
  .vhero__act { flex-direction: column; align-items: flex-start; gap: 8px; }
  .vhero__act .btn { width: 100%; text-align: center; }
  .vhero__scroll { bottom: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats strong { font-size: 30px; }
  .banner { padding: 68px 0; }
  .section-head { margin-bottom: 34px; }
}
@media (max-width: 420px) {
  .vhero { min-height: 74vh; }
  .vhero__caption { padding: 88px 0 76px; }
}
/*
 * 머리말만 여기서 접는다 — 본문(.sec·.themebar)은 아래 860px 그대로다.
 *
 * 경계가 860 이 아니라 1100 인 이유: 한글 대분류 7개에 로고·전화·언어 전환까지
 * 한 줄에 서려면 1250px 쯤은 있어야 한다. 1117px 에서 메뉴가 두 줄로 접히고
 * 언어 전환 단추가 오른쪽으로 잘려 나갔다 (2026-08-03 Louis 제보).
 * 위쪽 `clamp()` 가 1100~1250 구간을 메우고, 그 아래는 햄버거가 받는다.
 *
 * ⚠ 대분류를 더 늘리면 이 숫자도 같이 올려야 한다. 글자 수가 정하는 값이지
 * 기기 크기가 정하는 값이 아니다.
 */
@media (max-width: 1100px) {
  .head-inner { flex-wrap: wrap; min-height: 62px; gap: 12px; }
  .head-tel { margin-left: auto; }
  .nav-toggle { display: block; order: 3; margin-left: 8px; width: 42px; height: 38px; padding: 9px 8px;
    background: none; border: 1px solid var(--head-line); border-radius: var(--radius); cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; margin: 3px 0; background: var(--head-ink); }
  .gnb { order: 4; flex-basis: 100%; margin: 0; display: none; border-top: 1px solid var(--head-line); }
  .gnb.open { display: block; }
  .gnb > ul { display: block; padding-bottom: 12px; }
  .gnb > ul > li > a { padding: 13px 0; }
  /*
   * 모바일에서는 서브메뉴를 내리지 않는다 — 대분류만 보여 준다.
   *
   * 이유 두 가지다.
   * 1) 샌딩기 16개 · 쇼트기 6개라 다 펼치면 메뉴가 화면 몇 배로 늘어난다.
   * 2) 여기서는 드롭다운 흰 배경을 없애 왔는데, .sub a 의 글자색은 그 흰 배경을
   *    전제한 어두운 색이다 (theme-b.css 의 `.gnb .sub a { color: #1a1f25 }`).
   *    차콜 헤더 위에 그대로 놓이면 검은 글씨가 되어 보이지 않았다.
   *
   * 길이 막히지는 않는다. 대분류 링크가 첫 카테고리로 들어가고, 서브페이지의
   * LNB(<details> 접이식)에 같은 목록이 전부 들어 있다. 상세 경로는 거기서 고른다.
   *
   * 되살리려면 색부터 고쳐야 한다. background 를 없앤 채 display 만 켜면
   * 안 보이는 상태로 되돌아간다.
   */
  .gnb .sub { display: none; }
  /*
   * 언어 전환은 햄버거 안으로 들어간다 (2026-08-03 Louis).
   * 좁은 머리말에 로고·전화·햄버거·언어까지 네 덩이가 서면 줄이 넘쳐 두 줄이 된다.
   * 언어 전환은 **한 번 누르고 끝나는 단추**라 늘 보일 이유가 없다.
   *
   * `.langsw--head` 쪽을 숨기고 메뉴 안의 것을 켠다. 둘은 같은 링크이므로
   * 한쪽만 살아 있어야 한다 — 낭독기에 같은 항목이 두 번 읽히면 안 된다.
   */
  .langsw--head { display: none; }
  .gnb__lang { display: block; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--head-line); }
  /* `.gnb > ul > li > a` 가 이 단추에도 걸린다 — 그쪽이 더 셈이 높으므로 되돌려 적는다.
     안 적으면 `padding: 13px 0` 이 이겨서 좌우 여백 없는 테두리만 남는다. */
  .gnb__lang .langsw { display: inline-block; margin-left: 0; padding: 8px 15px; font-size: 13px; }
}
@media (max-width: 860px) {
  .sec { padding: 54px 0; }
  .themebar { bottom: 10px; padding: 6px 8px; }
  .themebar a { padding: 6px 11px; font-size: 12px; }
}
