/* 다산마그네트 홈페이지 공통 스타일 */
:root {
  --ink: #15181c;
  --ink-2: #2a2f36;
  --accent: #f2b100;        /* 다산 마그네트 노랑 */
  --accent-ink: #8a6500;    /* 흰 바탕 위 글자용 진한 노랑 */
  --paper: #f5f4f0;
  --white: #fff;
  --text: #1c1f23;
  --muted: #6b7079;
  --line: #e6e4df;
  --line-dark: rgba(255,255,255,.12);
  --radius: 4px;
  --wrap: 1240px;
  --header: 76px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--accent); padding: 8px 12px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 46px; flex: none; color: var(--ink); line-height: 0; }
.logo-mark svg { width: 100%; height: auto; display: block; }
.logo-text strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.logo-text small { display: block; font-size: 9.5px; letter-spacing: .18em; line-height: 1.45; color: var(--muted); text-transform: uppercase; margin-top: 4px; }

@media (max-width: 400px) { .logo { gap: 10px; } .logo-mark { width: 40px; } .logo-text strong { font-size: 17px; } .logo-text small { font-size: 8.5px; letter-spacing: .1em; white-space: nowrap; } }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a {
  position: relative; display: block; padding: 10px 12px;
  text-decoration: none; font-size: 15px; font-weight: 500; color: #3a3f46;
  transition: color .15s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--ink);
  width: 44px; height: 44px; cursor: pointer; padding: 11px;
}
.nav-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; }

/* 하위 메뉴 (PC: 마우스를 올리면 펼침) */
.nav .has-sub { position: relative; }
.nav .sub {
  position: absolute; left: 0; top: 100%; min-width: 210px; z-index: 60;
  list-style: none; margin: 0; padding: 10px 0;
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--accent);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  display: block; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { padding: 10px 20px; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.nav .sub a::after { display: none; }
.nav .sub a:hover { background: var(--paper); }
.nav .sub a[aria-current="page"] { color: var(--accent-ink); font-weight: 600; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav { max-height: calc(100vh - var(--header)); overflow-y: auto; }
  .nav .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 8px; min-width: 0; background: none;
  }
  .nav .sub a { padding: 10px 0 10px 16px; font-size: 15px; color: var(--muted); border-bottom: 0; }
  .nav .sub a:hover { background: none; color: var(--ink); }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header);
    background: var(--white); border-bottom: 1px solid var(--line);
    display: none; box-shadow: 0 20px 40px rgba(0,0,0,.08);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .nav a { padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent-ink); }
}

/* ---------- 공통 라벨·버튼 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 2px;
  font-weight: 600; font-size: 15px; text-decoration: none; letter-spacing: -0.01em;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn::after { content: "→"; transition: transform .2s; }
.btn:hover::after { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #ffc21a; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }

/* ---------- 메인 비주얼 ---------- */
.hero {
  position: relative; color: var(--white);
  background: var(--ink) url("../img/hero-sparks.jpg") center 40%/cover no-repeat;
  min-height: min(82vh, 760px); display: flex; align-items: flex-end;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(10,12,14,.85) 0%, rgba(10,12,14,.2) 55%, rgba(10,12,14,.35) 100%),
    linear-gradient(90deg, rgba(10,12,14,.55) 0%, rgba(10,12,14,0) 60%);
}
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 88px; }
.hero .eyebrow { color: rgba(255,255,255,.75); }
.hero h1 { font-size: clamp(36px, 5.6vw, 68px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.12; max-width: 860px; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: clamp(16px, 1.6vw, 18px); color: rgba(255,255,255,.78); max-width: 680px; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- 섹션 ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.04em; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-dark .section-head p, .section-dark p { color: rgba(255,255,255,.7); }
.section-dark .eyebrow { color: rgba(255,255,255,.6); }
.section-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-row .section-head { margin-bottom: 0; }
@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .section-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- 제품 카드 ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.card { text-decoration: none; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; border-radius: var(--radius); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px 0 0; flex: 1; display: flex; flex-direction: column; }
.card-body small { color: var(--muted); font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.card-body h3 { font-size: 21px; margin: 8px 0 10px; }
.card-body p { color: var(--muted); font-size: 15px; margin-bottom: 18px; line-height: 1.65; }
.card-more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--ink); display: inline-flex; gap: 8px; }
.card-more::after { content: "→"; transition: transform .2s; }
.card:hover .card-more::after { transform: translateX(4px); }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; } }
/* 제품 목록 카드: 사진을 자르지 않고 전체를 보여 줌 */
.cards.fit .card-img { background: var(--paper); position: relative; }
.cards.fit .card-img img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.cards.fit .card:hover .card-img img { transform: scale(1.03); }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- 2단 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-img img { border-radius: var(--radius); width: 100%; }
.split h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.04em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.checks { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line); }
.checks li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 27px;
  width: 12px; height: 2px; background: var(--accent);
}
.section-dark .checks, .section-dark .checks li { border-color: var(--line-dark); }

