/* ========================================
   © 2026 Moonmyung ACE
   Design & Development by Jae Hyuk Lee
   Claude did what it was told :)
   ======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0072CE;
  --primary-dark: #005BA1;
  --primary-light: #E8F4FD;
  --accent: #00A3E0;
  --text-dark: #1A1A1A;
  --text-mid: #555555;
  --text-light: #888888;
  --bg-white: #FFFFFF;
  --bg-light: #F5F7FA;
  --bg-dark: #1A1A2E;
  --bg-footer: #111111;
  --border: #E0E0E0;
  --max-width: 1400px;
  --header-height: 64px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
}

body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo .logo-mark {
  height: 36px;
  width: auto;
}

.logo .logo-letter {
  height: 20px;
  width: auto;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-main > li {
  position: relative;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav-main > li > a {
  display: block;
  padding: 8px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  transition: color var(--transition);
}

.nav-main > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-main > li > a:hover,
.nav-main > li > a.active {
  color: var(--primary);
}

.nav-main > li > a:hover::after,
.nav-main > li > a.active::after {
  transform: scaleX(1);
}

/* Per-nav-item colors */
.nav-main > li:nth-child(1) > a:hover,
.nav-main > li:nth-child(1) > a.active { color: #E8590C; }
.nav-main > li:nth-child(1) > a::after { background: #E8590C; }

.nav-main > li:nth-child(2) > a:hover,
.nav-main > li:nth-child(2) > a.active { color: #0072CE; }
.nav-main > li:nth-child(2) > a::after { background: #0072CE; }

.nav-main > li:nth-child(3) > a:hover,
.nav-main > li:nth-child(3) > a.active { color: #2B8A3E; }
.nav-main > li:nth-child(3) > a::after { background: #2B8A3E; }

.nav-main > li:nth-child(4) > a:hover,
.nav-main > li:nth-child(4) > a.active { color: #E8590C; }
.nav-main > li:nth-child(4) > a::after { background: #E8590C; }

/* Dropdown */
.nav-main .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0;
  padding: 8px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-main > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: all var(--transition);
}

.dropdown a:hover {
  color: var(--primary);
}

.nav-main > li:nth-child(1) .dropdown a:hover { color: #E8590C; }
.nav-main > li:nth-child(2) .dropdown a:hover { color: #0072CE; }
.nav-main > li:nth-child(3) .dropdown a:hover { color: #2B8A3E; }
.nav-main > li:nth-child(4) .dropdown a:hover { color: #E8590C; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 6px 0;
  transition: all var(--transition);
}

/* ---------- Hero Section ---------- */
/* Scroll Stage: tall container for stacked sticky sections */
.scroll-stage {
  position: relative;
  margin-top: var(--header-height);
  /* hero(1vh) + slide-in(1vh) + slide0(1vh) + slide1(1vh) + slide2(1vh) = 5x viewport */
  height: calc((100vh - var(--header-height)) * 5);
}

.scroll-stage__hero {
  position: sticky;
  top: var(--header-height);
  z-index: 1;
  height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
}

.scroll-stage__showcase {
  position: sticky;
  top: var(--header-height);
  z-index: 2;
  height: calc(100vh - var(--header-height));
}

.hero {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%) scale(1.25);
  object-fit: cover;
  z-index: 0;
}

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

.hero-content .subtitle {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: white;
  opacity: 0.7;
  animation: bounce 2s infinite;
  font-size: 0.85rem;
  text-align: center;
}

.hero-scroll svg {
  display: block;
  margin: 8px auto 0;
}

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

/* ---------- Page Hero (Subpages) ---------- */
.page-hero {
  margin-top: var(--header-height);
  height: 300px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0072CE 0%, #005BA1 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 8px;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.page-hero .page-desc {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-top: 12px;
  max-width: 500px;
}

/* ---------- Section Styles ---------- */
.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--bg-light);
}

/* ---------- Company Feature Section (half-bleed image) ---------- */
.company-feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 !important;
  overflow: hidden;
  min-height: 480px;
}

.company-feature-img {
  position: relative;
  overflow: hidden;
}

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

.company-feature-text {
  padding: 64px 72px 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 1024px) {
  .company-feature-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .company-feature-img {
    aspect-ratio: 16/9;
  }
  .company-feature-text {
    padding: 40px 24px;
  }
}

.section--dark {
  background: var(--bg-dark);
  color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 1.9rem;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.section--dark .section-header h2 {
  color: white;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Cards (Product Grid) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  border: none;
  transition: all var(--transition);
}

.card:hover {
}

.card-img {
  padding: 0;
  background: transparent;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-img .placeholder-icon {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
}

.card-body {
  padding: 24px 0;
}

.card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.card-body .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.card-body .card-link:hover {
  gap: 10px;
}

/* ---------- Two-Column Feature Blocks ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-block.reverse {
  direction: rtl;
}

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

.feature-img {
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ---------- Company Slideshow ---------- */
.company-slideshow {
  position: relative;
}

.company-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

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

.feature-text .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.feature-text h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.feature-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ---------- CTA Button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,114,206,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}


.btn-white {
  background: white;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--primary-light);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: gap var(--transition);
}

.btn-link:hover {
  gap: 12px;
}

/* ---------- Stats Row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-top: 8px;
}

/* ---------- Vision Sticky Panel ---------- */
.vision-sticky-panel {
  position: sticky;
  top: 200px;
  align-self: start;
}
.vision-sticky-panel__counter,
.vision-sticky-panel__title,
.vision-sticky-panel__slogan {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.vision-sticky-panel__counter {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}
.vision-sticky-panel__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}
.vision-sticky-panel__slogan {
  font-size: 1.05rem;
  font-weight: 600;
}
.vision-sticky-panel__counter.fade-out,
.vision-sticky-panel__title.fade-out,
.vision-sticky-panel__slogan.fade-out {
  opacity: 0;
  transform: translateY(8px);
}
.vision-sticky-panel__counter.fade-in,
.vision-sticky-panel__title.fade-in,
.vision-sticky-panel__slogan.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.vision-mobile-bar__name {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.vision-mobile-bar__name.fade-out {
  opacity: 0;
  transform: translateY(4px);
}
.vision-mobile-bar__name.fade-in {
  opacity: 1;
  transform: translateY(0);
}
/* Mobile bar */
.vision-mobile-bar {
  display: none;
}
@media (max-width: 1024px) {
  .vision-sticky-panel {
    display: none;
  }
  .vision-mobile-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: sticky;
    top: var(--header-height);
    background: #fff;
    padding: 12px 16px;
    z-index: 80;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    font-weight: 600;
  }
  .vision-mobile-bar__label {
    color: var(--text-mid);
  }
}

/* ---------- Side Navigation (Product Pages) ---------- */
.page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 100px;
  margin-top: var(--header-height);
}

.side-nav {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
}

.side-nav h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 8px;
}

.side-nav ul {
  margin-top: 4px;
}

.side-nav li a:hover,
.side-nav li a.active {
  color: var(--primary);
  background: var(--primary-light);
  border-left-color: var(--primary);
}

.side-nav .nav-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 20px 16px 8px;
}

.side-nav li a {
  display: block;
  padding: 10px 16px 10px 28px;
  font-size: 0.9rem;
  color: var(--text-mid);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.page-content h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.page-content h3 {
  font-size: 1.3rem;
  margin: 32px 0 16px;
  color: var(--primary-dark);
}

.page-content p {
  margin-bottom: 16px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ---------- CEO Block ---------- */
.ceo-block {
  gap: 48px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .ceo-block {
    grid-template-columns: 1fr;
  }
  .ceo-block .feature-img {
    order: 2;
    justify-self: center;
  }
  .ceo-block .feature-text {
    order: 1;
  }
}

/* ---------- Tabs (Product Detail) ---------- */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}

.tab-btn:hover {
  color: var(--text-dark);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.type-panel {
  display: none;
}

.type-panel.active {
  display: block;
}

/* ---------- Spec Table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.spec-table th,
.spec-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  white-space: nowrap;
  width: 180px;
}

.spec-table td {
  color: var(--text-mid);
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group label .required {
  color: #E53935;
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-white);
  color: var(--text-dark);
  transition: border-color var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,114,206,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---------- CS Form (Customer Support) ---------- */
.cs-form {
  padding: 40px 0 60px;
}

.cs-form__required-notice {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.82rem;
  color: #1A1A1A;
  margin-bottom: 32px;
}

.cs-form__dot {
  display: inline-block;
  width: 3.5px;
  height: 3.5px;
  background: #e55e35;
  border-radius: 100%;
  vertical-align: super;
  margin-left: 3px;
  position: relative;
  top: -9px;
}

.cs-form__dot--notice {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #e55e35;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
}

#asForm .cs-form__dot,
#asForm .cs-form__dot--notice {
  background: var(--primary);
}

.cs-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 48px;
}

.cs-form__row .cs-form__field {
  border-bottom: none;
  padding-bottom: 0;
}

.cs-form__row {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 32px;
}

.cs-form__field {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding: 15px 0;
  border-bottom: none;
}

.cs-form__field--half + .cs-form__field--full,
.cs-form__field--full + .cs-form__field--full {
  margin-top: 20px;
}

.cs-form__field:first-of-type {
  border-top: none;
}

.cs-form__field--half {
  max-width: calc((100% - 48px) / 2);
}

.cs-form__label {
  display: inline-flex;
  align-items: baseline;
  width: 100px;
  min-width: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  padding-top: 0;
}

.cs-form__input-wrap {
  flex: 1;
  position: relative;
}

.cs-form__input {
  width: 100%;
  padding: 6px 10px;
  font-size: 0.85rem;
  border: 1px solid #D5D5D5;
  border-radius: 6px;
  background: #fff;
  color: var(--text-dark);
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.cs-form__input::placeholder {
  color: #BEBEBE;
}

.cs-form__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0,114,206,0.08);
}

.cs-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.cs-form__textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.6;
}

.cs-form__field--full .cs-form__input-wrap,
.cs-form__field--textarea .cs-form__input-wrap {
  max-width: 100%;
}

.cs-form__counter {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: #AAA;
  margin-top: 6px;
}

.cs-form__error {
  display: none;
  font-size: 0.8rem;
  color: #E53935;
  margin-top: 6px;
}

.cs-form__input-wrap--error .cs-form__input {
  border-color: #E53935;
}

.cs-form__input-wrap--error .cs-form__error {
  display: block;
}

.cs-form__privacy {
  margin-top: 32px;
}
.cs-form__privacy-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #222;
}
.cs-form__privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.cs-form__privacy-check .cs-form__dot {
  vertical-align: super;
  top: -5px;
}
.cs-form__privacy-detail {
  margin-top: 12px;
  padding: 20px 24px;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  max-height: 120px;
  overflow-y: auto;
}
.cs-form__privacy-detail p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #555;
  margin: 0 0 4px;
}
.cs-form__privacy-detail p:last-child {
  margin-bottom: 0;
}

