:root {
  --bg: rgba(255, 255, 255, 0.08);
  --bg2: rgba(255, 255, 255, 0.06);
  --text: #0b1220;
  --muted: #3d4b5c;
  --line: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.09);
  --glass-edge: rgba(255, 255, 255, 0.16);
  --light: #ffffff;
  --primary: #1d4ed8;
  --primary2: #2563eb;
  --shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
  --shadow2: 0 10px 32px rgba(15, 23, 42, 0.07);
  /* 본문 폭: 큰 모니터에서 콘텐츠·이미지 여유 (글자는 rem 고정) */
  --max: min(1320px, 94vw);
  --glass-blur: blur(18px);
  /* 탑바·푸터: 뷰포트에 맞춤 (본문 font-size와 분리) */
  --topbar-min-h: clamp(1.47rem, 0.99rem + 0.66vw, 2.25rem);
  --footer-reserve: clamp(3.5rem, 3rem + 1vw, 4.25rem);
  --page-inline-pad: clamp(0.85rem, 2.5vw, 1.35rem);
  /* 홈 캐러셀: 세로·가로 표시 비율 (현재 기준 대비 조정) */
  --home-carousel-scale-y: 0.792;
  --home-carousel-scale-x: 0.8;
  --home-viewport-h: calc(100vh - var(--topbar-min-h) - var(--footer-reserve) - 0.35rem);
  --home-slide-min-h: max(238px, calc(var(--home-viewport-h) * var(--home-carousel-scale-y)));
}

/* 본문·메뉴 글자: 화면 크기와 무관하게 동일한 크기 유지 (브라우저 확대/축소는 그대로) */
html {
  font-size: 100%;
}

* { box-sizing: border-box; scroll-behavior: smooth; }
html, body { overflow-y: auto; }
body {
  margin: 0;
  font-family: "Segoe UI", "Malgun Gothic", sans-serif;
  background-color: #0f172a;
  /* NAS/Linux: CSS와 같은 폴더의 이미지( ../ 경로·대소문자 이슈 방지 ) */
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text);
  min-height: 100vh;
  padding-bottom: var(--footer-reserve);
}

