/* ================================================================
   AIris Design System v2 — Scroll-Storytelling / Toss·Samsung Style
   ================================================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; height: 100%; }
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

html.contact-page body {
  -webkit-user-select: text;
  user-select: text;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }

/* ── Design Tokens ── */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F8FA;
  --bg-tertiary: #F0F1F5;
  --bg-accent: #F0F4FF;
  --card-bg: #FFFFFF;
  --text-primary: #191F28;
  --text-secondary: #4E5968;
  --text-tertiary: #8B95A1;
  --text-disabled: #B0B8C1;
  --brand-primary: #3182F6;
  --brand-secondary: #1B64DA;
  --brand-light: #E8F3FF;
  --border: #E5E8EB;
  --divider: #F2F3F6;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --transition: 0.25s var(--ease);
  --nav-height: 64px;
}

/* ── Dark Theme ── */
[data-theme="dark"] {
  --bg-primary: #17171C;
  --bg-secondary: #1E1E24;
  --bg-tertiary: #26262D;
  --bg-accent: #1a2236;
  --card-bg: #1E1E24;
  --text-primary: #F2F4F6;
  --text-secondary: #B0B8C1;
  --text-tertiary: #6B7684;
  --text-disabled: #4E5968;
  --brand-primary: #4593FC;
  --brand-secondary: #6DB0FF;
  --brand-light: rgba(69, 147, 252, 0.12);
  --border: #2E2E36;
  --divider: #26262D;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================================================================
   SCROLL REVEAL SYSTEM
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

[data-theme="dark"] .navbar {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(23, 23, 28, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 28px;
  width: auto;
  filter: invert(1) hue-rotate(180deg);
}

[data-theme="dark"] .nav-logo img {
  filter: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link:focus { color: var(--text-primary); outline: none; }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--brand-primary);
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after { width: 100%; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item.has-dropdown { display: flex; align-items: center; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

[data-theme="dark"] .nav-dropdown {
  background: var(--bg-tertiary);
  box-shadow: var(--shadow-lg);
}

.dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.dropdown-link:hover {
  color: var(--brand-primary);
  background: var(--brand-light);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-btn span + span { margin-top: 5px; }

.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO — Full-screen storytelling
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Full-page fixed 3D background (index only) */
.hero-bg-fixed {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-fixed canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-overlay-fixed {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(240,244,248,0.2) 60%, rgba(240,244,248,0.5) 100%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .hero-overlay-fixed {
  background: radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
  text-align: center;
  max-width: 920px;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Line-reveal animation */
.line-mask {
  overflow: hidden;
  display: block;
}

h1 .line-mask {
  display: block;
}

.line-reveal {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  animation: lineRevealUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--line-i, 0) * 0.12s + 0.3s);
}

@keyframes lineRevealUp {
  0% {
    transform: translateY(110%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  letter-spacing: -0.03em;
  word-break: keep-all;
  margin-bottom: 1.5rem;
}

.hero-title .accent {
  color: var(--brand-primary);
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

.hero-desc:last-child {
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  display: none;
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-disabled);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--text-disabled), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  padding: 1rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--brand-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(49, 130, 246, 0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  padding: 1rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-ghost:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.main-nav-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  transition: gap var(--transition);
}
.btn-text:hover { gap: 0.75rem; }
.btn-text .arrow { transition: transform 0.3s var(--ease); }
.btn-text:hover .arrow { transform: translateX(4px); }

/* ================================================================
   FULL-WIDTH SECTIONS (storytelling)
   ================================================================ */
.fs-section {
  padding: 10rem 0;
  position: relative;
}

.fs-section.bg-white { background: var(--bg-primary); }
.fs-section.bg-gray { background: var(--bg-secondary); }
.fs-section.bg-accent { background: var(--bg-accent); }
.fs-section.bg-dark {
  background: var(--text-primary);
  color: var(--bg-primary);
}

[data-theme="dark"] .fs-section.bg-dark {
  background: #0d0d11;
}

.fs-section.bg-dark .text-sub { color: rgba(255,255,255,0.6); }
.fs-section.bg-dark .text-main { color: #FFFFFF; }

/* Section text styles */
.text-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.text-headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  word-break: keep-all;
}

.text-headline-sm {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  word-break: keep-all;
}

.text-body {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
}

.text-body-lg {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.8;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ================================================================
   STATS ROW — Big number animation
   ================================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ================================================================
   SPLIT LAYOUT — Text + Visual side by side
   ================================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split.reverse > :first-child { order: 2; }
.split.reverse > :last-child { order: 1; }

.split-text {
  max-width: 520px;
}

.split-text .text-eyebrow { margin-bottom: 0.75rem; }
.split-text .text-headline { margin-bottom: 1.25rem; }
.split-text .text-body { margin-bottom: 2rem; }

.split-visual {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-visual-icon {
  font-size: 6rem;
  opacity: 0.15;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-visual--video {
  aspect-ratio: unset;
  overflow: visible;
  background: transparent;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.split-visual--video video {
  width: 100%;
  height: auto;
  object-fit: unset;
  border-radius: var(--radius-2xl);
  display: block;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

/* ================================================================
   PRODUCT CARD GRID — Main page product listing
   ================================================================ */
.product-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-color: var(--brand-primary);
}

.product-card-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.product-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.product-card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-card .product-tags {
  margin-bottom: 1.5rem;
}

.product-card-arrow {
  font-size: 1.4rem;
  color: var(--brand-primary);
  transition: transform var(--transition);
}

.product-card:hover .product-card-arrow {
  transform: translateX(4px);
}

/* ================================================================
   PRODUCT SLIDE LIST — Scroll snap sections
   ================================================================ */
html.products-page { scroll-snap-type: y mandatory; }
html.products-page body { display: block; min-height: auto; }

.product-snap-section {
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 2rem) 0 2rem;
  box-sizing: border-box;
}

.product-snap-section .container {
  width: 100%;
}

.product-slide-card {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 2.5rem;
  align-items: center;
  max-height: calc(100vh - var(--nav-height) - 4rem);
}

.snap-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.snap-reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.product-snap-section.in-view .snap-reveal {
  opacity: 1;
  transform: translateY(0);
}

.product-card-portrait {
  grid-template-columns: 1fr auto 1fr;
}

.product-card-portrait .product-video {
  grid-column: 2;
  max-height: calc(100vh - var(--nav-height) - 6rem);
  width: auto;
}

.product-card-portrait .product-video video {
  max-height: calc(100vh - var(--nav-height) - 6rem);
  width: auto;
  height: auto;
}

.product-card-portrait .product-slide-info {
  grid-column: 3;
  align-self: center;
}

.products-page .footer { scroll-snap-align: start; }

.product-slide-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 2.25rem;
  border-left: 3px solid var(--brand-primary);
}

.product-slide-info .product-card-number {
  display: block;
  background: none;
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 800;
  padding: 0;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.product-slide-info .product-card-title {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.product-slide-info .product-card-desc {
  font-size: 0.925rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 420px;
}

.product-slide-info .product-tags {
  justify-content: flex-start;
  margin-bottom: 0;
}

.product-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-tertiary);
  aspect-ratio: 16 / 10;
  max-height: calc(100vh - var(--nav-height) - 6rem);
}

.product-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-slider-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--bg-tertiary);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.slider-btn:hover { background: rgba(0,0,0,0.75); }
.slider-prev { left: 0.75rem; }
.slider-next { right: 0.75rem; }

.slider-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.slider-dot.active { background: #fff; }

.product-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  max-height: calc(100vh - var(--nav-height) - 6rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-video video {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - var(--nav-height) - 6rem);
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .product-slide-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .product-card-portrait .product-video,
  .product-card-portrait .product-slide-info {
    grid-column: auto;
  }
  .product-slider { aspect-ratio: 16 / 10; }
  .product-video { aspect-ratio: 16 / 10; }
}

/* ================================================================
   PRODUCT CAROUSEL
   ================================================================ */
.product-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

/* 모든 슬라이드를 같은 그리드 셀에 겹쳐서 쌓음 */
.carousel-track {
  display: grid;
  position: static;
  width: 100%;
  height: auto;
}

.carousel-slide {
  grid-row: 1;
  grid-column: 1;
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.2s;
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.35);
}

/* ================================================================
   PRODUCT SHOWCASE — One product per full section
   ================================================================ */
.product-showcase {
  text-align: center;
}

.product-showcase .text-eyebrow { margin-bottom: 0.75rem; }
.product-showcase .text-headline { margin-bottom: 1rem; }
.product-showcase .text-body { margin: 0 auto 2rem; }

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.product-tag {
  display: inline-block;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
}

[data-theme="dark"] .product-tag {
  background: var(--bg-tertiary);
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  padding: 8rem 0;
  text-align: center;
  background: var(--bg-accent);
}

.cta-section .text-headline { margin-bottom: 1rem; }
.cta-section .text-body {
  margin: 0 auto 2.5rem;
  max-width: 480px;
}

/* ================================================================
   FOOTER — Minimal
   ================================================================ */
.footer {
  background: var(--bg-secondary);
  padding: 1.5rem 0 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 3rem;
  margin-bottom: 1rem;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}

.footer-logo {
  height: 24px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: invert(1) hue-rotate(180deg);
}

[data-theme="dark"] .footer-logo {
  filter: none;
}

.footer-brand {
  column-count: 2;
  column-gap: 2.5rem;
}

.footer-brand .footer-logo {
  column-span: all;
  display: block;
}

.footer-brand h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  column-span: all;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
  line-height: 1.6;
  break-inside: avoid;
}

.footer-brand .footer-address {
  break-inside: avoid;
  display: block;
}

.footer-brand .footer-address p {
  margin: 0 0 0.5rem;
}

.footer-links {
  column-count: 2;
  column-gap: 1.5rem;
}

.footer-links h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
  column-span: all;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
  break-inside: avoid;
}

.footer-links a:hover { color: var(--brand-primary); }

.footer-contact-form form {
  display: flex;
  flex-direction: column;
}

.footer-contact-form h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.footer-contact-form input,
.footer-contact-form textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

[data-theme="dark"] .footer-contact-form input,
[data-theme="dark"] .footer-contact-form textarea {
  background: var(--bg-tertiary);
}

.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder { color: var(--text-disabled); }

.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.12);
}

.footer-contact-form textarea {
  resize: vertical;
  min-height: 80px;
}

.footer-contact-form button {
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  width: auto;
  align-self: flex-start;
}

.footer-contact-form button:hover {
  background: var(--brand-secondary);
  transform: translateY(-1px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-info-item strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-info-item span {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.contact-form-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
}

.contact-form-card .form-group {
  margin-bottom: 1.25rem;
}

.contact-form-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.12);
}

.contact-form-card textarea {
  resize: vertical;
  min-height: 120px;
}

/* ================================================================
   PAGE HEADER — Compact title for listing pages
   ================================================================ */
.page-header {
  margin-bottom: 2.5rem;
}

.page-header-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-header-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ================================================================
   PRODUCT DETAIL PAGES
   ================================================================ */
.page-hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  background: var(--bg-accent);
  position: relative;
}

.page-hero .text-eyebrow { margin-bottom: 1rem; }
.page-hero .text-headline { margin-bottom: 1rem; }
.page-hero .text-body { max-width: 560px; margin: 0 auto; }

/* Feature blocks in product pages */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-block:last-child { border-bottom: none; }

.feature-block.reverse > :first-child { order: 2; }
.feature-block.reverse > :last-child { order: 1; }

.feature-block-text .text-headline-sm { margin-bottom: 1rem; }
.feature-block-text .text-body { margin-bottom: 1.5rem; }

.feature-block-visual {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--bg-secondary);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-block-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================================
   HISTORY PAGE
   ================================================================ */
.timeline-section {
  padding: 6rem 0 4rem;
  flex: 1;
}

.history-layout {
  display: flex;
  gap: 5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.history-sidebar {
  position: sticky;
  top: 6rem;
  align-self: flex-start;
  min-width: 170px;
  flex-shrink: 0;
  z-index: 2;
}

.history-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.history-filters {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.history-filter-btn {
  background: none;
  border: none;
  padding: 0.6rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-tertiary);
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  font-family: inherit;
}

.history-filter-btn:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.history-filter-btn.active {
  color: var(--brand-primary);
  background: var(--brand-light);
  font-weight: 600;
}

.timeline-modern {
  position: relative;
  flex: 1;
  max-width: 800px;
  padding-left: 2px;
}

.timeline-modern::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.tl-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2.2rem;
}

.tl-item:last-child { padding-bottom: 0; }

.tl-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 2.5px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--brand-primary);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.tl-item:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 0 3px var(--brand-primary), 0 0 12px rgba(49, 130, 246, 0.25);
}

.tl-date {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.tl-events {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tl-events li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
}

.tl-events li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-disabled);
}

/* ── Timeline Gallery ── */
.tl-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.tl-gallery-item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: zoom-in;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

.tl-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.tl-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tl-gallery-caption {
  display: block;
  padding: 0.45rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  background: var(--bg-secondary);
  line-height: 1.35;
  text-align: center;
}

/* ── Lightbox ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.3s var(--ease-out);
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-overlay.is-active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav--prev { left: 1.5rem; }
.lightbox-nav--next { right: 1.5rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ================================================================
   INDEX PAGE — Scroll Snap + Full-page 3D Background
   ================================================================ */
html.index-page { scroll-snap-type: y mandatory; }
html.index-page body { display: block; min-height: auto; background: transparent; }

html.index-page .hero,
html.about-page .hero,
html.products-page .hero,
html.catalog-page .hero {
  scroll-snap-align: start;
}

html.index-page .hero {
  background: transparent;
}

html.index-page .fs-section {
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  position: relative;
  z-index: 1;
}

html.index-page .fs-section.in-view .snap-reveal {
  opacity: 1;
  transform: translateY(0);
}

html.index-page .fs-section .snap-reveal:nth-child(2) { transition-delay: 0.15s; }
html.index-page .fs-section .snap-reveal:nth-child(3) { transition-delay: 0.3s; }

html.index-page .footer {
  scroll-snap-align: start;
  background: transparent;
  border-top-color: transparent;
  position: relative;
  z-index: 1;
}

html.index-page .navbar {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

html.index-page .navbar.scrolled {
  background: rgba(240, 244, 248, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}

html.index-page[data-theme="dark"] .navbar.scrolled {
  background: rgba(0, 0, 0, 0.75);
}

/* ================================================================
   ABOUT PAGE — Scroll Snap
   ================================================================ */
html.about-page { scroll-snap-type: y mandatory; }
html.about-page body {
  display: block;
  min-height: auto;
  background-image: url('../images/about/about_bg_light.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

html.about-page[data-theme="dark"] body {
  background-image: url('../images/about/about_bg_dark.png');
}

html.about-page .hero {
  background: transparent;
}

html.about-page .about-section {
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 2rem;
  box-sizing: border-box;
}

html.about-page .about-section + .about-section {
  border-top: none;
}

html.about-page .about-section .container {
  width: 100%;
}

html.about-page .about-section.in-view .snap-reveal {
  opacity: 1;
  transform: translateY(0);
}

html.about-page .about-section .snap-reveal:nth-child(2) { transition-delay: 0.15s; }
html.about-page .about-section .snap-reveal:nth-child(3) { transition-delay: 0.25s; }
html.about-page .about-section .snap-reveal:nth-child(4) { transition-delay: 0.35s; }

html.about-page .footer { scroll-snap-align: start; }

.about-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
  padding-top: calc(var(--nav-height) + 1.25rem);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .about-tabs {
  background: rgba(23, 23, 28, 0.92);
}

.about-tab {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.about-tab:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.about-tab.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
  font-weight: 600;
}

.about-section {
  padding: 6rem 0;
}

html:not(.about-page) .about-section + .about-section {
  border-top: 1px solid var(--border);
}

/* Company intro — horizontal split */
.company-intro-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.company-intro-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.company-intro-text strong {
  color: var(--brand-primary);
  font-weight: 600;
}

.company-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.company-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--brand-primary);
  border-radius: 0 2px 2px 0;
}

.company-info-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.info-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary);
  min-width: 100px;
  flex-shrink: 0;
}

.info-value {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Tech capability badges */
.capability-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 3rem;
}

.capability-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.capability-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.capability-badge h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.capability-badge p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* Business showcase – tab + panel layout */
.biz-showcase {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  margin-top: 3rem;
  min-height: 380px;
}

.biz-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.biz-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  cursor: pointer;
  text-align: left;
  transition: border-color .3s, background .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.biz-nav-btn::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  border-radius: 0 3px 3px 0;
  transition: background .3s;
}