.cs-form__submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.cs-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 48px;
  font-size: 1rem;
  font-family: inherit;
  color: #fff;
  background: #B0B0B0;
  border: none;
  border-radius: 8px;
  cursor: not-allowed;
  transition: background 0.25s, box-shadow 0.25s;
}

.cs-form__submit:not(:disabled) {
  background: var(--primary);
  cursor: pointer;
}

.cs-form__submit:not(:disabled):hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0,114,206,0.25);
}

/* CS Form — Mobile */
@media (max-width: 768px) {
  .cs-form {
    padding: 24px 0 40px;
  }

  .cs-form__field {
    flex-direction: column;
    padding: 16px 0;
  }

  .cs-form__row .cs-form__field {
    padding-bottom: 16px;
  }

  .cs-form__label {
    width: 100%;
    min-width: unset;
    margin-bottom: 15px;
    padding-top: 0;
    font-size: 0.88rem;
  }

  .cs-form__input-wrap {
    width: 100%;
    max-width: 100%;
  }

  .cs-form__field--name {
    max-width: 100%;
  }

  .cs-form__submit-wrap {
    margin-top: 32px;
  }

  .cs-form__submit {
    width: 100%;
    min-width: unset;
  }

  .cs-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cs-form__row .cs-form__field {
    border-bottom: none;
  }
}

/* ---------- Feature List ---------- */
.feature-list {
  display: grid;
  gap: 0;
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 12px;
  padding: 20px 0;
  font-size: 0.95rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}

.feature-list li:first-child {
  border-top: 1px solid var(--border);
}

.feature-list li::before {
  content: '✓';
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1px;
}

.feature-list li strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.6;
}


/* ---------- Timeline (History) ---------- */
/* ---------- History Timeline ---------- */
.history-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #E8E8E8;
  position: sticky;
  top: var(--header-height);
  background: #fff;
  z-index: 80;
  margin: 0 0 0;
  padding: 0;
}
.history-tab {
  padding: 16px 28px;
  font-size: 0.92rem;
  font-weight: 400;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  letter-spacing: -0.3px;
}
.history-tab:hover {
  color: #1a1a1a;
}
.history-tab.active {
  color: #1a1a1a;
  font-weight: 700;
}
.history-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #E8590C;
}
.history-tab[data-decade="2010"].active::after { background: #0072CE; }
.history-tab[data-decade="2000"].active::after { background: #2B8A3E; }
.history-tab[data-decade="1990"].active::after { background: #E8590C; }
.history-tab[data-decade="1980"].active::after { background: #0072CE; }

.history-timeline {
  max-width: 100%;
  padding-top: 80px;
  position: relative;
}

/* Central vertical line spanning entire timeline */
.history-timeline::before {
  content: '';
  position: absolute;
  left: 40%;
  top: 80px;
  bottom: 0;
  width: 1.5px;
  background: #E0E0E0;
  transform: translateX(-50%);
}

.history-year-group {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 0;
  min-height: 80px;
  position: relative;
  margin-bottom: 20px;
}

.history-year-label {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -2px;
  position: sticky;
  top: 120px;
  align-self: start;
  padding-top: 15px;
  padding-bottom: 40px;
  line-height: 1;
  text-align: center;
  transition: top 0.1s ease;
}

.history-entries {
  position: relative;
  padding-left: 80px;
  padding-bottom: 16px;
}

.history-entry {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

/* Hollow circle dot — aligned to center line */
.history-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid #E8590C;
  flex-shrink: 0;
  position: absolute;
  left: -87px;
  top: 35px;
  z-index: 1;
}
/* Per-decade dot colors */
.history-year-group[data-decade="2020"] .history-dot { border-color: #E8590C; }
.history-year-group[data-decade="2010"] .history-dot { border-color: #0072CE; }
.history-year-group[data-decade="2000"] .history-dot { border-color: #2B8A3E; }
.history-year-group[data-decade="1990"] .history-dot { border-color: #E8590C; }
.history-year-group[data-decade="1980"] .history-dot { border-color: #0072CE; }

.history-month {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  min-width: 44px;
  white-space: nowrap;
}

.history-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  padding-left: 24px;
}

@media (max-width: 1024px) {
  .history-timeline {
    padding-top: 24px;
  }
  .history-timeline::before {
    left: 16px;
    top: 24px;
  }
  .history-year-group {
    grid-template-columns: 1fr;
  }
  .history-year-label {
    display: none;
  }
  .history-entries {
    padding-left: 36px;
  }
  .history-dot {
    left: -26px;
    top: 24px;
    width: 11px;
    height: 11px;
  }
  .history-entry {
    flex-direction: row;
    gap: 12px;
    padding: 16px 0;
  }
  .history-month {
    font-size: 1.15rem;
    min-width: 32px;
  }
  .history-text {
    font-size: 0.88rem;
    padding-left: 0;
  }
  .history-tabs {
    display: none;
  }
}

/* Mobile history bar (hidden on desktop) */
.history-mobile-bar {
  display: none;
}
@media (max-width: 1024px) {
  .history-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: sticky;
    top: var(--header-height);
    background: #fff;
    z-index: 80;
    padding: 14px 24px;
    border-bottom: 1px solid #E8E8E8;
  }
  .history-mobile-bar__name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    transition: opacity 0.5s ease;
  }
}

/* ---------- Location (오시는 길) ---------- */
.loc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 40px;
}
.loc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.loc-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}
.loc-item:hover {
  background: #f9f9f9;
}
.loc-badge {
  flex-shrink: 0;
  margin-top: 30px;
}
.loc-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.loc-address {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.loc-map-area {
  position: sticky;
  top: 200px;
}
.loc-map-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: box-shadow 0.3s;
}
.loc-map-img:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
  .loc-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-footer);
  color: #999;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #333;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #888;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: #888;
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: white;
}
.footer-col:last-child {
  display: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: #666;
}

.footer-bottom a {
  color: #888;
  margin-left: 16px;
}

.footer-bottom a:hover {
  color: white;
}

/* ---------- Privacy Modal ---------- */
.privacy-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.privacy-modal-overlay.active {
  display: flex;
}
.privacy-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.privacy-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px 20px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.privacy-modal__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}
.privacy-modal__close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #666;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.privacy-modal__close:hover {
  color: #111;
}
.privacy-modal__body {
  padding: 28px 32px 32px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.9;
  color: #333;
}
.privacy-modal__body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin: 28px 0 8px;
}
.privacy-modal__body h3:first-of-type {
  margin-top: 20px;
}
.privacy-modal__body p {
  margin: 0 0 8px;
}
.privacy-modal__body ul {
  margin: 8px 0 8px 20px;
  padding: 0;
}
.privacy-modal__body li {
  margin-bottom: 4px;
}
@media (max-width: 768px) {
  .privacy-modal {
    max-height: 90vh;
    border-radius: 8px;
  }
  .privacy-modal__header {
    padding: 20px 20px 16px;
  }
  .privacy-modal__body {
    padding: 20px;
  }
}

