@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* ==========================================================================
   GL컴퓨터자수 - 공식 스타일시트
   모던, 신뢰성, 딥 네이비 & 인더스트리얼 슬레이트 (이모지/형광/SNS 제거)
   ========================================================================== */

:root {
  --font-main: 'Noto Sans KR', sans-serif;
  --primary: #0f172a;          /* Deep Slate Navy */
  --primary-light: #1e293b;
  --accent: #1e40af;           /* Deep Classic Navy Blue */
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(30, 64, 175, 0.06);
  --accent-badge: #f1f5f9;
  --accent-badge-text: #0f172a;
  
  --secondary: #334155;
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  
  --bg-main: #ffffff;
  --bg-sub: #f8fafc;
  --bg-dark: #0f172a;
  --nav-bg: #ffffff;
  
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #94a3b8;
  --text-light: #f8fafc;
  
  --header-height: 88px;
  --container-max: 1200px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08);
  
  --motion-curve: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-duration: 3.0s;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main, 'Noto Sans KR', sans-serif);
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.65;
  overflow-x: hidden;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. 스크롤 페이드인 + 라이징 애니메이션 (최초 로딩 1회만 적용, 3초 부드러운 전환)
   ========================================================================== */
.fade-rising {
  opacity: 0;
  transform: translateY(35px);
  will-change: opacity, transform;
}

.fade-rising.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 3.0s cubic-bezier(0.16, 1, 0.3, 1),
              transform 3.0s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 모든 객체가 같은 속도(3초)로 균일하게 전환되도록 딜레이 통일 */
.stagger-1, .stagger-2, .stagger-3, .stagger-4 {
  transition-delay: 0s !important;
}

/* 히어로 텍스트 전용 방향 애니메이션 (3초 부드러운 전환) */
@keyframes heroSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-45px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideUp {
  0% {
    opacity: 0;
    transform: translateY(45px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-anim-down {
  opacity: 0;
  animation: heroSlideDown 3.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

.hero-anim-up {
  opacity: 0;
  animation: heroSlideUp 3.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

/* ==========================================================================
   2. 상단 네비게이션바 (줄바꿈 방지 및 단정한 레이아웃)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--nav-bg, rgba(255, 255, 255, 0.98));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.25s ease;
}

.header.scrolled {
  height: var(--header-height);
  box-shadow: var(--shadow-sm);
}

.header.scrolled .logo img {
  height: 48px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: height 0.2s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 42px;
  margin: 0 auto;
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-link {
  display: inline-block;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: var(--bg-sub);
}

/* 드롭다운 서브메뉴: 줄바꿈 없이 여유 있는 너비 */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  min-width: 200px;
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s var(--motion-curve);
  list-style: none;
  z-index: 1010;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-sub);
  white-space: nowrap;
  transition: all 0.15s ease;
}

.nav-dropdown li a:hover {
  background: var(--bg-sub);
  color: var(--accent);
  padding-left: 24px;
}

.nav-call-btn {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  white-space: nowrap;
  cursor: default;
  user-select: all;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-call-btn:hover {
  background: #1e293b;
  color: #93c5fd !important;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 1.4rem;
  color: var(--text-main);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
  background: var(--bg-sub);
  color: var(--accent);
  border-color: var(--accent);
}

/* Mobile Nav Drawer & Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 99995;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  transform: translateX(-320px);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.mobile-nav-logo {
  height: 38px;
  width: auto;
}

.mobile-nav-close {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-nav-close:hover {
  background: #e2e8f0;
  color: var(--accent);
}

.mobile-nav-body {
  padding: 16px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mobile-nav-list {
  list-style: none;
  padding: 0 16px;
  margin: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-nav-link {
  display: block;
  flex: 1;
  padding: 14px 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent);
}

.mobile-nav-toggle-sub {
  background: none;
  border: none;
  padding: 10px 14px;
  color: #94a3b8;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mobile-nav-toggle-sub.open {
  transform: rotate(180deg);
  color: var(--accent);
}

.mobile-nav-sub {
  list-style: none;
  padding: 0 0 10px 14px;
  margin: 0;
  display: none;
}

.mobile-nav-sub.open {
  display: block;
}

.mobile-nav-sub li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-sub);
  border-left: 2px solid #e2e8f0;
  transition: all 0.15s ease;
}

.mobile-nav-sub li a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--bg-sub);
}

.mobile-nav-footer {
  padding: 20px 22px;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
}

.mobile-call-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
  margin-bottom: 12px;
}

.mobile-call-action:hover {
  background: var(--accent-hover);
}

.mobile-hours-info {
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  line-height: 1.4;
}

/* ==========================================================================
   3. 메인 히어로 섹션 (자수 가동 영상 배경)
   ========================================================================== */
/* Main Content Layout Container: Dynamic fixed header clearance */
#mainContent {
  padding-top: 0;
  min-height: calc(100vh - 88px);
}

#mainContent.no-hero-top {
  padding-top: 100px !important;
}

#mainContent.hero-top {
  padding-top: 0px !important;
}

/* When hero is the topmost block, offset fixed header clearance so text is vertically centered in visible area */
#mainContent.hero-top > .is-first-hero,
#mainContent.hero-top > .hero-section:first-child,
#mainContent.hero-top > [data-block-id="block-hero"]:first-child,
#mainContent.hero-top > .custom-hero-block:first-child {
  padding-top: var(--header-height, 88px);
  min-height: calc(var(--hero-base-height, 440px) + var(--header-height, 88px));
  height: calc(var(--hero-base-height, 52vh) + var(--header-height, 88px));
  max-height: calc(var(--hero-base-height, 560px) + var(--header-height, 88px) + 40px);
  box-sizing: border-box;
}

