/* =========================================================
   에스엔씨 홈페이지 공통 스타일 (C안: 팝·컬러풀)
   색: 코랄 + 옐로 + 블루, 차콜 테두리, 크림 바탕
   ========================================================= */

:root {
  --cream: #FFF8EC;
  --paper: #FFFFFF;
  --ink: #2E2E33;
  --body: #45454D;
  --muted: #64646D;
  --coral: #FF5A5F;
  --coral-d: #E8444A;
  --coral-ink: #C2303A;
  --coral-soft: #FFE0E1;
  --yellow: #FFD12E;
  --yellow-soft: #FFF1B8;
  --blue: #2F6BFF;
  --blue-soft: #DFE8FF;
  --mint-soft: #D7F4EA;

  --bw: 2.5px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --pop: 5px 5px 0 var(--ink);
  --pop-lg: 8px 8px 0 var(--ink);
  --header-h: 76px;
  --container: 1200px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --display: "Jua", var(--font);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-ink); text-decoration: none; font-weight: 600; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.25; font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

main { overflow-x: clip; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

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

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

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 800; font-size: 16.5px; color: var(--ink);
  border: var(--bw) solid var(--ink); background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink); cursor: pointer;
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 15px; box-shadow: 3px 3px 0 var(--ink); }
.btn-primary { background: var(--yellow); }
.btn-outline { background: var(--paper); }
.btn-white { background: var(--paper); }
.btn-ghost-light { background: transparent; }

/* ---------- 공통 타이포 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; align-self: flex-start;
  padding: 5px 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper);
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.section { padding: 112px 0; }
.section-sm { padding: 80px 0; }
.section-soft { background: var(--paper); border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head.center .eyebrow { align-self: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 50px); }
.section-head p { font-size: 18px; color: var(--muted); }
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 16px; }
}

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 236, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: var(--bw) solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--ink); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 48px; height: 48px; transition: transform .3s; }
.brand:hover img { transform: rotate(-12deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--ink); }
.brand-text small { font-family: var(--display); font-size: 13px; letter-spacing: .22em; color: var(--coral-ink); margin-top: 2px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: var(--yellow); }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { display: flex; gap: 6px; }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  color: var(--ink); font-weight: 700; font-size: 16px; border: 2px solid transparent;
}
.site-nav ul a:hover { background: var(--paper); border-color: var(--ink); color: var(--ink); }
.site-nav ul a[aria-current="page"] { background: var(--yellow-soft); border-color: var(--ink); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 2px solid var(--ink); background: var(--paper); border-radius: 14px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}
.nav-toggle span { width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 12px; right: 12px; top: calc(var(--header-h) - 4px);
    flex-direction: column; align-items: stretch; gap: 12px;
    background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 22px;
    padding: 14px; box-shadow: var(--pop);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { width: 100%; min-height: 52px; font-size: 17px; }
  .site-nav .btn { width: 100%; }
  .brand-text strong { font-size: 23px; }
  .brand img { width: 42px; height: 42px; }
}

/* ---------- 히어로 (홈) ---------- */
.hero { position: relative; padding: 64px 0 112px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(44px, 6vw, 78px); line-height: 1.12; }
.hero h1 em {
  font-style: normal; color: var(--ink); padding: 0 6px; margin: 0 -6px;
  background: linear-gradient(transparent 56%, var(--yellow) 56%, var(--yellow) 92%, transparent 92%);
}
.hero .lead { font-size: 19px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--ink); font-weight: 700; color: var(--ink); font-size: 14.5px;
}
.hero-points svg { width: 18px; height: 18px; color: var(--coral-ink); flex: none; }

.hero-visual { position: relative; margin: 12px 12px 0 0; }
.hero-visual::before {
  content: ""; position: absolute; inset: 22px -18px -22px 18px; border-radius: 36px;
  background: var(--blue); border: var(--bw) solid var(--ink); transform: rotate(3deg);
}
.hero-visual img {
  position: relative; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 62% 50%;
  border-radius: 32px; border: 3px solid var(--ink); background: var(--paper);
  transform: rotate(-1.5deg);
}

