/* ===================================================
   한국목재(주) — Main Stylesheet v2
   Design: White-First Editorial × Industrial Red
   Font: Pretendard (무료, 최고 가독성 한글 폰트)
   =================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

/* ── CSS Variables — Light Mode Base ── */
:root {
  --red:        #C8001A;
  --red-dark:   #9A0013;
  --red-light:  #E03347;
  --red-pale:   #FFF0F2;

  /* Light palette (main) */
  --white:      #FFFFFF;
  --bg:         #FFFFFF;
  --bg-soft:    #F7F7F5;
  --bg-warm:    #F2F0EB;
  --border:     #E2E0DC;
  --border-dark:#C8C5BF;

  /* Text */
  --text-primary:   #141414;
  --text-secondary: #4A4A4A;
  --text-muted:     #8A8A8A;
  --text-subtle:    #ADADAD;

  /* Dark sections (hero, parallax) */
  --dark-bg:    #111111;
  --dark-800:   #1C1C1C;
  --dark-700:   #2A2A2A;
  --dark-text:  #FFFFFF;
  --dark-muted: #AAAAAA;

  --font-main:    'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cormorant Garamond', 'Pretendard Variable', serif;
  --font-heading: 'Bebas Neue', 'Pretendard Variable', sans-serif;

  --nav-h: 68px;
  --max-w: 1240px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --shadow-sm:  0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.14);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 38px;
  width: auto;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text .ko {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.nav-logo-text .en {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 16px; right: 16px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover  { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a.active { color: var(--text-primary); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover::after  { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-lang { display: flex; align-items: center; gap: 2px; }
.nav-lang a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.2s;
}
.nav-lang a.active, .nav-lang a:hover {
  color: var(--red);
  border-color: var(--red);
}
.nav-lang .sep { font-size: 10px; color: var(--border-dark); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--red-dark); }

.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-mobile-btn span { display: block; width: 22px; height: 2px; background: var(--text-primary); transition: var(--transition); }

.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 32px 40px;
  gap: 0;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 20px;
  font-weight: 600;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .nav-links, .nav-cta, .nav-lang { display: none; }
  .nav-mobile-btn { display: flex; }
  #navbar { padding: 0 24px; }
}

/* ══════════════════════════════════════════
   HERO — dark 유지 (임팩트)
══════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  background: var(--dark-bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg video, .hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.1) 0%,
    rgba(10,10,10,0) 35%,
    rgba(10,10,10,0.65) 75%,
    rgba(10,10,10,0.95) 100%
  );
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 100px,
    rgba(200,0,26,0.03) 100px, rgba(200,0,26,0.03) 101px
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 860px;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.hero-label::before { content:''; display:block; width:36px; height:2px; background:var(--red); }
.hero-label span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero-title em { font-style: italic; color: rgba(255,255,255,0.55); font-weight: 400; }
.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 460px;
  line-height: 1.85;
  margin-bottom: 36px;
}
.hero-scroll {
  position: absolute; bottom: 36px; right: 60px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { font-size: 9px; letter-spacing: 0.22em; color: rgba(255,255,255,0.4); writing-mode: vertical-rl; }
.hero-scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform:scaleY(0); transform-origin:top; }
  50%  { transform:scaleY(1); transform-origin:top; }
  51%  { transform-origin:bottom; }
  100% { transform:scaleY(0); transform-origin:bottom; }
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateX(3px); }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: transparent;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--border-dark);
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--text-primary); color: var(--text-primary); }

/* ══════════════════════════════════════════
   KEY FIGURES — 라이트 배경
══════════════════════════════════════════ */
#key-figures {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.figures-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.figure-item {
  padding: 52px 40px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.figure-item:last-child { border-right: none; }
.figure-num {
  font-family: var(--font-heading);
  font-size: 68px;
  color: var(--text-primary);
  line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.figure-num sup { font-size: 26px; color: var(--red); }
.figure-label { margin-top: 10px; font-size: 13px; font-weight: 400; color: var(--text-muted); letter-spacing: -0.01em; }

/* ══════════════════════════════════════════
   PAGE HEADER — 라이트
══════════════════════════════════════════ */
.page-header {
  position: relative;
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 72px;
  padding-left: 60px;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-header::before {
  content: attr(data-num);
  position: absolute;
  right: -16px; bottom: -40px;
  font-family: var(--font-heading);
  font-size: 220px;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.page-header-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-header p {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.85;
}

/* ══════════════════════════════════════════
   SECTION COMMON
══════════════════════════════════════════ */
.section { padding: 96px 60px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-label::before { content:''; display:block; width:28px; height:2px; background:var(--red); }
.section-label span {
  font-size: 10px; font-weight: 700; letter-spacing: 0.25em; color: var(--red); text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.9;
}
.divider { width: 48px; height: 2px; background: var(--red); margin: 20px 0; }

/* Dark section variant (parallax panels 용) */
.section-dark { background: var(--dark-bg); }
.section-dark .section-title { color: var(--dark-text); }
.section-dark .section-desc  { color: var(--dark-muted); }

/* ══════════════════════════════════════════
   HOME — BUSINESS PREVIEW
══════════════════════════════════════════ */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 48px;
}
.biz-card {
  padding: 40px 32px;
  background: var(--white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  position: relative;
}
.biz-card::after {
  content:'';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.biz-card:hover { background: var(--bg-soft); box-shadow: var(--shadow-sm); }
.biz-card:hover::after { transform: scaleX(1); }
.biz-icon { font-size: 32px; margin-bottom: 16px; }
.biz-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; letter-spacing: -0.02em; }
.biz-desc  { font-size: 13px; font-weight: 300; color: var(--text-secondary); line-height: 1.7; }
.biz-arrow { margin-top: 20px; color: var(--red); font-size: 18px; opacity: 0; transition: opacity 0.2s; }
.biz-card:hover .biz-arrow { opacity: 1; }

/* ══════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════ */
.cta-band {
  background: var(--red);
  padding: 64px 60px;
}
.cta-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-band-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.28em;
  color: rgba(255,255,255,0.6); margin-bottom: 8px; text-transform: uppercase;
}
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px;
  background: #fff;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}
.btn-white:hover { background: var(--bg-soft); transform: translateX(3px); }

/* ══════════════════════════════════════════
   SCROLL STORY (회사소개 / 사업내용)
══════════════════════════════════════════ */
.scroll-story { position: relative; }
.scroll-panel {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.scroll-panel-bg {
  position: absolute; inset: 0; z-index: 0;
}
.scroll-panel-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.9s ease, opacity 0.6s;
  opacity: 0.3;
}
.scroll-panel.active .scroll-panel-bg img { transform: scale(1); opacity: 0.45; }
.scroll-panel-bg::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(110deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 40%, rgba(255,255,255,0.4) 75%, rgba(255,255,255,0) 100%);
}
/* 짝수 패널은 반전 */
.scroll-panel:nth-child(even) .scroll-panel-bg::after {
  background: linear-gradient(250deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 40%, rgba(255,255,255,0.4) 75%, rgba(255,255,255,0) 100%);
}
.scroll-panel:nth-child(even) .scroll-panel-content {
  margin-left: auto;
}

.scroll-panel-content {
  position: relative; z-index: 1;
  padding: 0 60px;
  max-width: 680px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-panel.active .scroll-panel-content { opacity: 1; transform: translateY(0); }

.scroll-panel-num {
  font-family: var(--font-heading);
  font-size: 100px;
  color: rgba(200,0,26,0.1);
  line-height: 1;
  margin-bottom: -12px;
}
.scroll-panel-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.26em;
  color: var(--red); text-transform: uppercase; margin-bottom: 18px;
}
.scroll-panel-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.scroll-panel-text {
  font-size: 14px; font-weight: 300; color: var(--text-secondary); line-height: 1.95;
}
.scroll-panel-text p { margin-bottom: 12px; }
.scroll-panel-text ul { list-style: none; margin-top: 16px; }
.scroll-panel-text li {
  padding: 7px 0 7px 20px; position: relative;
  border-bottom: 1px solid var(--border); font-size: 14px;
}
.scroll-panel-text li:last-child { border-bottom: none; }
.scroll-panel-text li::before {
  content:''; position:absolute; left:0; top:50%;
  width:8px; height:2px; background:var(--red);
}

/* Timeline */
.timeline { margin-top: 28px; padding-left: 20px; border-left: 2px solid var(--border); }
.timeline-item {
  position: relative; margin-bottom: 18px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.5s, transform 0.5s;
}
.scroll-panel.active .timeline-item { opacity: 1; transform: translateX(0); }
.scroll-panel.active .timeline-item:nth-child(1) { transition-delay: 0.2s; }
.scroll-panel.active .timeline-item:nth-child(2) { transition-delay: 0.35s; }
.scroll-panel.active .timeline-item:nth-child(3) { transition-delay: 0.5s; }
.scroll-panel.active .timeline-item:nth-child(4) { transition-delay: 0.65s; }
.scroll-panel.active .timeline-item:nth-child(5) { transition-delay: 0.8s; }
.timeline-item::before {
  content:''; position:absolute; left:-26px; top:6px;
  width:10px; height:10px; border-radius:50%;
  background:var(--red); border:2px solid var(--bg-soft);
}
.timeline-year { font-family: var(--font-heading); font-size: 20px; color: var(--red); letter-spacing: 0.04em; }
.timeline-event { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* ══════════════════════════════════════════
   INDUSTRIES (사업내용 하단)
══════════════════════════════════════════ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.industry-item {
  padding: 20px 20px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.industry-item:hover { border-color: var(--red); background: var(--red-pale); }
.industry-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* ══════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════ */
.category-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cat-tab {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  background: var(--white);
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}
.cat-tab:hover { border-color: var(--text-primary); color: var(--text-primary); }
.cat-tab.active {
  background: var(--text-primary);
  color: var(--white);
  border-color: var(--text-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.product-card {
  position: relative;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card-imgwrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-warm);
}
.product-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-warm);
}
.product-card-placeholder svg { opacity: 0.2; }
.product-card-body {
  padding: 18px 20px 20px;
}
.product-card-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--red); text-transform: uppercase; margin-bottom: 6px;
}
.product-card-name {
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  line-height: 1.4; letter-spacing: -0.01em;
}
.product-card-desc {
  font-size: 12px; font-weight: 300; color: var(--text-muted);
  margin-top: 6px; line-height: 1.6;
}
.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
}
.product-card-more {
  font-size: 12px; font-weight: 600; color: var(--red);
  display: flex; align-items: center; gap: 4px;
}

/* Product Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 2000;
  align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  max-width: 720px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  color: var(--text-secondary); padding: 6px;
  background: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
.modal-close:hover { color: var(--red); }
.modal-img-wrap { height: 360px; overflow: hidden; background: var(--bg-warm); }
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 36px; }
.modal-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.25em; color: var(--red); text-transform: uppercase; margin-bottom: 10px; }
.modal-name { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--text-primary); letter-spacing: -0.02em; margin-bottom: 14px; }
.modal-desc { font-size: 14px; font-weight: 300; color: var(--text-secondary); line-height: 1.9; }
.modal-divider { width: 100%; height: 1px; background: var(--border); margin: 28px 0; }
.modal-cta-note { font-size: 13px; font-weight: 300; color: var(--text-muted); margin-bottom: 16px; }

/* ══════════════════════════════════════════
   SUPPORT / INQUIRY
══════════════════════════════════════════ */
.support-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}
/* 문의 목록 */
.inquiry-table-head {
  display: grid;
  grid-template-columns: 1fr 130px 90px;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--text-primary);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-secondary);
  text-transform: uppercase;
}
.inquiry-row {
  display: grid;
  grid-template-columns: 1fr 130px 90px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-top: none;
  cursor: pointer;
  transition: background 0.15s;
}
.inquiry-row:hover { background: var(--bg-soft); }
.inquiry-subject { font-size: 14px; font-weight: 400; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inquiry-date { font-size: 12px; color: var(--text-muted); text-align: right; }
.inquiry-status { text-align: right; }
.badge {
  display: inline-block; padding: 3px 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
}
.badge-answered { background: #FFF0F0; color: var(--red); border: 1px solid rgba(200,0,26,0.25); }
.badge-pending  { background: var(--bg-soft); color: var(--text-muted); border: 1px solid var(--border); }

.inquiry-detail {
  display: none;
  border: 1px solid var(--border); border-top: none;
  padding: 28px; background: var(--bg-soft);
}
.inquiry-detail.open { display: block; }
.detail-meta {
  display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px;
}
.detail-meta span { font-size: 12px; color: var(--text-muted); }
.detail-meta strong { color: var(--text-primary); margin-left: 4px; }
.detail-content {
  font-size: 14px; font-weight: 300; color: var(--text-primary);
  line-height: 2; padding: 20px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 20px; white-space: pre-wrap;
}
.detail-answer {
  background: var(--red-pale);
  border-left: 3px solid var(--red);
  padding: 20px;
}
.detail-answer-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--red); text-transform: uppercase; margin-bottom: 10px;
}
.detail-answer-text { font-size: 14px; color: var(--text-primary); line-height: 1.95; white-space: pre-wrap; }