@media (max-width: 991px) {
  #mainContent.hero-top > .is-first-hero,
  #mainContent.hero-top > .hero-section:first-child,
  #mainContent.hero-top > [data-block-id="block-hero"]:first-child,
  #mainContent.hero-top > .custom-hero-block:first-child {
    padding-top: 70px;
    min-height: calc(420px + 70px);
    height: calc(50vh + 70px);
  }
}

/* For nav layouts without a fixed top header (toast dock, sidebars, hidden minimal) */
body.nav-layout-toast-dock #mainContent.hero-top > .is-first-hero,
body.nav-layout-sidebar-left #mainContent.hero-top > .is-first-hero,
body.nav-layout-sidebar-right #mainContent.hero-top > .is-first-hero,
body.nav-layout-hidden-minimal #mainContent.hero-top > .is-first-hero,
body.nav-layout-toast-dock #mainContent.hero-top > .hero-section:first-child,
body.nav-layout-sidebar-left #mainContent.hero-top > .hero-section:first-child,
body.nav-layout-sidebar-right #mainContent.hero-top > .hero-section:first-child,
body.nav-layout-hidden-minimal #mainContent.hero-top > .hero-section:first-child {
  padding-top: 0 !important;
  min-height: 440px;
  height: 52vh;
  max-height: 540px;
}


.hero-section {
  position: relative;
  height: var(--hero-base-height, 52vh);
  min-height: var(--hero-base-height, 440px);
  max-height: calc(var(--hero-base-height, 540px) + 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  background: #090d16;
  /* Isolate hero layout from surrounding DOM mutations to prevent reflow jumps */
  contain: layout style;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out, transform 8.0s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide.zoom-effect.active {
  transform: scale(1.08);
}

.hero-slide video,
.hero-slide img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.65;
  filter: brightness(0.88);
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 60px 20px;
  color: #ffffff;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .text-accent {
  color: #93c5fd;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #cbd5e1;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-main {
  background: var(--accent);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 6px;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.btn-main:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* ==========================================================================
   4. 서브페이지 배너 (Subpage Hero Banner)
   ========================================================================== */
.subpage-banner {
  background: var(--primary);
  color: #ffffff;
  padding: 44px 0 38px;
  margin-top: var(--header-height);
  text-align: center;
  position: relative;
}

.subpage-banner h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.subpage-banner p {
  color: #94a3b8;
  font-size: 1.05rem;
}

/* 서브페이지 내부 네비게이션 탭 (Reference video frame 009 & 020 스타일) */
.subnav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.subnav-tab {
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.subnav-tab:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.subnav-tab.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* ==========================================================================
   5. 통계 배너
   ========================================================================== */
.stats-banner {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stats-grid.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin: 0 auto;
}

.stats-grid.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.stats-grid.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.stat-box {
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding: 0 10px;
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-sub);
}

/* ==========================================================================
   6. 섹션 공통 헤더
   ========================================================================== */
.section {
  padding: 85px 0;
}

.section-alt {
  background: var(--bg-sub);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ==========================================================================
   7. 솔루션 카드
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.solutions-grid.grid-cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 960px;
  margin: 0 auto;
}

.solutions-grid.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.solutions-grid.grid-cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.solutions-grid.grid-cols-1 {
  grid-template-columns: 1fr;
  max-width: 680px;
  margin: 0 auto;
}

/* Custom History Timeline Module */
.history-timeline {
  max-width: 800px;
  margin: 40px auto 0;
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--border-color);
}

.history-item {
  position: relative;
  margin-bottom: 30px;
}

.history-item:last-child {
  margin-bottom: 0;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--accent);
}