/* ---------- Scroll-to-top ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,114,206,0.3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ---------- Showcase (Navien-style Multi-Slide) ---------- */
.showcase-container {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

/* Background images — all stacked, opacity transition for crossfade */
.showcase-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.showcase-bg.active {
  opacity: 1;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

/* Info panels — stacked, slide + fade transitions */
.showcase-panel {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%) translateX(80px);
  z-index: 3;
  width: 460px;
  max-height: calc(100vh - var(--header-height) - 120px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 16px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.showcase-panel::-webkit-scrollbar {
  display: none;
}

.showcase-panel.active {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.showcase-badge {
  display: inline-block;
  padding: 0;
  background: none;
  color: #E8590C;
  font-size: 1.15rem;
  font-weight: 1000;
  letter-spacing: 0.9px;
  margin-bottom: 16px;
  margin-top: 8px;
}

.showcase-badge--blue {
  color: var(--primary);
}

.showcase-badge--green {
  color: #2B8A3E;
}

.showcase-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.showcase-subtitle {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 10px;
}

.showcase-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
}

.showcase-refs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.showcase-ref-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.showcase-ref-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  background-color: #eee;
}

.showcase-ref-name {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
}

.showcase-cta {
  display: block;
  margin-top: 16px;
  text-align: right;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.showcase-cta:hover {
  color: var(--text-dark);
}

/* Tab bar at bottom */
.showcase-tabs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.showcase-tab {
  flex: 1;
  padding: 16px 12px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  border: none;
  background: none;
  font-family: inherit;
}

.showcase-tab:hover {
  color: rgba(255,255,255,0.8);
}

.showcase-tab.active {
  color: white;
}

/* Slide indicator line */
.showcase-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 5;
  pointer-events: none;
}

.showcase-indicator-bar {
  height: 100%;
  background: var(--primary);
  transition: left 0.4s ease, width 0.4s ease;
  position: absolute;
  top: 0;
}

/* ---------- Solutions Section (legacy) ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.solution-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-dark);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: box-shadow var(--transition), transform var(--transition);
}

.solution-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.20);
  transform: translateY(-4px);
}

.solution-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  z-index: 2;
  pointer-events: none;
  transition: border-color var(--transition);
}

.solution-card:hover::after {
  border-color: var(--primary);
}

.solution-card .solution-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: none;
}

.solution-card:hover .solution-bg {
}

.solution-card .solution-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.05) 100%);
}

.solution-card .solution-content {
  position: relative;
  z-index: 1;
  padding: 32px 28px;
  color: white;
}

.solution-card .solution-label {
  display: inline-block;
  padding: 5px 14px;
  background: transparent;
  border: 1.5px solid var(--primary);
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: white;
  transition: background var(--transition);
}

.solution-card:hover .solution-label {
  background: var(--primary);
}

.solution-card .solution-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.solution-card .solution-content p {
  font-size: 0.88rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 12px;
}

.solution-card .solution-refs {
  font-size: 0.8rem;
  opacity: 0.6;
  line-height: 1.5;
}

.solution-card .solution-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}

.solution-card:hover .solution-arrow {
  gap: 12px;
}

/* ---------- Client Logo Carousel ---------- */
.logo-carousel {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  padding: 16px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: logo-scroll 35s linear infinite;
}

.logo-carousel-track img {
  height: 128px;
  width: 128px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-carousel-track img:hover {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-15 * (128px + 80px))); }
}

@media (max-width: 768px) {
  .logo-carousel {
    padding: 8px 0;
  }
  .logo-carousel-track {
    gap: 40px;
    animation-name: logo-scroll-mobile;
  }
  .logo-carousel-track img {
    height: 64px;
    width: 64px;
  }
  .section--gray.logo-carousel-wrap {
    padding: 20px 0 24px !important;
  }
  @keyframes logo-scroll-mobile {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-15 * (64px + 40px))); }
  }
}

/* ---------- Stats Bar (compact) ---------- */
.stats-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 0;
  flex-shrink: 0;
}

.stats-bar .stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stats-bar .stat-item {
  padding: 24px 16px;
  border-right: 1px solid var(--border);
}

.stats-bar .stat-item:last-child {
  border-right: none;
}

.stats-bar .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stats-bar .stat-label {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: 6px;
}

/* ---------- References Page ---------- */
.ref-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-bottom: 20px;
}

.ref-filter-btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.ref-filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.ref-filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.ref-sector-header {
  text-align: left;
  margin-bottom: 48px;
}

.ref-sector-header h2 {
  font-size: 2rem;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.ref-sector-header p {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0;
}

.ref-sector-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

/* Sector layout: sticky left nav + scrolling content */
.ref-sector-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto 0 5%;
}

.ref-sector-nav {
  position: sticky;
  top: 140px;
  align-self: start;
}

.ref-sector-nav__heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.ref-sector-nav__tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ref-sector-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 16px 0;
  background: none;
  border: none;
  border-top: none;
  border-bottom: 1px solid #F0F0F0;
  font-size: 0.92rem;
  font-weight: 400;
  color: #999;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
  white-space: nowrap;
}

.ref-sector-tab:first-child {
  border-top: 1px solid #F0F0F0;
}

.ref-sector-tab:hover {
  color: #1a1a1a;
}

.ref-sector-tab.active {
  color: #1a1a1a;
  font-weight: 600;
}

.ref-sector-content {
  flex: 1;
  min-width: 0;
  padding-left: 48px;
  border-left: 1px solid #F0F0F0;
}