.deco-capsule {
  position: absolute; z-index: 0; border-radius: 50%; border: 3px solid var(--ink);
  background: linear-gradient(var(--coral) 0 48%, var(--ink) 48% 52%, var(--yellow) 52% 100%);
  box-shadow: 5px 5px 0 var(--ink);
}
.deco-capsule.d1 { width: 92px; height: 92px; left: 3%; bottom: 40px; transform: rotate(-24deg); }
.deco-capsule.d2 {
  width: 56px; height: 56px; right: 5%; top: 28px; transform: rotate(18deg);
  background: linear-gradient(var(--blue) 0 48%, var(--ink) 48% 52%, var(--paper) 52% 100%);
}
.sparkle { position: absolute; z-index: 0; fill: var(--yellow); stroke: var(--ink); stroke-width: 1.2; }
.sparkle.s1 { width: 40px; height: 40px; left: 46%; top: 36px; }
.sparkle.s2 { width: 28px; height: 28px; right: 3%; bottom: 120px; fill: var(--coral); }

@media (max-width: 960px) {
  .hero { padding: 40px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .deco-capsule.d1 { left: auto; right: 6%; bottom: 24px; width: 64px; height: 64px; }
  .sparkle.s1 { left: auto; right: 22%; top: 20px; }
}
@media (max-width: 640px) {
  .hero .lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual::before { inset: 14px -10px -14px 10px; border-radius: 26px; }
  .hero-visual img { border-radius: 24px; }
  .deco-capsule.d2, .sparkle.s2 { display: none; }
}

/* ---------- 흐르는 품목 띠 ---------- */
.ticker {
  position: relative; z-index: 2; background: var(--coral); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: -10px -12px 0;
}
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { font-family: var(--display); font-size: 28px; color: var(--ink); white-space: nowrap; }
.ticker-track svg { width: 26px; height: 26px; fill: var(--yellow); stroke: var(--ink); stroke-width: 1.4; flex: none; }
@keyframes ticker { to { transform: translateX(calc(-50% - 14px)); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
@media (max-width: 640px) { .ticker-track span { font-size: 22px; } .ticker { padding: 12px 0; } }

/* ---------- 상품 띠 (마키) ---------- */
.marquee-section { padding: 72px 0 72px; }
.marquee-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.marquee-head h2 { font-size: 30px; }
.marquee-head p { font-size: 14px; color: var(--muted); }
.marquee { overflow: hidden; padding: 6px 0 14px; }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 70s linear infinite; padding-left: 8px; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}
.product-chip {
  width: 190px; flex: none; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: var(--radius);
  padding: 12px; display: flex; flex-direction: column; gap: 10px; box-shadow: 4px 4px 0 var(--ink);
}
.product-chip:nth-child(even) { transform: rotate(1.2deg); }
.product-chip:nth-child(odd) { transform: rotate(-1deg); }
.product-chip .thumb { aspect-ratio: 3 / 4; border-radius: 10px; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.product-chip img { width: 100%; height: 100%; object-fit: contain; }
.product-chip .tag { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--ink); background: var(--yellow-soft); padding: 2px 10px; border-radius: 999px; }
.product-chip .name { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }

/* ---------- 취급 품목 카드 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.cat-card {
  display: flex; flex-direction: column; background: var(--paper); border: var(--bw) solid var(--ink);
  border-radius: 26px; overflow: hidden; color: inherit; box-shadow: 6px 6px 0 var(--ink);
  transition: transform .2s, box-shadow .2s;
}
a.cat-card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); color: inherit; }
.cat-card .media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--bw) solid var(--ink); }
.cat-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.cat-card:hover .media img { transform: scale(1.05); }
.cat-card .body { padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.cat-card .tag, .cat-row .tag {
  align-self: flex-start; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--ink);
  padding: 4px 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--coral-soft);
}
.cat-card:nth-child(4n+2) .tag, .cat-row:nth-child(4n+2) .tag { background: var(--yellow-soft); }
.cat-card:nth-child(4n+3) .tag, .cat-row:nth-child(4n+3) .tag { background: var(--blue-soft); }
.cat-card:nth-child(4n+4) .tag, .cat-row:nth-child(4n+4) .tag { background: var(--mint-soft); }
.cat-card h3 { font-size: 26px; }
.cat-card p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- 강점 (노란 섹션) ---------- */
.section-dark { background: var(--yellow); position: relative; overflow: hidden; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.section-dark .section-head p { color: var(--ink); }
.section-dark .deco {
  position: absolute; right: 6%; top: 64px; width: 150px; transform: rotate(14deg);
  filter: drop-shadow(5px 5px 0 var(--ink)); pointer-events: none;
}
@media (max-width: 900px) { .section-dark .deco { width: 96px; top: 36px; right: 4%; } }
@media (max-width: 640px) { .section-dark .deco { display: none; } }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.feature {
  padding: 30px 26px; border-radius: 24px; background: var(--paper); border: var(--bw) solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; gap: 14px;
}
.feature .icon {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--ink); color: var(--ink);
  display: grid; place-items: center; background: var(--coral-soft);
}
.feature:nth-child(2) .icon { background: var(--blue-soft); }
.feature:nth-child(3) .icon { background: var(--mint-soft); }
.feature:nth-child(4) .icon { background: var(--yellow-soft); }
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 23px; }
.feature p { font-size: 15.5px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- 거래 절차 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step {
  position: relative; padding: 28px 28px 30px; border-radius: 24px; background: var(--paper);
  border: var(--bw) solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  display: flex; flex-direction: column; gap: 10px;
}
.step .num {
  align-self: flex-start; font-family: var(--display); font-size: 16px; color: var(--ink);
  padding: 3px 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--coral-soft);
}
.step:nth-child(3n+2) .num { background: var(--yellow-soft); }
.step:nth-child(3n+3) .num { background: var(--blue-soft); }
.step h3 { font-size: 23px; }
.step p { font-size: 15.5px; color: var(--muted); }
.steps-note {
  margin-top: 32px; display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 26px; border-radius: 20px; background: var(--blue-soft); color: var(--ink);
  border: 2px dashed var(--ink);
}
.steps-note svg { width: 24px; height: 24px; flex: none; margin-top: 2px; color: var(--ink); }
.steps-note strong { color: var(--ink); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 하단 CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 34px; background: var(--coral);
  border: 3px solid var(--ink); box-shadow: var(--pop-lg);
  padding: 60px 64px; color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
}
.cta-band .deco { position: absolute; right: -28px; top: -34px; width: 132px; transform: rotate(-16deg); pointer-events: none; }
.cta-band > div { position: relative; }
.cta-band h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 12px; }
.cta-band p { color: var(--ink); font-weight: 500; }
.cta-band .contact { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: 15px; }
.cta-band .contact a { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; position: relative; }
@media (max-width: 900px) {
  .cta-band { grid-template-columns: 1fr; padding: 44px 26px; }
  .cta-band .deco { right: -24px; top: -28px; width: 96px; }
  .cta-band h2 { padding-right: 56px; }
  .cta-band .actions .btn { flex: 1 1 auto; }
}