.history-year {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.history-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.solution-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.solution-code {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.solution-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.solution-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ==========================================================================
   8. 레퍼런스 갤러리 (6개 메인 표시 및 전체보기)
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ref-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.ref-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.ref-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.ref-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ref-card:hover .ref-card-img {
  transform: scale(1.04);
}

.ref-card-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ref-category-chip {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--accent-badge);
  color: var(--accent-badge-text);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 10px;
}

.ref-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ref-specs-list {
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.ref-specs-list li {
  padding-left: 12px;
  position: relative;
  margin-bottom: 4px;
}

.ref-specs-list li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.more-btn-wrap {
  text-align: center;
  margin-top: 48px;
}

.btn-more {
  display: inline-block;
  background: #ffffff;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-more:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   9. 회사소개 페이지 전용 레이아웃 (레퍼런스 영상 020번 프레임 1:1)
   ========================================================================== */
.about-hero-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}

.callout-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.callout-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.callout-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.about-philosophy {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 70px;
}

.about-philosophy h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.about-philosophy p {
  font-size: 1.1rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* 4대 가치 원형 다이어그램 (레퍼런스 영상) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.value-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
}

.value-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.value-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* 공장 설비 & 위치 */
.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.facility-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #0f172a;
}

.facility-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.facility-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.facility-text p {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th {
  text-align: left;
  padding: 12px 0;
  color: var(--primary);
  font-weight: 700;
  width: 120px;
  border-bottom: 1px solid var(--border-color);
}

.info-table td {
  padding: 12px 0;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   10. 모달 슬라이더 (상세보기)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: 10px;
  overflow-y: auto;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
}

.modal-slider-area {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.modal-slider-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-nav-btn.prev { left: 14px; }
.modal-nav-btn.next { right: 14px; }

.modal-body {
  padding: 28px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.modal-meta-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}

.modal-meta-table th {
  background: #f8fafc;
  width: 130px;
  text-align: left;
  padding: 10px 14px;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border-color);
}

.modal-meta-table td {
  padding: 10px 14px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}

.modal-desc-box {
  background: #f8fafc;
  padding: 18px;
  border-radius: 6px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   11. 푸터 (Footer)
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 55px 0 35px;
  font-size: 0.92rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer-info-lines {
  line-height: 1.8;
  color: #cbd5e1;
}

.footer-info-lines strong {
  color: #ffffff;
}

.footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  line-height: 2;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   12. 반응형 미디어 쿼리
   ========================================================================== */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero-callout { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }
  
  .nav-menu { display: none; }
  .nav-call-btn { display: none; }
  .mobile-menu-btn { display: flex; }
  
  .solutions-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ==========================================================================
   13. 레퍼런스 페이지 필터바 & 빈 상태 스타일 보강
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.filter-count {
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: 12px;
}

.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: #ffffff;
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  color: var(--text-sub);
  font-size: 1.1rem;
}

/* ==========================================================================
   10. Quick Floating SNS Action Bar (네이버 블로그, 인스타그램, 카카오톡, 전화)
   ========================================================================== */
.floating-sns-bar {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  align-items: center;
}

.sns-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  position: relative;
  border: none;
  outline: none;
}

.sns-fab:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.sns-fab svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Tooltip on hover */
.sns-fab::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 64px;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sns-fab:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Brand Colors */
.sns-fab-blog {
  background-color: #03c75a; /* Naver Green */
}

.sns-fab-kakao {
  background-color: #fee500; /* Kakao Yellow */
  color: #191919;
}

.sns-fab-kakao svg {
  fill: #191919;
}

.sns-fab-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.sns-fab-phone {
  background-color: #1e40af; /* GL Primary Accent */
}

@media (max-width: 768px) {
  .floating-sns-bar {
    right: 18px;
    bottom: 22px;
    gap: 10px;
  }
  .sns-fab {
    width: 46px;
    height: 46px;
  }
  .sns-fab svg {
    width: 22px;
    height: 22px;
  }
  .sns-fab::after {
    display: none; /* Hide tooltips on touch/mobile */
  }
}

/* ================= Modal Notice Popup (팝업 공지) ================= */
.gl-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gl-notice-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.gl-notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gl-notice-backdrop.no-blur {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(15, 23, 42, 0.45);
}


.gl-notice-dialog {
  position: relative;
  z-index: 1;
  width: calc(100% - 36px);
  max-width: 480px;
  max-height: calc(100vh - 40px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gl-notice-overlay.active .gl-notice-dialog {
  transform: translateY(0) scale(1);
}

.gl-notice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  gap: 12px;
}

.gl-notice-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  flex: 1;
}

.gl-notice-badge {
  display: inline-block;
  background: #1e40af;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.gl-notice-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gl-notice-close-x {
  background: transparent;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: color 0.15s, background-color 0.15s;
}

.gl-notice-close-x:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

.gl-notice-body {
  padding: 20px;
  overflow-y: auto;
  color: #334155;
  font-size: 14.5px;
  line-height: 1.7;
  word-break: break-word;
}

.gl-notice-body.image-only {
  padding: 12px 16px;
}

.gl-notice-img-wrap {
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 340px;
}

.gl-notice-body.image-only .gl-notice-img-wrap {
  margin-bottom: 8px;
  max-height: 440px;
}

.gl-notice-img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  display: block;
}