/* 번호 붙은 강점 목록 */
.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; counter-reset: pt; }
.points li { counter-increment: pt; padding: 26px 0; border-top: 1px solid var(--line); }
.points li::before { content: counter(pt, decimal-leading-zero); display: block; font-size: 13px; font-weight: 600; color: var(--accent-ink); letter-spacing: .1em; margin-bottom: 10px; }
.points strong { display: block; font-size: 18px; margin-bottom: 6px; letter-spacing: -0.02em; }
.points span { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .points { grid-template-columns: 1fr; } }

/* ---------- 고객사 ---------- */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clients li { padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 500; font-size: 15px; color: var(--ink-2); background: var(--white); }

/* ---------- 사진 그리드 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: #222; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); cursor: zoom-in; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-size: 13px; font-weight: 500;
}
/* 메인의 비대칭 그리드: 큰 사진 1 + 작은 사진 4 */
.gallery.feature { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; }
.gallery.feature figure:first-child { grid-row: span 2; }
.gallery.feature figure:first-child img { height: 100%; aspect-ratio: auto; }
@media (max-width: 860px) {
  .gallery, .gallery.feature { grid-template-columns: repeat(2, 1fr); }
  .gallery.feature figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery.feature figure:first-child img { aspect-ratio: 16 / 10; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,12,14,.94);
  display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; }

/* ---------- 서브 페이지 머리 ---------- */
.page-head { background: var(--paper); padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.045em; margin-bottom: 18px; }
.page-head h1 small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.page-head p { color: var(--muted); margin: 0; max-width: 640px; font-size: 17px; }
@media (max-width: 760px) { .page-head { padding: 52px 0 40px; } .page-head p { font-size: 15.5px; } }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 28px; letter-spacing: .02em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* 서브 메뉴(페이지 안 이동) */
.subnav { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: var(--header); z-index: 40; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; white-space: nowrap; padding: 18px 0; text-decoration: none;
  font-weight: 500; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.subnav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- 제품 상세 ---------- */
.product { padding: 96px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 60px); }
.product:last-of-type { border-bottom: 0; }
.product-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; margin-bottom: 48px; }
.product-head h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.04em; }
.product-head .en { display: block; font-size: 12px; letter-spacing: .2em; color: var(--muted); font-weight: 600; text-transform: uppercase; margin-bottom: 14px; }
.product-head p { color: #444a52; }
.product-photos { display: grid; gap: 8px; }
.product-photos.two { grid-template-columns: 1fr 1fr; }
.product-photos.three { grid-template-columns: repeat(3, 1fr); }
.product-photos img { width: 100%; border-radius: var(--radius); background: var(--paper); object-fit: cover; cursor: zoom-in; }
.product-photos.two img, .product-photos.three img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .product-head { grid-template-columns: 1fr; gap: 28px; } .product { padding: 64px 0; } }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; list-style: none; padding: 0; margin: 0 0 40px; }
.feature-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.feature-list strong { display: block; margin-bottom: 6px; font-size: 17px; letter-spacing: -0.02em; }
.feature-list span { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }

.spec-note { font-size: 14px; color: var(--muted); padding: 14px 0 14px 18px; border-left: 2px solid var(--accent); margin: 0 0 20px; }

h3.spec-title { font-size: 15px; font-weight: 600; letter-spacing: .02em; margin: 44px 0 14px; color: var(--ink); }

