/* =========================================================
   (주)한성메탈 홈페이지 스타일
   색상·글꼴은 아래 :root 값만 바꾸면 전체에 반영됩니다.
   ========================================================= */
:root {
  --ink: #15212c;        /* 강철 남색: 헤더·히어로 */
  --ink-2: #1d2b38;
  --ink-3: #26384a;
  --ink-deep: #0f1820;   /* 푸터 */
  --silver: #c7cfd6;     /* 가공면 은색 */
  --silver-2: #9aa6b1;
  --mist: #eef1f4;       /* 밝은 섹션 배경 */
  --line: #d9dfe5;
  --paper: #ffffff;
  --text: #1a232c;
  --muted: #56626e;
  --blue: #1d5fbf;       /* 강조색 */
  --blue-dk: #174c99;
  --blue-hi: #5b9bf0;    /* 어두운 배경 위 강조색 */

  --font-kr: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-en: "Barlow Condensed", "IBM Plex Sans KR", sans-serif;

  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }
body {
  margin: 0;
  font-family: var(--font-kr);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: #fff; color: var(--text); padding: 10px 16px; font-weight: 600;
}
.skip:focus { left: 16px; top: 16px; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }

.nw { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font: 600 16px/1 var(--font-kr);
  text-decoration: none; border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dk); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn-line { border-color: var(--text); color: var(--text); background: transparent; }
.btn-line:hover { background: var(--text); color: #fff; }

.text-link {
  font-weight: 600; color: var(--blue); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { color: var(--blue-dk); }

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); color: #fff;
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-solid { background: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.brand-text span {
  font-family: var(--font-en); font-size: 14px; font-weight: 600;
  letter-spacing: .06em; color: var(--silver-2);
}

.gnb > ul { display: flex; list-style: none; }
.gnb-item { position: relative; }
.gnb-item > a {
  position: relative; display: block; padding: 0 22px;
  line-height: var(--header-h); text-decoration: none; font-weight: 500; font-size: 16px;
}
.gnb-item > a::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 22px; height: 2px;
  background: var(--blue-hi); transform: scaleX(0); transform-origin: left;
  transition: transform .2s;
}
.gnb-item:hover > a::after,
.gnb-item:focus-within > a::after,
.gnb-item.is-current > a::after { transform: scaleX(1); }

.sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 190px; list-style: none; padding: 10px 0;
  background: #fff; color: var(--text);
  border-top: 2px solid var(--blue);
  box-shadow: 0 14px 30px rgba(21, 33, 44, .18);
  opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
}
.gnb-item:hover .sub, .gnb-item:focus-within .sub { opacity: 1; visibility: visible; }
.sub a { display: block; padding: 9px 24px; text-decoration: none; font-size: 15px; white-space: nowrap; }
.sub a:hover { background: var(--mist); color: var(--blue); }

.header-cta {
  padding: 9px 20px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 2px;
  text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.header-cta:hover { background: #fff; color: var(--ink); }

.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; margin-right: -10px;
  background: none; border: 0; color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor; transition: transform .2s, background-color .2s;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.is-open .menu-toggle span { background: transparent; }
.is-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.is-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 메인 히어로 ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: max(700px, 100svh);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 88px;
  background: var(--ink); color: #fff;
}
.hero::before, .sub-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 4px),
    radial-gradient(90% 70% at 78% 42%, #25394d 0%, rgba(37, 57, 77, 0) 70%);
}
.hero-grid {
  position: relative; display: grid; align-items: center; gap: 56px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}
.hero h1 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 600; line-height: 1.22; letter-spacing: -0.03em; }
.hero-lead { margin-top: 28px; max-width: 32em; font-size: 17px; color: var(--silver); }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

/* 냉간단조 공정 그림 */
.forge-seq { margin: 0; }
.forge-seq svg { width: 100%; height: auto; overflow: visible; }
.forge-seq figcaption { margin-top: 6px; font-size: 14px; color: var(--silver-2); text-align: right; }
.forge-seq .cl { stroke: var(--blue-hi); stroke-width: 1; stroke-dasharray: 10 3 2 3; opacity: .6; }
.forge-seq .n { font-family: var(--font-en); font-size: 20px; font-weight: 600; fill: var(--blue-hi); text-anchor: middle; }
.forge-seq .t { font-family: var(--font-kr); font-size: 14px; fill: var(--silver); text-anchor: middle; }
.forge-seq .part { transform-origin: 0 270px; }