.gl-notice-body.image-only .gl-notice-img {
  max-height: 440px;
}

.gl-notice-content {
  margin-bottom: 16px;
}

.gl-notice-action {
  margin-top: 16px;
}

.gl-notice-btn-action {
  display: block;
  width: 100%;
  padding: 12px 18px;
  background: #1e40af;
  color: #ffffff !important;
  text-align: center;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s;
}

.gl-notice-btn-action:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.gl-notice-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  gap: 10px;
}

.gl-notice-hide-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}

.gl-notice-hide-label input {
  cursor: pointer;
  width: 15px;
  height: 15px;
  accent-color: #1e40af;
}

.gl-notice-btn-close {
  padding: 7px 16px;
  background: #e2e8f0;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: background-color 0.15s;
}

.gl-notice-btn-close:hover {
  background: #cbd5e1;
}

/* ==========================================================================
   Multi-Popup Positioning Classes
   ========================================================================== */
.gl-notice-overlay.pos-center {
  align-items: center;
  justify-content: center;
}
.gl-notice-overlay.pos-top-left {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 24px;
}
.gl-notice-overlay.pos-top-right {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 40px 24px;
}
.gl-notice-overlay.pos-bottom-left {
  align-items: flex-end;
  justify-content: flex-start;
  padding: 40px 24px;
}
.gl-notice-overlay.pos-bottom-right {
  align-items: flex-end;
  justify-content: flex-end;
  padding: 40px 24px;
}

/* ==========================================================================
   10+ Media Banner Transition Effects
   ========================================================================== */
/* 1. Fade (Default) */
.hero-slide.effect-fade {
  transition: opacity 1.5s ease-in-out;
}

