﻿/* ═══════════════════════════════════════════
   우드팟 공통 스타일시트
   키컬러: 검정 #000000 / 오렌지 #E8621A
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Montserrat:wght@300;400;600;700;900&display=swap');

/* ─── 라이트/다크 전용 이미지 (로고·검색 아이콘) 전환 ─── */
.t-light { display: none; }
html[data-theme="light"] .t-dark { display: none; }
html[data-theme="light"] .t-light { display: block; }
/* 항상 어두운 구간(.force-dark, 인트로 등)에서는 라이트 모드여도 어두운 배경용 로고(흰 글자)를 쓴다 */
html[data-theme="light"] .force-dark .t-dark { display: inline; }
html[data-theme="light"] .force-dark .t-light { display: none; }

/* 테마 전환 시 잠깐만 부드럽게 (js/theme-init.js 가 .theme-anim 을 350ms 붙였다 뗌) */
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, fill .3s ease !important;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #E8621A;
  --orange-dark: #c4511a;
  --on-accent: #ffffff;           /* 오렌지 배경 위 글자색 (테마와 무관하게 흰색) */
  --off-white: #f5f5f5;
  --font-kr: 'Noto Sans KR', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  --nav-height: 72px;
  --transition: 0.3s ease;
}

/* ═══════════════════════════════════════════
   테마 색상 토큰 (다크 = 기본 / 라이트 = html[data-theme="light"])
   - 뉴트럴 팔레트는 "다크 기준 hex"를 이름으로 삼아 하드코딩 색을 기계적으로 치환
     (예: #111 → var(--n11)). 라이트 값은 명암을 뒤집되 따뜻한 오프화이트 톤.
   - 사진 위에 올라가는 영역(.hero-banner 등)은 라이트 모드에서도 다크 값을 그대로 써야
     글자가 보이므로, 맨 아래 규칙으로 해당 영역만 다크 토큰을 다시 선언한다.
═══════════════════════════════════════════ */
:root,
html[data-theme="light"] .force-dark,
html[data-theme="light"] .hero-banner,
html[data-theme="light"] .main-hero,
html[data-theme="light"] .cat-card,
html[data-theme="light"] .hero-banner-text {
  --n00: #000000; --n0a: #0a0a0a; --n11: #111111; --n1a: #1a1a1a; --n22: #222222; --n2a: #2a2a2a;
  --n33: #333333; --n44: #444444; --n55: #555555; --n66: #666666; --n77: #777777; --n88: #888888;
  --n99: #999999; --naa: #aaaaaa; --nbb: #bbbbbb; --ncc: #cccccc; --nee: #eeeeee; --nff: #ffffff;

  --black: var(--n00);
  --dark: var(--n1a);
  --gray: var(--n2a);
  --border: var(--n33);
  --mid-gray: var(--n55);
  --light-gray: var(--n99);
  --white: var(--nff);

  --orange-text: #E8621A;         /* 글자용 오렌지 (라이트에선 대비 확보를 위해 더 진하게) */
  --nav-bg: rgba(0,0,0,0.95);
  --nav-bg-scrolled: rgba(0,0,0,0.98);
  --overlay-bg: rgba(0,0,0,0.98);
  --nav-line: rgba(255,255,255,0.06);
  --soft-line: rgba(255,255,255,0.04);
  color-scheme: dark;
}
/* 다크 고정 영역은 상속되는 글자색도 다시 지정해야 함 (body 의 color 는 이미 라이트 값으로 계산되어 상속됨) */
html[data-theme="light"] .force-dark,
html[data-theme="light"] .hero-banner,
html[data-theme="light"] .cat-card,
html[data-theme="light"] .main-hero {
  color: var(--white);
}
html[data-theme="light"] {
  --n00: #fbfaf8; --n0a: #f5f3ef; --n11: #eeebe5; --n1a: #e7e3dc; --n22: #e2ded6; --n2a: #ffffff;
  --n33: #cdc8be; --n44: #9a958b; --n55: #868177; --n66: #77726a; --n77: #6c675f; --n88: #5f5a52;
  --n99: #524e47; --naa: #464239; --nbb: #3a3731; --ncc: #2d2b26; --nee: #1d1c18; --nff: #14130f;

  --orange-text: #C2501A;
  --nav-bg: rgba(251,250,248,0.95);
  --nav-bg-scrolled: rgba(251,250,248,0.98);
  --overlay-bg: rgba(251,250,248,0.98);
  --nav-line: rgba(0,0,0,0.08);
  --soft-line: rgba(0,0,0,0.06);
  color-scheme: light;
}
/* 중문(zh-CN) 모드: Noto Sans KR에는 중국어 간체 전용 글리프가 없어
   폴백 폰트가 섞이며 획이 깨져 보이므로, Noto Sans SC로 전환 */
