:root {
  --ink: #1c242d;
  --ink-2: #3b4753;
  --steel: #a9b2ba;
  --line: #cfd5db;
  --bg: #eceff1;
  --paper: #f8f9fa;
  --patina: #1f6f5c;
  --patina-dark: #165345;
  --radius: 4px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--patina); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; }
.logo small { font-weight: 500; font-size: 14px; color: var(--ink-2); margin-right: 4px; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--patina); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--patina); color: #fff; }
.btn-primary:hover { background: var(--patina-dark); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-line:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0f151b; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.header-call { min-height: 42px; font-size: 16px; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--steel); border-radius: var(--radius); background: #fff; font: inherit; font-weight: 700; font-size: 16px; color: var(--ink); cursor: pointer; }
.menu-btn i { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.menu-btn[aria-expanded="true"] i { background: transparent; }
.menu-btn[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 15px 20px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 17px; }
.mobile-nav a:active { background: var(--bg); }
.mobile-nav .mn-call { color: var(--patina); }
tr:target td { background: #e3efeb; }
tr[id] { scroll-margin-top: 90px; }
.to-top { position: fixed; right: 18px; bottom: 22px; z-index: 55; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 20px; font-weight: 800; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); opacity: 0; visibility: hidden; transition: opacity .2s; }
.to-top.show { opacity: 1; visibility: visible; }
#plating-set[hidden] { display: none; }

/* hero */
.hero { background: var(--ink); color: #fff; padding: 72px 0 0; }
.hero h1 { margin: 0; font-size: clamp(32px, 5.2vw, 56px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 800; max-width: 17em; }
.hero p { margin: 22px 0 0; max-width: 40em; font-size: 19px; color: #d3d9de; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.metals { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 64px; }
.metal { position: relative; min-height: 230px; padding: 20px 18px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: #fff; overflow: hidden; }
.metal::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px); pointer-events: none; }
.metal b { position: relative; z-index: 1; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.metal span { position: relative; z-index: 1; font-size: 14.5px; line-height: 1.5; margin-top: 4px; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.copper { background: linear-gradient(105deg, #8f522a 0%, #c98a52 26%, #e2a870 44%, #b4703c 63%, #864c27 100%); }
.brass { background: linear-gradient(105deg, #8d6d1f 0%, #cdab48 28%, #e6cb6c 45%, #b99a3f 64%, #86671d 100%); }
.bronze { background: linear-gradient(105deg, #5e3f22 0%, #94683f 30%, #ab7e50 46%, #7a5230 66%, #583a1e 100%); }
.alu { background: linear-gradient(105deg, #a2a9b0 0%, #e2e5e8 30%, #f1f3f4 46%, #bcc2c7 66%, #9ea5ab 100%); color: var(--ink); }
.alu b, .alu span { text-shadow: none; }
.stainless { background: linear-gradient(105deg, #5f666d 0%, #a4aab0 28%, #c9ced2 45%, #858c93 64%, #5a6168 100%); }
.metal:hover { filter: brightness(1.07); }

/* sections */
.sub { margin: 44px 0 12px; font-size: 21px; line-height: 1.4; letter-spacing: -0.02em; font-weight: 800; }
.sub:first-child { margin-top: 0; }
.lead { margin: 0 0 24px; font-size: 19px; line-height: 1.8; }
.note { margin: 20px 0 0; padding: 14px 18px; background: var(--bg); border-left: 4px solid var(--patina); font-size: 16px; color: var(--ink-2); }

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
th, td { text-align: left; vertical-align: top; padding: 15px 18px; border-bottom: 1px solid var(--line); }
th { font-size: 15px; color: var(--ink-2); background: var(--bg); font-weight: 700; white-space: nowrap; }
td:first-child, th:first-child { width: 22%; }
td:first-child { font-weight: 800; font-size: 18px; }
tr:last-child td { border-bottom: 0; }
td.c, th.c { text-align: center; }
.tablewrap table.wide { min-width: 620px; }

.ph { margin: 0; }
.ph img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: var(--bg); }
.ph figcaption { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.thumb { margin-bottom: 8px; width: 96px; }
.thumb img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tags span { padding: 3px 12px; border: 1px solid var(--steel); border-radius: 99px; font-size: 15px; font-weight: 600; background: var(--paper); }

dl.facts { margin: 0; border-top: 1px solid var(--ink); }
dl.facts div { display: grid; grid-template-columns: 30% 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
dl.facts dt { font-weight: 800; font-size: 18px; }
dl.facts dd { margin: 0; }

/* form */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; }
form { background: var(--paper); border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); }
.field { margin-bottom: 20px; }
label, legend { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; padding: 0; }
.req { color: var(--patina); font-weight: 800; }
input[type=text], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border: 1px solid var(--steel); border-radius: var(--radius); background: #fff; color: var(--ink);
}
textarea { min-height: 150px; resize: vertical; }
fieldset { border: 0; margin: 0 0 20px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--patina); }
.hint { font-size: 15px; color: var(--ink-2); margin: 4px 0 0; }
.result { display: none; margin-top: 22px; padding: 18px; border: 2px solid var(--patina); border-radius: var(--radius); background: #fff; }
.result.on { display: block; }
.result p { margin: 0 0 10px; font-size: 16px; }
.result textarea { min-height: 170px; font-size: 15px; }
.contact-side { align-self: start; border-top: 1px solid var(--ink); margin: 0; }
.contact-side div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-side dt { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.contact-side dd { margin: 2px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.contact-side dd a { text-decoration: none; }
.contact-side dd.small { font-size: 17px; font-weight: 600; }

/* location */
address { font-style: normal; font-size: 21px; font-weight: 700; line-height: 1.6; margin-bottom: 8px; }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }

/* footer */
footer { background: var(--ink); color: #c9d0d6; padding: 56px 0 40px; font-size: 15.5px; }
footer .name { color: #fff; font-weight: 800; font-size: 20px; margin: 0 0 14px; }
footer dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; }
footer dt { color: #8f9aa5; }
footer dd { margin: 0; }
footer a { text-decoration: none; }
footer .copy { margin: 28px 0 0; color: #8f9aa5; }

.callbar { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .metals { grid-template-columns: repeat(2, 1fr); }
  .metal { min-height: 170px; }
  .metal:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; padding-bottom: 72px; }
  .hero { padding-top: 48px; }
  .hero p { font-size: 17px; }
  .header-call { display: none; }
  dl.facts div { grid-template-columns: 1fr; gap: 4px; }
  td:first-child, th:first-child { width: auto; }
  th, td { padding: 12px 12px; }
  form { padding: 20px; }
  .callbar { display: grid; grid-template-columns: 1.2fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 1px solid var(--line); padding: 10px 12px; gap: 10px; }
  .callbar .btn { min-height: 50px; padding: 0 8px; font-size: 16px; }
  .to-top { bottom: 84px; right: 14px; }
  footer dl { grid-template-columns: 1fr; gap: 0; }

  /* 휴대폰: 넓은 표를 카드 형태로 */
  .tablewrap table.wide { min-width: 0; }
  table.wide, table.wide tbody, table.wide tr, table.wide td { display: block; width: auto; }
  table.wide thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.wide tr { padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
  table.wide tr:last-child { border-bottom: 0; }
  table.wide td { padding: 0 0 8px; border: 0; }
  table.wide td:first-child { font-size: 19px; padding-bottom: 8px; }
  table.wide td[data-label] { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding-bottom: 6px; }
  table.wide td[data-label]::before { content: attr(data-label); font-size: 14px; font-weight: 700; color: var(--patina); line-height: 1.6; padding-top: 2px; }

  /* 첫 화면 소재 카드를 작게 */
  .metals { margin-top: 40px; }
  .metal { min-height: 96px; padding: 14px 16px; }
  .metal b { font-size: 21px; }
  .metal span { font-size: 13.5px; }
  .hero-actions .btn { width: 100%; }
  .lead { font-size: 18px; }
  footer dt { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .to-top { transition: none; }
}

/* ===== 여러 페이지 구성 ===== */
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--patina); }
.mobile-nav a[aria-current="page"] { color: var(--patina); background: var(--bg); }
.narrow { width: min(960px, 100% - 40px); margin-inline: auto; }

.page-head { background: var(--ink); color: #fff; padding: 48px 0 44px; }
.crumb { margin: 0 0 10px; font-size: 15px; color: #aab4bd; }
.crumb a { text-decoration: none; color: #d3d9de; }
.crumb a:hover { text-decoration: underline; }
.page-head h1 { margin: 0; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.25; letter-spacing: -0.03em; font-weight: 800; }
.page-head p.desc { margin: 12px 0 0; max-width: 40em; font-size: 18px; color: #d3d9de; }
.page-body { padding: 56px 0 80px; }
.page-body > .narrow > .sub:first-child { margin-top: 0; }

/* 홈 바로가기 */
.home-block { padding: 72px 0; border-bottom: 1px solid var(--line); }
.home-block:nth-child(even) { background: var(--paper); }
.home-block h2 { margin: 0 0 24px; font-size: 30px; line-height: 1.3; letter-spacing: -0.025em; font-weight: 800; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick a { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--patina); border-radius: var(--radius); text-decoration: none; }
.quick a:hover { border-color: var(--patina); box-shadow: 0 4px 14px rgba(28,36,45,.08); }
.quick b { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.quick b::after { content: " →"; color: var(--patina); }
.quick span { font-size: 16px; color: var(--ink-2); line-height: 1.6; }
.home-contact { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ink); margin: 0; }
.home-contact div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.home-contact dt { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.home-contact dd { margin: 2px 0 0; font-size: 19px; font-weight: 800; }
.home-contact dd a { text-decoration: none; }
.home-contact dd.small { font-size: 16px; font-weight: 600; }

/* 페이지 끝 문의 띠 */
.cta { background: var(--paper); border-top: 1px solid var(--line); padding: 44px 0; }
.cta .narrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta p { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.cta p small { display: block; font-size: 16px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.cta .btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 사진 갤러리: photos/페이지이름/1.jpg, 2.jpg ... 를 자동으로 보여 줍니다 */
.gallery-block { margin-top: 40px; }
.gallery-block[hidden] { display: none; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: var(--bg); cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery button:hover img { filter: brightness(1.05); }
.gallery-first .gallery-block { margin: 0 0 36px; }
.lightbox { width: min(1100px, 100vw - 24px); max-height: calc(100vh - 24px); padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(10, 14, 18, .88); }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 110px); margin: 0 auto; object-fit: contain; }
.lb-bar { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 12px; }
.lb-bar .btn { min-height: 44px; background: #fff; color: var(--ink); }
.lb-count { color: #fff; font-weight: 700; min-width: 64px; text-align: center; }

@media (max-width: 900px) {
  .quick { grid-template-columns: repeat(2, 1fr); }
  .home-contact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .page-head { padding: 32px 0 30px; }
  .page-head p.desc { font-size: 16.5px; }
  .page-body { padding: 36px 0 56px; }
  .home-block { padding: 52px 0; }
  .home-block h2 { font-size: 25px; }
  .quick { grid-template-columns: 1fr; gap: 10px; }
  .quick a { padding: 18px 18px; }
  .home-contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cta .btns, .cta .btns .btn { width: 100%; }
}

/* ===== 취급 품목: 사이드바 + 품목 설명 ===== */
.item-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.item-side { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 0; }
.item-side-title { margin: 0; padding: 6px 18px 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.item-side ul { list-style: none; margin: 0; padding: 0; }
.item-side a { display: block; padding: 11px 18px; border-left: 4px solid transparent; text-decoration: none; font-weight: 700; font-size: 17px; color: var(--ink-2); }
.item-side a:hover { background: var(--bg); color: var(--ink); }
.item-side a[aria-current] { border-left-color: var(--patina); background: #e3efeb; color: var(--ink); }
.item-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.item-layout:not(.js) .item-panel + .item-panel { margin-top: 24px; }
.item-panel[hidden] { display: none; }
.item-panel h2 { margin: 0 0 18px; font-size: 32px; line-height: 1.3; letter-spacing: -0.025em; font-weight: 800; }
.item-panel h3 { margin: 32px 0 10px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.item-panel h3 small { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-left: 6px; }
.item-panel > p { margin: 0 0 16px; }
.item-photo { margin: 0 0 20px; }
.item-photo img { display: block; width: 100%; max-height: 420px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.item-desc { font-size: 19px; line-height: 1.8; }
dl.item-facts { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
dl.item-facts div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
dl.item-facts dt { font-size: 14px; font-weight: 700; color: var(--ink-2); }
dl.item-facts dd { margin: 2px 0 0; font-weight: 600; }
.page-body .wrap > .note { margin-top: 32px; }

/* 물성 차트 */
.props { margin-top: 36px; padding-top: 4px; border-top: 1px solid var(--line); }
.props[hidden] { display: none; }
.chart { margin: 0; padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.chart figcaption { font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.chart figcaption span { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.cbars { border-left: 1px solid var(--steel); }
.cbar-row { display: grid; grid-template-columns: 1fr; padding: 4px 0 6px 10px; border-radius: 2px; cursor: default; }
.cbar-row:hover, .cbar-row:focus-visible { background: rgba(31,111,92,.06); }
.cbar-label { font-size: 14px; font-weight: 700; color: var(--ink-2); line-height: 1.4; }
.cbar-track { display: flex; align-items: center; gap: 0; height: 22px; padding-right: 76px; position: relative; }
.cbar { display: block; height: 18px; background: var(--patina); border-radius: 0 4px 4px 0; min-width: 2px; }
.cbar-range { display: block; height: 18px; background: rgba(31,111,92,.22); border-radius: 0 4px 4px 0; margin-left: -4px; padding-left: 4px; box-sizing: content-box; }
.cbar-value { margin-left: 8px; font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.chart-tip { position: fixed; z-index: 80; max-width: 260px; padding: 10px 12px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.55; border-radius: var(--radius); pointer-events: none; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.chart-tip[hidden] { display: none; }

@media (max-width: 900px) {
  .item-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .item-side { top: 68px; z-index: 20; padding: 0; border-radius: 0; margin: 0 -20px; border-left: 0; border-right: 0; }
  .item-side-title { display: none; }
  .item-side ul { display: flex; gap: 8px; overflow-x: auto; padding: 10px 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .item-side ul::-webkit-scrollbar { display: none; }
  .item-side a { white-space: nowrap; padding: 8px 16px; border: 1px solid var(--steel); border-radius: 99px; font-size: 16px; }
  .item-side a[aria-current] { background: var(--patina); border-color: var(--patina); color: #fff; }
  .item-layout:not(.js) .item-side { position: static; }
}
@media (max-width: 640px) {
  .item-panel { padding: 20px 16px; }
  .item-panel h2 { font-size: 26px; }
  .item-desc { font-size: 17.5px; }
  dl.item-facts { grid-template-columns: 1fr; }
  .item-panel .btn { width: 100%; }
}

/* 물성표 (재질 묶음별 접기/펼치기) */
.props-src { margin: -4px 0 14px; font-size: 15px; color: var(--ink-2); }
details.spec { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; }
details.spec > summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; position: relative; display: flex; flex-direction: column; gap: 2px; }
details.spec > summary::-webkit-details-marker { display: none; }
details.spec > summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .15s; }
details.spec[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.spec > summary:hover { background: var(--bg); }
details.spec > summary b { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
details.spec > summary span { font-size: 14px; color: var(--ink-2); font-weight: 600; }
details.spec[open] > summary { border-bottom: 1px solid var(--line); }
.spec-body { padding: 18px; }
.spec-uses { margin: 0 0 16px; font-size: 16px; }
.spec-body h4 { margin: 22px 0 8px; font-size: 16px; font-weight: 800; }
.spec-body .chart { margin-bottom: 4px; }
.spec-table th { white-space: normal; font-size: 14px; line-height: 1.4; padding: 10px 12px; }
.spec-table td { padding: 11px 12px; font-size: 15px; }
.spec-table .nw { white-space: nowrap; }
.spec-table td:first-child { font-size: 15.5px; width: auto; }
.spec-note { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.ask { display: inline-block; justify-self: start; align-self: start; padding: 0 6px; border: 1px dashed var(--steel); border-radius: 3px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.chart-key { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.chart-key i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; }
.chart-key .k1 { background: var(--patina); }
.chart-key .k2 { background: rgba(31,111,92,.22); margin-left: 10px; }
.props-help { margin-top: 16px; padding: 16px 18px; background: var(--bg); border-radius: var(--radius); font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.props-help .ph-title { margin: 0 0 6px; font-weight: 800; color: var(--ink); }
.props-help ul { margin: 0; padding-left: 18px; }
.props-help li { margin-bottom: 4px; }
.props-help b { color: var(--ink); }
.ph-ask { margin: 10px 0 0; }
@media (max-width: 640px) {
  .spec-body { padding: 14px 12px; }
  details.spec > summary b { font-size: 16.5px; }
  .spec-table td[data-label] { grid-template-columns: 104px minmax(0, 1fr); }
}
.spec-body h4 small { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-left: 6px; }
.spec-src { margin: 18px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-2); }

/* 견적 양식 버튼 */
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn[hidden] { display: none; }
@media (max-width: 640px) { .form-actions .btn { width: 100%; } }

/* 자동 등록 프로그램 차단용 숨은 칸 */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#copy-area[hidden] { display: none; }

/* 홈 화면 플로팅 문자 문의 */
.fab-wrap { position: fixed; right: 18px; bottom: 22px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-wrap[hidden] { display: none; }
.fab { display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 20px 0 16px; border: 0; border-radius: 99px; background: var(--patina); color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 6px 18px rgba(22, 83, 69, .35); }
.fab:hover { background: var(--patina-dark); }
.fab-wrap.open .fab { background: var(--ink); }
.fab-panel { width: min(340px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px rgba(28, 36, 45, .22); overflow: hidden; }
.fab-panel[hidden] { display: none; }
.fab-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; background: var(--ink); color: #fff; }
.fab-head p { margin: 0; font-weight: 800; font-size: 17px; }
.fab-close { width: 36px; height: 36px; border: 0; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; border-radius: 6px; }
.fab-close:hover { background: rgba(255, 255, 255, .12); }
.fab-form { padding: 14px 18px 16px; }
.fab-form label { font-size: 14.5px; margin: 10px 0 4px; }
.fab-form input[type=text], .fab-form input[type=tel], .fab-form textarea { font-size: 16px; padding: 10px 12px; }
.fab-form textarea { min-height: 96px; }
.fab-form [hidden], .fab-tel[hidden] { display: none; }
.fab-lead { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.fab-send { width: 100%; margin-top: 12px; }
.fab-status { margin: 8px 0 0; font-size: 14.5px; font-weight: 700; }
.fab-status:empty { display: none; }
.fab-status.ok { color: var(--patina); }
.fab-status.err { color: #a12a2a; }
.fab-alt { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); }
body.has-fab .to-top { bottom: 92px; }
@media (max-width: 640px) {
  .fab-wrap { right: 12px; bottom: 84px; left: 12px; }
  .fab-panel { width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); display: flex; flex-direction: column; }
  .fab-panel[hidden] { display: none; }
  .fab-form { overflow-y: auto; padding: 12px 16px 14px; }
  .fab-form textarea { min-height: 72px; }
  .fab-wrap .fab { align-self: flex-end; }
  .fab { min-height: 50px; font-size: 15px; }
  body.has-fab .to-top { bottom: 146px; right: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .fab-panel { animation: fabIn .16s ease-out; }
  @keyframes fabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 640px) and (max-height: 720px) {
  .fab-lead { display: none; }
  .fab-form label { margin-top: 6px; }
  .fab-form input[type=text], .fab-form input[type=tel] { padding: 8px 12px; }
  .fab-form textarea { min-height: 64px; }
}
@media (max-width: 380px) {
  .callbar { gap: 6px; padding: 10px 8px; }
  .callbar .btn { font-size: 14.5px; padding: 0 4px; white-space: nowrap; }
}

footer .name small { font-size: 14px; font-weight: 600; color: #aab4bd; margin-left: 4px; }

/* 문자 문의 버튼 위치: PC는 오른쪽 가운데(창은 버튼 왼쪽에 열림), 휴대폰은 아래 가운데에 작게 */
.fab-wrap { right: 18px; left: auto; top: 50%; bottom: auto; transform: translateY(-50%); flex-direction: row; align-items: center; }
.fab-panel { max-height: calc(100vh - 40px); overflow-y: auto; }
.to-top, body.has-fab .to-top { right: auto; left: 18px; bottom: 22px; }
@media (max-width: 640px) {
  .fab-wrap { top: auto; bottom: 80px; left: 12px; right: 12px; transform: none; flex-direction: column; align-items: stretch; gap: 10px; }
  .fab-wrap .fab { align-self: center; min-height: 40px; padding: 0 14px 0 12px; gap: 6px; font-size: 14px; box-shadow: 0 4px 12px rgba(22, 83, 69, .3); }
  .fab-wrap .fab svg { width: 18px; height: 18px; }
  .fab-panel { overflow: hidden; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
  .to-top, body.has-fab .to-top { left: 14px; bottom: 84px; width: 42px; height: 42px; }
  body.has-fab .to-top { bottom: 132px; }
}

/* 품목 목록 챕터 */
.item-group { margin: 10px 0 2px; padding: 8px 18px 4px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--patina); letter-spacing: .02em; }
.item-group small { font-weight: 600; color: var(--ink-2); margin-left: 4px; }
.item-side-title + .item-group { border-top: 0; margin-top: 0; }
.item-side a { padding-top: 9px; padding-bottom: 9px; font-size: 16.5px; }
@media (max-width: 900px) {
  .item-side { display: flex; overflow-x: auto; scrollbar-width: none; padding: 8px 12px; gap: 6px; align-items: center; }
  .item-side::-webkit-scrollbar { display: none; }
  .item-side ul { overflow: visible; padding: 0; gap: 6px; flex: none; }
  .item-group { flex: none; margin: 0 0 0 8px; padding: 0 2px 0 10px; border-top: 0; border-left: 2px solid var(--line); font-size: 13px; white-space: nowrap; }
  .item-group small { display: none; }
  .item-side-title + .item-group { border-left: 0; margin-left: 0; padding-left: 4px; }
  .item-side a { padding: 7px 14px; font-size: 15px; }
}
@media (max-width: 900px) { .item-group.solo { font-size: 0; padding: 0; margin-left: 6px; height: 22px; } }
.gallery-item { margin: 0; }
.gallery-item figcaption { margin-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); text-align: center; }

/* 로고 */
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo .logo-mark { width: 38px; height: auto; flex: none; }
footer .name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
footer .name .logo-mark { width: 34px; height: auto; }
@media (max-width: 640px) { .logo .logo-mark { width: 32px; } }

/* 휴대폰 줄바꿈 정리 */
.nw { white-space: nowrap; }
a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 640px) {
  table.wide td[data-label] { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
  table.wide td[data-label]::before { font-size: 13px; line-height: 1.45; word-break: keep-all; }
  table.wide td.stack { display: block; }
  table.wide td.stack::before { display: block; margin-bottom: 2px; }
  .spec-table td[data-label] { grid-template-columns: 96px minmax(0, 1fr); }
  .hero h1 { font-size: clamp(27px, 7.6vw, 34px); }
  details.spec > summary span { line-height: 1.5; }
}
@media (max-width: 380px) { .spec-table .nw { white-space: normal; } }

/* 제작 사례 */
.case-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.case-nav a { padding: 7px 14px; border: 1px solid var(--steel); border-radius: 99px; background: #fff; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.case-nav a:hover { border-color: var(--patina); color: var(--patina); }
.case { scroll-margin-top: 90px; }
.case > p { margin: 0 0 16px; color: var(--ink-2); }
.trade-info { margin-top: 48px; }
.trade-info .facts { margin-top: 18px; }
@media (max-width: 640px) { .case-nav a { font-size: 14px; padding: 6px 12px; } }
.case + .case { margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--line); }

/* 견적 양식 보조 */
.form-error { color: #a12a2a; font-weight: 700; margin: 14px 0 0; }
.form-error[hidden] { display: none; }
.copy-row { margin-top: 12px; }
.copy-msg { margin-left: 10px; font-weight: 700; color: var(--patina); }
/* 개인정보 동의 */
.consent { margin: 4px 0 20px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; }
.consent-title { margin: 0 0 6px; font-weight: 800; }
.consent ul { margin: 0 0 8px; padding-left: 18px; color: var(--ink-2); }
.consent-extra { margin: 0 0 6px; color: var(--ink-2); }
.consent-extra[hidden] { display: none; }
.consent .hint { margin: 0 0 10px; }
.consent-check { display: flex !important; align-items: center; gap: 8px; font-weight: 700; margin: 0 !important; cursor: pointer; }
.consent-check input { width: 20px; height: 20px; accent-color: var(--patina); }
.fab-agree { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0 !important; font-size: 13px !important; font-weight: 500 !important; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.fab-agree[hidden] { display: none; }
.fab-agree input { margin-top: 2px; flex: none; accent-color: var(--patina); }
.item-panel h2 .h-sub { font-size: 0.6em; font-weight: 700; color: var(--ink-2); }

/* 메인 화면: 취급 품목 사진 넘김 */
.hero { padding: 0; background: #0f151b; }
.hero-stage { position: relative; min-height: clamp(520px, 64vh, 680px); display: flex; align-items: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; transform: scale(1.04); transition: transform 6s ease-out; }
.hero-slide.is-on img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,17,22,.88) 0%, rgba(12,17,22,.72) 34%, rgba(12,17,22,.25) 66%, rgba(12,17,22,.05) 100%); }
.hero-copy { position: relative; z-index: 1; padding: 64px 0 56px; }
.hero-label { display: inline-flex; align-items: baseline; gap: 12px; margin-bottom: 18px; text-decoration: none; color: #fff; }
.hero-label b { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #e2a870; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-label span { font-size: 17px; font-weight: 700; color: #e6eaee; }
.hero-label:hover span { text-decoration: underline; }
.hero h1 { font-size: clamp(28px, 3.6vw, 44px); }
.hero-copy p { max-width: 34em; }
.hero-dots { display: flex; gap: 10px; margin-top: 34px; }
.hero-dot { width: 12px; height: 12px; padding: 0; border-radius: 99px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.hero-dot.is-on { width: 34px; background: #fff; }
.hero-dot:focus-visible { outline-color: #fff; }
@media (max-width: 640px) {
  .hero-stage { min-height: 620px; align-items: flex-end; }
  .hero-shade { background: linear-gradient(0deg, rgba(12,17,22,.94) 0%, rgba(12,17,22,.82) 52%, rgba(12,17,22,.25) 100%); }
  .hero-copy { padding: 40px 0 28px; }
  .hero-label span { font-size: 15px; }
  .hero-dots { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide img { transition: none; transform: none; }
}
.hero .metals { margin-top: 0; }
@media (max-width: 640px) {
  .hero-stage { min-height: 540px; }
  .hero-copy p { display: none; }
  .hero h1 { font-size: 26px; }
  .hero-actions .btn { min-height: 46px; }
  .hero-shade { background: linear-gradient(0deg, rgba(12,17,22,.92) 0%, rgba(12,17,22,.7) 45%, rgba(12,17,22,.1) 80%); }
}
.process-photo { margin: 20px 0 0; max-width: 460px; }
.process-photo img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.process-photo figcaption { margin-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
@media (max-width: 640px) { .process-photo { max-width: none; } }
.process-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; align-items: start; }
.process-photos .process-photo { margin: 0; max-width: none; }
@media (max-width: 640px) { .process-photos { grid-template-columns: minmax(0, 1fr); } }
.process-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .process-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .process-photos { grid-template-columns: minmax(0, 1fr); } }
.process-photos .process-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