.js .forge-seq .part, .js .forge-seq .lbl { opacity: 0; }
.forge-seq.is-run .punch {
  animation: strike .6s cubic-bezier(.55, 0, .35, 1) both;
  animation-delay: calc(.5s + var(--i) * .45s);
}
.forge-seq.is-run .part {
  animation: form .35s ease-out both;
  animation-delay: calc(.78s + var(--i) * .45s);
}
.forge-seq.is-run .lbl {
  animation: fade .4s ease-out both;
  animation-delay: calc(.85s + var(--i) * .45s);
}
@keyframes strike {
  0% { transform: translateY(0); }
  45%, 58% { transform: translateY(var(--hit)); }
  100% { transform: translateY(0); }
}
@keyframes form { from { opacity: 0; transform: scaleY(1.07); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .forge-seq .part, .js .forge-seq .lbl { opacity: 1; }
  .forge-seq.is-run .punch, .forge-seq.is-run .part, .forge-seq.is-run .lbl { animation: none; }
}

/* ---------- 공통 섹션 ---------- */
.section { padding: 120px 0; }
.section-tight { padding: 96px 0; }
.bg-mist { background: var(--mist); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.title-en {
  font-family: var(--font-en); font-weight: 600; line-height: .95;
  font-size: clamp(44px, 5.4vw, 72px); letter-spacing: -0.005em;
}
.title-en-sub { margin-top: 14px; font-size: 18px; color: var(--muted); }
.h2 { font-size: clamp(28px, 3vw, 38px); }
.lead { font-size: 18px; color: var(--muted); max-width: 40em; }

/* ---------- 사업분야 슬라이더 ---------- */
.biz-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 2.6);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; list-style: none; padding: 0;
}
.biz-track::-webkit-scrollbar { display: none; }
.biz-card {
  scroll-snap-align: start; display: flex; flex-direction: column; height: 100%;
  background: var(--ink); color: #fff; text-decoration: none;
}
.biz-card .fig {
  aspect-ratio: 5 / 3; display: grid; place-items: center; padding: 18px 24px;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--ink-2);
}
.biz-card .fig img { width: 100%; height: 100%; object-fit: contain; }
.biz-card .body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 28px 30px 32px; }
.biz-card h3 { font-size: 22px; }
.biz-card p { font-size: 15px; color: var(--silver); }
.biz-card .more { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; color: var(--blue-hi); }
.biz-card:hover .more, .biz-card:focus-visible .more { text-decoration: underline; text-underline-offset: 4px; }