/* 2. Slide Left */
.hero-slide.effect-slide-left {
  transform: translateX(100%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}
.hero-slide.effect-slide-left.active {
  transform: translateX(0);
}

/* 3. Slide Right */
.hero-slide.effect-slide-right {
  transform: translateX(-100%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}
.hero-slide.effect-slide-right.active {
  transform: translateX(0);
}

/* 4. Slide Up */
.hero-slide.effect-slide-up {
  transform: translateY(100%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}
.hero-slide.effect-slide-up.active {
  transform: translateY(0);
}

/* 5. Slide Down */
.hero-slide.effect-slide-down {
  transform: translateY(-100%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}
.hero-slide.effect-slide-down.active {
  transform: translateY(0);
}

/* 6. Zoom In */
.hero-slide.effect-zoom-in {
  transform: scale(0.85);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}
.hero-slide.effect-zoom-in.active {
  transform: scale(1);
}

/* 7. Zoom Out */
.hero-slide.effect-zoom-out {
  transform: scale(1.25);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}
.hero-slide.effect-zoom-out.active {
  transform: scale(1);
}

/* 8. Blur Fade */
.hero-slide.effect-blur {
  filter: blur(14px);
  transition: filter 1.4s ease, opacity 1.2s ease;
}
.hero-slide.effect-blur.active {
  filter: blur(0px);
}

/* 9. Flip 3D */
.hero-slide.effect-flip {
  transform: perspective(1000px) rotateY(45deg);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}
.hero-slide.effect-flip.active {
  transform: perspective(1000px) rotateY(0deg);
}

/* 10. Ken Burns Slow Pan */
@keyframes kenBurnsAnim {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1.5%, -1%); }
  100% { transform: scale(1.04) translate(1%, 0.5%); }
}
.hero-slide.effect-ken-burns.active video,
.hero-slide.effect-ken-burns.active img {
  animation: kenBurnsAnim 18s ease-in-out infinite alternate;
}

/* 11. Curtain Clip Reveal */
.hero-slide.effect-curtain {
  clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  transition: clip-path 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}
.hero-slide.effect-curtain.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* 12. Grayscale to Color */
.hero-slide.effect-grayscale video,
.hero-slide.effect-grayscale img {
  filter: grayscale(100%) brightness(0.85);
  transition: filter 1.6s ease;
}
.hero-slide.effect-grayscale.active video,
.hero-slide.effect-grayscale.active img {
  filter: grayscale(0%) brightness(0.92);
}

/* ==========================================================================
   Online Inquiry Form Block Styles (User Input Layer)
   ========================================================================== */
.inquiry-section {
  padding: 70px 0;
  background: #ffffff;
}
.inquiry-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.inquiry-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.inquiry-header {
  text-align: center;
  margin-bottom: 34px;
}
.inquiry-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}
.inquiry-header p {
  color: #64748b;
  font-size: 1rem;
}
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.inquiry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .inquiry-row {
    grid-template-columns: 1fr;
  }
  .inquiry-card {
    padding: 24px 18px;
  }
}
.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.inquiry-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
}
.inquiry-label .req {
  color: #ef4444;
  margin-left: 4px;
}
.inquiry-label .opt {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.82rem;
  margin-left: 4px;
}
.inquiry-input,
.inquiry-select,
.inquiry-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #0f172a;
  background: #ffffff;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.inquiry-input:focus,
.inquiry-select:focus,
.inquiry-textarea:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
}
.inquiry-textarea {
  resize: vertical;
  min-height: 120px;
}
.inquiry-agree {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #475569;
  cursor: pointer;
  padding: 10px 0;
}
.inquiry-agree input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #1e40af;
}
.inquiry-btn-submit {
  width: 100%;
  padding: 15px;
  background: #1e40af;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.inquiry-btn-submit:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}
.inquiry-btn-submit:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
}

/* Front-end Toast Notification */
.front-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.front-toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.front-toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #38bdf8;
}

/* 0. 상단 고정 바 (기본 Top Fixed) */
body.nav-layout-top-fixed .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: none;
  width: 100%;
  max-width: 100%;
  height: var(--header-height, 88px);
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--border-color);
  background: var(--nav-bg, rgba(255, 255, 255, 0.98));
}
body.nav-layout-top-fixed #mainContent {
  padding-top: var(--header-height, 88px);
}
body.nav-layout-top-fixed.hero-top #mainContent {
  padding-top: 0;
}

/* 1. 상단 플로팅 글래스 독 (Top Floating) */
body.nav-layout-top-floating .header {
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 32px));
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}
body.nav-layout-top-floating #mainContent {
  padding-top: 100px;
}
body.nav-layout-top-floating.hero-top #mainContent {
  padding-top: 0;
}

/* 2. 하단 토스트 팝업 독 (Bottom Toast Dock) */
body.nav-layout-toast-dock .header {
  top: auto;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: calc(100% - 32px);
  height: 64px;
  border-radius: 40px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  padding: 0 16px;
}
body.nav-layout-toast-dock .header-inner {
  gap: 20px;
}
body.nav-layout-toast-dock .logo img {
  height: 36px;
}
body.nav-layout-toast-dock .nav-menu {
  gap: 24px;
}
body.nav-layout-toast-dock .nav-dropdown {
  top: auto;
  bottom: 100%;
  transform: translateX(-50%) translateY(-8px);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
}
body.nav-layout-toast-dock #mainContent {
  padding-top: 0;
  padding-bottom: 90px;
}