html.lang-zh {
  --font-kr: 'Noto Sans SC', 'Noto Sans KR', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-kr);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-kr); }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ─── TYPOGRAPHY ─── */
.font-en { font-family: var(--font-en); }
.text-orange { color: var(--orange-text); }
.text-center { text-align: center; }

/* ─── SECTION TITLES ─── */
.section-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--orange-text);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--light-gray);
  line-height: 1.8;
  max-width: 600px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-kr);
  font-size: 15px;
  font-weight: 700;
  border-radius: 2px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,98,26,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}
.btn-outline-orange {
  background: transparent;
  color: var(--orange-text);
  border: 2px solid var(--orange);
}
.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--on-accent);
}
.btn-lg { padding: 18px 44px; font-size: 17px; }
.btn svg, .btn span.arrow { font-size: 18px; }

/* ─── NAVIGATION ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-line);
  z-index: 1000;
  transition: background var(--transition);
}
.navbar.scrolled {
  background: var(--nav-bg-scrolled);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}
.nav-logo {
  position: relative;
  flex-shrink: 0;
}
.nav-logo img {
  height: 40px;
  width: auto;
  position: relative;
  z-index: 1;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-menu::-webkit-scrollbar { display: none; }
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  border-radius: 4px;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--orange-text); }
/* 중간 폭 데스크톱: 메뉴가 잘리지 않도록 간격 단계별 축소 */
@media (min-width: 1101px) and (max-width: 1399px) {
  .nav-inner { gap: 14px; padding: 0 16px; }
  .nav-link { padding: 8px 6px; font-size: 13px; }
}
@media (min-width: 1101px) and (max-width: 1299px) {
  .nav-inner { gap: 10px; }
  .nav-menu { gap: 0; }
  .nav-link { padding: 8px 4px; font-size: 12.5px; }
}
/* 데스크톱 폭에서는 메뉴가 한 줄에 다 들어가므로 overflow를 풀어야 하위 드롭다운이 잘리지 않음 */
@media (min-width: 1101px) {
  .nav-menu { overflow: visible; }
}
/* 1100px 이하: 가로 공간이 부족하므로 모바일 햄버거 메뉴로 전환 */
@media (max-width: 1100px) {
  .nav-inner .nav-menu { display: none; }
  .nav-inner .nav-toggle { display: flex; margin-left: 4px; }
}

/* ─── 쇼핑몰 플로팅 버튼 (화면 우측 하단 고정, 언어별 이미지) ─── */
.shop-float-btn {
  position: fixed;
  right: 28px;
  bottom: 96px;
  z-index: 900;
  display: block;
  line-height: 0;
  background: none;
  border: 0;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.45)) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: transform .25s ease, filter .25s ease;
  animation: shopBreathe 2.4s ease-in-out infinite;
}
.shop-float-img { display: block; width: 190px; height: auto; }
.shop-float-btn:hover {
  transform: translateY(-6px) scale(1.12);
  filter: drop-shadow(0 16px 22px rgba(232,98,26,0.55)) drop-shadow(0 4px 8px rgba(0,0,0,0.4)) brightness(1.1);
  animation-play-state: paused;
}
.shop-float-btn:active { transform: translateY(-2px) scale(1.05); }
@keyframes shopBreathe {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.nav-link .chevron {
  font-size: 10px;
  transition: transform var(--transition);
}
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-top: 2px solid var(--orange);
  border-radius: 0 0 8px 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  top: calc(100% + 4px);
}
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--ncc);
  transition: all var(--transition);
  border-left: 2px solid transparent;
}
.dropdown a:hover {
  color: var(--orange-text);
  background: rgba(232,98,26,0.06);
  border-left-color: var(--orange);
  padding-left: 24px;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--overlay-bg);
  overflow-y: auto;
  z-index: 999;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.nav-overlay.open { opacity: 1; }
.nav-overlay .mob-section { margin-bottom: 32px; }
.nav-overlay .mob-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--orange-text);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.nav-overlay .mob-link {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--ncc);
  border-bottom: 1px solid var(--soft-line);
}
.nav-overlay .mob-link:hover { color: var(--orange-text); }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(232,98,26,0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-height);
}
.hero-content .section-label { font-size: 12px; letter-spacing: 6px; }
.hero-title {
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  margin: 16px 0 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--orange-text);
}
.hero-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── SECTION CONTAINERS ─── */
.section {
  padding: 96px 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-full {
  padding: 96px 24px;
  background: var(--dark);
}
.section-full .section-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ─── GRID CARDS ─── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark);
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 24px; }
.card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--orange-text);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card-desc {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.7;
}
.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-specs {
  font-size: 12px;
  color: var(--mid-gray);
  font-family: var(--font-en);
}