/* Innovation section overrides (company page) */
#innovation-layout,
#vision-layout {
  padding-top: 48px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
}
#innovation-layout .ref-sector-content,
#vision-layout .ref-sector-content,
#l2l-layout .ref-sector-content {
  border-left: none;
}
#innovation-layout .ref-sector-header,
#vision-layout .ref-sector-header {
  text-align: left;
  margin-bottom: 32px;
}
#innovation-layout .ref-sector-header h2,
#vision-layout .ref-sector-header h2 {
  margin-bottom: 4px;
  padding-bottom: 0;
  border-bottom: none;
}
#innovation-layout .ref-sector-section .ref-sector-header p,
#vision-layout .ref-sector-section .ref-sector-header p,
#l2l-layout .ref-sector-section .ref-sector-header p {
  margin: 0;
  color: var(--text-mid);
}
#innovation-layout .ref-sector-section p,
#vision-layout .ref-sector-section p,
#l2l-layout .ref-sector-section p {
  color: #1a1a1a;
}
.innov-label {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.innov-label--orange { color: #E8590C; }
.innov-label--blue { color: var(--primary); }
.innov-label--green { color: #2B8A3E; }

/* Sticky left display panel */
.innov-sticky-panel {
  position: sticky;
  top: 140px;
  align-self: start;
}
.innov-sticky-panel__label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.innov-sticky-panel__current {
  position: relative;
  min-height: 56px;
  margin-bottom: 24px;
}
.innov-sticky-panel__name {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: block;
}
.innov-color--orange { color: #E8590C; }
.innov-color--blue { color: var(--primary); }
.innov-color--green { color: #2B8A3E; }

.innov-sticky-panel__name.fade-out {
  opacity: 0;
  transform: translateY(8px);
}
.innov-sticky-panel__name.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.innov-sticky-panel__counter {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ccc;
}
.innov-sticky-panel__counter span {
  color: #1a1a1a;
  font-weight: 700;
}

/* Mobile innovation bar (hidden on desktop) */
.innov-mobile-bar {
  display: none;
}
@media (max-width: 1024px) {
  .innov-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: sticky;
    top: 110px;
    z-index: 80;
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #E8E8E8;
    grid-column: 1 / -1;
  }
  .innov-mobile-bar__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-mid);
    white-space: nowrap;
  }
  .innov-mobile-bar__name {
    font-size: 0.95rem;
    font-weight: 800;
    transition: opacity 0.35s ease, transform 0.35s ease;
    white-space: nowrap;
  }
  .innov-mobile-bar__name.fade-out {
    opacity: 0;
    transform: translateY(-6px);
  }
  .innov-mobile-bar__name.fade-in {
    opacity: 1;
    transform: translateY(0);
  }
  .innov-sticky-panel {
    display: none;
  }
  #innovation-layout,
  #vision-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }
  #innovation-layout .ref-sector-content,
  #vision-layout .ref-sector-content {
    padding-left: 0;
    padding-right: 0;
  }
}

.ref-sector-section {
  padding-bottom: 56px;
  margin-bottom: 24px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.ref-sector-section:last-child {
  margin-bottom: 0;
}

/* References mobile bar (hidden on desktop) */
.ref-mobile-bar {
  display: none;
}
.ref-mobile-bar__name {
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
}
.ref-mobile-bar__name.fade-out {
  opacity: 0;
  transform: translateY(-6px);
}
.ref-mobile-bar__name.fade-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .ref-sector-layout {
    grid-template-columns: 200px 1fr;
    gap: 24px;
    margin: 0 auto 0 2%;
  }
  .ref-sector-content {
    padding-left: 24px;
  }
  .ref-sector-nav {
    top: 100px;
  }
  .ref-sector-nav .nv-ftab__dot {
    display: inline-block !important;
  }
}

@media (max-width: 768px) {
  .ref-sector-nav {
    display: none;
  }
  .ref-sector-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ref-sector-content {
    padding-left: 0;
    border-left: none;
    padding-top: 32px;
  }
}

.ref-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 32px;
  max-width: 67%;
  margin-left: auto;
  margin-right: auto;
}

.ref-highlight-card {
  background: var(--bg-white);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.ref-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.ref-highlight-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.ref-highlight-body {
  padding: 28px;
}

.ref-highlight-client {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ref-highlight-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.ref-highlight-body p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.ref-highlight-meta {
  display: flex;
  gap: 12px;
}

.ref-highlight-meta span {
  font-size: 0.8rem;
  color: var(--text-light);
  padding: 4px 10px;
  background: var(--bg-light);
  border-radius: 4px;
}

.ref-compact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.ref-compact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #EBEBEB;
  transition: color 0.2s ease;
}

.ref-compact-item::before {
  display: none;
}

.ref-compact-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.ref-compact-location {
  font-size: 0.85rem;
  font-weight: 400;
  color: #888;
  transition: color 0.2s ease;
  white-space: nowrap;
  margin-left: 16px;
}

.ref-compact-scope {
  font-size: 0.82rem;
  color: var(--text-light);
}

.ref-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.ref-card-mini {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 28px;
  transition: all var(--transition);
}

.ref-card-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .ref-grid-compact {
    grid-template-columns: 1fr;
  }
  .ref-featured-grid {
    grid-template-columns: 1fr !important;
    padding: 0 30px;
  }
}

.ref-featured-grid {
  max-width: 800px;
}

.ref-featured-grid img {
  max-width: 380px;
  height: auto;
}

.ref-card-mini--featured {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 100%);
  border-color: var(--primary);
}

.ref-card-mini-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.ref-card-mini h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.ref-card-mini p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.ref-card-mini-scope {
  font-size: 0.78rem;
  color: var(--text-light);
  padding: 4px 10px;
  background: var(--bg-light);
  border-radius: 4px;
}

/* ---------- Map Container ---------- */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  margin: 24px 0;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ---------- Info Cards ---------- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.info-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

.info-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.info-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-block.reverse {
    direction: ltr;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 0;
    overflow-x: hidden;
  }

  .side-nav {
    display: none;
  }

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

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

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solution-card {
    min-height: 320px;
  }

  .stats-bar .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .ref-highlight-grid {
    grid-template-columns: 1fr;
  }

  .ref-compact-list {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .ref-compact-item {
    align-items: center;
    gap: 8px;
  }
}

@media (max-width: 1024px) {
  .nav-main {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    overflow-y: auto;
  }

  .nav-main.open {
    display: flex;
  }

  .nav-main > li {
    height: auto;
    display: block;
    width: 100%;
  }

  .nav-main > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav-main > li > a::after {
    display: none;
  }

  /* Arrow indicator for items with dropdowns */
  .nav-main > li.has-dropdown > a::after {
    display: block;
    content: '';
    position: static;
    width: 8px;
    height: 8px;
    background: none;
    border: none;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
  }

  .nav-main > li.has-dropdown.dropdown-open > a::after {
    transform: rotate(-135deg);
  }

  .nav-main .dropdown,
  .nav-main > li:hover .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, visibility 0.3s ease;
    min-width: 0;
  }

  .nav-main > li.dropdown-open .dropdown {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
  }

  .nav-main .dropdown a {
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-mid);
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero {
    flex: 1;
  }

  .page-hero {
    height: 220px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: min-content;
    gap: 0 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-col {
    text-align: center;
  }
  /* Left column: stack 제품 정보, 고객지원, 주요실적 tightly */
  .footer-col:nth-child(2) { grid-column: 1; grid-row: 2; padding-bottom: 20px; }
  .footer-col:nth-child(3) { grid-column: 1; grid-row: 3; padding-bottom: 20px; }
  .footer-col:nth-child(4) { grid-column: 1; grid-row: 4; }
  /* Right column: 회사 소개 aligns to top */
  .footer-col:nth-child(5) { grid-column: 2; grid-row: 2 / 5; align-self: start; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stat-item .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.85rem;
  }
}

/* ============================================================
   SHOWCASE — Mobile Redesign (Navien-style)
   ============================================================ */
