@font-face { font-family: "Pretendard Variable"; font-weight: 45 920; font-style: normal; font-display: swap; src: url("../fonts/PretendardSub.woff2") format("woff2-variations"), url("../fonts/PretendardSub.woff2") format("woff2"); }
/* 맥널티바이오 홈페이지 시안 · 제안 1 (네이비 · 둥근 라인) */
:root {
  --navy: #111111; --navy-d: #000000; --navy-l: #f2f2f2; --navy-m: #444444;
  --accent: #111111; --accent-d: #000000; --accent-l: #f0f0f0;
  --soft: #f3f4f4; --line: #e3e5e6; --line-s: #c6cbcd;
  --ink: #111111; --text: #3b4652; --muted: #6b7682; --bg: #fff;
  --bg-soft: var(--soft); --green: var(--accent); --green-soft: var(--accent-l); --line-strong: var(--line-s);
  --red: #c4372b;
  --en: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
  --r1: 6px; --r2: 8px; --r3: 10px; --pill: 999px;
  --max: 1280px; --gut: 40px; --hd: 84px;
  --ease: cubic-bezier(.22, .8, .3, 1);
  --sh1: 0 2px 10px rgba(20, 26, 29, .06);
  --sh2: 0 14px 36px rgba(20, 26, 29, .12);
  --sh3: 0 24px 60px rgba(20, 26, 29, .18);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.7 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif; letter-spacing: -0.02em; word-break: keep-all; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.en { font-family: var(--en); }
body.lock { overflow: hidden; }

/* 버튼 · 칩 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px; border: 1px solid var(--navy); border-radius: var(--pill); background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { background: var(--navy-d); border-color: var(--navy-d); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20, 26, 29, .22); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn.green { background: var(--navy); }
.btn.line { background: #fff; color: var(--ink); border-color: var(--line-s); }
.btn.line:hover { border-color: var(--navy); color: var(--navy); background: #fff; box-shadow: 0 8px 18px rgba(20, 26, 29, .1); }
.btn.white { background: #fff; color: var(--navy); border-color: #fff; }
.btn.white:hover { background: var(--navy-l); border-color: var(--navy-l); color: var(--navy-d); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; box-shadow: none; }
.btn.lg { min-height: 54px; padding: 0 28px; font-size: 15px; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn .ar { transition: transform .25s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 15px; border: 1px solid var(--line); border-radius: var(--pill); background: #fff; font-size: 13px; color: var(--text); transition: all .22s var(--ease); }
.chip em { font-style: normal; font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }
.chip.on, .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.on em, .chip[aria-pressed="true"] em { color: #c6ccce; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.link-ar { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent); }
.link-ar::after { content: "→"; transition: transform .25s var(--ease); }
.link-ar:hover::after { transform: translateX(4px); }

/* 상단 */
.util { background: var(--soft); font-size: 12px; color: var(--muted); }
.util .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.util-links { display: flex; gap: 18px; }
.util-links a:hover { color: var(--accent); }
#site-header { display: contents; }
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s; }
.header.scrolled { box-shadow: 0 6px 24px rgba(20, 26, 29, .08); border-bottom-color: var(--line); }
.header > .wrap { display: flex; align-items: center; height: var(--hd); gap: 24px; transition: height .3s var(--ease); }
.header.scrolled > .wrap { height: 68px; }
.logo img { height: 34px; width: auto; transition: height .3s var(--ease); }
.header.scrolled .logo img { height: 30px; }
.gnb-nav { flex: 1; height: 100%; display: flex; justify-content: center; }
.gnb { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; gap: 0; }
.gnb > li { display: flex; align-items: center; }
.gnb > li > a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 24px; font-size: 17px; font-weight: 500; color: var(--ink); transition: color .2s; }
.gnb > li > a::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.gnb > li.open > a, .gnb > li > a:hover { color: var(--accent); }
.gnb > li.open > a::after { transform: scaleX(1); }
.gnb > li > a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.gnb > li > a[aria-current="page"]::after { transform: scaleX(1); }
.gnb > li > a .cv { display: none; }
.gnb > li.open > a .cv { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; padding: 0; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); }
.menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 27px; }