/* ─── PRODUCT CARDS (bigger) ─── */
.product-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.product-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
}
.product-card .product-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--n11);
}
.product-card .product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 20px; }
.product-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.product-spec {
  font-size: 12px;
  color: var(--orange-text);
  font-family: var(--font-en);
  font-weight: 600;
  margin-bottom: 8px;
}
.product-desc-short {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.6;
}

/* ─── CATEGORY TABS ─── */
.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cat-tab {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--light-gray);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.cat-tab:hover { border-color: var(--orange); color: var(--orange-text); }
.cat-tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ─── PAGE HEADER ─── */
.page-header {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 64px;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--mid-gray);
  margin-bottom: 20px;
  font-family: var(--font-en);
}
.breadcrumb a:hover { color: var(--orange-text); }
.breadcrumb span { color: var(--border); }

/* ─── HERO BANNER (사진 위에 제목/설명 오버레이) ─── */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  min-height: 420px;
  overflow: hidden;
  background: var(--n0a);
}
.hero-banner > .pg-slot { position: absolute; inset: 0; border: 0; }
.hero-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.68) 26%, rgba(0,0,0,0.25) 52%, rgba(0,0,0,0) 78%);
  pointer-events: none;
  z-index: 5;
}
.hero-banner-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 24px;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 6;
  pointer-events: none;
}
.hero-banner-text a { pointer-events: auto; }
.hero-banner-text .breadcrumb { margin-bottom: 16px; }
.hero-banner-text .section-title { margin-bottom: 12px; }
.hero-banner-text .section-desc { max-width: 640px; }
@media(max-width:768px) {
  .hero-banner { aspect-ratio: 3/4; min-height: 380px; }
  .hero-banner-text { padding: 24px 20px; }
}

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(232,98,26,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-overlay span {
  font-size: 32px;
  color: white;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-inner img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border: 2px solid var(--border);
}
.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  font-size: 28px;
  color: #fff; /* 어두운 오버레이 위라 테마와 무관하게 흰색 */
  cursor: pointer;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--orange-text); }

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: 4px;
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.modal-title { font-size: 22px; font-weight: 700; }
.modal-close {
  font-size: 24px;
  color: var(--light-gray);
  cursor: pointer;
  transition: color var(--transition);
  line-height: 1;
  flex-shrink: 0;
  padding-left: 16px;
}
.modal-close:hover { color: var(--orange-text); }
.modal-body { padding: 32px; }
.modal-body img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
  background: var(--n11);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 16px;
}
.spec-table th, .spec-table td {
  padding: 10px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.spec-table th {
  background: rgba(232,98,26,0.1);
  color: var(--orange-text);
  font-weight: 600;
  width: 35%;
}
.spec-table td { color: var(--ncc); }

/* ─── NOTICE BOARD ─── */
.notice-list { border-top: 2px solid var(--white); }
.notice-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: color var(--transition);
}
.notice-item:hover { color: var(--orange-text); }
.notice-badge {
  flex-shrink: 0;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 2px;
  background: var(--orange);
  color: white;
  font-family: var(--font-en);
}
.notice-badge.notice { background: var(--border); color: var(--white); }
.notice-title { flex: 1; font-size: 15px; }
.notice-date {
  font-size: 12px;
  color: var(--light-gray);
  font-family: var(--font-en);
  flex-shrink: 0;
}

/* ─── FORM ─── */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ncc);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.form-label .required { color: var(--orange-text); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-kr);
  font-size: 15px;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--orange); }
