/* =========================================================
   CNI (CN INTERNATIONAL) homepage
   레이아웃 단위: --u = 시안(1400px 기준 축소본)의 1px.
   본문 컨테이너 876u = 데스크톱 1200px. 시안 좌표를 그대로 옮겨 적기 위해 사용.
   ========================================================= */

@font-face { font-family: "Seravek"; font-weight: 200; font-display: swap; src: local("Seravek ExtraLight"), local("Seravek-ExtraLight"), url("../assets/fonts/Seravek-ExtraLight.woff2") format("woff2"); }
@font-face { font-family: "Seravek"; font-weight: 400; font-display: swap; src: local("Seravek"), url("../assets/fonts/Seravek-Regular.woff2") format("woff2"); }
@font-face { font-family: "Seravek"; font-weight: 500; font-display: swap; src: local("Seravek Medium"), local("Seravek-Medium"), url("../assets/fonts/Seravek-Medium.woff2") format("woff2"); }
@font-face { font-family: "Seravek"; font-weight: 700; font-display: swap; src: local("Seravek Bold"), local("Seravek-Bold"), url("../assets/fonts/Seravek-Bold.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans KR"; font-weight: 300; font-display: swap; src: url("../assets/fonts/NotoSansKR-Light.subset.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans KR"; font-weight: 400; font-display: swap; src: url("../assets/fonts/NotoSansKR-Regular.subset.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans KR"; font-weight: 700; font-display: swap; src: url("../assets/fonts/NotoSansKR-Bold.subset.woff2") format("woff2"); }

:root {
  --wrap: min(1200px, 100vw - 48px);
  --u: calc(var(--wrap) / 876);
  --bg: #0a0d18;
  --navy: #13213a;
  --ink: #4b4b50;
  --ink-soft: #6a6a70;
  --gray-btn: #707070;
  --line: #8a8a8f;
  --line-soft: #c9c9cd;
  --accent: #35bde0;
  --red: #ff5b3d;
  --header-h: calc(var(--u) * 172);
  --ko: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --en: "Seravek", "Noto Sans KR", "Segoe UI", sans-serif;
  --din: "Barlow", "DIN Alternate", "Seravek", sans-serif;
}
html:lang(zh) {
  --ko: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans KR", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #fff;
  font-family: var(--ko);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
html:lang(en) body { word-break: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: var(--wrap); margin: 0 auto; position: relative; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: height .35s ease, background-color .35s ease, backdrop-filter .35s ease;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: calc(var(--u) * 111); margin-top: calc(var(--u) * 3); }
.gnb { display: flex; align-items: center; gap: calc(var(--u) * 23.5); }
.gnb > a {
  position: relative;
  font-size: calc(var(--u) * 13.4);
  letter-spacing: -.01em;
  padding: 6px 0;
}
.gnb > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .25s ease;
}
.gnb > a:hover::after, .gnb > a.is-active::after { transform: scaleX(1); }
.site-header.is-scrolled {
  height: 76px;
  background: rgba(10, 14, 26, .78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav-toggle { display: none; }

/* 언어 선택 */
.lang { position: relative; }
.lang-btn {
  background: none; border: 0; cursor: pointer; padding: 6px 0;
  font-family: var(--en); font-size: calc(var(--u) * 13.4); letter-spacing: .01em;
}
.lang-menu {
  position: absolute; right: 0; top: 100%; margin-top: 8px; min-width: 76px; padding: 6px 0;
  background: rgba(12, 16, 30, .92); border: 1px solid rgba(255,255,255,.14); border-radius: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  display: block; width: 100%; padding: 6px 14px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--en); font-size: 13px; letter-spacing: .02em; color: rgba(255,255,255,.75);
}
.lang-menu button:hover, .lang-menu button[aria-current="true"] { color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Sections ---------- */
.sec {
  position: relative;
  background: var(--bg) center top / cover no-repeat;
}
.bg-main     { background-image: url("../assets/img/bg-main.webp"); }
.bg-about    { background-image: url("../assets/img/bg-about.webp"); }
.bg-location { background-image: url("../assets/img/bg-location.webp"); }

.band {
  position: relative; height: calc(var(--u) * 328);
  display: flex; align-items: flex-end; justify-content: center;
  background: var(--bg) center / cover no-repeat;
}
.band-service { background-image: url("../assets/img/band-service.webp"); }
.band-product { background-image: url("../assets/img/band-product.webp"); }
.band-inquiry { background-image: url("../assets/img/band-inquiry.webp"); }
.band-title {
  font-weight: 700; text-align: center; color: #fff;
  padding-bottom: calc(var(--u) * 80.5);
}
.band-title.en { font-family: var(--en); font-size: calc(var(--u) * 64); line-height: 1; letter-spacing: -.035em; }
.band-title.ko { font-size: calc(var(--u) * 41); line-height: 1; letter-spacing: -.03em; padding-bottom: calc(var(--u) * 102); }
html:lang(en) .band-title.ko { font-family: var(--en); font-size: calc(var(--u) * 50); letter-spacing: -.03em; }

.white-sec { color: var(--ink); }

/* ---------- 1. Hero ---------- */
.hero {
  min-height: calc(var(--u) * 1001);
  text-align: center; background-position: center top;
  padding: calc(var(--u) * 273) 0 calc(var(--u) * 150);
}
.hero-logo { width: calc(var(--u) * 353); margin: 0 auto; }
.hero-slogan {
  margin-top: calc(var(--u) * 34);
  font-family: var(--din); font-weight: 500;
  font-size: calc(var(--u) * 31); line-height: 1.1; letter-spacing: -.012em;
}
.hero-text {
  margin-top: calc(var(--u) * 106);
  font-size: calc(var(--u) * 22); line-height: calc(var(--u) * 46.7); letter-spacing: -.025em;
}
html:lang(en) .hero-text { font-family: var(--en); font-size: calc(var(--u) * 20); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 36px; width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid rgba(255,255,255,.7); border-radius: 13px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 2. 회사소개 ---------- */
#about { padding: calc(var(--u) * 222) 0 calc(var(--u) * 132); }
.about { text-align: center; }
.about-title { font-size: calc(var(--u) * 31); line-height: calc(var(--u) * 45.3); font-weight: 700; letter-spacing: -.04em; }
.about-text {
  margin-top: calc(var(--u) * 39);
  font-weight: 300; font-size: calc(var(--u) * 16.8); line-height: calc(var(--u) * 44.6); letter-spacing: -.03em;
}
.about-motto { margin-top: 0; font-size: calc(var(--u) * 17); line-height: calc(var(--u) * 44.6); letter-spacing: -.035em; }
.about-motto .hl { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: calc(var(--u) * 7); }
html:lang(en) .about-text, html:lang(en) .about-motto { font-family: var(--en); letter-spacing: -.01em; }

/* ---------- 3. Our Service ---------- */
.svc { padding: calc(var(--u) * 65) 0 calc(var(--u) * 200); text-align: center; }
.svc-item + .svc-item { margin-top: calc(var(--u) * 147); }
.svc-item h3 { font-size: calc(var(--u) * 25.5); font-weight: 700; line-height: 1.2; letter-spacing: -.04em; color: #4a4a4f; }
.svc-en { margin-top: calc(var(--u) * 14); font-family: var(--en); font-size: calc(var(--u) * 26); line-height: 1.2; letter-spacing: -.02em; color: #727277; }
.svc-text { margin-top: calc(var(--u) * 48); font-weight: 300; font-size: calc(var(--u) * 19); line-height: calc(var(--u) * 37.8); letter-spacing: -.045em; color: #545459; }
html:lang(en) .svc-text { font-family: var(--en); font-weight: 400; letter-spacing: -.01em; }
.svc-img { width: calc(var(--u) * 612); aspect-ratio: 612 / 353; margin: calc(var(--u) * 43) auto 0; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.svc-item:hover .svc-img img { transform: scale(1.03); }

/* ---------- 4. 제품소개 카드 ---------- */
.cards {
  display: grid; grid-template-columns: repeat(7, calc(var(--u) * 122.4)); justify-content: space-between;
  padding: calc(var(--u) * 146) 0 calc(var(--u) * 178);
}
.cards li.low { padding-top: calc(var(--u) * 42); }
.cards a { position: relative; display: block; aspect-ratio: 467 / 1365; overflow: hidden; background: #4d4f63; }
.cards img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, filter .4s ease; }
.cards span {
  position: absolute; left: calc(var(--u) * 9); bottom: calc(var(--u) * 9); right: 6px;
  font-size: calc(var(--u) * 25); font-weight: 700; line-height: calc(var(--u) * 31); letter-spacing: -.04em; color: #fff;
  text-shadow: 0 1px 8px rgba(20, 22, 40, .25);
}
html:lang(en) .cards span { font-family: var(--en); font-size: calc(var(--u) * 19); line-height: calc(var(--u) * 23); letter-spacing: -.02em; }
.cards a::after { content: ""; position: absolute; inset: 0; border: 0 solid rgba(255,255,255,.9); transition: border-width .25s ease; }
.cards a:hover img, .cards a:focus-visible img { transform: scale(1.06); filter: brightness(1.08); }
.cards a:hover::after, .cards a:focus-visible::after { border-width: 3px; }
.cards a:focus-visible { outline: none; }

/* ---------- 제품 상세 ---------- */
.pview .band-title.ko { text-shadow: 0 2px 12px rgba(0,0,0,.15); }
.pv-body { padding: calc(var(--u) * 42) 0 calc(var(--u) * 150); }
.pv-tools { display: flex; justify-content: flex-end; align-items: center; gap: calc(var(--u) * 12); height: calc(var(--u) * 28); }
.btn-back, .btn-gray {
  display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer;
  background: var(--gray-btn); color: #fff; font-family: var(--en); font-weight: 700; letter-spacing: -.01em;
  width: calc(var(--u) * 90); height: calc(var(--u) * 37); border-radius: calc(var(--u) * 10); font-size: calc(var(--u) * 17);
  transition: background-color .2s ease, transform .2s ease;
}
.btn-back:hover, .btn-gray:hover { background: #4f4f55; }
.btn-back:active, .btn-gray:active { transform: translateY(1px); }
.btn-back.sm { width: calc(var(--u) * 63); height: calc(var(--u) * 26); border-radius: calc(var(--u) * 7); font-size: calc(var(--u) * 13); }
.btn-search { width: calc(var(--u) * 28); height: calc(var(--u) * 28); padding: 0; background: none; border: 0; cursor: pointer; }
.btn-search svg { width: 100%; height: 100%; fill: none; stroke: #6d6d72; stroke-width: 2; stroke-linecap: round; transition: stroke .2s ease; }
.btn-search:hover svg, .btn-search[aria-expanded="true"] svg { stroke: var(--navy); }
.search-box {
  display: flex; align-items: center; gap: 8px; height: calc(var(--u) * 30); min-height: 30px; padding: 0 6px 0 12px;
  border: 1px solid #b9bcc4; border-radius: 999px; background: #fff; margin-right: auto; margin-left: 0;
  width: min(420px, 100%); animation: pop .2s ease;
}
@keyframes pop { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-count { font-size: 12px; color: #8a8a90; white-space: nowrap; }
.search-close { width: 24px; height: 24px; border: 0; background: #eceef1; border-radius: 50%; cursor: pointer; color: #66666c; font-size: 16px; line-height: 1; }
.pv-tools .search-box:not([hidden]) { margin-left: 0; }
mark { background: #ffe36b; color: inherit; padding: 0 1px; border-radius: 2px; }
.no-result { margin-top: 40px; text-align: center; font-size: 16px; color: #8a8a90; }
.pv-content { margin-top: calc(var(--u) * 15); }
.pv-foot { margin-top: calc(var(--u) * 37); text-align: center; }

.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptable {
  width: 100%; border-collapse: collapse; table-layout: fixed;
  font-family: var(--en); font-weight: 400; color: #626267; text-align: center;
  font-size: calc(var(--u) * 15); line-height: 1.25; letter-spacing: -.02em;
  border-bottom: 1.5px solid #6b6b70;
}
html:lang(zh) .ptable td { font-family: var(--en), var(--ko); }
.ptable thead th {
  background: var(--navy); color: #fff; font-weight: 400; height: calc(var(--u) * 40);
  padding: 4px 6px; border-left: 1px solid rgba(255,255,255,.75);
}
.ptable thead th:first-child { border-left: 0; }
.ptable thead tr.sub th { border-top: 1px solid rgba(255,255,255,.55); }
.ptable tbody th { font-weight: 500; color: #3e3e43; }
.ptable tbody td, .ptable tbody th { height: calc(var(--u) * 40); padding: 3px 6px; border-top: 1px solid var(--line); border-left: 1px solid #b4b4b8; }
.ptable tbody tr > :first-child { border-left: 0; }
.ptable tbody tr:hover > * { background: #f4f6f9; }
.ptable.silane { font-size: calc(var(--u) * 14.7); line-height: 1.33; }
.ptable.silane thead th { height: calc(var(--u) * 36); font-size: calc(var(--u) * 16); line-height: 1.3; padding: 2px 3px; }
.ptable.silane thead tr.sub th { height: calc(var(--u) * 42); }
.ptable.silane tbody td, .ptable.silane tbody th { height: calc(var(--u) * 37); padding: 3px 3px; }
.ptable.silane tbody th { font-size: calc(var(--u) * 16.4); }
.ptable tr.cat th { background: #b6bbc3; color: #24262c; font-weight: 500; height: calc(var(--u) * 37); font-size: calc(var(--u) * 14.9); font-weight: 700; }
.ptable tr.cat:hover th { background: #b6bbc3; }
.ptable.personal { font-size: calc(var(--u) * 15.5); line-height: 1.1; }
.ptable.personal td[data-en] { letter-spacing: -.075em !important; }
.ptable.personal thead th { font-size: calc(var(--u) * 16); font-weight: 500; height: calc(var(--u) * 41); }
.ptable.personal tbody td, .ptable.personal tbody th { padding: 3px 2px; height: calc(var(--u) * 44); }
html:lang(ko) .ptable td[data-en] { font-family: var(--ko); font-weight: 300; color: #555; letter-spacing: -.05em; }

/* 금속파우더 */
.pblock + .pblock { margin-top: calc(var(--u) * 122); }
.ph { text-align: center; font-size: calc(var(--u) * 26); font-weight: 700; color: #4a4a4f; letter-spacing: -.04em; line-height: 1.25; }
.pmeta { margin-top: calc(var(--u) * 16); text-align: center; font-size: calc(var(--u) * 20); line-height: calc(var(--u) * 38); color: #555; letter-spacing: -.03em; }
.pmeta div { display: block; }
.pmeta dt { display: inline; font-weight: 700; margin-right: .3em; }
.pmeta dd { display: inline; font-family: var(--en); font-weight: 400; }
html:lang(ko) .pmeta dd, html:lang(zh) .pmeta dd { font-family: var(--en), var(--ko); font-weight: 300; }
.pmeta small { font-size: .95em; letter-spacing: -.055em; }
.spec-cap { margin: calc(var(--u) * 42) 0 calc(var(--u) * 14); font-family: var(--en), var(--ko); font-size: calc(var(--u) * 18); line-height: calc(var(--u) * 25); font-weight: 500; color: #555; letter-spacing: -.02em; }
.ptable.spec { font-size: calc(var(--u) * 14.8); }
.ptable.spec thead th { font-size: calc(var(--u) * 15.5); line-height: 1.22; padding: 6px 4px; height: calc(var(--u) * 48); font-weight: 500; }
.ptable.spec thead tr.sub th { height: calc(var(--u) * 31); }
.ptable.spec thead th span { font-weight: 400; }
.ptable.spec tbody td { height: calc(var(--u) * 40); padding: 2px 4px; border-left-color: #c4c4c8; border-top-color: #aaaab0; }
.spec-note { margin-top: calc(var(--u) * 14); font-family: var(--en), var(--ko); font-size: calc(var(--u) * 16.5); line-height: 1.6; font-weight: 500; color: #555; letter-spacing: -.02em; }
.elements { margin-top: calc(var(--u) * 26); text-align: center; font-family: var(--en), var(--ko); font-size: calc(var(--u) * 19.3); line-height: calc(var(--u) * 34); color: #555; letter-spacing: -.02em; }

/* 실리콘광물 */
.mineral-img { width: calc(var(--u) * 230); aspect-ratio: 1; margin: 0 auto; overflow: hidden; }
.mineral-img img { width: 100%; height: 100%; object-fit: cover; }
.mh { margin-top: calc(var(--u) * 14); text-align: center; color: #4a4a4f; line-height: 1.2; }
.mh b { display: block; font-size: calc(var(--u) * 26); font-weight: 700; letter-spacing: -.04em; }
.mh span { display: block; margin-top: calc(var(--u) * 6); font-family: var(--en); font-weight: 400; font-size: calc(var(--u) * 26); letter-spacing: -.02em; color: #6a6a70; }
html:lang(en) .mh span { display: none; }
.mh + .tscroll { margin-top: calc(var(--u) * 28); }
.ptable.side { border-top: 1.5px solid #6b6b70; font-size: calc(var(--u) * 13); }
.ptable.side tbody th { width: 16.6%; background: var(--navy); color: #fff; font-weight: 400; border-top-color: rgba(255,255,255,.2); }
.ptable.side tbody tr:first-child > * { border-top: 0; }
.ptable.side tbody tr:hover > th { background: var(--navy); }
.ptable.msi { font-size: calc(var(--u) * 13); }

/* ---------- 5. 제품문의 ---------- */
.inq { padding: calc(var(--u) * 66) 0 calc(var(--u) * 110); text-align: center; }
.inq-title { font-size: calc(var(--u) * 26.5); font-weight: 700; color: #4a4a4f; letter-spacing: -.04em; line-height: 1.2; }
.inq-lead { margin-top: calc(var(--u) * 26); font-weight: 300; font-size: calc(var(--u) * 18.5); line-height: calc(var(--u) * 38); letter-spacing: -.045em; color: #555; }
.inq-guide { margin-top: calc(var(--u) * 44); padding: calc(var(--u) * 21) 16px calc(var(--u) * 24); background: #d4dae1; border-radius: calc(var(--u) * 8); color: #555; }
.inq-guide strong { display: block; font-size: calc(var(--u) * 17); line-height: 1.3; letter-spacing: -.04em; }
.inq-guide p { margin-top: calc(var(--u) * 8); font-weight: 300; font-size: calc(var(--u) * 17); line-height: 1.4; letter-spacing: -.05em; }
.inq-form { margin-top: calc(var(--u) * 22); text-align: left; }
.f-box { padding: calc(var(--u) * 20) calc(var(--u) * 19) calc(var(--u) * 22); background: #eeefef; border-radius: calc(var(--u) * 10); }
.f-row { display: block; }
.f-row + .f-row, .f-2col + .f-row, .f-row + .f-2col { margin-top: calc(var(--u) * 13); }
.f-2col { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 19); }
.f-2col > .f-row { margin-top: 0 !important; }
.f-label { display: block; margin-bottom: calc(var(--u) * 6); font-size: calc(var(--u) * 13.6); font-weight: 700; color: #555; letter-spacing: -.03em; line-height: 1.3; font-family: var(--en), var(--ko); }
.f-label i { font-style: normal; color: #555; margin-left: 1px; }
.inq-form input[type="text"], .inq-form input[type="tel"], .inq-form input[type="email"], .inq-form textarea {
  display: block; width: 100%; border: 1px solid transparent; outline: 0; border-radius: calc(var(--u) * 8); background: #fff;
  height: calc(var(--u) * 38); min-height: 36px; padding: 0 calc(var(--u) * 22);
  font-family: var(--en), var(--ko); font-weight: 400; font-size: max(14px, calc(var(--u) * 13.6)); color: #333; letter-spacing: -.02em;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.inq-form textarea { height: calc(var(--u) * 150); min-height: 120px; padding-top: calc(var(--u) * 12); padding-bottom: calc(var(--u) * 12); resize: vertical; line-height: 1.6; }
.inq-form ::placeholder { color: #b4b4b8; font-weight: 300; }
.inq-form input:focus, .inq-form textarea:focus { border-color: #9fb4cc; box-shadow: 0 0 0 3px rgba(53, 189, 224, .15); }
.inq-form .is-invalid { border-color: #e0604a !important; }
.f-div { border: 0; border-top: 1.5px dotted #b7b7bb; margin: calc(var(--u) * 24) 0 calc(var(--u) * 20); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-agree { margin-top: calc(var(--u) * 16); color: #555; font-size: 14px; line-height: 1.5; text-align: center; }
.f-agree label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 500; }
.f-agree input { width: 16px; height: 16px; accent-color: var(--navy); margin: 0; }
.f-agree p { margin-top: 2px; font-size: 12.5px; color: #8a8a90; }
.f-agree.is-invalid label { color: #d0442c; }
.f-error { margin-top: 12px; text-align: center; color: #d0442c; font-size: 14px; }
.btn-submit { display: flex; margin: calc(var(--u) * 22) auto 0; font-family: var(--ko); letter-spacing: -.04em; }
html:lang(en) .btn-submit { font-family: var(--en); width: calc(var(--u) * 110); }
.btn-submit[disabled] { opacity: .6; cursor: progress; }

/* 팝업 */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(40, 40, 44, .42); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal-box {
  width: min(calc(var(--u) * 486), 100%); min-width: min(330px, 100%); padding: calc(var(--u) * 46) 20px calc(var(--u) * 35);
  background: #fff; border-radius: 6px; box-shadow: 4px 6px 6px rgba(0,0,0,.35); text-align: center; color: #555;
  animation: rise .25s ease;
}
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
.modal-title { font-size: max(24px, calc(var(--u) * 32)); font-weight: 700; color: #d0121b; letter-spacing: -.05em; line-height: 1.2; }
.modal.is-error .modal-title { color: #555; }
.modal-text { margin-top: calc(var(--u) * 26); font-weight: 300; font-size: max(15px, calc(var(--u) * 20)); line-height: max(28px, calc(var(--u) * 41)); letter-spacing: -.045em; }
.btn-ok {
  margin-top: calc(var(--u) * 30); width: calc(var(--u) * 90); min-width: 80px; height: calc(var(--u) * 38); min-height: 36px;
  border: 0; border-radius: calc(var(--u) * 10); background: var(--accent); color: #fff; font-weight: 700; font-size: max(15px, calc(var(--u) * 17)); cursor: pointer;
}
.btn-ok:hover { background: #1fa9ce; }

/* ---------- 6. Location ---------- */
#location { padding: calc(var(--u) * 182) 0 calc(var(--u) * 120); }
.loc-title.band-title { padding: 0; }
.loc-map { width: calc(var(--u) * 764); margin: calc(var(--u) * 34) 0 0 calc(var(--u) * 56); }
.loc-map svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--ko); }
.loc-map .blk { fill: #4d4545; }
.loc-map .lbl { fill: #dedada; font-size: 14.6px; font-weight: 300; letter-spacing: -.02em; }
.loc-map .road { fill: #fff; }
.loc-map .rd { fill: #4a4a4f; font-size: 14.6px; font-weight: 400; letter-spacing: -.02em; }
.loc-map .arrow { fill: #111; }
.loc-map .line5 { fill: #74409a; }
.loc-map .stn { fill: #fff; stroke: #74409a; stroke-width: 6; }
.loc-map .stn-l { fill: #74409a; font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.loc-map .stn-n { fill: #111; font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
html:lang(en) .loc-map .stn-l, html:lang(en) .loc-map .stn-n { font-size: 17px; font-family: var(--en); }
.loc-map .exit circle { fill: #ffe600; stroke: #222; stroke-width: .8; }
.loc-map .exit text { fill: #222; text-anchor: middle; font-family: var(--en); font-weight: 500; }
.loc-map .exit.big text { font-weight: 700; }
.loc-map .bld { fill: #fff; font-size: 16px; font-weight: 700; letter-spacing: -.03em; }
.loc-info {
  display: grid; grid-template-columns: auto auto; column-gap: calc(var(--u) * 9); width: max-content; max-width: 100%;
  margin: calc(var(--u) * 50) 0 0 calc(var(--u) * 225); font-size: calc(var(--u) * 17); line-height: calc(var(--u) * 26.5);
}
.loc-info dt { font-weight: 700; }
.loc-info dd { font-weight: 300; font-family: var(--en), var(--ko); }
.loc-info a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #070910; padding: 36px 0 44px; font-size: 13px; color: #9a9aa5; line-height: 1.8; }
.footer-logo { width: 86px; margin-bottom: 14px; opacity: .85; }
.site-footer b { font-weight: 700; color: #c4c4cc; }
.site-footer em { font-style: normal; }
.site-footer span { margin: 0 .6em; opacity: .4; }
.site-footer .copy { margin-top: 6px; color: #6d6d78; }

/* 제품 상세 보기일 때: 메인 섹션 숨김 */
.is-product .page-main { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}

/* =========================================================
   Tablet / Mobile
   ========================================================= */
@media (max-width: 1023px) {
  :root { --wrap: calc(100vw - 48px); }
  .site-header { height: 76px; }
  .brand img { width: 92px; }
  .gnb > a, .lang-btn { font-size: 14px; }
  .gnb { gap: 18px; }
  .ptable.silane { min-width: 860px; }
  .ptable.personal { min-width: 820px; }
  .ptable.spec { min-width: 640px; }
}

@media (max-width: 767px) {
  :root { --wrap: calc(100vw - 32px); }
  body { font-size: 15px; }
  .site-header, .site-header.is-scrolled { height: 64px; }
  .brand img { width: 84px; }

  .nav-toggle {
    display: block; position: relative; z-index: 2; width: 40px; height: 40px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s ease, opacity .2s ease; }
  .nav-toggle span:nth-child(1) { top: 13px; }
  .nav-toggle span:nth-child(2) { top: 19px; }
  .nav-toggle span:nth-child(3) { top: 25px; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .gnb {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 22px;
    background: rgba(8, 10, 20, .96); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .nav-open .gnb { opacity: 1; visibility: visible; }
  .gnb > a { font-size: 20px; font-weight: 700; }
  .nav-open { overflow: hidden; }
  .lang { margin-top: 14px; }
  .lang-btn { display: none; }
  .lang-menu { position: static; display: flex; gap: 6px; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0; margin: 0; }
  .lang-menu button { padding: 6px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 14px; }
  .lang-menu button[aria-current="true"] { background: #fff; color: #111; }

  .band { height: 200px; }
  .band-title.en { font-size: 38px; padding-bottom: 44px; }
  .band-title.ko, html:lang(en) .band-title.ko { font-size: 28px; padding-bottom: 50px; }

  .hero { padding: 90px 0 80px; }
  .hero-logo { width: 62vw; max-width: 260px; }
  .hero-slogan { margin-top: 22px; font-size: clamp(17px, 5.2vw, 22px); }
  .hero-text, html:lang(en) .hero-text { margin-top: 48px; font-size: 15px; line-height: 1.9; }
  .hero-text br { display: none; }

  #about { padding: 100px 0 72px; }
  .about-title { font-size: 22px; line-height: 1.5; }
  .about-text { margin-top: 26px; font-size: 15px; line-height: 1.9; }
  .about-text br, .svc-text br, .inq-lead br { display: none; }
  .about-motto { margin-top: 20px; font-size: 15px; line-height: 1.8; }
  .about-motto .hl { text-underline-offset: 4px; }

  .svc { padding: 48px 0 80px; }
  .svc-item + .svc-item { margin-top: 64px; }
  .svc-item h3 { font-size: 21px; }
  .svc-en { font-size: 16px; margin-top: 6px; }
  .svc-text { margin-top: 18px; font-size: 15px; line-height: 1.8; letter-spacing: -.03em; }
  .svc-img { width: 100%; margin-top: 22px; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 40px 0 64px; }
  .cards li.low { padding-top: 0; }
  .cards a { aspect-ratio: 4 / 5; }
  .cards img { object-position: center 30%; }
  .cards span, html:lang(en) .cards span { left: 12px; bottom: 12px; font-size: 20px; line-height: 1.25; }
  .cards li:last-child { grid-column: 1 / -1; }
  .cards li:last-child a { aspect-ratio: 2 / 1.1; }

  .pv-body { padding: 22px 0 64px; }
  .pv-tools { height: auto; flex-wrap: wrap; gap: 10px; }
  .btn-back.sm { width: 62px; height: 28px; font-size: 13px; border-radius: 7px; }
  .btn-search { width: 28px; height: 28px; }
  .search-box { order: 3; width: 100%; height: 38px; }
  .btn-back { width: 96px; height: 40px; font-size: 16px; border-radius: 10px; }
  .ptable, .ptable.spec, .ptable.side, .ptable.msi, .ptable.personal, .ptable.silane { font-size: 12.5px; }
  .ptable { min-width: 600px; }
  .ptable.side, .ptable.msi { min-width: 0; }
  .ptable thead th, .ptable tbody td, .ptable tbody th { height: 38px; }
  .ptable.spec thead th, .ptable.spec tbody td { height: 30px; font-size: 12px; }
  .tscroll { margin: 0 -16px; padding: 0 16px; }
  .pblock + .pblock { margin-top: 56px; }
  .ph { font-size: 19px; }
  .pmeta, .elements { font-size: 14px; line-height: 1.7; }
  .elements br { display: none; }
  .spec-cap, .spec-note { font-size: 13px; line-height: 1.5; }
  .spec-cap { margin-top: 22px; }
  .mineral-img { width: 180px; }
  .mh b, .mh span { font-size: 20px; }
  .mh + .tscroll { margin-top: 18px; }

  .inq { padding: 40px 0 64px; }
  .inq-title { font-size: 22px; }
  .inq-lead { font-size: 15px; line-height: 1.75; margin-top: 14px; }
  .inq-guide { margin-top: 26px; padding: 16px; border-radius: 8px; }
  .inq-guide strong { font-size: 16px; }
  .inq-guide p { font-size: 14px; line-height: 1.6; margin-top: 4px; }
  .f-box { padding: 18px 14px; border-radius: 10px; }
  .f-2col { grid-template-columns: 1fr; gap: 12px; }
  .f-row + .f-row, .f-2col + .f-row, .f-row + .f-2col { margin-top: 12px; }
  .f-label { font-size: 14px; margin-bottom: 6px; }
  .inq-form input[type="text"], .inq-form input[type="tel"], .inq-form input[type="email"], .inq-form textarea { height: 44px; padding: 0 14px; font-size: 16px; border-radius: 8px; }
  .inq-form textarea { height: 160px; padding: 12px 14px; }
  .f-div { margin: 20px 0 16px; }
  .btn-submit, html:lang(en) .btn-submit { width: 100%; height: 48px; font-size: 17px; margin-top: 18px; }

  #location { padding: 100px 0 64px; }
  .loc-title.band-title { font-size: 40px; }
  .loc-map { width: 100%; margin: 24px 0 0; }
  .loc-info { margin: 28px 0 0; font-size: 15px; line-height: 1.75; column-gap: 14px; width: auto; }
  .loc-info dd { word-break: keep-all; }

  .site-footer { font-size: 12px; }
  .site-footer span { display: none; }
  .site-footer p em, .site-footer p b { display: block; }
}