/* 3. 좌측 세로형 사이드바 (Sidebar Left) */
@media (min-width: 1024px) {
  body.nav-layout-sidebar-left .header {
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    border-bottom: none;
    border-right: 1px solid var(--border-color);
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.04);
    padding: 30px 20px;
  }
  body.nav-layout-sidebar-left .header-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 28px;
    height: 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  body.nav-layout-sidebar-left .header nav {
    width: 100%;
  }
  body.nav-layout-sidebar-left .logo img {
    height: 44px;
  }
  body.nav-layout-sidebar-left .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  body.nav-layout-sidebar-left .nav-item {
    position: relative;
    width: 100%;
  }
  body.nav-layout-sidebar-left .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    border-radius: 8px;
    transition: all 0.2s ease;
  }
  body.nav-layout-sidebar-left .nav-link:hover {
    background: #f1f5f9;
    color: var(--accent, #1e40af);
  }
  /* 좌측 세로일 때: 평소에는 숨겨져 메인 메뉴만 단정하게 표시되고, 호버 시에만 우측으로 서브메뉴가 팝업 */
  body.nav-layout-sidebar-left .nav-dropdown {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    right: auto !important;
    bottom: auto !important;
    width: 220px !important;
    min-width: 220px !important;
    background: #ffffff !important;
    padding: 8px 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(10px) !important;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s !important;
    z-index: 1050 !important;
    margin: 0 !important;
    list-style: none !important;
    display: block !important;
  }
  body.nav-layout-sidebar-left .nav-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: -16px;
    width: 16px;
    height: 100%;
  }
  body.nav-layout-sidebar-left .nav-item:hover > .nav-dropdown,
  body.nav-layout-sidebar-left .nav-dropdown:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(6px) !important;
  }
  body.nav-layout-sidebar-left .nav-dropdown li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.nav-layout-sidebar-left .nav-dropdown li a {
    display: block !important;
    padding: 10px 18px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    white-space: nowrap !important;
    transition: all 0.15s ease !important;
    text-align: left !important;
  }
  body.nav-layout-sidebar-left .nav-dropdown li a:hover {
    background: var(--bg-sub, #f8fafc) !important;
    color: var(--accent, #1e40af) !important;
    padding-left: 22px !important;
  }
  body.nav-layout-sidebar-left .nav-call-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    white-space: nowrap;
  }
  body.nav-layout-sidebar-left #mainContent,
  body.nav-layout-sidebar-left .footer {
    margin-left: 250px;
    padding-top: 0;
  }
}

/* 4. 우측 세로형 사이드바 (Sidebar Right) */
@media (min-width: 1024px) {
  body.nav-layout-sidebar-right .header {
    top: 0;
    left: auto;
    right: 0;
    width: 250px;
    height: 100vh;
    border-bottom: none;
    border-left: 1px solid var(--border-color);
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.04);
    padding: 30px 20px;
  }
  body.nav-layout-sidebar-right .header-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 28px;
    height: 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  body.nav-layout-sidebar-right .header nav {
    width: 100%;
  }
  body.nav-layout-sidebar-right .logo img {
    height: 44px;
  }
  body.nav-layout-sidebar-right .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  body.nav-layout-sidebar-right .nav-item {
    position: relative;
    width: 100%;
  }
  body.nav-layout-sidebar-right .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    border-radius: 8px;
    transition: all 0.2s ease;
  }
  body.nav-layout-sidebar-right .nav-link:hover {
    background: #f1f5f9;
    color: var(--accent, #1e40af);
  }
  /* 우측 세로일 때: 평소에는 숨겨져 메인 메뉴만 단정하게 표시되고, 호버 시에만 좌측으로 서브메뉴가 팝업 */
  body.nav-layout-sidebar-right .nav-dropdown {
    position: absolute !important;
    top: 0 !important;
    right: 100% !important;
    left: auto !important;
    bottom: auto !important;
    width: 220px !important;
    min-width: 220px !important;
    background: #ffffff !important;
    padding: 8px 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-10px) !important;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s !important;
    z-index: 1050 !important;
    margin: 0 !important;
    list-style: none !important;
    display: block !important;
  }
  body.nav-layout-sidebar-right .nav-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    right: -16px;
    width: 16px;
    height: 100%;
  }
  body.nav-layout-sidebar-right .nav-item:hover > .nav-dropdown,
  body.nav-layout-sidebar-right .nav-dropdown:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-6px) !important;
  }
  body.nav-layout-sidebar-right .nav-dropdown li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.nav-layout-sidebar-right .nav-dropdown li a {
    display: block !important;
    padding: 10px 18px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    white-space: nowrap !important;
    transition: all 0.15s ease !important;
    text-align: left !important;
  }
  body.nav-layout-sidebar-right .nav-dropdown li a:hover {
    background: var(--bg-sub, #f8fafc) !important;
    color: var(--accent, #1e40af) !important;
    padding-left: 22px !important;
  }
  body.nav-layout-sidebar-right .nav-call-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    white-space: nowrap;
  }
  body.nav-layout-sidebar-right #mainContent,
  body.nav-layout-sidebar-right .footer {
    margin-right: 250px;
    padding-top: 0;
  }
  body.nav-layout-sidebar-right .floating-sns-bar {
    right: 276px;
  }
}