.form-control::placeholder { color: var(--mid-gray); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit {
  text-align: center;
  margin-top: 40px;
}

/* ─── STATS ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.stat-item {
  background: var(--dark);
  padding: 40px 32px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-en);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--orange-text);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--light-gray);
}

/* ─── FOOTER ─── */
footer {
  background: var(--n0a);
  border-top: 1px solid var(--border);
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { position: relative; display: inline-block; }
.footer-brand img {
  height: 36px; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.footer-desc {
  font-size: 13px;
  color: var(--mid-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-contact p {
  font-size: 13px;
  color: var(--light-gray);
  margin-bottom: 6px;
}
.footer-contact strong { color: var(--orange-text); }
.footer-nav-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}
.footer-nav-links a {
  display: block;
  font-size: 13px;
  color: var(--mid-gray);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-nav-links a:hover { color: var(--orange-text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-info {
  font-size: 12px;
  color: var(--mid-gray);
  line-height: 1.9;
}
.footer-copy {
  font-size: 12px;
  color: var(--border);
  font-family: var(--font-en);
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--orange);
  color: #fff;
  padding: 72px 24px;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 32px;
}
.cta-banner .btn {
  background: #000;
  color: #fff;
}
.cta-banner .btn:hover { background: var(--n1a); }

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: white;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 500;
  border: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* ─── FEATURE BOXES ─── */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-box {
  padding: 28px;
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 4px;
  border-left: 3px solid var(--orange);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.feature-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-box p {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.7;
}

/* ─── COLORS SWATCH ─── */
.color-swatches {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.swatch-color {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.swatch-name {
  font-size: 10px;
  color: var(--light-gray);
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ─── TIMELINE ─── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
  border: 2px solid var(--black);
}
.timeline-year {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-text);
  margin-bottom: 8px;
}
.timeline-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.timeline-content p { font-size: 13px; color: var(--light-gray); }

/* ─── MAP LINKS ─── */
.map-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.map-link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-size: 14px; font-weight: 700;
  border-radius: 4px; text-decoration: none; transition: all 0.2s;
  border: 1px solid var(--border);
}
.map-link-btn.kakao { background: #FEE500; color: #1a1a1a; border-color: #FEE500; }
.map-link-btn.kakao:hover { background: #f5dc00; }
.map-link-btn.naver { background: #03C75A; color: #fff; border-color: #03C75A; }
.map-link-btn.naver:hover { background: #02b350; }
.map-link-icon { font-size: 14px; }
.map-link-btn img.map-link-icon-img { width: 18px; height: 18px; object-fit: contain; display: block; }

/* ─── 카테고리별 관련 시공사례 (제품 페이지 하단) ─── */
.related-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media(max-width:900px) { .related-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:480px) { .related-gallery-grid { grid-template-columns: 1fr; } }
.rg-card {
  display: block; position: relative; aspect-ratio: 1/1; overflow: hidden;
  background: var(--n11); border: 1px solid var(--n22); text-decoration: none;
}
.rg-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; display: block; }
.rg-card:hover img { transform: scale(1.06); }
.rg-card-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 10px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: 12px; font-weight: 700; color: #fff !important; line-height: 1.4;
}

/* ─── MAP PLACEHOLDER ─── */
.map-container {
  width: 100%;
  height: 400px;
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--mid-gray);
  margin-bottom: 32px;
}

/* ─── NOTICE DETAIL ─── */
.notice-detail {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}
.notice-detail-header {
  border-bottom: 2px solid var(--white);
  padding-bottom: 20px;
  margin-bottom: 32px;
}
.notice-detail-title { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.notice-meta {
  font-size: 13px;
  color: var(--light-gray);
  display: flex;
  gap: 24px;
}
.notice-body {
  font-size: 15px;
  line-height: 2;
  color: var(--ncc);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

/* ─── SUCCESS TOAST ─── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--orange);
  color: white;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  z-index: 9999;
  transition: transform 0.4s ease;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ─── HIGHLIGHT BAR ─── */
.highlight-bar {
  display: inline-block;
  padding: 3px 0;
  background: linear-gradient(transparent 60%, rgba(232,98,26,0.3) 60%);
}

/* ─── PAGE BODY OFFSET ─── */
.page-body { padding-top: var(--nav-height); }

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */

@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .nav-menu { display: none; }
  .nav-toggle { display: flex; }

  .section { padding: 64px 20px; }
  .section-full { padding: 64px 20px; }

  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  .page-header { padding-top: calc(var(--nav-height) + 40px); padding-bottom: 40px; margin-bottom: 40px; }

  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 16px; }
  .shop-float-btn { bottom: 72px; right: 12px; }
  .shop-float-img { width: 140px; }

  .cta-banner { padding: 56px 20px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .cat-tabs { gap: 6px; }
  .cat-tab { padding: 8px 14px; font-size: 12px; }
}

/* ─── 테마 전환 버튼 (네비게이션) ─── */
.theme-toggle {
  width: 36px; height: 36px; margin-left: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border);
  color: var(--white); background: transparent;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.theme-toggle:hover { border-color: var(--orange); color: var(--orange-text); transform: rotate(18deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ico-moon { display: none; }
html[data-theme="light"] .theme-toggle .ico-sun { display: none; }
html[data-theme="light"] .theme-toggle .ico-moon { display: block; }
@media (max-width: 1100px) { .theme-toggle { margin-left: auto; } }
@media (max-width: 768px)  { .nav-toggle { margin-left: 4px; } }