/* Inquiry Form */
.inquiry-form-card {
  background: var(--bg-soft);
  padding: 36px;
  border: 1.5px solid var(--border);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.form-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 24px; letter-spacing: -0.02em; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--text-secondary);
  text-transform: uppercase; margin-bottom: 7px;
}
.form-label .req { color: var(--red); margin-left: 2px; }
.form-input, .form-textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  padding: 11px 14px;
  transition: border-color 0.2s;
  outline: none; -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-subtle); }
.form-input:focus, .form-textarea:focus { border-color: var(--red); }
.form-textarea { resize: vertical; min-height: 120px; }

.form-privacy {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  margin-bottom: 16px;
  cursor: pointer;
}
.form-privacy input[type="checkbox"] { margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.form-privacy-text { font-size: 12px; font-weight: 300; color: var(--text-secondary); line-height: 1.65; }
.form-privacy-text a { color: var(--red); text-decoration: underline; }

.btn-submit {
  width: 100%; padding: 15px;
  background: var(--text-primary);
  color: var(--white);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--red); }
.btn-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.form-msg { margin-top: 12px; font-size: 13px; text-align: center; min-height: 18px; font-weight: 400; }
.form-msg.success { color: #2A7A2A; }
.form-msg.error   { color: var(--red); }

/* ══════════════════════════════════════════
   PRIVACY
══════════════════════════════════════════ */
.privacy-wrap {
  background: var(--white);
  padding-top: var(--nav-h);
  min-height: 100vh;
}
.privacy-content {
  max-width: 780px; margin: 0 auto; padding: 72px 60px;
}
.privacy-content h1 {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 600;
  color: var(--text-primary); margin-bottom: 6px; letter-spacing: -0.02em;
}
.privacy-content .date { font-size: 12px; color: var(--text-muted); margin-bottom: 40px; }
.privacy-content h2 {
  font-size: 16px; font-weight: 700;
  margin: 36px 0 12px; padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  color: var(--text-primary);
}
.privacy-content p, .privacy-content li {
  font-size: 14px; font-weight: 300; line-height: 2; color: var(--text-secondary);
}
.privacy-content ul { padding-left: 20px; }
.privacy-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.privacy-content th, .privacy-content td { border: 1px solid var(--border); padding: 10px 14px; color: var(--text-secondary); }
.privacy-content th { background: var(--bg-soft); font-weight: 700; color: var(--text-primary); }

/* ══════════════════════════════════════════
   ABOUT BOTTOM CTA
══════════════════════════════════════════ */
.about-cta {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 80px 60px;
  text-align: center;
}
.about-cta .section-title { color: var(--text-primary); }
.about-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 64px 60px 0;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand img { height: 36px; filter: brightness(0) invert(1); opacity: 0.8; margin-bottom: 16px; }
.footer-company { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: -0.01em; }
.footer-info { font-size: 12px; font-weight: 300; line-height: 2; color: rgba(255,255,255,0.5); }
.footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w); margin: 48px auto 0; padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

/* ══════════════════════════════════════════
   LOADING / ANIMATIONS
══════════════════════════════════════════ */
.loading-overlay { display: flex; align-items: center; justify-content: center; padding: 60px; width: 100%; }
.spinner {
  width: 32px; height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .support-layout { grid-template-columns: 1fr; }
  .figures-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 60px 24px; }
  .page-header { padding: 100px 24px 56px; }
  .hero-content { padding: 0 24px; }
  .scroll-panel-content { padding: 0 24px; max-width: 100%; }
  .scroll-panel:nth-child(even) .scroll-panel-content { margin-left: 0; }
  .cta-band, .about-cta { padding: 52px 24px; }
  footer { padding: 48px 24px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .inquiry-row, .inquiry-table-head { grid-template-columns: 1fr 80px; }
  .inquiry-date { display: none; }
  .privacy-content { padding: 40px 24px; }
  .inquiry-form-card { position: static; }
}
@media (max-width: 480px) {
  .figure-item { padding: 32px 16px; }
  .figure-num { font-size: 52px; }
  .hero-title { font-size: 36px; }
}