/* ---------- 서브 페이지 머리 ---------- */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 64px; border-bottom: 3px solid var(--ink); background: var(--yellow-soft); }
.page-hero .container { position: relative; display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); }
.page-hero p { font-size: 18px; color: var(--body); max-width: 640px; }
.page-hero .deco {
  position: absolute; right: 8%; top: 50%; width: 150px; transform: translateY(-50%) rotate(14deg);
  filter: drop-shadow(5px 5px 0 var(--ink)); pointer-events: none;
}
@media (max-width: 900px) { .page-hero .deco { width: 96px; right: 4%; top: 36px; transform: rotate(14deg); } .page-hero .container { padding-right: 110px; } }
@media (max-width: 640px) {
  .page-hero { padding: 48px 0 44px; }
  .page-hero p { font-size: 16px; }
  .page-hero .deco { width: 64px; top: 20px; }
  .page-hero .container { padding-right: 16px; }
}

/* ---------- 회사소개 ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split .media img { width: 100%; border-radius: 28px; aspect-ratio: 4 / 3; object-fit: cover; border: 3px solid var(--ink); box-shadow: var(--pop-lg); transform: rotate(-1.5deg); }
.split .copy { display: flex; flex-direction: column; gap: 20px; }
.split .copy h2 { font-size: clamp(30px, 3.4vw, 44px); }
.split .copy p { font-size: 17px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.biz-item {
  padding: 30px 28px; border-radius: 24px; border: var(--bw) solid var(--ink); background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink); display: flex; flex-direction: column; gap: 12px;
}
.biz-item .icon { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--ink); background: var(--coral-soft); color: var(--ink); display: grid; place-items: center; }
.biz-item:nth-child(2) .icon { background: var(--yellow-soft); }
.biz-item:nth-child(3) .icon { background: var(--blue-soft); }
.biz-item .icon svg { width: 26px; height: 26px; }
.biz-item h3 { font-size: 23px; }
.biz-item p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .biz-grid { grid-template-columns: 1fr; } }

.info-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 5px 5px 0 var(--ink); }
.info-table th, .info-table td { text-align: left; padding: 18px 22px; border-bottom: 1.5px solid #E7E1D6; vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 200px; background: var(--yellow-soft); color: var(--ink); font-weight: 800; border-right: 1.5px solid #E7E1D6; }
@media (max-width: 640px) {
  .info-table th, .info-table td { display: block; width: 100%; border-right: 0; }
  .info-table th { padding: 12px 18px 6px; border-bottom: 0; }
  .info-table td { padding: 6px 18px 14px; }
}

.map-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 30px; border-radius: 24px; border: var(--bw) solid var(--ink); background: var(--paper); box-shadow: 5px 5px 0 var(--ink);
}
.map-card .addr { display: flex; gap: 16px; align-items: flex-start; }
.map-card .addr .icon { width: 50px; height: 50px; flex: none; border-radius: 50%; border: 2px solid var(--ink); background: var(--coral-soft); color: var(--ink); display: grid; place-items: center; }
.map-card .addr .icon svg { width: 24px; height: 24px; }
.map-card .addr strong { display: block; color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 22px; margin-bottom: 2px; }
.map-card .links { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .map-card { grid-template-columns: 1fr; padding: 24px; } .map-card .links .btn { flex: 1 1 auto; } }

/* ---------- 취급 품목 상세 ---------- */
.cat-rows { display: flex; flex-direction: column; gap: 96px; }
.cat-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.cat-row:nth-child(even) .media { order: 2; }
.cat-row .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; border: 3px solid var(--ink); box-shadow: var(--pop-lg); }
.cat-row:nth-child(odd) .media img { transform: rotate(-1.5deg); }
.cat-row:nth-child(even) .media img { transform: rotate(1.5deg); }
.cat-row .copy { display: flex; flex-direction: column; gap: 16px; }
.cat-row h2 { font-size: clamp(32px, 3.6vw, 44px); }
.cat-row p { font-size: 17px; }
.check-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.check-list svg { width: 20px; height: 20px; color: var(--coral-ink); flex: none; margin-top: 4px; }
@media (max-width: 900px) {
  .cat-rows { gap: 72px; }
  .cat-row { grid-template-columns: 1fr; gap: 32px; }
  .cat-row:nth-child(even) .media { order: 0; }
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.product-card {
  background: var(--paper); border: var(--bw) solid var(--ink); border-radius: var(--radius); padding: 14px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: 4px 4px 0 var(--ink);
}
.product-card .thumb { aspect-ratio: 3 / 4; background: var(--cream); border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.product-card img { width: 100%; height: 100%; object-fit: contain; }
.product-card .tag { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--ink); background: var(--yellow-soft); padding: 2px 10px; border-radius: 999px; }
.product-card .name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.notice { margin-top: 28px; font-size: 14px; color: var(--muted); }

/* ---------- 거래 안내 ---------- */
.terms-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px;
  padding: 48px; border-radius: 30px; background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--pop-lg);
}
.terms-card h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 12px; }
.terms-list { display: flex; flex-direction: column; gap: 14px; }
.terms-list li { padding: 18px 20px; border-radius: 18px; background: var(--cream); border: 2px solid var(--ink); }
.terms-list strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.terms-list p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .terms-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 28px; } }