/* 드롭다운 · 메가 메뉴 */
.header > .wrap { position: relative; }
.drop { position: absolute; z-index: 5; left: var(--gut); right: var(--gut); top: 100%; padding: 0; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s; pointer-events: none; }
.gnb > li.open .drop { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease); pointer-events: auto; }
.drop-box { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--r3) var(--r3); box-shadow: var(--sh3); overflow: hidden; }
.drop-simple { display: flex; align-items: center; gap: 40px; padding: 26px 34px; }
.drop-title strong { display: block; font-size: 20px; color: var(--ink); }
.drop-title span { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.drop-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.drop-links a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; border-radius: var(--pill); background: var(--soft); font-size: 15px; color: var(--ink); transition: all .2s var(--ease); }
.drop-links a:hover { background: var(--accent-l); color: var(--accent); transform: translateY(-2px); }
.mega-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; padding: 26px 26px 18px; }
.mega-col { min-width: 0; padding: 6px; border-radius: var(--r2); transition: background .2s; }
.mega-col:hover { background: var(--soft); }
.mega-cat { display: block; padding: 8px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.mega-cat small { display: block; font-family: var(--en); font-size: 10px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.mega-cat b { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; font-size: 16px; color: var(--ink); }
.mega-cat b em { font-style: normal; font-family: var(--en); font-size: 12px; font-weight: 600; color: var(--accent); }
.mega-cat:hover b { color: var(--accent); }
.mega-col ul { margin: 0; padding: 0; list-style: none; }
.mega-col li a { display: flex; justify-content: space-between; gap: 4px; padding: 6px 10px; border-radius: var(--pill); font-size: 14px; color: var(--text); transition: all .18s var(--ease); }
.mega-col li a em { font-style: normal; font-size: 12px; color: var(--muted); }
.mega-col li a:hover { background: var(--accent-l); color: var(--accent); padding-left: 14px; }
.mega-col li a:hover em { color: var(--accent); }
.mega-col li a.zero { color: #a3abb4; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 32px; background: var(--soft); border-top: 1px solid var(--line); }
.mega-foot .reps { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mega-foot .reps > b { font-size: 13px; color: var(--ink); margin-right: 4px; }
.mega-foot .reps .chip { min-height: 30px; padding: 0 12px; }
.mega-foot .go { display: flex; gap: 22px; flex: none; }
.dim { position: fixed; inset: 0; z-index: 40; background: rgba(20, 26, 29, .28); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.dim.on { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }

/* 모바일 메뉴 */
.m-menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; transition: visibility 0s .4s; }
.m-menu.on { visibility: visible; transition: none; }
.m-menu .m-bg { position: absolute; inset: 0; background: rgba(20, 26, 29, .45); opacity: 0; transition: opacity .35s var(--ease); }
.m-menu.on .m-bg { opacity: 1; }
.m-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; border-radius: var(--r3) 0 0 var(--r3); transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; overflow: hidden; }
.m-menu.on .m-panel { transform: none; }
.m-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px 20px; }
.m-head img { height: 28px; width: auto; }
.m-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); font-size: 22px; line-height: 1; color: var(--ink); }
.m-body { flex: 1; overflow-y: auto; padding: 4px 16px 24px; }
.m-search { display: flex; align-items: center; gap: 4px; margin: 6px 0 14px; padding: 4px 4px 4px 16px; border: 1px solid var(--line-s); border-radius: var(--pill); }
.m-search input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: none; font-size: 15px; }
.m-search button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.acc { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 6px; border: 0; background: none; font-size: 17px; font-weight: 700; color: var(--ink); text-align: left; }
.acc-btn .pm { width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 12px; transition: transform .3s var(--ease), background .2s; }
.acc.open > .acc-btn .pm { transform: rotate(180deg); background: var(--navy); color: #fff; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc.open > .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; min-height: 0; }
.acc-in { padding: 0 6px 16px; display: flex; flex-direction: column; gap: 4px; }
.acc-in > a { display: block; padding: 9px 14px; border-radius: var(--r1); background: var(--soft); font-size: 15px; }
.acc-in > a.all { background: var(--navy); color: #fff; font-weight: 500; }
.m-cats-t { margin: 10px 0 2px; font-size: 13px; font-weight: 700; color: var(--muted); }
.m-cats .acc { border: 0; border-radius: var(--r1); background: var(--soft); margin-top: 6px; }
.m-cats .acc-btn { min-height: 46px; padding: 0 12px 0 14px; font-size: 15px; font-weight: 500; }
.m-cats .acc-btn small { margin-left: 6px; font-size: 12px; color: var(--muted); font-weight: 400; }
.m-cats .acc-btn .pm { width: 24px; height: 24px; background: #fff; }
.m-kw { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 10px 12px; }
.m-kw a { padding: 8px 12px; border-radius: var(--pill); background: #fff; font-size: 14px; }
.m-kw a.cat-all { grid-column: 1 / -1; font-weight: 500; color: var(--navy); }
.m-reps { margin-top: 12px; }
.m-reps .chip { min-height: 32px; padding: 0 12px; }
.m-link { display: block; min-height: 56px; line-height: 56px; padding: 0 6px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; color: var(--ink); }
.m-foot { padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.m-foot .btn { width: 100%; }
.m-foot p { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.m-foot p b { font-family: var(--en); color: var(--ink); font-size: 15px; }

/* 서브 비주얼 · 위치 · 탭 */
.sub-visual { position: relative; width: 100%; height: 300px; margin: 0; overflow: hidden; background: var(--navy-d) url(../img/sub-visual.jpg) center / cover no-repeat; color: #fff; display: flex; align-items: center; text-align: center; }
.sub-visual::before { content: ""; position: absolute; inset: 0; background: rgba(28, 34, 37, .55); }
.sub-visual .wrap { position: relative; animation: up .8s var(--ease) both; }
.sub-visual h1 { margin: 0; font-family: var(--en); font-size: 44px; font-weight: 700; letter-spacing: .06em; }
.sub-visual p { margin: 8px 0 0; font-size: 16px; color: #e3e8ea; }
.sub-visual.v-factory { background-image: url(../img/factory-wide.jpg); }
.sub-visual.v-oem { background-image: url(../img/oem.jpg); }
.sub-visual.v-company { background-image: url(../img/factory-front.jpg); }
.sub-visual.v-contact { background-image: url(../img/contact.jpg); }
.location .wrap { display: flex; align-items: center; gap: 8px; padding-top: 18px; font-size: 13px; color: var(--muted); }
.location a:hover { color: var(--accent); }
.location strong { color: var(--ink); font-weight: 500; }
.location .sep { color: var(--line-s); }
.tabs { display: flex; justify-content: center; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs a { position: relative; display: flex; align-items: center; min-height: 54px; padding: 0 26px; font-size: 16px; color: var(--muted); white-space: nowrap; transition: color .2s; }
.tabs a::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.tabs a[aria-current="page"]::after { transform: scaleX(1); }

/* 본문 공통 */
.page { padding: 64px 0 100px; }
.page-head { margin-bottom: 36px; }
.page-head h2 { margin: 0; font-size: 30px; color: var(--ink); letter-spacing: -0.04em; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.sec { padding: 96px 0; }
.sec.soft { background: var(--soft); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.sec-head .en { font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--accent); }
.sec-head h2 { margin: 6px 0 0; font-size: 34px; line-height: 1.35; letter-spacing: -0.045em; color: var(--ink); }
.sec-head p { margin: 10px 0 0; color: var(--muted); }
.more { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid var(--line-s); border-radius: var(--pill); font-size: 14px; color: var(--ink); transition: all .25s var(--ease); }
.more::after { content: "→"; transition: transform .25s var(--ease); }
.more:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.more:hover::after { transform: translateX(3px); }

/* 제품 카드 */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.pgrid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { display: flex; flex-direction: column; min-width: 0; animation: cardIn .55s var(--ease) both; }
.pcard .thumb { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r2); overflow: hidden; background: var(--soft); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pgrid.g3 .pcard .thumb { aspect-ratio: 4 / 3; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .5s var(--ease); }
.pcard .thumb::after { content: "자세히 보기 →"; position: absolute; left: 50%; bottom: 14px; padding: 7px 14px; border-radius: var(--pill); background: rgba(20, 26, 29, .88); color: #fff; font-size: 12px; white-space: nowrap; opacity: 0; transform: translate(-50%, 8px); transition: all .3s var(--ease); }
.pcard:hover .thumb { transform: translateY(-6px); box-shadow: var(--sh2); }
.pcard:hover .thumb img { transform: scale(1.06); }
.pcard:hover .thumb::after { opacity: 1; transform: translate(-50%, 0); }
.badge { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 3px 10px; border-radius: var(--pill); background: var(--accent); color: #fff; font-size: 11px; font-weight: 500; }
.badge.oem { background: #fff; color: var(--ink); border: 1px solid var(--line-s); }
.pcard .cat { margin-top: 16px; font-size: 12px; color: var(--muted); }
.pcard .name { margin-top: 2px; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.pcard .name:hover { color: var(--accent); }
.pcard .kws { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.pcard .kws a { padding: 1px 9px; border-radius: var(--pill); background: var(--accent-l); font-size: 12px; color: var(--accent); transition: all .2s; }
.pcard .kws a:hover { background: var(--accent); color: #fff; }
.pcard .acts { display: flex; gap: 6px; margin-top: auto; padding-top: 14px; }
.pcard .acts a, .pcard .acts button { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 8px; border: 1px solid var(--line-s); border-radius: var(--pill); background: #fff; font-size: 13px; color: var(--ink); white-space: nowrap; transition: all .22s var(--ease); }
.pcard .acts a:hover, .pcard .acts button:hover { border-color: var(--navy); color: var(--navy); }
.pcard .acts .main { background: var(--navy); border-color: var(--navy); color: #fff; }
.pcard .acts .main:hover { background: var(--navy-d); color: #fff; }

/* 네이비 띠 (둥근 상자) */
.cta-band { width: 100%; margin: 0; background: var(--navy); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 52px; }
.cta-band h3 { margin: 0; font-size: 26px; letter-spacing: -0.04em; }
.cta-band p { margin: 6px 0 0; color: #b9c0c3; }
.cta-band .acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cta-band .tel { display: inline-flex; align-items: center; min-height: 54px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--pill); font-family: var(--en); font-size: 18px; font-weight: 700; }

/* 하단 */
.footer { background: #000; font-size: 13px; color: #8a8a8a; }
.footer .top { border-bottom: 1px solid #262626; }
.footer .top .wrap { display: flex; gap: 22px; height: 60px; align-items: center; flex-wrap: wrap; }
.footer .top a { color: #bdbdbd; }
.footer .top a:hover { color: #fff; }
.footer .top a.b { color: #fff; font-weight: 700; }
.footer .bottom { display: flex; justify-content: space-between; gap: 32px; padding-block: 36px 110px; }
.footer .bottom img { height: 28px; width: auto; margin-bottom: 16px; }
.footer .bottom p { margin: 2px 0; }
.footer .copy { margin-top: 14px !important; font-family: var(--en); font-size: 12px; }
.footer .cs { flex: none; text-align: right; }
.footer .cs p { margin: 0; }
.footer .cs strong { display: block; font-family: var(--en); font-size: 28px; color: #fff; line-height: 1.3; }

/* 오른쪽 빠른 메뉴 */
.dock { position: fixed; right: 24px; bottom: 40px; z-index: 60; width: 76px; display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: 0 10px 34px rgba(20, 26, 29, .16), 0 0 0 1px rgba(20, 26, 29, .04); overflow: hidden; animation: dockIn .7s .3s var(--ease) both; }
.dock a, .dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 84px; padding: 12px 4px; border: 0; background: #fff; font-size: 12px; font-weight: 500; color: var(--ink); transition: background .2s, color .2s; }
.dock a:hover, .dock button:hover { background: var(--soft); color: var(--accent); }
.dock .sep { height: 1px; margin: 0 14px; background: var(--line); }
.dock svg { transition: transform .3s var(--ease); }
.dock a:hover svg, .dock button:hover .ch { transform: translateY(-3px); }
.dock .ch { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--en); font-size: 13px; font-weight: 700; transition: transform .3s var(--ease); position: relative; }
.dock .ch::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 2.4s 1.5s var(--ease) infinite; }
.dock .top { min-height: 0; max-height: 0; padding: 0; background: #111; color: #fff; font-family: var(--en); font-weight: 700; letter-spacing: .06em; border-radius: 0 0 22px 22px; overflow: hidden; transition: max-height .35s var(--ease), padding .35s var(--ease), background .2s; }
.dock.show-top .top { max-height: 64px; min-height: 56px; padding: 6px 4px; }
.dock .top:hover { background: var(--navy-d); color: #fff; }

/* 빠른 문의 창 */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; transition: visibility 0s .35s; }
.modal.on { visibility: visible; transition: none; }
.modal .m-bg { position: absolute; inset: 0; background: rgba(20, 26, 29, .5); opacity: 0; transition: opacity .3s var(--ease); }
.modal.on .m-bg { opacity: 1; }
.modal-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); display: flex; flex-direction: column; border-radius: var(--r3); background: #fff; box-shadow: var(--sh3); opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .3s var(--ease), transform .35s var(--ease); }
.modal.on .modal-box { opacity: 1; transform: none; }
.mh { display: flex; justify-content: space-between; gap: 16px; padding: 26px 28px 16px; }
.mh h2 { margin: 0; font-size: 22px; color: var(--ink); }
.mh p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.mh .sla { display: inline-flex; margin-top: 10px; padding: 3px 12px; border-radius: var(--pill); background: var(--accent-l); color: var(--accent); font-size: 12px; font-weight: 500; }
.x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); font-size: 20px; line-height: 1; color: var(--ink); transition: transform .3s var(--ease), background .2s; }
.x:hover { background: var(--navy-l); transform: rotate(90deg); }
.mb { overflow-y: auto; padding: 4px 28px 8px; overscroll-behavior: contain; }
.mf { padding: 14px 28px 22px; border-top: 1px solid var(--line); }
.mf .btn { width: 100%; }
.mf .alt { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.mf .alt b { font-family: var(--en); color: var(--ink); }
.fld { margin-top: 18px; }
.fld > .lb { display: flex; align-items: baseline; gap: 2px; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.fld > .lb small { margin-left: auto; padding-left: 8px; font-weight: 400; color: var(--muted); }
.fld > .lb .req { color: var(--red); margin-left: 2px; }
.picked { display: flex; flex-direction: column; gap: 6px; }
.pick-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border: 1px solid var(--line); border-radius: var(--r2); animation: fadeUp .3s var(--ease) both; }
.pick-item img { width: 44px; height: 44px; border-radius: var(--r1); background: var(--soft); object-fit: contain; padding: 3px; }
.pick-item span { flex: 1; min-width: 0; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-item button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--soft); color: var(--muted); }
.pick-item button:hover { background: var(--navy-l); color: var(--navy); }
.pick-add { display: flex; align-items: center; gap: 8px; }
.pick-add .sel { flex: 1; }
.pick-hint { font-size: 12px; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 6px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-s); border-radius: var(--pill); font-size: 14px; color: var(--text); background: #fff; transition: all .2s var(--ease); }
.choices label:hover span { border-color: var(--navy); color: var(--navy); }
.choices input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 500; box-shadow: 0 4px 12px rgba(20, 26, 29, .2); }
.choices input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.inp, .sel, .ta { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--line-s); border-radius: 12px; background: #fff; font-size: 15px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.ta { padding: 12px 16px; min-height: 110px; resize: vertical; line-height: 1.6; }
.sel { appearance: none; padding-right: 40px; 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 1l5 5 5-5' fill='none' stroke='%236b7682' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center no-repeat; }
.inp:hover, .sel:hover, .ta:hover { border-color: var(--muted); }
.inp:focus, .sel:focus, .ta:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(20, 26, 29, .12); }
.inp::placeholder, .ta::placeholder { color: #9aa3ad; }
.bad .inp, .bad .sel, .bad .ta, .inp.bad { border-color: var(--red); box-shadow: 0 0 0 4px rgba(196, 55, 43, .1); }
.bad { animation: shake .4s; }
.msg { display: none; margin-top: 6px; font-size: 12px; color: var(--red); }
.bad .msg { display: block; }
.extra { animation: fadeUp .35s var(--ease) both; }
.agree-line { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; cursor: pointer; }
.agree-line input { width: 20px; height: 20px; accent-color: var(--navy); }
.agree-line.bad { color: var(--red); }
.file-zone { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 10px 16px; border: 1.5px dashed var(--line-s); border-radius: 12px; font-size: 14px; color: var(--muted); cursor: pointer; transition: all .2s; text-align: center; }
.file-zone:hover, .file-zone.drag { border-color: var(--navy); background: var(--navy-l); color: var(--navy); }
.file-zone input { display: none; }
.files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.files span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; border-radius: var(--pill); background: var(--soft); font-size: 12px; }
.files button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; font-size: 12px; }
.done-box { padding: 48px 28px 40px; text-align: center; }
.done-box .ok { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; animation: pop .55s var(--ease) both; }
.done-box .ok path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .3s var(--ease) forwards; }
.done-box h3 { margin: 0 0 6px; font-size: 22px; color: var(--ink); }
.done-box p { margin: 0; color: var(--muted); }
.done-box .sum { margin: 22px auto 0; max-width: 360px; padding: 16px 20px; border-radius: var(--r2); background: var(--soft); text-align: left; font-size: 14px; }
.done-box .sum div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.done-box .sum b { color: var(--ink); font-weight: 500; text-align: right; }
.done-box .note { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* 토스트 */
.toast { position: fixed; left: 50%; bottom: 36px; z-index: 120; padding: 12px 22px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--sh2); opacity: 0; transform: translate(-50%, 16px); transition: all .35s var(--ease); pointer-events: none; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* 스크롤 등장 (위치만 움직여 내용이 사라지는 일은 없음) */
.rv { transition: transform .8s var(--ease); }
.rv.pre { transform: translateY(28px); }

/* FAQ */
.faq-list { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 22px; border: 0; background: none; text-align: left; font-size: 16px; font-weight: 500; color: var(--ink); transition: background .2s; }
.faq-q:hover { background: var(--soft); }
.faq-q::before { content: "Q"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-l); color: var(--accent); display: grid; place-items: center; font-family: var(--en); font-size: 13px; font-weight: 700; }
.faq-q span { flex: 1; }
.faq-q::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-s); display: grid; place-items: center; font-size: 16px; color: var(--muted); transition: transform .3s var(--ease), background .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { margin: 0; padding: 0 22px 20px 64px; color: var(--muted); }

/* 세그먼트 (미끄러지는 표시) */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: var(--pill); background: var(--soft); }
.seg .knob { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: var(--pill); background: #fff; box-shadow: 0 2px 8px rgba(20, 26, 29, .14); transition: transform .35s var(--ease), width .35s var(--ease); }
.seg button { position: relative; z-index: 1; min-height: 36px; padding: 0 16px; border: 0; border-radius: var(--pill); background: none; font-size: 13px; color: var(--muted); white-space: nowrap; transition: color .25s; }
.seg button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }

@keyframes up { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeUp { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cardIn { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes dockIn { from { transform: translateX(120%); } to { transform: none; } }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { transform: scale(.9); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

@media (max-width: 1180px) {
  .gnb > li > a { padding: 0 14px; font-size: 15px; }
  .gnb > li > a::after { left: 14px; right: 14px; }
  .mega-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .header-cta .btn { padding: 0 14px; }
}
@media (max-width: 960px) {
  :root { --gut: 16px; --hd: 62px; }
  body { font-size: 14px; }
  .util { display: none; }
  .header.scrolled > .wrap { height: 56px; }
  .logo img, .header.scrolled .logo img { height: 26px; }
  .gnb-nav, .header-cta .btn { display: none; }
  .header > .wrap { justify-content: space-between; }
  .menu-btn { display: block; }
  .sub-visual { height: 180px; }
  .sub-visual h1 { font-size: 28px; }
  .sub-visual p { font-size: 13px; padding: 0 12px; }
  .tabs { justify-content: flex-start; margin-top: 18px; }
  .tabs a { padding: 0 14px; min-height: 46px; font-size: 14px; }
  .tabs a::after { left: 14px; right: 14px; }
  .page { padding: 40px 0 64px; }
  .page-head h2 { font-size: 22px; }
  .sec { padding: 60px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
  .sec-head h2 { font-size: 24px; }
  .pgrid, .pgrid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .pcard .name { font-size: 14px; }
  .pcard .acts { flex-direction: column; gap: 5px; }
  .pcard .acts a, .pcard .acts button { min-height: 34px; font-size: 12px; }
  .pcard .thumb::after { display: none; }
  .badge { left: 8px; top: 8px; font-size: 10px; padding: 2px 8px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; padding-block: 34px; }
  .cta-band h3 { font-size: 20px; }
  .cta-band .acts { width: 100%; }
  .cta-band .acts > * { flex: 1; }
  .cta-band .tel { justify-content: center; min-height: 48px; font-size: 16px; }
  .footer .top .wrap { height: auto; padding-block: 14px; gap: 8px 16px; }
  .footer .bottom { flex-direction: column; padding-block: 26px 120px; }
  .footer .cs { text-align: left; }
  .dock { right: 12px; bottom: 16px; width: 60px; border-radius: 18px; }
  .dock a, .dock button { min-height: 62px; font-size: 10px; gap: 3px; padding: 8px 2px; }
  .dock svg { width: 20px; height: 20px; }
  .dock .ch { width: 26px; height: 26px; font-size: 11px; }
  .dock .top { border-radius: 0 0 18px 18px; }
  .dock.show-top .top { min-height: 44px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-box { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: var(--r3) var(--r3) 0 0; transform: translateY(100%); }
  .modal.on .modal-box { transform: none; }
  .mh { padding: 22px 18px 12px; }
  .mb { padding: 0 18px 8px; }
  .mf { padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); }
  .mf .alt { flex-direction: column; gap: 4px; }
  .grid2 { grid-template-columns: 1fr; }
  .faq-q { padding: 12px 16px; font-size: 15px; }
  .faq-a p { padding: 0 16px 18px 58px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* 흰 배경 제품 사진을 회색 바탕에 자연스럽게 */
.pcard .thumb img, .pick-item img { mix-blend-mode: multiply; }

/* 제품 카테고리 바 (스크롤해도 머리에 붙어 있음) */
.cat-bar { border-top: 1px solid var(--line); background: #fff; }
.cat-bar ul { display: flex; justify-content: center; gap: 4px; margin: 0 auto; padding: 0 var(--gut); max-width: var(--max); list-style: none; overflow-x: auto; scrollbar-width: none; }
.cat-bar a { position: relative; display: flex; align-items: center; height: 50px; padding: 0 18px; font-size: 15px; color: var(--muted); white-space: nowrap; transition: color .2s; }
.cat-bar a em { font-style: normal; margin-left: 4px; font-size: 12px; color: #a3aaad; }
.cat-bar a:hover { color: var(--accent); }
.cat-bar a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.cat-bar a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.cat-bar a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 960px) {
  .cat-bar ul { justify-content: flex-start; padding: 0 8px; }
  .cat-bar a { height: 44px; padding: 0 12px; font-size: 14px; }
  .cat-bar a::after { left: 12px; right: 12px; }
}

/* 하위 메뉴: 마우스를 올리면 메뉴 아래로 내려옴 (원래 홈페이지 방식) */
.allmenu { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; max-height: 0; overflow: hidden; background: #fff; box-shadow: 0 0 0 100vmax #fff, 0 1px 0 100vmax var(--line); clip-path: inset(0 -100vmax -1px -100vmax); transition: max-height .3s ease; }
.header.am-on .allmenu { max-height: 400px; }
.am-in { position: relative; }
.am-col { position: absolute; top: 18px; margin: 0; padding: 0; list-style: none; text-align: center; }
.am-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--muted); transition: color .15s; }
.am-col a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.header.am-on .gnb > li > a:hover::after { transform: scaleX(1); }
@media (max-width: 960px) { .allmenu { display: none; } }

/* 키워드 줄 (제품 상세 · 키워드 페이지 상단) */
.kw-bar { border-top: 1px solid var(--line); background: #fafafa; }
.kw-bar .wrap { display: flex; align-items: flex-start; gap: 14px; padding-block: 10px; }
.kw-bar b { flex: none; line-height: 30px; font-size: 13px; color: var(--ink); }
.kw-bar ul { flex-wrap: wrap; }
.header.scrolled .kw-bar ul { flex-wrap: nowrap; }
.kw-bar ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.kw-bar ul::-webkit-scrollbar { display: none; }
.kw-bar a { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--pill); background: #fff; font-size: 13px; color: var(--text); white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.kw-bar a em { font-style: normal; font-size: 11px; color: #a3a3a3; }
.kw-bar a:hover { border-color: var(--ink); color: var(--ink); }
.kw-bar a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.kw-bar a[aria-current] em { color: #bdbdbd; }
@media (max-width: 760px) {
  .kw-bar .wrap { gap: 10px; padding: 7px 12px; }
  .kw-bar ul { flex-wrap: nowrap; }
  .kw-bar b { display: none; }
}

/* ───────── 시안 C · 현대적인 테마 (Thorne 참고) ───────── */
:root { --stone: #f4f2ee; --r3: 16px; --r2: 12px; }
body { letter-spacing: -0.025em; }
.util { background: #111; color: #d6d6d6; }
.util .wrap { height: 38px; }
.util-links a:hover { color: #fff; }
.header > .wrap { height: 76px; }
.header.scrolled > .wrap { height: 64px; }
.gnb > li > a { font-weight: 500; }

/* 페이지 상단: 큰 사진 위에 왼쪽 정렬 큰 제목 */
.sub-visual { height: 380px; align-items: flex-end; justify-content: flex-start; text-align: left; }
.sub-visual::before { background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.08) 100%); }
.sub-visual .wrap { padding-bottom: 52px; }
.sub-visual h1 { font-size: 64px; letter-spacing: -0.02em; font-weight: 700; }
.sub-visual p { font-size: 18px; color: rgba(255,255,255,.85); margin-top: 6px; }
.location { border-bottom: 0; }

/* 탭: 알약 모양 */
.tabs { gap: 8px; border-bottom: 0; margin-top: 36px; justify-content: flex-start; }
.tabs a { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 15px; transition: all .2s; }
.tabs a::after { display: none; }
.tabs a:hover { border-color: #111; }
.tabs a[aria-current="page"] { background: #111; border-color: #111; color: #fff; font-weight: 600; }

/* 제품 카드: 따뜻한 회색 배경, 큰 둥근 모서리 */
.pcard .thumb { background: var(--stone); border-radius: 18px; }
.pcard .name { font-size: 17px; font-weight: 600; letter-spacing: -0.03em; }
.pcard .kws a { background: transparent; border: 1px solid var(--line); color: var(--text); }
.pcard .kws a:hover { background: #111; border-color: #111; color: #fff; }
.pcard .acts a, .pcard .acts button { border-radius: var(--pill); }

/* 큰 제목 */
.page h3, .block h3 { letter-spacing: -0.04em; }
.cta-band { background: #111; }
.cta-band h3 { font-size: 32px; letter-spacing: -0.045em; }

@media (max-width: 960px) {
  .sub-visual { height: 240px; }
  .sub-visual .wrap { padding-bottom: 28px; }
  .sub-visual h1 { font-size: 36px; }
  .sub-visual p { font-size: 14px; padding: 0; }
  .tabs { gap: 6px; padding-bottom: 4px; }
  .tabs a { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .cta-band h3 { font-size: 22px; }
}

/* 언어 선택 (국기) */
.langs { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; }
.langs button { border: 0; background: none; padding: 0; line-height: 0; cursor: pointer; opacity: .5; transition: opacity .2s, transform .2s; border-radius: 2px; }
.langs button:hover { opacity: 1; transform: translateY(-1px); }
.langs button[aria-pressed="true"] { opacity: 1; outline: 1px solid currentColor; outline-offset: 2px; }
.langs svg { display: block; width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.m-langs { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line, #e5e5e5); font-size: 13px; color: var(--muted, #777); }
.m-langs .langs { gap: 14px; }
.m-langs .langs svg { width: 26px; height: 18px; }
html[data-lang="en"] .gnb > li > a, html[data-lang="zh"] .gnb > li > a { white-space: nowrap; }
html[data-lang="en"] .pcard .thumb::after { content: "View details →"; }
html[data-lang="zh"] .pcard .thumb::after { content: "查看详情 →"; }
/* 중국어는 글자 단위로 줄바꿈 (한국어용 keep-all 해제) */
html[data-lang="zh"] body { word-break: normal; line-break: strict; }
html[data-lang="en"] body { word-break: normal; overflow-wrap: break-word; }