@media (max-width: 768px) {
  /* No sticky on mobile — hero then showcase in normal flow */
  .scroll-stage {
    height: auto;
  }
  .scroll-stage__hero {
    position: relative;
    top: auto;
    z-index: 1;
    height: calc(100vh - var(--header-height));
  }
  .scroll-stage__showcase {
    position: relative;
    top: auto;
    z-index: 2;
    height: auto;
  }

  /* Container becomes a flex column, not full-viewport */
  .showcase-container {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    background: #fff;
  }

  /* Background image — top portion */
  .showcase-bg {
    position: absolute;
    inset: auto 0 auto 0;
    top: 0;
    height: 28vh;
    z-index: 0;
    background-position: center top;
    transition: opacity 0.3s ease;
  }
  .showcase-overlay {
    height: 28vh;
    inset: auto 0 auto 0;
    top: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 100%);
  }

  /* Reserve space for the background image */
  .showcase-container::before {
    content: '';
    display: block;
    height: 28vh;
    flex-shrink: 0;
  }

  /* Tab bar — segmented indicator overlapping bottom of image */
  .showcase-tabs {
    position: absolute;
    top: calc(28vh - 15px);
    left: 16px;
    right: 16px;
    bottom: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    z-index: 4;
    height: 2px;
    gap: 4px;
  }
  .showcase-tab {
    font-size: 0;
    padding: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    transition: background 0.4s ease;
  }
  .showcase-tab.active {
    background: #fff;
    color: transparent;
  }

  /* Hide the sliding indicator on mobile — tabs themselves show state */
  .showcase-indicator {
    display: none;
  }

  /* Panels — stacked in same grid cell for crossfade transition */
  .showcase-container {
    display: grid;
    grid-template-rows: 28vh auto auto;
  }
  .showcase-container::before {
    display: none;
  }
  .showcase-bg,
  .showcase-overlay {
    grid-row: 1;
    grid-column: 1;
  }
  .showcase-panel {
    grid-row: 2;
    grid-column: 1;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-height: none;
    overflow: visible;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 28px 24px 24px;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: auto !important;
    visibility: hidden;
  }
  .showcase-panel.active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    z-index: 2;
  }

  /* Badge */
  .showcase-badge {
    font-size: 1.0rem;
    margin-bottom: 8px;
  }

  /* Title */
  .showcase-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  /* Subtitle */
  .showcase-subtitle {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  /* Description */
  .showcase-desc {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  /* Reference images */
  .showcase-refs {
    gap: 10px;
    margin-top: 12px;
  }
  .showcase-ref-img {
    border-radius: 8px;
  }
  .showcase-ref-name {
    font-size: 0.7rem;
  }

  /* CTA link */
  .showcase-cta {
    margin-top: 14px;
    font-size: 0.8rem;
  }

  /* Navigation arrows — show on mobile */
  .showcase-nav-arrows {
    display: flex !important;
  }
}

/* Navigation arrows (hidden on desktop) */
.showcase-nav-arrows {
  display: none;
  position: absolute;
  top: calc(28vh + 4px + 16px);
  right: 24px;
  gap: 8px;
  z-index: 10;
}
.showcase-nav-arrow {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #333;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  transition: color 0.2s ease;
}
.showcase-nav-arrow:hover {
  color: var(--primary);
}

/* ============================================================
   TRUST & TECHNOLOGY SECTION (Redesigned)
   ============================================================ */

.tt {
  background: #ffffff;
  padding-bottom: 48px;
}

/* --- ① Section Header (deep blue banner) --- */
.tt-header {
  background: #1B2A4A;
  padding: 72px 0 64px;
  text-align: center;
}

.tt-header__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.tt-header__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.5px;
}

.tt-header__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.tt-header__link {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.tt-header__link:hover {
  border-color: #ffffff;
}

.tt-header__sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
  font-weight: 400;
}

/* --- ② Stats Bar (horizontal) --- */
.tt-stats-bar {
  padding: 56px 0 0;
}

.tt-stats-bar__grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.tt-stats-bar__item {
  flex: 1;
  padding: 0 32px;
}

.tt-stats-bar__item:first-child {
  padding-left: 0;
}

.tt-stats-bar__item:last-child {
  padding-right: 0;
}

.tt-stats-bar__divider {
  width: 1px;
  align-self: stretch;
  background: #E0E0E0;
  flex-shrink: 0;
}

.tt-stats-bar__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #E8590C;
  margin-bottom: 10px;
  position: relative;
  padding-left: 14px;
}

.tt-stats-bar__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E8590C;
}

.tt-stats-bar__label--global {
  color: var(--primary);
}
.tt-stats-bar__label--global::before {
  background: var(--primary);
}

.tt-stats-bar__label--cert {
  color: #2B8A3E;
}
.tt-stats-bar__label--cert::before {
  background: #2B8A3E;
}

.tt-stats-bar__row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 8px;
}

.tt-stats-bar__number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
  letter-spacing: -1px;
}

.tt-stats-bar__unit {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
}

.tt-stats-bar__sub {
  font-size: 0.78rem;
  font-weight: 300;
  color: #999;
  line-height: 1.55;
}

/* --- Slideshow --- */
.tt-slideshow {
  padding: 64px 0 0;
}

.tt-slideshow__stage {
  display: grid;
}

.tt-slide {
  grid-row: 1;
  grid-column: 1;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.tt-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.tt-slide__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  max-width: 900px;
  margin: 0 auto;
}

.tt-slide__image {
  flex: 0 0 420px;
}

.tt-slide__placeholder {
  background: #F7F7F7;
  border: 1px solid #ECECEC;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #aaa;
}

.tt-slide__placeholder--dual {
  gap: 16px;
  background: none;
  border: none;
  height: auto;
  max-height: 300px;
}

.tt-slide__placeholder--dual span {
  flex: 1;
  text-align: center;
  background: #F0F0F0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.tt-slide__placeholder--dual img {
  flex: 1;
  max-height: 300px;
  width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: none;
}

.tt-slide__img-wrap {
  flex: 1;
  display: inline-block;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.tt-slide__img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.tt-slide__text {
  flex: 1;
}

.tt-slide__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid var(--primary);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  cursor: default;
}