.container { width: min(100% - 2 * var(--page-inline-pad), var(--max)); margin: 0 auto; }
.lang-block { display: none; }
.lang-block.active { display: block; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}
.topbar-inner {
  min-height: var(--topbar-min-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.22rem;
}
/* 탑바 한 줄을 뷰포트 좌우 끝까지 — 메뉴 사각형(그라데이션)은 이 전체 띠 */
.topbar .container.topbar-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(0.35rem, 1vw, 0.75rem);
  padding-block: 0.07rem;
  border-radius: 0;
  background: linear-gradient(
    165deg,
    rgba(125, 211, 252, 0.42) 0%,
    rgba(56, 189, 248, 0.32) 45%,
    rgba(14, 165, 233, 0.28) 100%
  );
  border: 0;
  border-bottom: 1px solid rgba(207, 250, 254, 0.5);
  box-shadow:
    0 2px 14px rgba(8, 47, 73, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.topbar-inner .brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.topbar-inner .lang-switch {
  flex-shrink: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.brand span { display: none; }
/* 로고: 크기 고정(메뉴 띠만 높이 축소 시에도 유지) */
.brand img {
  width: clamp(100px, 6vw + 60px, 150px);
  height: auto;
  max-height: clamp(40px, 2.5vw + 26px, 60px);
  aspect-ratio: 200 / 80;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

/* 메뉴 링크: 배경은 상위 topbar-inner — 여기서는 글자 높이에 맞는 여백만 */
.nav-links {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.45rem;
  padding: 0.03rem 0.25rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  visibility: hidden;
}
.nav-links > a,
.nav-links > .nav-group > a,
.nav-links > .nav-group > .nav-product-trigger {
  color: #0c4a6e;
  text-decoration: none;
  padding: 0.09rem 0.52rem;
  line-height: 1.12;
  border-radius: 6px;
  background: transparent;
  border: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
.nav-links > .nav-group > .nav-product-trigger {
  display: inline-block;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.nav-links > a:hover,
.nav-links > .nav-group > a:hover,
.nav-links > .nav-group > .nav-product-trigger:hover {
  color: #082f49;
  background: rgba(255, 255, 255, 0.28);
}
.nav-links > a.active,
.nav-links > .nav-group > a.active,
.nav-links > .nav-group > .nav-product-trigger.active {
  color: #fff;
  background: rgba(2, 132, 199, 0.55);
  text-shadow: 0 1px 2px rgba(8, 47, 73, 0.35);
}
.nav-group { position: relative; display: flex; align-items: center; }
.nav-links > .nav-group:hover,
.nav-links > .nav-group:focus-within {
  z-index: 5;
}
.nav-group > a:first-child {
  color: #0c4a6e;
}
.nav-group > a:first-child.active {
  color: #fff;
}
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}
.nav-submenu a {
  display: block;
  font-size: 0.88rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
  color: #0c4a6e;
  background: transparent;
  border: 0;
  text-decoration: none;
  text-shadow: none;
}
.nav-submenu a:hover {
  background: rgba(56, 189, 248, 0.2);
  color: #075985;
}
.nav-submenu--mega {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: min(92vw, 21rem);
  max-width: min(94vw, 22rem);
  width: 100%;
  padding: 0;
  overflow: visible;
  max-height: none;
  background: #f8fafc;
  border: 1px solid #94a3b8;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}
.nav-mega-layout {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-height: 0;
  position: relative;
}
.nav-mega-col--primary {
  flex: 1 1 50%;
  max-width: 50%;
  min-width: 0;
  border-right: 1px solid #e2e8f0;
}
.nav-mega-col--secondary {
  flex: 1 1 50%;
  max-width: 50%;
  min-width: 0;
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.nav-submenu--mega .nav-mega-col--primary > .nav-tree {
  max-height: min(72vh, 440px);
  overflow-x: visible;
  overflow-y: auto;
}
.nav-tree {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0.45rem 0.45rem;
}
.nav-tree > li {
  margin: 0;
  padding: 0;
}
.nav-mega-col--primary .nav-tree-item > a,
.nav-mega-col--primary .nav-tree-children a {
  white-space: normal;
}
.nav-tree-item > a,
.nav-tree-children a {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.32rem 0.45rem;
  border-radius: 6px;
  color: #0c4a6e;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
}
.nav-tree-item > a:hover,
.nav-tree-children a:hover {
  background: rgba(56, 189, 248, 0.22);
  color: #075985;
}
.nav-tree-branch {
  margin: 0.2rem 0 0.15rem;
}
.nav-tree-parent {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0.38rem 0.45rem 0.2rem;
  margin: 0;
  cursor: default;
  user-select: none;
}
.nav-tree-parent::before {
  content: "├";
  display: inline-block;
  margin-right: 0.35rem;
  font-weight: 700;
  color: #94a3b8;
  font-size: 0.85rem;
  vertical-align: -0.05em;
}
.nav-tree-children {
  list-style: none;
  margin: 0 0 0.15rem;
  padding: 0.05rem 0 0.15rem 0.85rem;
  border-left: 2px solid #cbd5e1;
}
.nav-tree-children li {
  margin: 0;
  padding: 0;
}
/* MicroCT: 2단계 호버 — MicroCT 행 호버 시 In vivo / Ex vivo 열과 제품 4개 */
.nav-tree-microct {
  position: relative;
  margin: 0.15rem 0 0.1rem;
  z-index: 2;
}
.nav-microct-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.34rem 0.45rem;
  border-radius: 6px;
  color: #0c4a6e;
  cursor: default;
  user-select: none;
  text-shadow: none;
}
.nav-microct-trigger::after {
  content: "›";
  font-size: 1.05rem;
  font-weight: 700;
  color: #64748b;
  line-height: 1;
}
.nav-tree-microct:hover > .nav-microct-trigger,
.nav-tree-microct:focus-within > .nav-microct-trigger {
  background: rgba(56, 189, 248, 0.22);
  color: #075985;
}
.nav-tree-microct:hover > .nav-microct-trigger::after,
.nav-tree-microct:focus-within > .nav-microct-trigger::after {
  color: #0ea5e9;
}
/* MicroCT: 오른쪽 열(제품 목록과 동일 너비) — 열 전체가 호버 존, JS로 nav-mega-layout--microct-open */
.nav-mega-col--secondary .nav-microct-flyout {
  display: none;
  position: relative;
  left: auto;
  top: auto;
  z-index: 1;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0.42rem 0.4rem 0.45rem;
  border-radius: 0;
  background: #fff;
  border: 0;
  box-shadow: none;
  gap: 0.4rem;
  align-items: flex-start;
  align-content: flex-start;
  flex-wrap: wrap;
  transition: none;
  transform: none;
  animation: none;
}
.nav-microct-flyout::before {
  display: none;
}
.nav-mega-layout--microct-open .nav-mega-col--secondary .nav-microct-flyout {
  display: flex;
  flex-direction: row;
}
.nav-microct-col {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 0.1rem;
}
.nav-microct-col + .nav-microct-col {
  border-left: 1px solid #e2e8f0;
  padding-left: 0.45rem;
}
.nav-microct-heading {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0.15rem 0.35rem 0.25rem;
  margin: 0;
  user-select: none;
}
.nav-microct-col a {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.24rem 0.3rem;
  border-radius: 6px;
  color: #0c4a6e;
  text-decoration: none;
  white-space: normal;
}
.nav-microct-col a:hover {
  background: rgba(56, 189, 248, 0.2);
  color: #075985;
}
.nav-tree-children a {
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.26rem 0.4rem 0.26rem 0.35rem;
}
.nav-tree-item--leaf > a {
  font-weight: 700;
  margin-top: 0.15rem;
  padding-top: 0.38rem;
  border-top: 1px solid #e2e8f0;
}
.nav-group--product .nav-submenu--mega {
  left: 50%;
  transform: translateX(-50%);
}
.nav-group.open .nav-submenu { display: flex; }
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu { display: flex; }

.lang-switch {
  display: flex;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: #0c4a6e;
  padding: 0.09rem 0.45rem;
  line-height: 1.12;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.875rem;
}
.lang-switch button.active {
  background: rgba(2, 132, 199, 0.5);
  color: #fff;
}

.hero-wrap {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text);
  padding: 0.4rem 0 0.4rem;
}
.home-hero-line {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #f8fafc;
  font-size: 1.125rem;
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.35);
}
.home-hero-line + .home-hero-line { margin-top: 0.35rem; font-weight: 700; color: #e2e8f0; }

.carousel {
  position: relative;
  border: 1px solid var(--glass-edge);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  width: 100%;
  transform: translateX(0%);
  transition: transform 420ms ease;
}
.carousel-slide { flex: 0 0 100%; }
.carousel-slide img {
  display: block;
  width: 100%;
  height: clamp(260px, min(44vw, 42vh), 720px);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(40px, 2.2vw + 34px, 56px);
  height: clamp(40px, 2.2vw + 34px, 56px);
  border-radius: 999px;
  border: 1px solid var(--glass-edge);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #0f172a;
  cursor: pointer;
  font-size: clamp(1.35rem, 1vw + 1.1rem, 1.75rem);
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.carousel-btn:hover { border-color: rgba(37, 99, 235, 0.35); color: var(--primary); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.22);
}
.carousel-dot.active { background: rgba(37, 99, 235, 0.9); }
.home-carousel-overlay {
  position: absolute;
  left: 16px;
  right: 76px;
  bottom: 42px;
  z-index: 2;
  max-width: 760px;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.5));
  border: 1px solid rgba(226, 232, 240, 0.26);
  backdrop-filter: blur(4px);
}

@media (max-width: 520px) {
  .home-carousel-overlay { left: 10px; right: 10px; bottom: 34px; padding: 0.7rem 0.75rem; }
  .carousel-btn { width: 38px; height: 38px; font-size: 1.35rem; }
  .home-page .carousel-btn { width: 42px; height: 42px; font-size: 1.45rem; }
  .hero h1 { font-size: 1.7rem; }
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
  align-items: center;
}
.hero h1 { margin: 0 0 0.7rem; font-size: 2.125rem; line-height: 1.18; letter-spacing: -0.02em; }
.hero p { margin: 0 0 1rem; color: #475569; font-size: 1.02rem; line-height: 1.6; }
.hero-card {
  background: var(--card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: 12px;
  padding: 0.9rem;
  box-shadow: var(--shadow);
}
.hero-card ul { margin: 0; padding-left: 1.1rem; color: #334155; }
.cta { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.56rem 0.95rem;
  font-weight: 700;
}
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary2); }
.btn.ghost {
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn.ghost:hover { border-color: rgba(37, 99, 235, 0.6); background: rgba(37, 99, 235, 0.06); }

main { margin-top: 0; padding-bottom: 2.6rem; }
.home-page main,
.home-page .page-main {
  margin-top: 0;
  padding-top: 0;
  min-height: max(238px, calc((100vh - var(--topbar-min-h) - var(--footer-reserve)) * var(--home-carousel-scale-y)));
  display: flex;
  align-items: stretch;
}
.home-page .page-main > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
section {
  background: var(--card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: 12px;
  padding: 1.1rem;
  margin-bottom: 0.8rem;
  box-shadow: none;
}
h2 { margin: 0 0 0.6rem; }
.muted { margin: 0 0 0.8rem; color: var(--muted); }

.stats, .grid, .contact-grid {
  display: grid;
  gap: 0.65rem;
}
.stats { grid-template-columns: repeat(4, 1fr); }
.grid { grid-template-columns: repeat(2, 1fr); }
.contact-grid { grid-template-columns: 1fr 1fr; }

.item, .card, .panel {
  border: 1px solid var(--glass-edge);
  border-radius: 10px;
  padding: 0.8rem;
  background: var(--card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.item strong { display: block; color: var(--primary); font-size: 1.2rem; }
.card h3 { margin: 0 0 0.4rem; font-size: 1.03rem; }
.card p { margin: 0 0 0.5rem; color: #374151; }
.phone-with-thanks {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.thankyou-gif {
  height: 2.75rem;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.card a { color: var(--primary); text-decoration: none; font-weight: 700; }
.card:hover { border-color: rgba(37, 99, 235, 0.35); box-shadow: var(--shadow2); transform: translateY(-1px); transition: 160ms ease; }
.card { transition: 160ms ease; }
.panel p a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* 히스토리: 실제 DOM(점·막대)으로 타임라인 — 의사요소만 쓸 때 캐시/환경에서 안 보이는 경우 대비 */
.history-section .timeline-vertical {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  max-width: 46rem;
}
.history-section .timeline-step {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0 1.1rem;
  margin: 0;
  padding: 0 0 1.35rem 0;
  list-style: none;
}
.history-section .timeline-step--last {
  padding-bottom: 0;
}
.history-section .timeline-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 28px;
  flex-shrink: 0;
  padding-top: 0.15rem;
}
.history-section .timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2563eb, var(--primary));
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #93c5fd, 0 2px 8px rgba(29, 78, 216, 0.25);
  flex-shrink: 0;
}
.history-section .timeline-connector {
  flex: 1 1 12px;
  width: 4px;
  min-height: 1.25rem;
  margin-top: 6px;
  border-radius: 4px;
  background: linear-gradient(180deg, #3b82f6 0%, #60a5fa 40%, #bfdbfe 100%);
}
.history-section .timeline-step--last .timeline-connector {
  display: none;
}
.history-section .timeline-body {
  flex: 1;
  min-width: 0;
  padding-top: 0;
}
.history-section .timeline-year {
  display: block;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}
.history-section .timeline-desc {
  margin: 0;
  color: #374151;
  line-height: 1.55;
  font-size: 0.98rem;
}
@media (max-width: 520px) {
  .history-section .timeline-step {
    gap: 0 0.75rem;
    padding-bottom: 1.15rem;
  }
  .history-section .timeline-rail {
    width: 24px;
  }
  .history-section .timeline-year {
    font-size: 1.02rem;
  }
}
.panel p a:hover { text-decoration: underline; }

input, textarea {
  width: 100%;
  border: 1px solid var(--glass-edge);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
textarea { min-height: 110px; resize: vertical; }
#contact-form {
  display: grid;
  gap: 0.55rem;
  position: relative;
  z-index: 2;
}
.contact-form-error {
  margin: 0;
  padding: 0.45rem 0.5rem;
  font-size: 0.85rem;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}
.contact-send-hint {
  margin: 0;
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.35;
}
.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.submit {
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.submit--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary);
  border: 2px solid var(--primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 520px) {
  .contact-actions { grid-template-columns: 1fr; }
}

/* 상단 히어로: 제목·부제 숨김, 본문을 탑바에 가깝게 */
.sub-hero {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--text);
  padding: 0;
  border-bottom: 0;
}
.sub-hero h1,
.sub-hero p {
  display: none !important;
}
/* 뒤로 링크 없으면 빈 헤더 제거 */
.sub-hero:not(:has(.back)) {
  display: none;
}
.sub-hero:has(.back) {
  padding: 0.15rem 0 0;
}
.back {
  display: inline-block;
  margin: 0 0 0.2rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.back:hover {
  color: var(--primary2);
  text-decoration: underline;
}
.spec-list { margin: 0; padding-left: 1.1rem; }
.page-main { margin-top: 0; padding-top: 0; padding-bottom: 2rem; }
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.8rem;
}
.feature-list { margin: 0; padding-left: 1.1rem; color: #374151; }
.feature-list li { margin-bottom: 0.4rem; }
.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.quick-link {
  display: block;
  text-decoration: none;
  border: 1px solid var(--glass-edge);
  border-radius: 10px;
  padding: 0.8rem;
  background: var(--card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text);
  font-weight: 600;
}
.quick-link:hover {
  border-color: #93c5fd;
  color: #1e3a8a;
}
.section-title { margin: 0 0 0.45rem; font-size: 1.3rem; }

.kicker {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #1e293b;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.badge-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--line);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.86rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}
.logo-tile {
  border: 1px solid var(--glass-edge);
  border-radius: 12px;
  padding: 0.85rem;
  background: var(--card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow);
}
.logo-tile strong { display: block; color: #0f172a; margin-bottom: 0.25rem; }
.logo-tile p { margin: 0; color: #475569; font-size: 0.92rem; line-height: 1.45; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.gallery-card {
  border: 1px solid var(--glass-edge);
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}
.partners-gallery .gallery-card img {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
  width: 50%;
  margin: 0 auto;
}
.gallery-card .caption {
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  color: #374151;
}
.map-embed {
  width: 100%;
  min-height: clamp(15rem, 38vw, 22.5rem);
  border: 0;
  border-radius: 10px;
}

footer {
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
}

@media (max-width: 920px) {
  .hero, .stats, .grid, .contact-grid { grid-template-columns: 1fr; }
  .split, .quick-links { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .topbar-inner { min-height: auto; padding: 0.13rem clamp(0.35rem, 2vw, 0.75rem); flex-wrap: wrap; row-gap: 0.17rem; }
  .nav-links {
    display: flex;
    order: 3;
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
  }
  .nav-links > a,
  .nav-links > .nav-group > a,
  .nav-links > .nav-group > .nav-product-trigger { font-size: 0.9rem; }
  .nav-submenu { left: 50%; transform: translateX(-50%); }
  .nav-group--product .nav-submenu--mega {
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-tree-item > a,
  .nav-tree-children a {
    white-space: normal;
  }
  .nav-mega-layout {
    flex-direction: column;
  }
  .nav-mega-col--primary,
  .nav-mega-col--secondary {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .nav-mega-col--primary {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }
  .nav-mega-col--secondary .nav-microct-flyout {
    position: static !important;
    left: auto !important;
    top: auto !important;
    min-width: 100%;
    margin-top: 0.15rem;
    padding: 0.4rem 0.45rem 0.45rem;
    box-shadow: inset 0 0 0 1px #e2e8f0;
  }
  .nav-mega-layout--microct-open .nav-mega-col--secondary .nav-microct-flyout {
    flex-direction: column;
  }
  .nav-microct-col + .nav-microct-col {
    border-left: 0;
    border-top: 1px solid #e2e8f0;
    padding-left: 0.15rem;
    padding-top: 0.4rem;
    margin-top: 0.25rem;
  }
  .logo-grid { grid-template-columns: 1fr; }
  .home-product-slide-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    flex: 1 1 auto;
  }
  .home-product-visual {
    height: auto;
    min-height: min(calc(42vh * var(--home-carousel-scale-y)), calc(360px * var(--home-carousel-scale-y)));
  }
  .home-page .carousel-slide img {
    height: auto;
    max-height: min(calc(48vh * var(--home-carousel-scale-y)), calc(440px * var(--home-carousel-scale-y)));
    width: 100%;
  }
}

/* Home: 섹션·캐러셀을 가로세로 꽉 채움 */
.home-page .page-main section {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

/* Home carousel: 뷰포트에 맞춘 높이 */
.home-page .carousel {
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
  transform: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: calc(100% * var(--home-carousel-scale-x));
  max-width: calc(100% * var(--home-carousel-scale-x));
  max-height: var(--home-slide-min-h);
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.home-page .carousel-viewport {
  border-radius: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.home-page .carousel-track {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  align-items: stretch;
}
.home-page .carousel-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.home-page .carousel-slide img {
  background: transparent;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.home-product-slide-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr);
  gap: clamp(0.65rem, 1.5vw, 1.5rem);
  align-items: stretch;
  flex: 1;
  min-height: var(--home-slide-min-h);
  min-width: 0;
  width: 100%;
  padding: clamp(0.45rem, 1.2vw, 1rem) clamp(0.5rem, 2vw, 1.25rem);
  box-sizing: border-box;
}
.home-product-copy {
  padding: 0.27rem 0.54rem 0.27rem 0;
  align-self: center;
}
.home-product-copy h2 {
  margin: 0 0 0.54rem;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}
.home-product-copy p {
  margin: 0 0 0.81rem;
  color: #111827;
  line-height: 1.55;
  font-size: 1.0625rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
@media (max-width: 520px) {
  .home-product-copy h2 { font-size: 1.45rem; }
  .home-product-copy p { font-size: 1rem; }
}
.home-product-copy .btn.primary {
  background: #2563eb;
  border: 1px solid rgba(147, 197, 253, 0.35);
}
.home-product-copy .btn.primary:hover {
  background: #1d4ed8;
}
.home-product-copy .btn.ghost {
  border-color: rgba(17, 24, 39, 0.35);
  color: #111827;
  background: rgba(255, 255, 255, 0.45);
}
.home-product-copy .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.75);
  color: #0a0a0a;
}
.home-product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  border: 0;
  min-height: 0;
  min-width: 0;
  height: 100%;
  padding: 0.15rem;
}
.home-product-visual img {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
.home-page .carousel-btn {
  width: clamp(44px, 2.4vw + 36px, 60px);
  height: clamp(44px, 2.4vw + 36px, 60px);
  font-size: clamp(1.45rem, 1vw + 1.2rem, 1.85rem);
  background: rgba(240, 249, 255, 0.45);
  color: #0c4a6e;
  border: 1px solid rgba(125, 211, 252, 0.65);
  backdrop-filter: blur(8px);
}
.home-page .carousel-btn:hover {
  background: rgba(255, 255, 255, 0.65);
  color: #075985;
  border-color: rgba(56, 189, 248, 0.85);
}
.home-page .carousel-dot {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.35);
}
.home-page .carousel-dot.active {
  background: rgba(14, 165, 233, 0.95);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}
.home-page .carousel-dots {
  gap: 9px;
  bottom: 11px;
}
.home-page .home-carousel-overlay {
  display: none;
}

/* Product hub */
.product-hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.product-hub-nav > li { position: relative; }
.product-hub-nav > li > a,
.product-hub-nav > li > span.nav-parent {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--glass-edge);
  background: var(--card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  cursor: pointer;
}
.product-hub-nav > li > a:hover,
.product-hub-nav > li > span.nav-parent:hover {
  border-color: #93c5fd;
  color: var(--primary);
}
.product-hub-nav .nav-children {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 180px;
  margin: 0.2rem 0 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: 8px;
  border: 1px solid var(--glass-edge);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow2);
}
.product-hub-nav li:hover .nav-children,
.product-hub-nav li:focus-within .nav-children {
  display: block;
}
.product-hub-nav .nav-children a {
  display: block;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
}
.product-hub-nav .nav-children a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.product-local-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}
.product-local-nav a {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  color: #1e293b;
  border: 1px solid var(--glass-edge);
  background: var(--card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.product-local-nav a:hover {
  border-color: #93c5fd;
  color: var(--primary);
}

.product-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
@media (max-width: 920px) {
  .product-split { grid-template-columns: 1fr; }
}
.product-split figure {
  margin: 0;
  border: 1px solid var(--glass-edge);
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.product-split figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(240px, min(42vw, 48vh), min(880px, 72vh));
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}
.product-split figcaption {
  padding: 0.5rem 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.news-board {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.news-board th,
.news-board td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
}
.news-board th {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 800;
}
.news-board tbody tr:hover {
  background: rgba(37, 99, 235, 0.07);
}
.news-board a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.news-board a:hover {
  text-decoration: underline;
}
