/* =========================================================
   에스엔씨 홈페이지 공통 스타일 (B안)
   색: 딥네이비 + 일렉트릭 블루 (로고 시안 B1)
   ========================================================= */

:root {
  --navy-950: #061A3D;
  --navy: #0B2F6B;
  --navy-700: #163F86;
  --blue: #1F6BFF;
  --blue-600: #1450D6;
  --blue-300: #8DB2FF;
  --sky-50: #EEF4FF;
  --ink: #0F172A;
  --body: #334155;
  --muted: #5B6B82;
  --line: #E2E8F0;
  --soft: #F5F7FA;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow: 0 10px 30px -12px rgba(11, 47, 107, .25);
  --header-h: 72px;
  --container: 1200px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
}

*, *::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(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.25; letter-spacing: -0.025em; }
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: 2px; border-radius: 4px; }

.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(--navy); 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: 52px; padding: 0 26px; border-radius: 12px;
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(20, 80, 214, .7); }
.btn-primary:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--sky-50); color: var(--navy); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }

/* ---------- 공통 타이포 ---------- */
.eyebrow {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600);
}
.section { padding: 112px 0; }
.section-sm { padding: 80px 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.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, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(15, 23, 42, .18); }
.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(--navy); }
.brand:hover { color: var(--navy); }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.brand-text small { font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--muted); margin-top: 3px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, .7); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: 16px;
}
.site-nav ul a:hover { background: var(--soft); color: var(--navy); }
.site-nav ul a[aria-current="page"] { color: var(--blue-600); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 12px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px; box-shadow: 0 20px 30px -20px rgba(15, 23, 42, .25);
    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%; min-height: 52px; }
  .brand-text strong { font-size: 18px; }
}

/* ---------- 히어로 (홈) ---------- */
.hero { position: relative; padding: 72px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 800; line-height: 1.16; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--blue-600); }
.hero .lead { font-size: 19px; color: var(--body); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: 15px; }
.hero-points svg { width: 20px; height: 20px; color: var(--blue-600); flex: none; }

.hero-visual { position: relative; isolation: isolate; margin: 24px 24px 0 0; }
.hero-visual::before {
  content: ""; position: absolute; z-index: -1;
  top: -24px; right: -24px; bottom: 48px; left: 48px;
  border: 3px solid var(--navy); border-radius: 30px;
}
.hero-visual::after {
  content: ""; position: absolute; z-index: -1;
  top: -24px; right: -24px; width: 96px; height: 96px;
  border-top: 3px solid var(--blue); border-right: 3px solid var(--blue);
  border-top-right-radius: 30px;
}
.hero-visual img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 62% 50%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}