.tt-slide__tag--orange { color: #E8590C; border-color: #E8590C; }
.tt-slide__tag--blue { color: #0072CE; border-color: #0072CE; }
.tt-slide__tag--green { color: #2B8A3E; border-color: #2B8A3E; }

.tt-slide__inner:hover .tt-slide__tag--orange { background: #E8590C; color: #fff; }
.tt-slide__inner:hover .tt-slide__tag--blue { background: #0072CE; color: #fff; }
.tt-slide__inner:hover .tt-slide__tag--green { background: #2B8A3E; color: #fff; }

.tt-slide__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.tt-slide__desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: #777;
  line-height: 1.7;
}

/* Controls */
.tt-slideshow__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.tt-slideshow__dots {
  display: flex;
  gap: 8px;
}

.tt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #D8D8D8;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.tt-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.tt-dot:hover {
  background: #999;
}

.tt-dot.active:hover {
  background: var(--primary);
}

.tt-slideshow__counter {
  font-size: 0.8rem;
  font-weight: 400;
  color: #aaa;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.tt-slideshow__counter span {
  font-weight: 700;
  color: #1a1a1a;
}

/* Slideshow responsive */
@media (max-width: 768px) {
  .tt-slide__inner {
    flex-direction: column;
    gap: 20px;
  }
  .tt-slide__image {
    flex: none;
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: visible;
  }
  .tt-slide__image > img {
    max-height: 100%;
    width: auto;
  }
  .tt-slide__placeholder {
    height: 100%;
  }
  .tt-slide__placeholder--dual {
    max-height: 100%;
    height: 100%;
  }
  .tt-slide__placeholder--dual img {
    max-height: 100%;
    box-shadow: none;
  }
  .tt-slide__img-wrap {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin: 0;
  }
  .tt-slide__img-wrap--single {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    margin: 0 12px;
  }
  .tt-slide__placeholder--dual span {
    box-shadow: none;
  }
  .tt-slide__placeholder {
    background: none;
    border: none;
  }
  .tt-slide__text {
    text-align: center;
    margin-top: 10px;
  }
  .tt-slide__title {
    font-size: 1.4rem;
    line-height: 1.6;
  }
  .tt-slideshow__stage {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .tt-slide__image {
    height: 200px;
  }
  .tt-slide__title {
    font-size: 1.2rem;
  }
}

/* --- ③ Logo Belt --- */
.tt-belt {
  padding: 40px 0;
  border-top: none;
  border-bottom: 1px solid #E8E8E8;
  margin-top: 0;
  background: #ffffff;
}

.tt-belt__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.tt-belt__item {
  text-align: center;
}

.tt-belt__logo {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  object-fit: contain;
  display: block;
}

.tt-belt__item span {
  display: none;
}

/* --- 더보기 link --- */
.tt-more-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 10px 28px;
  border: 1.5px solid var(--primary);
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}
.tt-more-link:hover {
  background: var(--primary);
  color: #fff;
}

/* --- ④ Detail Grid (Tabbed table) --- */
.tt-detail {
  padding: 48px 0 80px;
}

.tt-detail__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.tt-detail__tab {
  position: relative;
  padding: 16px 32px;
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.25s ease;
}

.tt-detail__tab:hover {
  color: var(--text-dark);
}

.tt-detail__tab.active {
  color: var(--text-dark);
  font-weight: 700;
}

.tt-detail__tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.tt-detail__panel {
  display: none;
}

.tt-detail__panel.active {
  display: block;
}

/* --- Table --- */
.tt-table {
  width: 100%;
  border-collapse: collapse;
}

.tt-table thead th {
  padding: 14px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.tt-table tbody tr {
  border-bottom: 1px solid #F0F0F0;
  transition: background 0.15s ease;
}

.tt-table tbody tr:hover {
  background: #FAFBFC;
}

.tt-table tbody td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-mid);
  vertical-align: middle;
}

.tt-table tbody td:first-child {
  width: 72px;
}

.tt-table tbody td:nth-child(3) {
  font-size: 0.8rem;
  color: #999;
  font-family: 'Noto Sans KR', monospace;
}

.tt-table tbody td:last-child {
  width: 64px;
  text-align: right;
}

/* Badges */
.tt-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  background: #F0F0F0;
  color: #888;
}

.tt-badge--global {
  background: #E8F4FD;
  color: var(--primary);
}

.tt-badge--core {
  background: #FFF3E0;
  color: #E67E22;
}

/* View button */
.tt-view {
  background: none;
  border: 1px solid #DDD;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tt-view:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* --- Modal --- */
.tt-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tt-modal.open {
  display: flex;
}

.tt-modal__inner {
  background: #fff;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.tt-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.tt-modal__close:hover {
  color: var(--text-dark);
}

.tt-modal__placeholder {
  padding: 80px 40px;
  text-align: center;
  font-size: 0.9rem;
  color: #999;
  background: #F5F5F5;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .tt-belt__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .tt-header {
    padding: 48px 0 40px;
  }
  .tt-header__title {
    font-size: 1.6rem;
  }
  .tt-header__desc {
    font-size: 0.95rem;
  }
  .tt-stats-bar__grid {
    flex-direction: column;
    gap: 28px;
  }
  .tt-stats-bar__item {
    padding: 0;
  }
  .tt-stats-bar__divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }
  .tt-stats-bar__number {
    font-size: 2.2rem;
  }
  .tt-belt__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .tt-detail__tab {
    padding: 14px 18px;
    font-size: 0.85rem;
  }
  .tt-table thead {
    display: none;
  }
  .tt-table tbody tr {
    display: block;
    padding: 16px;
    border-bottom: 1px solid #F0F0F0;
  }
  .tt-table tbody td {
    display: block;
    padding: 2px 0;
    border: none;
  }
  .tt-table tbody td:first-child {
    width: auto;
    margin-bottom: 6px;
  }
  .tt-table tbody td:last-child {
    width: auto;
    text-align: left;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .tt-header__title {
    font-size: 1.35rem;
  }
  .tt-stats-bar__number {
    font-size: 1.8rem;
  }
  .tt-belt__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .tt-belt__item {
    flex: 0 0 auto;
  }
  .tt-detail__tab {
    padding: 12px 12px;
    font-size: 0.8rem;
  }
}

/* --- Ref tab panels (주요 실적 page tabs) --- */
.ref-tab-panel {
  display: none;
}

.ref-tab-panel.active {
  display: block;
}

/* ============================================================
   NAVIEN-STYLE EDITORIAL COMPONENTS (nv-*)
   Used on product detail pages (i-ONE, etc.)
   ============================================================ */

/* ① Full-width hero banner */
.nv-banner {
  background: #1B2A4A;
  padding: 100px 24px;
  background-size: cover;
  background-position: center;
}

.nv-banner--image {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: none;
}

.nv-banner__bg-img {
  display: block;
  width: 100%;
  height: auto;
}

.nv-banner--image .nv-banner__inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px;
}

.nv-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.nv-banner__inner--right {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}

.nv-banner__mobile-img {
  display: none;
}

.nv-banner__title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.nv-banner__desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .nv-banner--image {
    display: none;
  }
}

@media (max-width: 768px) {
  .nv-banner {
    padding: 48px 16px;
    min-height: auto;
  }
  .nv-banner--image {
    display: none;
  }
  .nv-banner__bg-img {
    display: none;
  }
  .nv-banner--image .nv-banner__inner {
    position: static;
    padding: 0;
  }
  .nv-banner--image .nv-banner__inner--right {
    text-align: left;
  }
  .nv-banner--image .nv-banner__title {
    color: #000000;
    font-size: 1.6rem;
  }
  .nv-banner--image .nv-banner__desc {
    color: #555;
    font-size: 0.9rem;
  }
  .nv-banner__mobile-img {
    display: block;
    width: 100%;
    margin-top: 24px;
  }
  .nv-banner__title {
    font-size: 1.6rem;
  }
}

/* ① -b Intro — two-column */
.nv-intro {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding: 80px 0 64px;
  border-bottom: 1px solid #E8E8E8;
}

.nv-intro__left {
  flex: 0 0 380px;
}

.nv-intro__title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.45;
  letter-spacing: -0.5px;
}

.nv-intro__right {
  flex: 1;
  padding-top: 12px;
}

.nv-intro__desc {
  font-size: 1rem;
  font-weight: 300;
  color: #555;
  line-height: 1.85;
}

/* ② Hero Image */
.nv-hero-img {
  margin: 56px 0;
}

.nv-hero-img img {
  width: 100%;
  display: block;
}

/* ③ Feature Tabs — Navien 핵심기술 style */
.nv-features {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding: 48px 0;
  border-top: none;
  max-width: 960px;
  margin: 0 auto;
}

.nv-features__left {
  flex: 0 0 260px;
  position: sticky;
  top: 140px;
  padding-right: 48px;
}

.nv-features__heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.5;
  letter-spacing: -0.3px;
  margin-bottom: 32px;
}

.nv-features__tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nv-ftab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 18px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #F0F0F0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 400;
  color: #999;
  transition: color 0.2s;
  text-align: left;
}

.nv-ftab:first-child {
  border-top: 1px solid #F0F0F0;
}

.nv-ftab:hover {
  color: #1a1a1a;
}

.nv-ftab.active {
  color: #1a1a1a;
  font-weight: 600;
}

.nv-ftab__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D8D8D8;
  flex-shrink: 0;
  transition: background 0.2s;
}

.nv-ftab.active .nv-ftab__dot,
.ref-sector-tab.active .nv-ftab__dot {
  background: #E8590C;
}
.nv-ftab.active .nv-ftab__dot--blue,
.ref-sector-tab.active .nv-ftab__dot--blue {
  background: var(--primary);
}
.nv-ftab.active .nv-ftab__dot--green,
.ref-sector-tab.active .nv-ftab__dot--green {
  background: #2B8A3E;
}

.nv-features__right {
  flex: 1;
  padding-left: 72px;
  border-left: 1px solid #F0F0F0;
}

/* Feature panels — fade */
.nv-fpanel {
  padding-top: 60px;
  padding-bottom: 80px;
  margin-bottom: 80px;
  border-bottom: 1px solid #F0F0F0;
}

.nv-fpanel:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.nv-fpanel__img {
  background: #F5F5F5;
  width: 90%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 32px;
}

.nv-fpanel__img--compare {
  background: none;
  aspect-ratio: auto;
  gap: 16px;
}
.nv-fpanel__img--single-hover {
  gap: 0;
}
.nv-compare__item {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.nv-compare__item img {
  width: 100%;
  height: auto;
  display: block;
}
.nv-compare__hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
@media (hover: hover) {
  .nv-compare__item:hover .nv-compare__hover {
    opacity: 1;
  }
}

/* Mobile: auto fade slideshow instead of hover */
/* 6s total: 2s base → 1s fade in → 2s after → 1s fade out */
@keyframes compareFade {
  0%, 33.3%  { opacity: 0; }
  50%, 83.3% { opacity: 1; }
  100%       { opacity: 0; }
}
@media (max-width: 1024px) {
  .nv-compare__hover {
    animation: compareFade 6s ease-in-out infinite;
  }
}

.nv-fpanel__title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  line-height: 1.4;
}

.nv-fpanel__desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: #555;
  line-height: 1.8;
}

/* ④ Trust Section */
.nv-trust {
  padding: 72px 0;
  border-top: 1px solid #E8E8E8;
}

.nv-trust__inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.nv-trust__left {
  flex: 0 0 320px;
}

