/* ============================================================
   VOLTRO — 공통 스타일

   색
     --ink      짙은 남색. 머리글, 첫 화면, 바닥글의 바탕
     --cyan     브랜드 색. 어두운 바탕 위의 강조와 버튼
     --cyan-ink 밝은 바탕 위에서 읽히는 짙은 청록. 링크와 표시
     --paper    본문 구역의 옅은 바탕
   모양
     표와 목록은 모서리를 각지게, 버튼과 입력 칸만 살짝 둥글게 둡니다.
   ============================================================ */

:root {
  --ink: #071a2b;
  --ink-2: #0d2a44;
  --cyan: #12b4cc;
  --cyan-ink: #0a6f80;
  --paper: #f2f5f7;
  --white: #ffffff;
  --text: #17232e;
  --muted: #566676;
  --line: #d3dbe2;
  --line-dark: rgba(255, 255, 255, 0.14);
  --here: #1a8f63;

  --wrap: 1180px;
  --gutter: 24px;
  --radius: 6px;

  --font: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans CJK KR', 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cyan-ink);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
}

h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
}

h3 {
  font-size: 19px;
  font-weight: 700;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}

.skip:focus {
  top: 12px;
}

.muted {
  color: var(--muted);
}

/* ── 버튼 ─────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-accent {
  background: var(--cyan);
  color: var(--ink);
}

.button-accent:hover {
  background: #3cc9dd;
  color: var(--ink);
}

.button-ghost {
  border-color: var(--line-dark);
  color: var(--white);
}

.button-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.button-outline {
  border-color: var(--ink);
  color: var(--ink);
}

/* ── 머리글 ───────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brandmark img {
  filter: invert(1);
}

.brandmark:hover {
  color: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav > a:not(.button) {
  padding: 10px 14px;
  color: #c9d6e2;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav > a:not(.button):hover,
.site-nav > a[aria-current='page'] {
  color: var(--white);
  border-bottom-color: var(--cyan);
}

.nav-search {
  margin: 0 10px;
}

.nav-search input {
  width: 170px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
  font-size: 14px;
}

.nav-search input::placeholder {
  color: #8fa3b5;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: none;
  color: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

/* ── 첫 화면 ──────────────────────────────────────────── */

.hero {
  background: var(--ink);
  color: #c9d6e2;
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: start;
}

.hero h1 {
  color: var(--white);
}

.hero-copy p {
  max-width: 34em;
  margin-top: 20px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* 취급 브랜드 장부. 이 사이트가 하는 일을 그대로 보여 줍니다. */
.ledger {
  border-top: 2px solid var(--cyan);
}

.ledger table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.ledger caption {
  padding: 12px 0;
  color: #8fa3b5;
  font-size: 13px;
  text-align: left;
}

.ledger thead th {
  padding: 0 12px 10px 0;
  color: #8fa3b5;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
}

.ledger tbody th,
.ledger tbody td {
  padding: 13px 12px 13px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-dark);
}

.ledger tbody th {
  white-space: nowrap;
}