@media (max-width: 960px) {
  .hero { padding: 40px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { margin: 24px 16px 0 0; }
}
@media (max-width: 640px) {
  .hero .lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual::before { top: -14px; right: -14px; bottom: 32px; left: 32px; border-radius: 22px; }
  .hero-visual::after { top: -14px; right: -14px; width: 64px; height: 64px; border-top-right-radius: 22px; }
  }

/* ---------- 상품 띠 (마키) ---------- */
.marquee-section { padding: 56px 0 64px; background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.marquee-head h2 { font-size: 22px; font-weight: 800; }
.marquee-head p { font-size: 14px; color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
}
.product-chip {
  width: 188px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; display: flex; flex-direction: column; gap: 10px;
}
.product-chip .thumb { aspect-ratio: 3 / 4; border-radius: 10px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.product-chip img { width: 100%; height: 100%; object-fit: contain; }
.product-chip .tag { font-size: 12px; font-weight: 700; color: var(--blue-600); }
.product-chip .name { font-size: 14px; font-weight: 600; 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: 28px; }
.cat-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.cat-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.cat-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.cat-card:hover .media img { transform: scale(1.04); }
.cat-card .body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.cat-card .tag { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--blue-600); }
.cat-card h3 { font-size: 22px; font-weight: 800; }
.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: 20px; } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- 강점 (어두운 섹션) ---------- */
.section-dark { background: var(--navy-950); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--blue-300); }
.section-dark .section-head p { color: rgba(255, 255, 255, .72); }
.section-dark .deco {
  position: absolute; right: -120px; top: -80px; width: 520px; opacity: .07; pointer-events: none;
}
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.feature {
  padding: 32px 28px; border-radius: 20px; background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 14px;
}
.feature .icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(31, 107, 255, .16); color: var(--blue-300); display: grid; place-items: center; }
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; font-weight: 700; }
.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: 20px; counter-reset: step; }
.step {
  position: relative; padding: 28px 28px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.step .num {
  font-size: 15px; font-weight: 800; color: var(--blue-600); letter-spacing: .06em;
}
.step h3 { font-size: 20px; font-weight: 700; }
.step p { font-size: 15.5px; color: var(--muted); }
.steps-note {
  margin-top: 28px; display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 26px; border-radius: 16px; background: var(--sky-50); color: var(--navy);
}
.steps-note svg { width: 24px; height: 24px; flex: none; margin-top: 2px; color: var(--blue-600); }
.steps-note strong { color: var(--navy); }
@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: 28px; background: var(--navy);
  padding: 64px 64px; color: rgba(255, 255, 255, .8);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
}
.cta-band .deco { position: absolute; right: -60px; bottom: -110px; width: 360px; opacity: .1; pointer-events: none; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin-bottom: 12px; }
.cta-band .contact { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: 15px; }
.cta-band .contact a { color: #fff; font-weight: 600; }
.cta-band .contact a:hover { color: var(--blue-300); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
@media (max-width: 900px) {
  .cta-band { grid-template-columns: 1fr; padding: 48px 28px; }
  .cta-band .actions .btn { flex: 1 1 auto; }
}

/* ---------- 서브 페이지 머리 ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--soft); padding: 80px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; letter-spacing: -0.035em; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 680px; }
.page-hero .deco { position: absolute; right: -40px; top: -60px; width: 300px; opacity: .08; pointer-events: none; }
@media (max-width: 640px) {
  .page-hero { padding: 56px 0 48px; }
  .page-hero p { font-size: 16px; }
  .page-hero .deco { width: 200px; right: -60px; }
}

/* ---------- 회사소개 ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split .media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.split .copy { display: flex; flex-direction: column; gap: 20px; }
.split .copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.split .copy p { font-size: 17px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.biz-item { padding: 32px 28px; border-radius: 20px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 12px; }
.biz-item .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sky-50); color: var(--blue-600); display: grid; place-items: center; }
.biz-item .icon svg { width: 26px; height: 26px; }
.biz-item h3 { font-size: 20px; font-weight: 700; }
.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: collapse; border-top: 2px solid var(--navy); }
.info-table th, .info-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 200px; background: var(--soft); color: var(--ink); font-weight: 700; }
@media (max-width: 640px) {
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding: 12px 16px 4px; border-bottom: 0; }
  .info-table td { padding: 4px 16px 14px; }
}

.map-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 32px; border-radius: 20px; border: 1px solid var(--line); background: #fff;
}
.map-card .addr { display: flex; gap: 16px; align-items: flex-start; }
.map-card .addr .icon { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--sky-50); color: var(--blue-600); display: grid; place-items: center; }
.map-card .addr .icon svg { width: 24px; height: 24px; }
.map-card .addr strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.map-card .links { display: flex; flex-wrap: wrap; gap: 10px; }
@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: 88px; }
.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: var(--radius-lg); }
.cat-row .copy { display: flex; flex-direction: column; gap: 16px; }
.cat-row .tag { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--blue-600); }
.cat-row h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.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); }
.check-list svg { width: 20px; height: 20px; color: var(--blue-600); flex: none; margin-top: 4px; }
@media (max-width: 900px) {
  .cat-rows { gap: 64px; }
  .cat-row { grid-template-columns: 1fr; gap: 28px; }
  .cat-row:nth-child(even) .media { order: 0; }
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.product-card .thumb { aspect-ratio: 3 / 4; background: var(--soft); border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.product-card img { width: 100%; height: 100%; object-fit: contain; }
.product-card .tag { font-size: 12px; font-weight: 700; color: var(--blue-600); }
.product-card .name { font-size: 15px; font-weight: 600; 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: 24px; background: #fff; border: 1px solid var(--line);
}
.terms-card h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin-bottom: 12px; }
.terms-list { display: flex; flex-direction: column; gap: 18px; }
.terms-list li { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.terms-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.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; gap: 28px; } }

.faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative;
  font-weight: 700; color: var(--ink); font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.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: 24px; font-weight: 800; }
.form-aside ol { display: flex; flex-direction: column; gap: 14px; counter-reset: a; }
.form-aside ol li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.form-aside ol li::before {
  counter-increment: a; content: counter(a);
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sky-50); color: var(--blue-600);
  font-weight: 800; font-size: 14px; display: grid; place-items: center; margin-top: 1px;
}
.form-aside .contact-box { padding: 20px 22px; border-radius: 16px; background: var(--soft); font-size: 15px; }
.form-aside .contact-box a { font-weight: 700; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; gap: 40px; } .form-aside { position: static; } }

.form-card { padding: 44px; border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
@media (max-width: 640px) { .form-card { padding: 24px 18px; border-radius: 18px; } }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 36px; }
.form-card legend { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 18px; padding: 0; }
.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: 600; color: var(--ink); font-size: 15px; }
.req { color: #C2262C; margin-left: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #8A97AA; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 107, 255, .15); }
.field .hint { font-size: 13px; color: var(--muted); }
.field input:user-invalid { border-color: #C2262C; }

.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: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 600; font-size: 15px; cursor: pointer; transition: all .15s;
}
.chip span::before {
  content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #9AA8BC; background: #fff; transition: all .15s;
}
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { border-color: var(--blue-600); background: var(--sky-50); color: var(--navy); }
.chip input:checked + span::before {
  border-color: var(--blue-600); background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.consent { border-radius: 16px; background: var(--soft); 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: 700; 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: 700; color: var(--ink); cursor: pointer; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--blue-600); }

.form-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-actions .btn { min-width: 220px; }
@media (max-width: 640px) { .form-actions .btn { width: 100%; } }
.form-status { font-size: 15px; border-radius: 12px; padding: 14px 18px; display: none; }
.form-status.is-error { display: block; background: #FDECEC; color: #8E1A1F; }
.form-status.is-info { display: block; background: var(--sky-50); color: var(--navy); }
.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: 72px; height: 72px; border-radius: 50%; background: var(--sky-50); color: var(--blue-600); display: grid; place-items: center; }
.form-success .icon svg { width: 36px; height: 36px; }
.form-success h2 { font-size: 28px; font-weight: 800; }
.form-success p { color: var(--muted); max-width: 460px; }

/* ---------- 개인정보처리방침 ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; font-weight: 800; 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; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); }
.prose .table-wrap { overflow-x: auto; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); 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: 1px solid rgba(255, 255, 255, .12); }
.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, .85); }
.footer-nav a:hover { color: #fff; }
.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, .5); }
.footer-info dd { margin: 0; color: rgba(255, 255, 255, .88); }
.footer-info a { color: rgba(255, 255, 255, .88); }
.footer-info a:hover { color: #fff; }
.footer-copy { margin-top: 28px; color: rgba(255, 255, 255, .5); font-size: 13px; }

/* ---------- 스크롤 등장 효과 ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