.nv-trust__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.5;
  letter-spacing: -0.3px;
}

.nv-trust__right {
  flex: 1;
}

.nv-trust__desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: #555;
  line-height: 1.8;
  margin-bottom: 28px;
}

.nv-trust__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.nv-trust__badge {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 5px 14px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.nv-trust__badge:hover {
  background: var(--primary);
  color: #fff;
}

.nv-trust__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nv-trust__link:hover {
  opacity: 0.7;
}

/* COPRA EC Plug Fan Slideshow */
.copra-slideshow__stage {
  position: relative;
}
.copra-slide {
  display: none;
}
.copra-slide.active {
  display: block;
}
.copra-slide__image {
  width: 100%;
}
.copra-slide__image img {
  width: 100%;
  height: auto;
  display: block;
}
.copra-slide__caption {
  font-size: 0.85rem;
  color: var(--text-mid);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}
.copra-slideshow__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.copra-slideshow__dots {
  display: flex;
  gap: 8px;
}
.copra-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #D8D8D8;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.copra-dot.active {
  background: var(--primary);
}
/* Chillers big number style */
.nv-fpanel__num {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.nv-fpanel__num--orange { color: #E8590C; }
.nv-fpanel__num--blue { color: var(--primary); }
.nv-fpanel__num--green { color: #2B8A3E; }

/* COPRA image sizing */
.copra-img-wrap {
  width: 50%;
  max-width: 400px;
  margin: 0 0 60px;
  aspect-ratio: auto;
  background: none;
}
.copra-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 1024px) {
  .copra-img-wrap {
    width: 70%;
    max-width: 400px;
    margin: 0 auto 40px;
    aspect-ratio: auto;
  }
}

/* COPRA bullet list */
.copra-bullets {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.copra-bullets li {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #555;
  padding-left: 1.2em;
  position: relative;
}
.copra-bullets li::before {
  content: "●";
  position: absolute;
  left: 0;
  font-size: 0.5em;
  top: 0.85em;
  color: var(--primary);
}

/* COPRA side-by-side layout */
.copra-fpanel__row {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}
.copra-fpanel__left {
  flex: 0 0 55%;
  min-width: 0;
}
.copra-fpanel__right {
  flex: 1;
  min-width: 0;
}
.copra-fpanel__right .copra-slide__caption {
  text-align: left;
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #555;
}
@media (max-width: 1024px) {
  .copra-fpanel__row {
    flex-direction: column;
    gap: 20px;
  }
  .copra-fpanel__left {
    flex: none;
    width: 100%;
  }
  .copra-fpanel__right .copra-slide__caption {
    text-align: center;
  }
}

/* ④-v2 Trust Section (air-handling redesign) */
.nv-trust-v2 {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 0 64px;
  border-top: 1px solid #E8E8E8;
}

.nv-trust-v2__columns {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.nv-trust-v2__left {
  flex: 0 0 260px;
  padding-right: 48px;
  position: sticky;
  top: 140px;
}

.nv-trust-v2__right {
  flex: 1;
  padding-left: 72px;
  border-left: 1px solid #F0F0F0;
}

.nv-trust-v2__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.5;
  letter-spacing: -0.3px;
}

.nv-trust-v2__desc {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000000 !important;
  line-height: 1.6;
  margin-bottom: 56px !important;
}

.nv-trust-v2__patents {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
}

.nv-trust-v2__patent-item {
  flex: 1;
  height: 240px;
  overflow: visible;
}

.nv-trust-v2__patent-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.nv-trust-v2__belt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 0;
}

@media (max-width: 1024px) {
  .nv-trust-v2__columns {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .nv-trust-v2__left {
    flex: none;
    padding-right: 0;
    position: static;
    text-align: center;
    width: 100%;
  }
  .nv-trust-v2__right {
    padding-left: 0;
    border-left: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .nv-trust-v2__title {
    font-size: 1.25rem;
  }
  .nv-trust-v2__desc {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
  }
  .nv-trust-v2__patents {
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    width: 100%;
  }
  .nv-trust-v2__patent-item {
    height: 200px;
  }
}


/* ⑥ Type Selector (Chillers: 만액식/모듈식 cards) */
.nv-type-selector {
  padding: 48px 0 32px;
  background: #F5F5F7;
}

.nv-type-selector .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nv-type-selector__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}

.nv-type-selector__card {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 20px;
  padding: 32px 32px 28px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}

.nv-type-selector__card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: scale(1.02);
}

.nv-type-selector__card--active {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  outline: none;
  transform: scale(1.04);
}

.nv-type-selector__card.nv-type-selector__card--active:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.nv-type-selector__card.nv-type-selector__card--active:hover .nv-type-selector__img {
  transform: scale(1.10) !important;
}

.nv-type-selector__card--active::after {
  content: none;
}

.nv-type-selector__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.nv-type-selector__img {
  width: 100%;
  background: transparent;
  border-radius: 0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
  overflow: hidden;
  transition: transform 0.3s;
}

.nv-type-selector__card:not(.nv-type-selector__card--active):hover .nv-type-selector__img {
  transform: scale(1.10);
}

.nv-type-selector__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.nv-type-selector__desc {
  font-size: 0.88rem;
  font-weight: 400;
  color: #777;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .nv-type-selector__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nv-type-selector__card {
    padding: 24px 20px 20px;
  }
  .nv-type-selector__title {
    font-size: 1.05rem;
  }
}

/* Compact variant for type selector under hero */
.nv-type-selector--compact {
  padding: 48px 0 48px;
}

.nv-type-selector--compact .container {
  max-width: 600px;
}

.nv-type-selector--compact .nv-type-selector__grid {
  gap: 60px;
}

.nv-type-selector--compact .nv-type-selector__card {
  padding: 25px 32px 36px;
  border-radius: 20px;
  border: none;
  overflow: visible;
}

.nv-type-selector--compact .nv-type-selector__img {
  max-width: 90%;
  margin: 0 auto 14px;
  padding-top: 10px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  transform: scale(1.10);
}

.nv-type-selector--compact .nv-type-selector__title {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: left;
  margin-bottom: 20px;
}

.nv-type-selector--compact .nv-type-selector__desc {
  font-size: 0.90rem;
  text-align: center;
  color: #D0D0D0;
  transition: color 0.35s ease;
}

.nv-type-selector--compact .nv-type-selector__card:hover .nv-type-selector__desc {
  color: #5c5c5c;
}

.nv-type-selector--compact .nv-type-selector__card--active .nv-type-selector__desc {
  color: #5c5c5c;
}

@media (max-width: 768px) {
  .nv-type-selector--compact .nv-type-selector__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .nv-type-selector--compact .nv-type-selector__card {
    padding: 18px 18px 15px;
    border-radius: 16px;
  }
  .nv-type-selector--compact .nv-type-selector__img {
    max-width: none;
    border-radius: 10px;
  }
  .nv-type-selector--compact .nv-type-selector__title {
    font-size: 1.1rem;
  }
  .nv-type-selector--compact .nv-type-selector__desc {
    font-size: 0.80rem;
  }
}

/* Banner placeholder variant */
.nv-banner--placeholder {
  background: #fff;
  padding: 48px 24px 32px;
}

.nv-banner__placeholder {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #E8E8E8;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 1rem;
}

/* ⑤ CTA */
.nv-cta {
  margin-top: 0;
  padding: 28px 0;
  background: #F7F7F7;
}

.nv-cta__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nv-cta__left {
  flex: 1;
}

.nv-cta__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #000000 !important;
  margin-bottom: 8px;
}

.nv-cta__desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: #777 !important;
  line-height: 1.6;
  margin-bottom: 0;
}

.nv-cta__right {
  text-align: center;
}

.nv-cta__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary) !important;
  margin-bottom: 4px;
}

.nv-cta__phone {
  font-size: 1.6rem;
  font-weight: 800;
  color: #000000 !important;
  white-space: nowrap;
}

.nv-cta__hours {
  font-size: 0.8rem;
  font-weight: 400;
  color: #999;
}

.nv-cta__actions {
  display: flex;
  gap: 12px;
}

.nv-cta__btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 24px;
  transition: background 0.2s, border-color 0.2s;
}

.nv-cta__btn:hover {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}