.slider-ctrl { display: flex; align-items: center; gap: 32px; margin-top: 36px; }
.progress { position: relative; flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.progress span { position: absolute; top: 0; left: 0; height: 100%; background: var(--blue); }
.arrows { display: flex; gap: 8px; }
.arrows button {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--text); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.arrows button:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.arrows button:disabled { opacity: .35; cursor: default; }
.arrows svg { width: 20px; height: 20px; }

/* ---------- 냉간단조 장점 ---------- */
.why-head { margin-bottom: 64px; }
.why-head .lead { margin-top: 16px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; list-style: none; }
.why-item { border-top: 2px solid var(--ink); padding-top: 28px; }
.why-item h3 { font-size: 22px; margin-bottom: 14px; }
.why-item p { color: var(--muted); }

/* ---------- 명판(회사 요약) ---------- */
.plate-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.plate-copy p { margin-top: 24px; color: var(--muted); font-size: 17px; }
.plate-links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 28px; }
.plate {
  position: relative; padding: 44px 48px 40px;
  border: 1px solid #c3ccd4;
  background:
    radial-gradient(circle at 18px 18px, #8f9ba6 0 3px, #dfe5ea 3.5px 4.5px, transparent 5px),
    radial-gradient(circle at calc(100% - 18px) 18px, #8f9ba6 0 3px, #dfe5ea 3.5px 4.5px, transparent 5px),
    radial-gradient(circle at 18px calc(100% - 18px), #8f9ba6 0 3px, #dfe5ea 3.5px 4.5px, transparent 5px),
    radial-gradient(circle at calc(100% - 18px) calc(100% - 18px), #8f9ba6 0 3px, #dfe5ea 3.5px 4.5px, transparent 5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #f6f8f9, #e4e9ed);
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 #c3ccd4;
}
.plate-title {
  font-family: var(--font-en); font-size: 28px; font-weight: 700; letter-spacing: .04em;
  padding-bottom: 18px; margin-bottom: 6px; border-bottom: 2px solid var(--ink);
}
.plate dl { margin: 0; }
.plate .row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #c9d1d8; }
.plate .row:last-child { border-bottom: 0; }
.plate dt { color: var(--muted); font-size: 15px; }
.plate dd { margin: 0; font-weight: 500; font-size: 17px; }

/* ---------- 문의 배너 ---------- */
.cta { position: relative; padding: 104px 0; background: var(--ink-3); color: #fff; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); }
.cta p { margin-top: 14px; color: var(--silver); font-size: 17px; max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--ink-deep); color: var(--silver-2); font-size: 14px; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-top .brand { color: #fff; margin-right: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; }
.footer-links a { text-decoration: none; color: var(--silver); font-weight: 500; }
.footer-links a:hover { color: #fff; }
.footer-info { padding: 28px 0 40px; display: grid; gap: 6px; }
.footer-info .line { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-info a { text-decoration: none; }
.footer-info a:hover { color: #fff; }
.copyright { margin-top: 14px; font-family: var(--font-en); font-size: 15px; letter-spacing: .02em; }

/* ---------- 서브 페이지 ---------- */
.sub-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 88px) 0 72px; background: var(--ink); color: #fff;
}
.sub-hero .container { position: relative; }
.sub-hero h1 { font-size: clamp(36px, 4.2vw, 54px); letter-spacing: -0.03em; }
.sub-hero .en { margin-top: 6px; font-family: var(--font-en); font-size: 24px; font-weight: 600; color: var(--blue-hi); letter-spacing: .01em; }
.breadcrumb { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; font-size: 14px; color: var(--silver-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.sub-tabs { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.sub-tabs ul { display: flex; list-style: none; overflow-x: auto; scrollbar-width: none; }
.sub-tabs ul::-webkit-scrollbar { display: none; }
.sub-tabs a {
  display: block; padding: 20px 28px 18px; white-space: nowrap;
  text-decoration: none; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.sub-tabs a:hover { color: var(--text); }
.sub-tabs a.is-active { color: var(--text); border-bottom-color: var(--blue); }

.block { padding: 104px 0; border-bottom: 1px solid var(--line); }
.block:last-of-type { border-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 56px; }
.split > header h2 { font-size: clamp(26px, 2.6vw, 34px); }
.split > header .en { margin-top: 6px; font-family: var(--font-en); font-size: 20px; font-weight: 600; color: var(--silver-2); }
.prose p + p { margin-top: 18px; }
.prose p { font-size: 17px; color: #36414c; max-width: 42em; }
.prose h3 { font-size: 22px; margin: 56px 0 24px; }

.prose .quote { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; margin-bottom: 36px; color: var(--text); }
.prose .signature { margin-top: 40px; display: flex; align-items: baseline; justify-content: flex-end; gap: 14px; color: var(--muted); }
.signature strong { font-size: 22px; color: var(--text); font-weight: 600; letter-spacing: .02em; }

.spec-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 16px; }
.spec-table th, .spec-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 170px; background: var(--mist); font-weight: 600; }
.spec-table thead th { width: auto; background: var(--ink); color: #fff; font-weight: 500; }
.spec-table td a { text-decoration: none; }
.spec-table td a:hover { text-decoration: underline; }

/* 부품 예시 */
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; }
.part-card { background: var(--ink); color: #fff; }
.part-card .fig {
  aspect-ratio: 5 / 3; padding: 14px 22px; display: grid; place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--ink-2);
}
.part-card .fig img { width: 100%; height: 100%; object-fit: contain; }
.part-card .cap { padding: 22px 26px 26px; }
.part-card h4 { font-size: 19px; }
.part-card p { margin-top: 6px; font-size: 15px; color: var(--silver); }

/* 순서가 있는 단계 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; list-style: none; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 26px 22px 28px 0; border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px;
  font-family: var(--font-en); font-size: 32px; font-weight: 600; line-height: 1; color: var(--blue);
}
.steps h4 { font-size: 18px; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.steps-wide { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* 지도 */
.map { position: relative; aspect-ratio: 16 / 8; min-height: 360px; background: var(--mist); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-info { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.map-info address { font-style: normal; font-size: 18px; font-weight: 500; }
.map-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.map-btns .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- 문의 폼 ---------- */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field .req { color: var(--blue); font-weight: 500; font-size: 13px; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--font-kr); color: var(--text);
  padding: 13px 14px; border: 1px solid #bfc8d0; border-radius: 2px; background: #fff;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.hint { font-size: 14px; color: var(--muted); }
.agree { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; padding: 18px 20px; background: var(--mist); font-size: 15px; }
.agree input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--blue); flex: none; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status { font-size: 15px; color: var(--muted); }
.form-status.ok { color: #1b7a3f; }
.form-status.err { color: #b3261e; }

.info-card { background: var(--ink); color: #fff; padding: 36px 34px; }
.info-card h2 { font-size: 22px; margin-bottom: 20px; }
.info-card dl { margin: 0; }
.info-card .row { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.info-card dt { font-size: 14px; color: var(--silver-2); }
.info-card dd { margin: 2px 0 0; font-size: 17px; font-weight: 500; }
.info-card dd a { text-decoration: none; }
.info-card dd a:hover { text-decoration: underline; }
.info-card .text-link { color: var(--blue-hi); display: inline-block; margin-top: 22px; }

/* 개인정보처리방침 등 문서 */
.doc { max-width: 820px; }
.doc h2 { font-size: 22px; margin: 48px 0 14px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: #36414c; }
.doc ul { padding-left: 20px; margin-top: 10px; }
.doc li + li { margin-top: 6px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1100px) {
  .gnb-item > a { padding: 0 16px; }
  .gnb-item > a::after { left: 16px; right: 16px; }
}

@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .gnb {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    display: none; overflow-y: auto; padding: 8px 24px 48px; background: var(--ink);
  }
  .site-header.is-open .gnb { display: block; }
  .gnb > ul { flex-direction: column; }
  .gnb-item { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .gnb-item > a { padding: 20px 0 10px; line-height: 1.4; font-size: 20px; font-weight: 600; }
  .gnb-item > a::after { display: none; }
  .sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; padding: 0 0 14px; background: transparent; color: var(--silver);
    border: 0; box-shadow: none;
  }
  .sub a { padding: 7px 0; font-size: 16px; }
  .sub a:hover { background: transparent; color: #fff; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 64px); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .forge-seq { max-width: 640px; }
  .plate-wrap, .split, .contact-wrap { grid-template-columns: 1fr; }
  .why-head { margin-bottom: 48px; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .plate-wrap { gap: 48px; }
  .split { gap: 32px; }
  .contact-wrap { gap: 48px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { width: min(100% - 40px, var(--container)); }
  .brand-mark { width: 32px; height: 32px; }
  .brand-text strong { font-size: 18px; }
  .brand-text span { font-size: 12px; }
  .section { padding: 84px 0; }
  .block { padding: 72px 0; }
  .hero { padding-bottom: 64px; }
  .hero-lead { font-size: 16px; }
  .forge-seq .t { font-size: 20px; }
  .forge-seq .n { font-size: 26px; }
  .forge-seq svg { margin-bottom: 8px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .biz-track { grid-auto-columns: 84%; gap: 16px; }
  .slider-ctrl { gap: 20px; }
  .arrows button { width: 44px; height: 44px; }
  .plate { padding: 36px 24px 28px; }
  .plate .row { grid-template-columns: 88px 1fr; gap: 10px; }
  .plate dd { font-size: 16px; }
  .cta { padding: 80px 0; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
  .sub-hero { padding: calc(var(--header-h) + 56px) 0 52px; }
  .sub-tabs a { padding: 16px 18px 14px; font-size: 15px; }
  .parts { grid-template-columns: 1fr; }
  .spec-table th { width: 104px; padding: 14px 12px; }
  .spec-table td { padding: 14px 12px; }
  .table-scroll { overflow-x: auto; }
  .table-scroll .spec-table { min-width: 560px; }
  .form-grid { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 3; min-height: 280px; }
  .prose .signature { justify-content: flex-start; flex-wrap: wrap; }
}