.ledger tbody th a {
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.ledger tbody th a:hover {
  color: var(--cyan);
}

.ledger-count {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.where {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.where-here {
  color: #5fe0a8;
}

.where-out {
  color: var(--cyan);
}

/* ── 구역 ─────────────────────────────────────────────── */

.section {
  padding: 64px 0;
}

.section-tint {
  background: var(--paper);
}

.section h2 + .lead,
.section h2 + .line-summary {
  margin-top: 8px;
}

.lead {
  max-width: 44em;
  color: var(--muted);
}

.page-head {
  padding: 36px 0 44px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  margin-top: 14px;
}

.page-head h1 + p,
.page-head .intro {
  max-width: 46em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.page-head .button,
.page-head .hero-actions {
  margin-top: 24px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--line);
}

.crumbs a {
  color: var(--muted);
}

/* ── 분류 목록 ────────────────────────────────────────── */

.category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 2px solid var(--ink);
}

.category-list li {
  border-bottom: 1px solid var(--line);
}

.category-list li:not(:nth-child(3n)) {
  border-right: 1px solid var(--line);
}

.category-list a {
  display: block;
  height: 100%;
  padding: 22px 20px 24px;
  color: var(--text);
  text-decoration: none;
}

.category-list a:hover {
  background: var(--paper);
}

.category-list strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.category-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.category-list em {
  display: block;
  margin-top: 14px;
  color: var(--cyan-ink);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

/* ── 브랜드 ───────────────────────────────────────────── */

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 64px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.brand-logo img {
  max-height: 100%;
  object-fit: contain;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.brand-card {
  padding: 24px 22px 26px;
}

.brand-card + .brand-card {
  border-left: 1px solid var(--line);
}

.brand-card h3 {
  margin-top: 18px;
}

.brand-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.brand-card h3 a:hover {
  color: var(--cyan-ink);
}

.brand-head {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.brand-card ul {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.brand-card li + li {
  margin-top: 4px;
}

.brand-rows {
  margin: 20px 0 48px;
  border-top: 2px solid var(--ink);
}

.brand-rows:last-child {
  margin-bottom: 0;
}

.brand-rows a {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 8px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.brand-rows a:hover {
  background: var(--paper);
}

.brand-row-text {
  flex: 1;
}

.brand-row-text strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.brand-row-text span {
  color: var(--muted);
  font-size: 15px;
}

.brand-row-meta {
  color: var(--cyan-ink);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}

.brand-title h1 {
  margin-top: 0;
}

.brand-title p {
  margin-top: 2px;
  color: var(--muted);
}

/* ── 전문 사이트 연결 ─────────────────────────────────── */

.gateway-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.gateway {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
  background: var(--white);
}

.gateway-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gateway-head img {
  width: 76px;
  height: 44px;
  object-fit: contain;
}

.gateway-head h3 a {
  color: var(--ink);
  text-decoration: none;
}

.gateway-head p {
  color: var(--muted);
  font-size: 14px;
}

.gateway ul {
  flex: 1;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.gateway li a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.gateway li a:hover b {
  color: var(--cyan-ink);
}

.gateway li b {
  color: var(--ink);
  font-weight: 700;
}

.out-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
}

.gateway-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--line);
}

.gateway-products li {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.gateway-products a {
  display: block;
  height: 100%;
  padding: 20px;
  color: var(--text);
  text-decoration: none;
}

.gateway-products a:hover {
  background: var(--paper);
}

.gateway-products strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.gateway-products span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.gateway-products em {
  display: block;
  margin-top: 14px;
  color: var(--cyan-ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

/* ── 솔루션 · 서비스 ──────────────────────────────────── */

.service-list,
.service-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 24px;
}

.service-detail {
  margin-top: 0;
}

.service-list article,
.service-detail article {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.service-summary {
  margin-top: 6px;
  color: var(--cyan-ink);
  font-weight: 700;
}

.service-summary + p {
  margin-top: 12px;
  max-width: 34em;
}

.service-detail .button {
  margin-top: 20px;
}

.domain {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

/* ── 제품 표 ──────────────────────────────────────────── */

.with-toc {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  font-size: 14px;
}

.toc p {
  padding-bottom: 10px;
  color: var(--ink);
  font-weight: 800;
  border-bottom: 2px solid var(--ink);
}

.toc a {
  display: block;
  padding: 9px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.toc a:hover {
  color: var(--cyan-ink);
}

.lines > .line + .line,
.lines > .line + h2 {
  margin-top: 56px;
}

.line h2 a {
  color: var(--ink);
  text-decoration: none;
}

.line h2 a:hover {
  color: var(--cyan-ink);
}

.line-summary {
  max-width: 46em;
  color: var(--muted);
}

.empty {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--paper);
  border-left: 3px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.table-scroll {
  margin-top: 18px;
  overflow-x: auto;
}

.parts {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
  font-size: 15px;
}

.parts thead th {
  padding: 10px 14px 10px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.parts tbody th,
.parts tbody td {
  padding: 13px 14px 13px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.parts tbody th {
  width: 22%;
  min-width: 150px;
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.parts tbody th a {
  color: var(--ink);
}

.parts tbody th a:hover {
  color: var(--cyan-ink);
}

.spec-cell span {
  display: block;
}

.spec-cell b {
  margin-right: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.action-cell {
  width: 1%;
  padding-right: 0 !important;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

/* ── 제품 상세 ────────────────────────────────────────── */

.product-brand {
  margin-top: 16px;
  color: var(--cyan-ink);
  font-weight: 700;
}

.product-brand + h1 {
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}

.product-image {
  display: block;
  max-height: 420px;
  margin-bottom: 36px;
  border: 1px solid var(--line);
}

.spec-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
}

.spec-table th,
.spec-table td {
  padding: 13px 16px 13px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  width: 30%;
  color: var(--muted);
  font-weight: 600;
}

.spec-table td {
  color: var(--ink);
  font-weight: 600;
}

.spec-note {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--paper);
  border-left: 3px solid var(--cyan);
  font-size: 15px;
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.product-aside,
.contact-aside {
  padding: 24px;
  background: var(--paper);
  border-top: 2px solid var(--cyan);
}

.product-aside h2,
.contact-aside h2 {
  font-size: 20px;
}

.product-aside p,
.contact-aside p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.product-aside .button {
  width: 100%;
  margin-top: 18px;
}

.aside-contact a {
  color: var(--ink);
  font-weight: 700;
}

/* ── 문의 띠 ──────────────────────────────────────────── */

.band {
  background: var(--ink-2);
  color: var(--white);
}

.band-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.band p {
  max-width: 40em;
  font-size: 18px;
  font-weight: 600;
}

/* ── 글 ───────────────────────────────────────────────── */

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 44px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-top: 14px;
}

.contact-list {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.contact-list dt,
.contact-list dd {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
}

/* ── 문의 양식 ────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.req {
  margin-left: 4px;
  color: var(--cyan-ink);
  font-size: 12px;
  font-weight: 700;
}

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field select,
.field textarea,
.search-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #9aa9b7;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.field [aria-invalid='true'] {
  border-color: #b3261e;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.consent label {
  margin: 0;
  font-weight: 500;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 14px;
  font-weight: 700;
}

.form-status[data-state='ok'] {
  color: var(--here);
}

.form-status[data-state='error'] {
  color: #b3261e;
}

/* ── 검색 ─────────────────────────────────────────────── */

.search-form {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin-top: 20px;
}

.search-form .button {
  flex: none;
  white-space: nowrap;
}

.search-results {
  margin-top: 18px;
  border-top: 2px solid var(--ink);
}

.search-results li a {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 6px 18px;
  padding: 14px 4px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.search-results li a:hover {
  background: var(--paper);
}

.search-results .r-brand {
  color: var(--cyan-ink);
  font-size: 14px;
  font-weight: 700;
}

.search-results .r-model {
  color: var(--ink);
  font-weight: 800;
}

.search-results .r-desc {
  grid-column: 2;
  color: var(--muted);
  font-size: 15px;
}

/* ── 바닥글 ───────────────────────────────────────────── */

.site-footer {
  padding: 56px 0 32px;
  background: var(--ink);
  color: #b4c3d1;
  font-size: 15px;
}

.site-footer h2 {
  color: var(--white);
  font-size: 17px;
}

.site-footer a {
  color: #d9e3ec;
}

.site-footer a:hover {
  color: var(--cyan);
}

.family-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.family-list li {
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.family-list a {
  display: block;
  height: 100%;
  padding: 18px;
  text-decoration: none;
}

.family-list a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.family-list strong {
  display: block;
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
}

.family-list span {
  display: block;
  margin-top: 4px;
  color: #b4c3d1;
  font-size: 14px;
}

.family-list em {
  display: block;
  margin-top: 12px;
  color: var(--cyan);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: 40px;
  margin-top: 44px;
}

.footer-name {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-footer address {
  font-style: normal;
}

.site-footer address strong {
  color: var(--white);
}

.site-footer nav a {
  display: block;
  padding: 3px 0;
}

.copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: #8fa3b5;
  font-size: 13px;
}

/* ── 좁은 화면 ────────────────────────────────────────── */

@media (max-width: 1020px) {
  .hero-grid,
  .product-grid,
  .contact-grid,
  .with-toc {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .toc {
    position: static;
  }

  .toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
  }

  .toc a {
    border-bottom: 0;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-card:nth-child(odd) {
    border-left: 0;
  }

  .brand-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .gateway-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .family-list,
  .gateway-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.button) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav-search {
    margin: 16px 0 12px;
  }

  .nav-search input {
    width: 100%;
    height: 46px;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 18px;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .section {
    padding: 44px 0;
  }

  .category-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-list li:not(:nth-child(3n)) {
    border-right: 0;
  }

  .brand-grid,
  .family-list,
  .gateway-products,
  .service-list,
  .service-detail,
  .form {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-card {
    border-left: 0 !important;
  }

  .brand-card + .brand-card {
    border-top: 1px solid var(--line);
  }

  .band-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-rows a {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .brand-row-meta {
    width: 100%;
    text-align: left;
  }

  .brand-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  /* 장부: 분야와 수록 칸을 숨기고 브랜드와 안내 위치만 남깁니다. */
  .ledger thead th:nth-child(2),
  .ledger tbody td:nth-child(2),
  .ledger thead th:nth-child(3),
  .ledger tbody td:nth-child(3) {
    display: none;
  }

  /* 제품 표: 한 줄을 한 묶음으로 세워서 보여 줍니다. */
  .parts thead {
    display: none;
  }

  .parts,
  .parts tbody,
  .parts tr,
  .parts th,
  .parts td {
    display: block;
    width: auto;
  }

  .parts tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .parts tbody th,
  .parts tbody td {
    padding: 2px 0;
    border-bottom: 0;
  }

  .parts tbody th {
    font-size: 17px;
  }

  .action-cell {
    margin-top: 8px;
  }

  .search-results li a {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-results .r-desc {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .site-nav a,
  .category-list a,
  .brand-rows a {
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
  }
}