.biz-nav-btn.active::before {
  background: var(--brand-primary);
}

.biz-nav-btn.active {
  border-color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-primary) 6%, var(--card-bg));
  box-shadow: 0 2px 12px color-mix(in srgb, var(--brand-primary) 12%, transparent);
}

.biz-nav-btn:hover:not(.active) {
  border-color: var(--text-tertiary);
  background: color-mix(in srgb, var(--text-primary) 3%, var(--card-bg));
}

.biz-nav-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  transition: color .3s;
}
.biz-nav-btn.active .biz-nav-num {
  color: var(--brand-primary);
}

.biz-nav-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.biz-nav-sub {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.4;
  margin-top: 0.15rem;
}

/* Panels */
.biz-panels {
  position: relative;
  min-height: 100%;
}

.biz-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .4s, transform .4s, visibility .4s;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
}

.biz-panel.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.biz-panel-header {
  margin-bottom: 1.75rem;
}

.biz-panel-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.biz-panel-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.biz-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.biz-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg, 12px);
  background: color-mix(in srgb, var(--text-primary) 2.5%, var(--bg));
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}

.biz-detail-item:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--brand-primary) 8%, transparent);
}

.biz-detail-icon {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  margin-top: 0.45rem;
}

.biz-detail-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.biz-detail-content strong {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--text-primary);
}