.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); margin-bottom: 8px; -webkit-overflow-scrolling: touch; }
table.spec { border-collapse: collapse; width: 100%; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.spec th, table.spec td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); }
table.spec thead th { background: var(--white); color: var(--muted); font-weight: 600; font-size: 12.5px; letter-spacing: .02em; border-bottom: 1px solid #cfccc5; }
table.spec tbody th { font-weight: 600; text-align: left; color: var(--ink); }
table.spec tbody td { color: #3b4047; }
table.spec tbody tr:hover td, table.spec tbody tr:hover th { background: #faf8f2; }
.table-hint { display: none; font-size: 12px; color: var(--muted); margin: 0 0 8px; }
@media (max-width: 760px) { .table-hint { display: block; } }

/* ---------- 연혁 ---------- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.timeline span { color: #444a52; }


.greeting p { color: #3b4047; font-size: 16.5px; }
.greeting .sign { margin-top: 32px; font-weight: 600; color: var(--ink); }

/* ---------- 문의 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.contact-box { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
.contact-box + .contact-box { padding-left: 28px; border-left: 1px solid var(--line); }
.contact-box h3 { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.contact-box a, .contact-box strong { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); display: block; }
.contact-box p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-box, .contact-box + .contact-box { padding: 26px 0; border-left: 0; }
}

.cta { background: var(--ink); color: var(--white); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 88px; padding-bottom: 88px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -0.04em; }
.cta p { margin: 0; color: rgba(255,255,255,.65); }
.cta .btn-dark { background: var(--accent); color: var(--ink); }
.cta .btn-dark:hover { background: #ffc21a; }

/* ---------- 푸터 ---------- */
.site-footer { background: #0d0f12; color: rgba(255,255,255,.55); font-size: 14px; padding: 56px 0 40px; border-top: 1px solid var(--line-dark); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; }
.site-footer strong { color: var(--white); font-size: 16px; font-weight: 600; display: block; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .logo-mark { width: 38px; color: var(--accent); }
.site-footer dl { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer dt { color: rgba(255,255,255,.35); }
.site-footer dd { margin: 0 0 0 6px; }
.site-footer .row { display: flex; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid var(--line-dark); padding-top: 22px; margin: 8px 0 0; font-size: 12.5px; color: rgba(255,255,255,.35); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- 세부 제품 선택 칸 ---------- */
.ptabs { background: var(--white); border-bottom: 1px solid var(--line); padding: 28px 0 32px; }
.ptabs-label { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 14px; letter-spacing: .02em; }
.ptabs-label span { display: inline-block; min-width: 22px; padding: 0 6px; margin-left: 4px; border-radius: 99px; background: var(--paper); color: var(--ink); text-align: center; font-size: 12px; }
.ptabs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ptabs a {
  display: flex; align-items: center; gap: 14px; height: 100%;
  padding: 12px 16px 12px 12px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ptabs a:hover { border-color: #bdb9b0; box-shadow: 0 8px 22px rgba(0,0,0,.06); transform: translateY(-2px); }
.ptabs img { width: 64px; height: 64px; flex: none; object-fit: cover; border-radius: 3px; background: var(--paper); }
.ptabs strong { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; color: var(--ink); }
.ptabs small { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.ptabs a[aria-current="page"] { border: 2px solid var(--ink); padding: 11px 15px 11px 11px; background: #fffbef; box-shadow: inset 0 -4px 0 var(--accent); }
.ptabs a[aria-current="page"]:hover { transform: none; }
@media (max-width: 760px) {
  .ptabs { padding: 20px 0 22px; }
  .ptabs ul { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; margin: 0 -24px; padding: 2px 24px 6px; scrollbar-width: none; }
  .ptabs ul::-webkit-scrollbar { display: none; }
  .ptabs li { flex: 0 0 78%; scroll-snap-align: start; }
}

.product-single { border-bottom: 0; padding-top: 72px; }

/* ---------- 이전·다음 제품 ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--line); padding: 40px 0 96px; }
.pager a { display: block; text-decoration: none; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; transition: border-color .15s; }
.pager a:hover { border-color: var(--ink); }
.pager small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted); margin-bottom: 4px; }
.pager-prev small::before { content: "← "; }
.pager-next { text-align: right; }
.pager-next small::after { content: " →"; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; padding-bottom: 64px; } .pager span { display: none; } }

/* ---------- 작동 원리 그림 ---------- */
.diagrams { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 16px; }
.diagrams figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 20px; }
.diagrams svg { display: block; width: 100%; height: auto; font-family: var(--font); }
.diagrams figcaption { font-size: 14.5px; color: #444a52; line-height: 1.7; margin-top: 8px; }
.diagrams figcaption strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
@media (max-width: 860px) { .diagrams { grid-template-columns: 1fr; } }

/* ---------- 형식별 카드 ---------- */
.type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.type-cards article { border-top: 2px solid var(--ink); padding-top: 20px; }
.type-cards img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--paper); border-radius: var(--radius); padding: 10px; margin-bottom: 18px; cursor: zoom-in; }
.type-cards .en { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.type-cards h4 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.03em; }
.type-cards p { color: var(--muted); font-size: 15px; }
.type-cards .checks { margin-bottom: 0; }
.type-cards .checks li { font-size: 14.5px; padding-top: 12px; padding-bottom: 12px; }
.type-cards .checks li::before { top: 23px; }
@media (max-width: 960px) { .type-cards { grid-template-columns: 1fr; gap: 36px; } }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 24px; }
.info-grid p { color: #444a52; }
.info-grid .clients { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.info-grid .clients li { padding: 14px 16px; font-size: 14.5px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- 치수 도면 ---------- */
.drawing-fig { margin: 0 0 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; overflow-x: auto; }
.drawing-fig svg { display: block; width: 100%; height: auto; margin: 0 auto; font-family: var(--font); min-width: 300px; }
.drawing-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
.drawing-parts { display: grid; grid-template-columns: 1fr 240px; gap: 24px; align-items: start; }
@media (max-width: 760px) { .drawing-parts { grid-template-columns: 1fr; } .drawing-fig { padding: 12px; } }
h3.sub-title { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.03em; margin: 0 0 .6em; }
.product-photos img.photo-limit { max-height: 420px; object-fit: contain; }

/* ---------- 납품실적 (접고 펴는 표) ---------- */
.records { border-top: 2px solid var(--ink); }
.record { border-bottom: 1px solid var(--line); }
.record summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 20px 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.record summary::-webkit-details-marker { display: none; }
.record summary small { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--paper); border-radius: 99px; padding: 2px 10px; }
.record summary::after { content: "+"; margin-left: auto; font-size: 24px; font-weight: 300; color: var(--muted); line-height: 1; }
.record[open] summary::after { content: "−"; }
.record summary:hover { color: var(--accent-ink); }
.record-body { padding: 0 0 28px; }
.record-body .table-wrap { max-height: 560px; overflow: auto; }
.record-body table.spec tbody th { font-weight: 500; }
.record-body table.spec thead th { position: sticky; top: 0; z-index: 1; }
.record-link { margin: 14px 0 0; font-size: 14px; font-weight: 600; }
.record-link a { text-decoration: none; }
.record-link a:hover { color: var(--accent-ink); }
/* 배경이 흰 제품 사진은 자르지 않고 전체를 보여 줌 */
.product-photos.fit img { object-fit: contain; background: var(--white); border: 1px solid var(--line); }
.diagrams.reels { grid-template-columns: 1.5fr 1fr; }
.diagrams.reels figure:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
.diagrams figcaption .en-sub { display: block; font-size: 11px; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin: -2px 0 6px; }
@media (max-width: 860px) { .diagrams.reels { grid-template-columns: 1fr; } .diagrams.reels figure:nth-child(3) { grid-column: auto; grid-row: auto; } }

/* ---------- 카카오맵 (지도 퍼가기) ---------- */
.kakao-map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.kakao-map .root_daum_roughmap { width: 100% !important; border: 0 !important; }
.kakao-map .root_daum_roughmap .wrap_map { height: 460px !important; }
.map-sketch { margin-top: 40px; max-width: 640px; }
.map-sketch svg { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); font-family: var(--font); }
@media (max-width: 760px) { .kakao-map .root_daum_roughmap .wrap_map { height: 320px !important; } }
/* 회사소개 페이지 탭 */
.pagetabs a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.section-tight { padding-top: 72px; }