.faq { display: flex; flex-direction: column; gap: 14px; max-width: 880px; margin: 0 auto; }
.faq details { border: var(--bw) solid var(--ink); border-radius: 20px; background: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.faq details[open] { background: var(--yellow-soft); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; position: relative;
  font-weight: 800; color: var(--ink); font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper);
  display: grid; place-items: center; font-family: var(--display); font-size: 22px; line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--body); }

/* ---------- 거래처 등록 신청서 ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.form-aside h2 { font-size: 30px; }
.form-aside ol { display: flex; flex-direction: column; gap: 14px; counter-reset: a; }
.form-aside ol li { display: flex; gap: 12px; align-items: center; color: var(--ink); font-weight: 700; }
.form-aside ol li::before {
  counter-increment: a; content: counter(a);
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); color: var(--ink);
  font-family: var(--display); font-size: 17px; display: grid; place-items: center;
}
.form-aside .contact-box { padding: 20px 22px; border-radius: 20px; background: var(--paper); border: 2px dashed var(--ink); font-size: 15px; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; gap: 40px; } .form-aside { position: static; } }

.form-card { padding: 44px; border-radius: 30px; border: 3px solid var(--ink); background: var(--paper); box-shadow: var(--pop-lg); }
@media (max-width: 640px) { .form-card { padding: 24px 18px; border-radius: 22px; box-shadow: var(--pop); } }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 36px; }
.form-card legend { font-family: var(--display); font-size: 24px; color: var(--ink); margin-bottom: 18px; padding: 0; }
.form-card legend .hint, .form-card legend label { font-family: var(--font); }
.form-card legend label { font-family: var(--display); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-weight: 700; color: var(--ink); font-size: 15px; }
.req { color: var(--coral-ink); margin-left: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
  width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 16px;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  transition: box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #8B8B94; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: 0 0 0 4px var(--yellow); }
.field .hint { font-size: 13px; color: var(--muted); }
.field input:user-invalid { border-color: var(--coral-ink); box-shadow: 0 0 0 3px var(--coral-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .12s, box-shadow .12s, background-color .12s;
}
.chip span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper);
}
.chip:hover span { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.chip input:checked + span { background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }
.chip input:checked + span::before { background: var(--ink); box-shadow: inset 0 0 0 3px var(--yellow); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.consent { border-radius: 20px; background: var(--cream); border: 2px solid var(--ink); padding: 22px 24px; font-size: 14.5px; }
.consent dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 16px; margin: 0 0 16px; }
.consent dt { font-weight: 800; color: var(--ink); }
.consent dd { margin: 0; color: var(--body); }
@media (max-width: 640px) { .consent dl { grid-template-columns: 1fr; gap: 2px; } .consent dd { margin-bottom: 8px; } }
.check { display: inline-flex; gap: 10px; align-items: center; font-weight: 800; color: var(--ink); cursor: pointer; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--coral-d); }

.form-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-actions .btn { min-width: 240px; }
@media (max-width: 640px) { .form-actions .btn { width: 100%; } }
.form-status { font-size: 15px; border-radius: 14px; padding: 14px 18px; display: none; border: 2px solid var(--ink); }
.form-status.is-error { display: block; background: var(--coral-soft); color: var(--ink); }
.form-status.is-info { display: block; background: var(--blue-soft); color: var(--ink); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { text-align: center; padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.form-success .icon { width: 80px; height: 80px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); box-shadow: var(--pop); color: var(--ink); display: grid; place-items: center; }
.form-success .icon svg { width: 38px; height: 38px; }
.form-success h2 { font-size: 34px; }
.form-success p { color: var(--muted); max-width: 460px; }

/* ---------- 개인정보처리방침 ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--body); }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; background: var(--paper); }
.prose th, .prose td { border: 2px solid var(--ink); padding: 12px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--yellow-soft); color: var(--ink); }
.prose .table-wrap { overflow-x: auto; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .74); padding: 64px 0 40px; font-size: 14.5px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1.5px dashed rgba(255, 255, 255, .25); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: rgba(255, 255, 255, .88); font-weight: 600; }
.footer-nav a:hover { color: var(--yellow); }
.footer-nav strong { color: #fff; }
.footer-info { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 28px 0 0; }
.footer-info div { display: flex; gap: 10px; }
.footer-info dt { color: rgba(255, 255, 255, .55); }
.footer-info dd { margin: 0; color: rgba(255, 255, 255, .9); }
.footer-info a { color: rgba(255, 255, 255, .9); font-weight: 500; }
.footer-info a:hover { color: var(--yellow); }
.footer-copy { margin-top: 28px; color: rgba(255, 255, 255, .55); font-size: 13px; }

/* ---------- 스크롤 등장 효과 ---------- */
.js .reveal { opacity: 0; transform: translateY(22px) scale(.97); transition: opacity .6s ease, transform .6s cubic-bezier(.34, 1.4, .64, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .cat-row .media.reveal.is-visible, .js .split .media.reveal.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