.biz-detail-content span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.profile-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.profile-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.profile-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.profile-role {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-top: 0.25rem;
}

.profile-edu {
  font-size: 0.775rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.profile-summary {
  font-size: 0.838rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: left;
  width: 100%;
}

.profile-highlights {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
  width: 100%;
  text-align: left;
}

.profile-highlights li {
  font-size: 0.788rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1.5;
}

.profile-highlights li:last-child { border-bottom: none; }

.profile-highlights li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 0.4em;
}

/* Advisors */
.advisor-section-title {
  font-size: 1.375rem;
  font-weight: 700;
  text-align: center;
  margin: 3.5rem 0 0.5rem;
  color: var(--text-primary);
}

.advisor-section-desc {
  font-size: 0.938rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 1.5rem;
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.advisor-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.advisor-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.advisor-header {
  text-align: center;
  margin-bottom: 1.125rem;
}

.advisor-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.advisor-affil {
  font-size: 0.775rem;
  color: var(--brand-primary);
  line-height: 1.4;
}

.advisor-desc {
  list-style: none;
  padding: 0.875rem 0 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.advisor-desc li {
  font-size: 0.813rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
  padding-left: 0.875rem;
  position: relative;
  line-height: 1.5;
}

.advisor-desc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-primary);
}

/* Partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.partner-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.partner-card img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.partner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.partner-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.partner-text span {
  font-size: 0.775rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Certifications */
