/* Asan Precision (아산정공㈜) · Wuxi Xianzhang (무석선장 · 无锡仙掌) Flagship Global B2B Website CSS (v7)
   Architectural Design System:
   - 90% Crisp Architectural Neutrals: Pure White (#ffffff), Cool Alabaster (#f8fafc), Slate Border (#e2e8f0), Deep Obsidian (#0b130e ~ #111c16)
   - 10% Precision Asan Signature Green Accent (#1e8e45 · #279e4f · #10b981)
   - Single-tier Luxury GNB (no noisy top bar, no duplicate logo text), Connected Timeline, Unobstructed Building Photos, Zero Nested Border Clutter */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --bg-obsidian: #0a120e;
  --bg-dark: #0f1c15;
  --bg-forest: #162a1f;
  --bg-light: #f8fafc;
  --bg-soft: #f1f5f9;
  --bg-tint: #f2f9f5;
  --bg-white: #ffffff;
  --primary: #157336;
  --primary-bright: #167a39;
  --primary-hover: #115e2b;
  --brand: #34d399;
  --brand-soft: #d1fae5;
  --accent-soft: #ecfdf5;
  --text-hdr: #0f172a;
  --text-main: #1e293b;
  --text-sub: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-strong: #cbd5e1;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 14px 34px -6px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(10, 18, 14, 0.28);
  --container-max: 1340px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  accent-color: var(--primary);
}