.nv-features-mobile-bar {
  display: none;
}

/* Navien components responsive */
@media (max-width: 1024px) {
  .nv-intro {
    flex-direction: column;
    gap: 24px;
  }
  .nv-intro__left {
    flex: none;
  }
  .category-content {
    padding-top: 0;
  }
  .nv-features {
    flex-direction: column;
    gap: 0;
    padding-top: 0;
    border-top: none;
    align-items: stretch;
  }
  .nv-features__left {
    display: none;
  }
  .nv-features__heading {
    display: none;
  }
  .nv-ftab__dot {
    display: none;
  }
  .nv-features-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: var(--header-height);
    background: #fff;
    z-index: 79;
    padding: 10px 0;
    border-bottom: 1px solid #E8E8E8;
    margin-left: -24px;
    margin-right: -24px;
    width: calc(100% + 48px);
  }
  .nv-features-mobile-bar__name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.3px;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .nv-features-mobile-bar__name.fade-out {
    opacity: 0;
    transform: translateY(4px);
  }
  .nv-features-mobile-bar__prefix {
    color: #aaa;
    font-weight: 500;
  }
  .nv-features-mobile-bar__name.fade-in {
    opacity: 1;
    transform: translateY(0);
  }
  .nv-features__tabs {
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
  }
  .nv-features__tabs::-webkit-scrollbar {
    display: none;
  }
  .nv-ftab {
    padding: 14px 0;
    white-space: nowrap;
    border-bottom: 2px solid #F0F0F0;
    border-top: none;
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  .nv-ftab:first-child {
    border-top: none;
  }
  .nv-ftab:nth-child(3n+1).active {
    border-bottom-color: #E8590C;
  }
  .nv-ftab:nth-child(3n+2).active {
    border-bottom-color: var(--primary);
  }
  .nv-ftab:nth-child(3n+3).active {
    border-bottom-color: #2B8A3E;
  }
  .nv-features__right {
    padding-left: 0;
    border-left: none;
    min-height: auto;
    padding-top: 20px;
  }
  .nv-fpanel {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .nv-fpanel__img {
    width: 100%;
  }
  .nv-fpanel__title {
    font-size: 1.45rem;
  }
  .nv-trust__title {
    font-size: 1.25rem;
  }
  .nv-cta {
    padding: 36px 24px;
  }
  .nv-cta__inner {
    flex-direction: column;
    text-align: center;
    padding: 0;
    gap: 24px;
  }
  .nv-cta__phone {
    font-size: 1.3rem;
  }
}

/* ============================================================
   CATEGORY PAGES (Navien-style layout)
   ============================================================ */

.category-hero {
  margin-top: var(--header-height);
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.category-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 480px;
  gap: 40px;
}

.category-hero--compact .category-hero__inner {
  min-height: 320px;
}

.category-hero--compact .category-hero__title {
  font-size: 2.8rem;
}

.category-hero--compact .category-hero__desc {
  font-size: 1.05rem;
}

.category-hero__text {
  flex: 0 0 auto;
  max-width: 480px;
}

.category-hero__title {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text-dark);
}

.category-hero__desc {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-top: 20px;
  line-height: 1.7;
}

.category-hero__image {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.category-hero__image img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.category-tabs-wrap {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.category-tabs {
  display: flex;
  gap: 0;
}

.category-tab {
  position: relative;
  padding: 18px 36px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.25s ease;
}

.category-tab:hover {
  color: var(--text-dark);
}

.category-tab.active {
  color: var(--text-dark);
  font-weight: 700;
}

.category-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}
.category-tab:nth-child(3n+1).active::after {
  background: #E8590C;
}
.category-tab:nth-child(3n+2).active::after {
  background: var(--primary);
}
.category-tab:nth-child(3n+3).active::after {
  background: #2B8A3E;
}

.category-content {
  max-width: 1100px;
  padding: 0 0 100px;
}

.category-panel {
  display: none;
}

.category-panel.active {
  display: block;
}

.category-panel h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.category-panel h3 {
  font-size: 1.3rem;
  margin: 32px 0 16px;
  color: var(--primary-dark);
}

.category-panel p {
  margin-bottom: 16px;
  color: var(--text-mid);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .category-hero__inner {
    min-height: 380px;
  }
  .category-hero--compact .category-hero__inner {
    min-height: 260px;
  }
  .category-hero__image img {
    max-height: 340px;
  }
  .page-refs .category-tab.active::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .category-hero__inner {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding: 48px 0 32px;
    gap: 24px;
  }
  .category-hero__text {
    max-width: 100%;
  }
  .category-hero__title {
    font-size: 2.4rem;
  }
  .category-hero__desc {
    font-size: 1rem;
  }
  .category-hero__image img {
    max-height: 260px;
  }
  .category-tabs {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .category-tabs::-webkit-scrollbar {
    display: none;
  }
  .category-tab {
    padding: 14px 12px;
    font-size: 0.9rem;
    white-space: normal;
    flex: 1;
    text-align: center;
  }
  .category-content {
    padding: 0 0 60px;
  }
}

@media (max-width: 480px) {
  .category-hero__title {
    font-size: 2rem;
  }
  .category-tab {
    padding: 12px 8px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .page-content {
    text-align: center;
    overflow-x: hidden;
  }
  .page-content .feature-list {
    list-style: none;
    padding-left: 0;
  }
  .page-content .spec-table {
    margin: 0 auto;
    display: block;
    overflow-x: auto;
  }
  .tabs {
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .ref-featured-grid img {
    box-shadow: none;
  }
}

/* ====== L2L TABLET: keep desktop layout ====== */
@media (max-width: 1024px) {
  #l2l-layout {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }
  #l2l-layout .vision-sticky-panel {
    display: block !important;
  }
}
@media (max-width: 768px) {
  #l2l-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #l2l-layout .vision-sticky-panel {
    display: none !important;
  }
}

/* ====== L2L MOBILE LABELS (disabled) ====== */
.l2l-mobile-label {
  display: none;
}

/* ====== L2L MOBILE COLOR SECTIONS ====== */
@media (max-width: 768px) {
  #l2l-why-lc h3,
  #l2l-why-l2l h3 {
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 20px;
  }
  #l2l-why-lc .l2l-article__list,
  #l2l-why-l2l .l2l-article__list {
    margin-bottom: 32px;
  }
  #l2l-why-lc .l2l-article__list li::before,
  #l2l-why-l2l .l2l-article__list li::before {
    content: "–";
    color: #E8590C !important;
  }
}

/* ====== L2L ARTICLE ====== */
.l2l-article-section {
  padding: 48px 0 32px;
}
.l2l-article-section + .l2l-article-section {
  border-top: 1px solid var(--border);
}
.l2l-article__heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}
.l2l-article__block {
  margin-bottom: 36px;
}
.l2l-article__block:last-child {
  margin-bottom: 0;
}
.l2l-article__subheading {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.l2l-article__block p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 300;
}
.l2l-article__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.l2l-article__list li {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 300;
  padding-left: 1.2em;
  position: relative;
}
.l2l-article__list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #E8590C;
}

@media (max-width: 768px) {
  .l2l-article-section {
    padding: 36px 0 24px;
  }
  .l2l-article__heading {
    font-size: 1.4rem;
    margin-bottom: 24px;
  }
  .l2l-article__subheading {
    font-size: 1.05rem;
  }
  .l2l-article__block {
    margin-bottom: 28px;
  }
}

/* L2L Source */
.l2l-source {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}
.l2l-source__title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #d5d5d5 !important;
  margin-bottom: 6px;
}
.l2l-source p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: #d5d5d5 !important;
  margin-bottom: 3px;
}
.l2l-source em {
  color: #d5d5d5;
}
.l2l-source a {
  color: #d5d5d5 !important;
  text-decoration: underline;
}
.l2l-source a:hover {
  color: #aaa !important;
}

/* L2L CTA */
.l2l-cta {
  padding: 100px 0;
  text-align: center;
}
.l2l-cta__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.l2l-cta__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.l2l-cta__btn {
  display: inline-block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  padding-bottom: 4px;
  transition: opacity 0.2s ease;
}
.l2l-cta__btn:hover {
  opacity: 0.75;
}