/* 5. 네비게이션 숨김 및 미니멀 토글 (Hidden Minimal) */
body.nav-layout-hidden-minimal .header {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
}
body.nav-layout-hidden-minimal .header-inner {
  pointer-events: auto;
}
body.nav-layout-hidden-minimal .nav-menu,
body.nav-layout-hidden-minimal .nav-call-btn {
  display: none !important;
}
body.nav-layout-hidden-minimal .mobile-menu-btn {
  display: flex !important;
  background: #0f172a;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 로고 위치 정렬 */
body.logo-pos-center .header-inner {
  justify-content: center;
  position: relative;
}
body.logo-pos-center .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
body.logo-pos-right .header-inner {
  flex-direction: row-reverse;
}

/* ==========================================================================
   신규 모듈형 레이아웃 블록 스타일 (FAQ, Process, Reviews, CTA, Partners)
   ========================================================================== */

/* 1. FAQ 아코디언 블록 */
.faq-block-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.faq-accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-accordion-item.is-open {
  border-color: #1e40af;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.08);
}
.faq-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  background: #ffffff;
  user-select: none;
}
.faq-accordion-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #1e40af;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
  white-space: nowrap;
  flex-shrink: 0;
}
.faq-arrow-icon {
  width: 14px;
  height: 14px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-accordion-item.is-open .faq-arrow-icon {
  transform: rotate(-135deg);
  border-color: #1e40af;
}
.faq-accordion-body {
  display: none;
  padding: 16px 22px 20px 58px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #475569;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}
.faq-accordion-item.is-open .faq-accordion-body {
  display: block;
}

/* 2. 공정 스텝 (Process Steps) 블록 */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 900px) {
  .process-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .process-steps-grid { grid-template-columns: 1fr; }
}
.process-step-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 26px 20px;
  position: relative;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}
.process-step-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.process-step-num-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #1e40af;
  background: #eff6ff;
  padding: 4px 12px;
  border-radius: 16px;
  margin-bottom: 14px;
  white-space: nowrap;
}
.process-step-item-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  white-space: nowrap;
}
.process-step-item-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* 3. 고객 리뷰 (Testimonials) 블록 */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 860px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 12px;
  white-space: nowrap;
}
.testimonial-content {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 16px;
  min-height: 70px;
}
.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}
.testimonial-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  white-space: nowrap;
}
.testimonial-author-role {
  font-size: 0.85rem;
  color: #64748b;
  white-space: nowrap;
}

/* 4. CTA 액션 배너 블록 */
.cta-banner-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
  border-radius: 14px;
  padding: 50px 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
}
.cta-banner-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-banner-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.cta-banner-btn {
  display: inline-block;
  padding: 14px 34px;
  background: #ffffff;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 8px;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,255,255,0.3);
}

/* 5. 파트너사 로고 롤링 마키 블록 */
.partners-marquee-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.partners-marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marqueeRoll 25s linear infinite;
}
@keyframes marqueeRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-logo-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}