body {
  font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

html[lang="zh"] body {
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Pretendard Variable", sans-serif;
  word-break: normal;
  overflow-wrap: anywhere;
}

.hero-grid > *, .kpi-grid > *, .grid-4 > *, .grid-3 > *, .grid-2 > *,
.editorial-feature-row > *, .media-split-card > *, .vision-split-grid > *,
.facility-split-grid > *, .product-showcase-row > *, .tech-split-card > *,
.cert-museum-card > *, .contact-studio-grid > *, .form-grid > *, .footer-grid > * {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* 1. Single-Tier Luxury Architectural Header & GNB */
.site-header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 0;
  flex-shrink: 0;
}

.official-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 24px;
  background-color: var(--border-strong);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-global-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.07em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub-entity {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
  color: var(--text-hdr);
  padding: 7px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.header-center-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  padding: 27px 11px;
  font-size: 0.89rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.18s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background-color: transparent;
  transition: background-color 0.18s ease;
}

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

.nav-link:hover::after {
  background-color: rgba(30, 142, 69, 0.3);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 800;
}

.nav-link.active::after {
  background-color: var(--primary);
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.02em;
}

.lang-btn:hover {
  color: var(--text-hdr);
}

.lang-btn.active {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-obsidian);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--bg-obsidian);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* 2. Full-Bleed Architectural Hero + Elevated Floating Metric Bridge */
.hero-section {
  position: relative;
  background:
    radial-gradient(circle at 80% 18%, rgba(39, 158, 79, 0.24), transparent 42%),
    radial-gradient(circle at 15% 85%, rgba(16, 185, 129, 0.12), transparent 40%),
    linear-gradient(125deg, rgba(10, 18, 14, 0.96) 0%, rgba(15, 28, 21, 0.92) 55%, rgba(20, 40, 29, 0.88) 100%),
    url("../assets/hero_factory_line.png?v=20261101_09");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 68px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #6ee7b7;
  background: rgba(30, 142, 69, 0.2);
  border: 1px solid rgba(110, 231, 183, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}

.hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.hero-title {
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.04rem;
  color: #cbd5e1;
  margin-bottom: 28px;
  line-height: 1.72;
  max-width: 650px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.79rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 2px solid var(--brand);
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  color: #f1f5f9;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary-bright);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-bright);
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 8px 20px -4px rgba(39, 158, 79, 0.45);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

/* Hero Right Layered Editorial Stage */
.hero-visual-stage {
  background: rgba(15, 28, 21, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.visual-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.visual-card-sub {
  font-size: 0.76rem;
  color: #6ee7b7;
  margin-top: 3px;
  font-weight: 600;
}

.hero-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-bento-main {
  grid-column: 1 / -1;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a120e;
}

.hero-bento-main img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

.hero-bento-sub {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.hero-bento-sub img {
  width: 100%;
  height: 124px;
  object-fit: cover;
}

.hero-bento-cap {
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f8fafc;
  background: rgba(10, 18, 14, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-bento-tag {
  font-size: 0.65rem;
  color: #34d399;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(52, 211, 153, 0.14);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Integrated Hero Bottom Metric Bar */
.hero-metric-bar {
  background: rgba(8, 15, 11, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 3px solid var(--primary-bright);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.kpi-cell {
  padding: 26px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kpi-cell:last-child {
  border-right: none;
}

.kpi-idx {
  font-size: 0.68rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.12em;
}

.kpi-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.kpi-label {
  font-size: 0.81rem;
  color: #94a3b8;
  line-height: 1.48;
}

/* 3. Subpage Architectural Header with Background Visual & Key Metric Pill */
.page-hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 25%, rgba(39, 158, 79, 0.25), transparent 45%),
    linear-gradient(120deg, rgba(10, 18, 14, 0.95) 0%, rgba(15, 28, 21, 0.90) 65%, rgba(22, 44, 32, 0.86) 100%),
    url("../assets/hq_cheongna.png?v=20261101_09");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 52px 0 48px;
  border-bottom: 3px solid var(--primary-bright);
}

.page-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #6ee7b7;
  background: rgba(30, 142, 69, 0.22);
  border: 1px solid rgba(110, 231, 183, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.page-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.page-hero-sub {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 780px;
  line-height: 1.65;
}

/* 4. Section Architecture & Editorial Headers */
.section {
  padding: 72px 0;
}

.section-white {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-dark {
  background: linear-gradient(180deg, #0a120e 0%, #101e16 100%);
  color: #ffffff;
  padding: 76px 0;
  border-top: 1px solid rgba(52, 211, 153, 0.2);
  border-bottom: 1px solid rgba(52, 211, 153, 0.2);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sec-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background-color: var(--primary);
  display: inline-block;
}

.section-dark .sec-eyebrow {
  color: #34d399;
}

.section-dark .sec-eyebrow::before {
  background-color: #34d399;
}

.sec-title {
  font-size: 1.78rem;
  font-weight: 800;
  color: var(--text-hdr);
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.section-dark .sec-title {
  color: #ffffff;
}

.sec-sub {
  font-size: 0.96rem;
  color: var(--text-sub);
  margin-top: 8px;
  max-width: 780px;
}

.section-dark .sec-sub {
  color: #94a3b8;
}

.sec-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-hdr);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  transition: all 0.18s ease;
}

.sec-more:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.section-dark .sec-more {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.section-dark .sec-more:hover {
  background: var(--primary-bright);
  border-color: var(--primary-bright);
}

/* 5. Flagship Editorial Feature Row & Clean Split Cards (Zero Nested Border Clutter) */
.editorial-feature-row {
  display: grid;
  grid-template-columns: 5.2fr 6.8fr;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

.editorial-media-col {
  position: relative;
  background: #0f1c15;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.editorial-media-col img.main-photo {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.editorial-media-foot {
  color: #e2e8f0;
  padding-top: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.03em;
}

.editorial-body-col {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.media-split-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 16px;
  gap: 20px;
  align-items: center;
}

.media-split-img {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 205px;
  border: 1px solid var(--border-color);
}

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

.media-split-body {
  padding: 6px 8px 6px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* 6. Product Horizontal Showcase Rows (products.html - Framed Image + Clean Spec Grid) */
.product-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 56px;
}

.product-showcase-row {
  display: grid;
  grid-template-columns: 4.3fr 7.7fr;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-showcase-row:hover {
  border-color: #94a3b8;
  box-shadow: var(--shadow-md);
}

.product-showcase-media {
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 248px;
}

.product-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

.product-showcase-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding-right: 12px;
}

/* 7. Vision Split & Connected Milestone Bar (company.html) */
.vision-split-grid {
  display: grid;
  grid-template-columns: 4.6fr 7.4fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  margin-bottom: 56px;
}

.vision-dark-panel {
  background: linear-gradient(155deg, #0a120e 0%, #14281d 100%);
  color: #ffffff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.vision-quote-title {
  font-size: 1.52rem;
  font-weight: 800;
  line-height: 1.42;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.vision-ci-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.vision-ci-chip {
  background: #ffffff;
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
}

.vision-ci-chip img {
  height: 22px;
  width: auto;
}

.vision-light-panel {
  background: var(--bg-white);
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.milestone-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
}

.milestone-item {
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
  transition: border-color 0.15s ease;
}

.milestone-item::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-bottom: 8px;
  box-shadow: 0 0 0 3px rgba(30, 142, 69, 0.16);
}

.milestone-year {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-hdr);
}

.milestone-txt {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-top: 3px;
}

/* Unobstructed Facility Cards (No Badge Covering Building Sign!) */
.facility-split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.facility-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.facility-photo-frame {
  position: relative;
  width: 100%;
  height: 265px;
  background: #0a120e;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.facility-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-loc-badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--accent-soft);
  color: var(--primary);
  border: 1px solid #a7f3d0;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.facility-panel-body {
  padding: 4px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 8. Process Cards & 2x2 Tech Split Cards (Clean Header Pill Instead of Heavy Black Bar) */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.process-step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.section-dark .process-step-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-hdr);
}

.process-step-top span:first-child {
  background: var(--bg-obsidian);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
}

.section-dark .process-step-top span:first-child {
  background: var(--primary-bright);
  color: #ffffff;
}

.process-step-top span.step-code {
  color: var(--primary);
  font-weight: 800;
}

.section-dark .process-step-top span.step-code {
  color: #6ee7b7;
}

.process-step-img {
  width: 100%;
  height: 195px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.section-dark .process-step-img {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0a120e;
}

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

.process-step-body {
  padding: 2px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-dark .process-step-body .card-title {
  color: #ffffff;
}

.section-dark .process-step-body .card-desc {
  color: #cbd5e1;
}

.tech-split-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.tech-split-img {
  background: var(--bg-soft);
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

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

.tech-split-body {
  padding: 4px 8px 4px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* 9. Dedicated Vertical A4 Certificate Museum Showcase (quality.html) */
.cert-museum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.cert-museum-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.cert-a4-frame {
  background: var(--bg-soft);
  padding: 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.cert-a4-frame img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.cert-museum-info {
  padding: 6px 8px 6px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.lab-banner-card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: linear-gradient(135deg, #0a120e 0%, #14281d 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(52, 211, 153, 0.25);
  margin-bottom: 52px;
  box-shadow: var(--shadow-md);
}

.lab-banner-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.lab-banner-photos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #ffffff;
  border-radius: var(--radius-sm);
}

.lab-banner-body {
  padding: 8px 16px 8px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Common Card Typography & Clean Spec Lists (No Heavy Double Borders) */
.card-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid #a7f3d0;
  padding: 4px 11px;
  border-radius: 999px;
}

.card-title {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--text-hdr);
  line-height: 1.36;
  letter-spacing: -0.015em;
}

.card-desc {
  font-size: 0.91rem;
  color: var(--text-sub);
  line-height: 1.64;
}

.spec-list {
  margin-top: 6px;
  padding: 14px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-main);
  font-weight: 600;
}

/* Segmented Filter Bar */
.filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  background: var(--bg-soft);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  gap: 6px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-sub);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--bg-obsidian);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

/* Executive Specification Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.91rem;
}

.spec-table th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  padding: 15px 20px;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--primary-bright);
}

.spec-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: top;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:nth-child(even) td {
  background: var(--bg-light);
}

/* CTA Banner */
.cta-banner {
  background:
    radial-gradient(circle at 88% 50%, rgba(39, 158, 79, 0.25), transparent 50%),
    linear-gradient(135deg, #0a120e 0%, #14281d 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  box-shadow: var(--shadow-md);
}

.cta-banner-title {
  font-size: 1.42rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.cta-banner-sub {
  font-size: 0.94rem;
  color: #cbd5e1;
}

/* Contact 7:5 Executive Studio Layout */
.contact-studio-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.88fr;
  gap: 32px;
  align-items: start;
}

.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-hdr);
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--bg-light);
  transition: all 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(30, 142, 69, 0.14);
}

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

.quote-result-box {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid #a7f3d0;
  color: var(--text-hdr);
}

.quote-result-box.show {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--bg-obsidian);
  color: #94a3b8;
  padding: 56px 0 32px;
  font-size: 0.86rem;
  border-top: 3px solid var(--primary-bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  margin-bottom: 14px;
}

.footer-logo-box img {
  height: 24px;
  width: auto;
}

.footer-title {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #64748b;
}

/* Responsive Breakpoints */
@media (max-width: 1380px) {
  .brand-divider, .brand-meta {
    display: none;
  }
  .nav-link {
    padding: 26px 9px;
    font-size: 0.86rem;
  }
}

@media (max-width: 1120px) {
  .container {
    padding: 0 18px;
  }
  .official-logo-img {
    height: 26px;
  }
  .nav-link {
    padding: 24px 6px;
    font-size: 0.79rem;
  }
  .nav-cta {
    padding: 7px 11px;
    font-size: 0.76rem;
  }
  .lang-btn {
    padding: 4px 7px;
    font-size: 0.69rem;
  }
  .hero-grid, .editorial-feature-row, .vision-split-grid,
  .product-showcase-row, .lab-banner-card, .contact-studio-grid {
    grid-template-columns: 1fr;
  }
  .kpi-grid, .grid-4, .cert-museum-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kpi-cell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .milestone-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .header-inner {
    flex-wrap: wrap;
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .brand-divider, .brand-meta {
    display: none;
  }
  .official-logo-img {
    height: 28px;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .header-center-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
  }
  .header-center-nav.open {
    display: flex;
  }
  .nav-link {
    padding: 10px 12px;
  }
  .header-right-tools {
    width: 100%;
    justify-content: space-between;
    padding-top: 6px;
    padding-bottom: 4px;
    border-top: 1px solid var(--border-color);
  }
  .hero-badges, .kpi-grid, .grid-4, .grid-3, .grid-2, .facility-split-grid,
  .media-split-card, .tech-split-card, .cert-museum-grid,
  .cert-museum-card, .form-grid, .hero-bento-grid, .milestone-bar {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .page-hero-title {
    font-size: 1.48rem;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
  .editorial-body-col, .product-showcase-row, .vision-dark-panel, .vision-light-panel, .form-card {
    padding: 20px 16px;
  }
  .cta-banner {
    padding: 24px 18px;
  }
  .spec-table th, .spec-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
}

.rfq-step-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.rfq-step-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.direct-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.direct-action-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.15s ease;
}

.direct-action-btn:hover {
  background: var(--primary-dark);
}

.direct-action-btn.secondary {
  background: var(--bg-soft);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.direct-action-btn.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}