.cert-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.cert-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.cert-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cert-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.cert-item span {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Image modal */
.img-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.img-modal.active,
.img-modal.show {
  display: flex;
}

.img-modal img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* ================================================================
   CATALOG PAGE
   ================================================================ */
.catalog-nav {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  padding: 1.25rem 0;
  padding-top: calc(var(--nav-height) + 1.25rem);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

[data-theme="dark"] .catalog-nav {
  background: rgba(23, 23, 28, 0.92);
}

.catalog-nav-link {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.838rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.catalog-nav-link:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.catalog-nav-link.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
  font-weight: 600;
}

/* Catalog scroll snap */
html.catalog-page { scroll-snap-type: y mandatory; }
html.catalog-page body,
.catalog-page body { display: block; min-height: auto; }

.catalog-slide { padding: 0; visibility: hidden; }
.catalog-slide.structured { visibility: visible; }

.snap-page {
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 4rem;
  box-sizing: border-box;
  position: relative;
}

.snap-page .reveal-inner {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.snap-page.in-view .reveal-inner {
  opacity: 1;
  transform: translateY(0);
}

.catalog-page .cta-section { scroll-snap-align: start; }
.catalog-page .footer { scroll-snap-align: start; }

/* Scroll progress dots */
.scroll-progress {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-disabled);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.progress-dot.active {
  background: var(--brand-primary);
  transform: scale(1.6);
}

.progress-dot.section-start {
  width: 8px;
  height: 8px;
}

.progress-dot:hover:not(.active) {
  background: var(--text-tertiary);
  transform: scale(1.3);
}

/* Solution headers */
.solution-header {
  text-align: center;
  margin-bottom: 2rem;
}

.solution-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.badge-factory  { background: rgba(49, 130, 246, 0.08); color: var(--brand-primary); }
.badge-flood    { background: rgba(16, 185, 129, 0.08); color: #059669; }
.badge-cctv     { background: rgba(245, 158, 11, 0.08); color: #D97706; }
.badge-medical  { background: rgba(139, 92, 246, 0.08); color: #7C3AED; }

.solution-header h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.solution-header p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Spec row */
.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.spec-item {
  flex: 1;
  min-width: 180px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  text-align: center;
}

.spec-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}

.spec-item span {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 500;
}

/* Process flow */
.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.process-step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  text-align: center;
  min-width: 120px;
}

.process-step strong {
  display: block;
  font-size: 0.788rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.process-step span {
  font-size: 0.725rem;
  color: var(--text-secondary);
}

.process-arrow {
  font-size: 1rem;
  color: var(--text-disabled);
}

/* Feature row */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-row:has(.mobile-row) {
  grid-template-columns: 1fr 2fr;
}

.feature-row .feature-text h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-row .feature-text h4::before {
  content: '';
  width: 3px;
  height: 1em;
  background: var(--brand-primary);
  border-radius: 2px;
}

.feature-row .feature-text ul {
  list-style: none;
  padding: 0;
}

.feature-row .feature-text ul li {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
}

.feature-row .feature-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

/* Feature screenshots */
.feature-screenshot {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-screenshot:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-screenshot .img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
}

[data-theme="dark"] .feature-screenshot {
  background: var(--bg-tertiary);
}

[data-theme="dark"] .feature-screenshot .img-wrap {
  background: var(--bg-primary);
}

.feature-screenshot .img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.feature-screenshot > img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.feature-screenshot figcaption {
  text-align: center;
  font-size: 0.725rem;
  color: var(--text-tertiary);
  padding: 0.5rem 0;
  background: var(--bg-secondary);
  flex-shrink: 0;
}

[data-theme="dark"] .feature-screenshot figcaption {
  background: var(--bg-tertiary);
}

/* Mobile screenshots */
.mobile-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem auto;
}

.mobile-shot {
  flex: 1 1 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

[data-theme="dark"] .mobile-shot {
  background: var(--bg-tertiary);
}

.mobile-shot:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-shot img {
  width: 100%;
  display: block;
  object-fit: contain;
}

.mobile-shot figcaption {
  font-size: 0.675rem;
  color: var(--text-tertiary);
  padding: 0.4rem 0;
  background: var(--bg-secondary);
}

[data-theme="dark"] .mobile-shot figcaption {
  background: var(--bg-tertiary);
}

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.gallery-label {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

/* ================================================================
   SETTINGS (Theme Toggle)
   ================================================================ */
.nav-settings {
  position: relative;
  margin-left: 0.75rem;
}

.settings-toggle-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  padding: 0;
}

.settings-toggle-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.settings-toggle-btn svg {
  width: 18px;
  height: 18px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ───────────────────────────────────────────────
   TABLET (769px ~ 1024px)
   축소된 가로형 네비 + 2열 그리드 유지
   ─────────────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .container, .container-narrow, .container-wide { padding: 0 1.5rem; }
  .nav-container { padding: 0 1.5rem; }

  .split { gap: 3rem; }
  .feature-block { gap: 3rem; }
  .fs-section { padding: 7rem 0; }

  /* Tablet: 햄버거 숨기고 가로 네비 유지 (컴팩트) */
  .mobile-menu-btn { display: none !important; }
  .nav-menu { display: flex; gap: 1.25rem; }
  .nav-link { font-size: 0.95rem; }

  .nav-settings { margin-left: 0.5rem; }
  .settings-toggle-btn { width: 36px; height: 36px; }

  .product-card-grid { grid-template-columns: repeat(2, 1fr); }
  .advisor-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-row { grid-template-columns: repeat(3, 1fr); }

  /* 태블릿 전용 메인 4버튼 - 2×2 */
  .main-nav-buttons {
    grid-template-columns: repeat(2, minmax(180px, 240px));
    display: grid;
    gap: 0.875rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .main-nav-buttons .btn-primary {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  /* 태블릿 프로필 summary br 무효화 – 자동 줄바꿈 */
  .profile-summary br { display: none; }

  /* ── 태블릿 푸터 ── */
  .footer { padding: 2.5rem 0 1.75rem; }
  .footer-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
    max-width: 900px;
    padding: 0 1rem;
  }
  .footer-brand {
    column-count: 2;
    column-gap: 1.5rem;
  }
  .footer-links {
    column-count: 2;
    column-gap: 1rem;
  }
}

/* ───────────────────────────────────────────────
   MOBILE (≤ 768px)
   풀스크린 오버레이 메뉴 + 세로 스택 UI
   ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .container, .container-narrow, .container-wide { padding: 0 1.25rem; }
  .nav-container { padding: 0 1rem; gap: 0.25rem; }

  /* ── 헤더: 로고 | (여백) | 테마버튼 | 햄버거 ── */
  .nav-logo { flex: 1; }
  .nav-logo img { height: 24px; }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0;
    order: 3;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  /* 테마 토글은 모바일/태블릿에서도 항상 노출 */
  .nav-settings {
    order: 2;
    margin-left: 0;
    margin-right: 0.25rem;
  }
  .settings-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    border-color: var(--border);
  }
  [data-theme="dark"] .settings-toggle-btn {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.18);
  }

  /* ── 풀스크린 오버레이 메뉴 (네비바 아래부터) ── */
  .nav-menu {
    display: flex;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100dvh - var(--nav-height));
    background: var(--bg-primary);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.5rem 1.75rem 2rem;
    gap: 0;
    z-index: 998;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
    border-top: 1px solid var(--border);
  }

  [data-theme="dark"] .nav-menu {
    background: var(--bg-primary);
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu .nav-link,
  .nav-menu .nav-item > .nav-link {
    display: block;
    padding: 1.15rem 0.25rem;
    border-bottom: 1px solid var(--divider);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    width: 100%;
    letter-spacing: -0.01em;
  }

  .nav-menu .nav-item { width: 100%; display: block; }

  .nav-link::after { display: none; }

  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0 0.75rem 0.75rem;
    min-width: auto;
    background: transparent;
    display: none;
  }

  .nav-item.has-dropdown.open .nav-dropdown { display: block; }
  .nav-item.has-dropdown:hover .nav-dropdown { display: none; }
  .nav-item.has-dropdown.open:hover .nav-dropdown { display: block; }

  .dropdown-link {
    padding: 0.55rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
  }

  .mobile-menu-btn.active span { background: var(--text-primary); }

  /* Hero */
  .hero { min-height: 85vh; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-desc { font-size: 1rem; }
  .scroll-indicator { display: none; }

  /* Sections */
  .fs-section { padding: 5rem 0; }

  .text-headline { font-size: clamp(1.75rem, 6vw, 2.5rem); }

  /* 메인 페이지 네비게이션 4버튼 – 모바일 세로 스택 */
  .main-nav-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 2.25rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .main-nav-buttons .btn-primary {
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 1rem;
    border-radius: var(--radius-full);
  }

  /* 프로필 summary 어색한 줄바꿈 방지 – 자동 줄바꿈으로 대체 */
  .profile-summary br { display: none; }
  .profile-summary { font-size: 0.875rem; line-height: 1.7; }

  /* ================================================================
     모바일 푸터 – 좌우 2분할 (좌: 회사정보 / 우: 바로가기)
     ================================================================ */
  .footer {
    padding: 1.5rem 1rem 1.25rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
  }

  .footer .container { padding: 0; }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
    align-items: start;
  }

  /* 좌측: 로고 + 회사정보 세로 정렬 */
  .footer-brand {
    text-align: left;
    column-count: initial;
    display: block;
  }
  .footer-brand .footer-logo {
    height: 22px;
    margin: 0 0 0.75rem;
    display: block;
  }
  .footer-brand p {
    font-size: 0.72rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 0.25rem;
    word-break: keep-all;
  }

  /* 우측: 바로가기 메뉴 세로 정렬 */
  .footer-links {
    text-align: left;
    column-count: initial;
    display: block;
  }
  .footer-links h5 {
    display: block;
    text-align: left;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    margin: 0 0 0.6rem;
  }
  .footer-links a {
    display: block;
    padding: 0.3rem 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-radius: 0;
  }
  .footer-links a:hover,
  .footer-links a:active {
    color: var(--brand-primary);
    background: none;
  }

  /* index 페이지 scroll-snap 투명 푸터에서도 카드 대비 확보 */
  html.index-page .footer {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top-color: var(--border);
  }
  html.index-page[data-theme="dark"] .footer {
    background: rgba(23, 23, 28, 0.72);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .split.reverse > :first-child { order: 1; }
  .split.reverse > :last-child { order: 2; }
  .split-text { max-width: 100%; }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number { font-size: clamp(2rem, 8vw, 3rem); }

  /* Product */
  .product-showcase { text-align: left; }
  .product-tags { justify-content: flex-start; }

  /* Feature blocks */
  .feature-block {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 0;
  }
  .feature-block.reverse > :first-child { order: 1; }
  .feature-block.reverse > :last-child { order: 2; }

  .product-card-grid {
    grid-template-columns: 1fr;
  }

  /* ================================================================
     Contact 모바일 – 화면 벗어남 방지 + 폼 컴팩트화
     ================================================================ */
  html.contact-page,
  html.contact-page body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  html.contact-page .fs-section {
    padding-top: calc(var(--nav-height) + 1.75rem) !important;
    padding-bottom: 3rem;
  }

  html.contact-page .fs-section .container {
    max-width: 100%;
    min-width: 0;
    padding: 0 1rem;
  }

  html.contact-page .page-header {
    margin-bottom: 1.25rem;
    text-align: left;
  }

  html.contact-page .page-header-title {
    font-size: 1.55rem;
    word-break: keep-all;
  }

  html.contact-page .page-header-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    word-break: keep-all;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-width: 0;
  }

  .contact-info,
  .contact-form-card {
    min-width: 0;
    max-width: 100%;
  }

  .contact-info .text-headline-sm,
  .contact-form-card .text-headline-sm {
    font-size: 1.05rem;
  }

  .contact-info-list {
    margin-top: 1rem;
    gap: 0.75rem;
  }

  .contact-info-item {
    gap: 0.15rem;
  }

  .contact-info-item strong {
    font-size: 0.7rem;
  }

  .contact-info-item span {
    font-size: 0.85rem;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .contact-form-card {
    padding: 1.25rem 1.1rem;
    border-radius: var(--radius-xl);
  }

  .contact-form-card .form-group {
    margin-bottom: 0.9rem;
  }

  .contact-form-card label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }

  .contact-form-card input,
  .contact-form-card textarea {
    padding: 0.7rem 0.85rem;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
  }

  .contact-form-card textarea {
    min-height: 110px;
  }

  /* Page Hero */
  .page-hero { min-height: 50vh; }

  /* About */
  html.about-page .about-section {
    padding-top: 120px;
    min-height: 100vh;
  }

  .about-tabs { display: none; }

  html.about-page,
  html.about-page body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  html.about-page .about-section .container {
    max-width: 100%;
    overflow-x: hidden;
  }

  .company-intro-split { grid-template-columns: 1fr; gap: 2rem; min-width: 0; }

  .company-info-card {
    padding: 1.5rem 1.25rem;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .info-item {
    gap: 0.75rem;
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .info-label {
    min-width: 78px;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .info-value {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.82rem;
    line-height: 1.55;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .biz-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .biz-nav {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
  }
  .biz-nav::-webkit-scrollbar { display: none; }
  .biz-nav-btn {
    min-width: 180px;
    flex-shrink: 0;
    padding: 0.9rem 1.1rem;
  }
  .biz-nav-btn::before {
    left: 0; right: 0; top: auto; bottom: 0;
    width: 100%; height: 3px;
    border-radius: 3px 3px 0 0;
  }
  .biz-panel {
    padding: 1.5rem 1.25rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    gap: 1rem;
  }

  .profile-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "avatar name"
      "avatar role"
      "avatar edu"
      "summary summary"
      "highlights highlights";
    column-gap: 1rem;
    row-gap: 0;
    align-items: start;
    text-align: left;
    padding: 1.25rem 1.1rem;
  }

  .profile-avatar {
    grid-area: avatar;
    width: 52px;
    height: 52px;
    font-size: 0.75rem;
    margin-bottom: 0;
    margin-top: 0.15rem;
    align-self: start;
  }

  .profile-name {
    grid-area: name;
    font-size: 1rem;
    align-self: end;
  }

  .profile-role {
    grid-area: role;
    margin-top: 0.15rem;
    font-size: 0.78rem;
  }

  .profile-edu {
    grid-area: edu;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .profile-summary {
    grid-area: summary;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
  }

  .profile-highlights {
    grid-area: highlights;
    margin-top: 0.6rem;
  }

  .advisor-grid { grid-template-columns: repeat(2, 1fr); }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .partner-card {
    min-width: 0;
    padding: 1rem 0.75rem;
  }
  .partner-card img {
    max-width: 100%;
    height: 36px;
    margin-bottom: 0.75rem;
  }
  .partner-text {
    min-width: 0;
    width: 100%;
  }
  .partner-text strong,
  .partner-text span {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .cert-gallery { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .cert-item img { height: 140px; }

  /* ================================================================
     Catalog 모바일 – 화면 벗어남 방지 + 섹션 내용 전부 노출
     ================================================================ */
  html.catalog-page,
  html.catalog-page body {
    overflow-x: hidden;
    max-width: 100vw;
    scroll-snap-type: none;
  }

  .catalog-slide { min-width: 0; }
  .catalog-slide .container {
    max-width: 100%;
    min-width: 0;
    padding: 0 1.1rem;
  }

  /* snap-page: 모바일에서는 강제 100vh + 중앙정렬 해제 → 자연 흐름 */
  .snap-page {
    scroll-snap-align: none;
    min-height: auto;
    justify-content: flex-start;
    padding-top: calc(var(--nav-height) + 4.25rem);
    padding-bottom: 2.25rem;
  }
  /* 스크롤 시 부드럽게 올라오는 애니메이션은 기본 규칙 그대로 유지 */

  /* scroll-snap 해제에 따라 진행 점 숨김 */
  .scroll-progress { display: none; }

  /* 모바일에서 서브 내비 제거 */
  .catalog-nav { display: none; }

  /* 솔루션 헤더 */
  .solution-header {
    margin-bottom: 1.25rem;
  }
  .solution-badge {
    font-size: 0.64rem;
    padding: 0.2rem 0.7rem;
    margin-bottom: 0.7rem;
  }
  .solution-header h2 {
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    word-break: keep-all;
  }
  .solution-header h2 br { display: none; }
  .solution-header p {
    font-size: 0.82rem;
    line-height: 1.65;
    word-break: keep-all;
    padding: 0 0.1rem;
  }

  /* Feature row – 세로 스택 + 텍스트 축소 */
  .feature-row {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
    min-width: 0;
  }
  .feature-row.reverse { direction: ltr; }
  .feature-row:has(.mobile-row) { grid-template-columns: 1fr; }
  .feature-row .feature-text { min-width: 0; }
  .feature-row .feature-text h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
  }
  .feature-row .feature-text ul {
    margin: 0;
  }
  .feature-row .feature-text ul li {
    font-size: 0.8rem;
    line-height: 1.55;
    padding: 0.2rem 0 0.2rem 0.95rem;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .feature-row .feature-text ul li::before {
    top: 0.6em;
  }

  /* 스크린샷 */
  .feature-screenshot {
    min-width: 0;
    max-width: 100%;
  }
  .feature-screenshot .img-wrap {
    aspect-ratio: 16 / 10;
  }
  .feature-screenshot figcaption {
    font-size: 0.68rem;
    padding: 0.4rem 0.5rem;
  }

  /* 모바일 스크린샷 3장 가로 균등 */
  .mobile-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    justify-content: center;
    margin: 0.25rem 0 0;
    min-width: 0;
  }
  .mobile-shot {
    flex: 1 1 0;
    min-width: 0;
    max-width: 33%;
  }
  .mobile-shot img {
    width: 100%;
    height: auto;
  }
  .mobile-shot figcaption {
    font-size: 0.58rem;
    padding: 0.3rem 0.2rem;
    line-height: 1.2;
  }

  /* Spec row */
  .spec-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    margin-top: 1.25rem;
  }
  .spec-item {
    min-width: 0;
    padding: 0.75rem 0.6rem;
    border-radius: var(--radius-md);
  }
  .spec-item strong {
    font-size: 0.66rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.3px;
  }
  .spec-item span {
    font-size: 0.78rem;
    line-height: 1.4;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  /* Process flow – 2x2 그리드 (스크롤 없이 한 번에 모두 표시) */
  .process-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 1rem 0;
    max-width: none;
    overflow: visible;
    padding: 0;
  }

  .process-step {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0.7rem 0.6rem;
  }
  .process-step strong {
    font-size: 0.78rem;
  }
  .process-step span {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .process-arrow { display: none; }

  /* History */
  .history-layout {
    flex-direction: column;
    gap: 1.5rem;
  }
  .history-sidebar {
    position: static;
    min-width: auto;
  }
  .history-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  .history-filters {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .tl-item {
    padding-left: 1.8rem;
    padding-bottom: 1.8rem;
  }
  .tl-date { font-size: 1rem; }
  .tl-gallery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  .lightbox-nav--prev { left: 0.75rem; }
  .lightbox-nav--next { right: 0.75rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; }

  /* Capability */
  .capability-row { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .capability-badge { padding: 1.1rem 0.5rem; }

  /* CTA */
  .cta-section { padding: 5rem 0; }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .line-reveal {
    opacity: 1;
    transform: none;
  }
}
