/**
 * Apex Peptides V3 — Swiss Multinational Biotech Executive Stylesheet
 * Design Benchmark: Bachem / Lonza / WuXi AppTec / MedChemExpress Corporate Aesthetic
 *
 * Key Architectural & Comfort Principles:
 * 1. Low-fatigue Swiss Pharma Palette: Alabaster White (#FFFFFF), Cool Polar Slate (#F6F8FB),
 *    Executive Midnight Navy (#0B1D33), Swiss Royal Blue (#16437E), Champagne Gold (#B5945B).
 * 2. Restrained CTA Hierarchy: Eliminates loud green button clutter across catalog cards;
 *    reserves Executive Emerald (#128040) strictly for primary consultation entry points.
 * 3. Generous 1320px executive grid, 1.72 body line-height, zero text/caption overlap,
 *    and non-intrusive right-edge collapsible concierge rail on desktop.
 *
 * @date 2026-10-30
 * @author Apex Peptides Corporate Design & Engineering
 */

:root {
  --bg-white: #ffffff;
  --bg-slate: #f6f8fb;
  --bg-subtle: #eef2f7;
  --bg-midnight: #071423;
  --navy-950: #071423;
  --navy-900: #0b1d33;
  --navy-800: #122b49;
  --royal-700: #16437e;
  --royal-600: #1e56a0;
  --royal-100: #e8f0fe;
  --royal-50: #f3f7fd;

  --gold-600: #9a7b46;
  --gold-500: #b5945b;
  --gold-400: #cbb07c;
  --gold-50: #fbf8f1;

  --emerald-700: #0f6d36;
  --emerald-600: #128040;
  --emerald-500: #16944b;
  --line-600: #0d8a3f;
  --line-500: #119e49;

  --text-primary: #0b1d33;
  --text-secondary: #334155;
  --text-muted: #5b6b7f;
  --text-light: #7c8b9e;

  --border-subtle: #e5eaf1;
  --border-medium: #cfd8e3;
  --border-strong: #b8c4d4;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-xs: 0 1px 3px rgba(11, 29, 51, 0.04);
  --shadow-sm: 0 6px 18px -6px rgba(11, 29, 51, 0.06), 0 1px 3px rgba(11, 29, 51, 0.04);
  --shadow-md: 0 14px 34px -10px rgba(11, 29, 51, 0.09), 0 4px 10px -4px rgba(11, 29, 51, 0.04);
  --shadow-lg: 0 24px 52px -14px rgba(11, 29, 51, 0.16);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI',
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans Thai', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', monospace;

  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-secondary);
  background-color: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast),
    border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

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

/* ==================== Reusable Section Headers ==================== */
.section {
  padding: 88px 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-header {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background-color: var(--gold-500);
}

.section-eyebrow svg {
  color: var(--gold-600);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.68rem, 2.5vw, 2.22rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.26;
  letter-spacing: -0.022em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.01rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==================== Executive Button System ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn svg {
  flex-shrink: 0;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.81rem;
}

/* Primary Consultation Emerald (Reserved strictly for key B2B Desk entry points) */
.btn-wa {
  background-color: var(--emerald-600);
  color: #ffffff;
  border-color: var(--emerald-600);
  box-shadow: 0 2px 6px rgba(18, 128, 64, 0.16);
}

.btn-wa:hover {
  background-color: var(--emerald-700);
  border-color: var(--emerald-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(18, 128, 64, 0.22);
}

/* Secondary Consultation LINE Button — Crisp Executive Dark Slate / Emerald Accent */
.btn-line {
  background-color: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-800);
}

.btn-line svg {
  color: #38d977;
}

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

/* Executive Navy Solid Button */
.btn-navy {
  background-color: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

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

/* Clean Porcelain Hairline Button */
.btn-outline {
  background-color: var(--bg-white);
  color: var(--navy-900);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  background-color: var(--bg-slate);
  border-color: var(--navy-900);
}

/* Restrained Catalog Card & Table Buttons (Zero loud green blocks!) */
.btn-card-primary {
  background-color: var(--navy-900);
  color: #ffffff;
  border: 1px solid var(--navy-900);
  padding: 9px 14px;
  font-size: 0.81rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.btn-card-primary svg {
  color: #4ade80;
}

.btn-card-primary:hover {
  background-color: var(--royal-700);
  border-color: var(--royal-700);
}

.btn-card-secondary {
  background-color: var(--bg-white);
  color: var(--navy-900);
  border: 1px solid var(--border-medium);
  padding: 9px 13px;
  font-size: 0.81rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.btn-card-secondary svg {
  color: var(--emerald-600);
}

.btn-card-secondary:hover {
  background-color: var(--royal-50);
  border-color: var(--royal-700);
  color: var(--royal-700);
}

/* ==================== 1. Single-Line Top Executive Ribbon ==================== */
.top-utility-bar {
  background-color: var(--bg-midnight);
  color: #cbd5e1;
  border-bottom: 1px solid rgba(181, 148, 91, 0.26);
  font-size: 0.76rem;
}

.top-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding-top: 4px;
  padding-bottom: 4px;
  flex-wrap: nowrap;
}

.top-cert-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.top-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #f1f5f9;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-cert-badge svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

.top-overseas-text {
  color: #94a3b8;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.top-direct-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e2e8f0;
  font-weight: 500;
  white-space: nowrap;
  padding: 2px 0;
}

.top-contact-pill .dot-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34d399;
}

.top-contact-pill:hover {
  color: var(--gold-400);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xs);
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  padding: 3px 9px;
  font-size: 0.73rem;
  font-weight: 600;
  color: #cbd5e1;
  border-radius: 3px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active-lang {
  background-color: var(--gold-500);
  color: var(--navy-950);
}

/* ==================== 2. Sticky Corporate Header ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 12px rgba(11, 29, 51, 0.03);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--navy-900), var(--royal-700));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(181, 148, 91, 0.35);
  box-shadow: var(--shadow-xs);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--navy-900);
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-600);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--royal-700);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--navy-900);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  color: var(--navy-900);
  align-items: center;
  justify-content: center;
}

.mobile-nav-drawer {
  display: none;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-subtle);
  padding: 16px 24px 22px;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.mobile-nav-list a {
  display: block;
  padding: 10px 4px;
  font-weight: 600;
  color: var(--navy-900);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==================== 3. Executive Split Hero ==================== */
.hero-section {
  background: linear-gradient(180deg, #f9fbfd 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding-top: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 52px;
  align-items: center;
  padding-bottom: 56px;
}

.hero-title {
  font-size: clamp(2rem, 3.1vw, 2.72rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.76;
  margin-bottom: 28px;
}

/* Executive B2B Desk Card in Hero */
.hero-direct-panel {
  background-color: var(--bg-white);
  border: 1px solid var(--border-medium);
  border-left: 3.5px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-direct-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-direct-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-phone-highlight {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
}

.hero-cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-secondary-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero Right Visual Column — Clean Non-Overlapping Architecture */
.hero-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-main-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  background-color: var(--navy-900);
}

.hero-main-photo-frame img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

.hero-photo-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  background-color: var(--navy-950);
  color: #e2e8f0;
  font-size: 0.77rem;
  font-weight: 500;
}

.status-dot-live {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34d399;
  margin-right: 8px;
  vertical-align: middle;
}

.hero-sub-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-sub-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.hero-sub-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background-color: var(--royal-50);
  color: var(--royal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-sub-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 2px;
  line-height: 1.3;
}

.hero-sub-card p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Metrics Strip */
.metrics-strip {
  background-color: var(--navy-900);
  color: #ffffff;
  border-top: 1px solid rgba(181, 148, 91, 0.3);
}

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

.metric-cell {
  padding: 26px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.metric-cell:first-child {
  padding-left: 0;
}

.metric-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 5px;
}

.metric-lbl {
  font-size: 0.81rem;
  color: #cbd5e1;
  line-height: 1.45;
}

/* ==================== 4. About & 4 Manufacturing Pillars ==================== */
.about-layout {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 54px;
  align-items: center;
}

.about-photo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-photo-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-slate);
}

.about-photo-box.tall {
  grid-column: 1 / -1;
}

.about-photo-box.tall img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
}

.about-photo-box:not(.tall) img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-photo-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  padding: 6px 11px;
  background-color: rgba(7, 20, 35, 0.84);
  backdrop-filter: blur(6px);
  color: #f8fafc;
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  line-height: 1.35;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.pillar-card {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--border-strong);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  color: var(--royal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pillar-card h3 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.pillar-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* ==================== 5. Four Core Business Divisions ==================== */
.major-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.major-cat-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.major-cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--royal-700);
  box-shadow: var(--shadow-md);
}

.major-cat-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #f8fafc;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.major-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.major-cat-card:hover .major-cat-img-wrap img {
  transform: scale(1.035);
}

.major-cat-code {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background-color: rgba(11, 29, 51, 0.88);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
}

.major-cat-body {
  padding: 20px;
  flex: 1;
}

.major-cat-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
  line-height: 1.38;
}

.major-cat-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* ==================== 6. Executive Catalog Toolbar & Dual View ==================== */
.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  background-color: var(--bg-slate);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.catalog-top-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box-wrap {
  position: relative;
  flex: 1 1 380px;
}

.search-box-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.catalog-search-input {
  width: 100%;
  height: 44px;
  padding: 0 38px 0 42px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.89rem;
  color: var(--navy-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.catalog-search-input:focus {
  outline: none;
  border-color: var(--royal-700);
  box-shadow: 0 0 0 3px rgba(22, 67, 126, 0.1);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--text-muted);
  display: none;
  align-items: center;
  justify-content: center;
}

.search-clear-btn.visible {
  display: inline-flex;
}

.search-clear-btn:hover {
  background-color: var(--bg-subtle);
  color: var(--navy-900);
}

/* Segmented View Switcher: [Studio Cards | Executive Spec Table] */
.view-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 3px;
  flex-shrink: 0;
}

.view-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.view-mode-btn:hover {
  color: var(--navy-900);
}

.view-mode-btn.active {
  background-color: var(--navy-900);
  color: #ffffff;
  box-shadow: var(--shadow-xs);
}

.category-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tab {
  padding: 7px 15px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.cat-tab:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.cat-tab.active {
  background-color: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
}

/* View A: 3-Column Spacious Studio Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.products-grid.hidden-view {
  display: none;
}

.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.product-photo-header {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #f8f9fb;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.product-photo-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.product-card:hover .product-photo-header img {
  transform: scale(1.03);
}

.prod-shortcode-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background-color: rgba(11, 29, 51, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-xs);
}

.prod-purity-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  color: var(--navy-900);
  border: 1px solid rgba(11, 29, 51, 0.12);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-xs);
}

.prod-coa-quick-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--royal-700);
  border: 1px solid rgba(22, 67, 126, 0.22);
  border-radius: var(--radius-xs);
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.prod-coa-quick-btn:hover {
  background-color: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

.product-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-sku-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.product-sku {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-light);
  font-weight: 600;
}

.product-badge-inline {
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--gold-600);
  background-color: var(--gold-50);
  border: 1px solid rgba(181, 148, 91, 0.28);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.product-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.34;
  margin-bottom: 14px;
}

.chem-meta-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding: 11px 13px;
  background-color: var(--bg-slate);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 13px;
}

.chem-meta-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chem-meta-key {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.chem-meta-val {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy-900);
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.38;
}

.product-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.64;
  margin-bottom: 16px;
}

.spec-selector-block {
  margin-top: auto;
  margin-bottom: 14px;
}

.spec-selector-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-chip {
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.spec-chip:hover {
  border-color: var(--royal-700);
  color: var(--royal-700);
}

.spec-chip.active {
  background-color: var(--royal-50);
  border-color: var(--royal-700);
  color: var(--royal-700);
  box-shadow: inset 0 0 0 1px var(--royal-700);
}

.product-stock-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 11px;
  margin-bottom: 13px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stock-ready {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--emerald-700);
}

.stock-ready svg {
  color: #16a34a;
}

.product-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
}

/* View B: Executive B2B Specification Matrix Table */
.exec-table-wrap {
  display: none;
  background-color: var(--bg-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.exec-table-wrap.active-view {
  display: block;
}

.exec-spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 960px;
  text-align: left;
}

.exec-spec-table thead th {
  background-color: var(--navy-900);
  color: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 16px;
  border-bottom: 1px solid var(--navy-800);
  white-space: nowrap;
}

.exec-spec-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-fast);
}

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

.exec-spec-table tbody tr:hover {
  background-color: var(--bg-slate);
}

.exec-spec-table td {
  padding: 14px 16px;
  vertical-align: middle;
  font-size: 0.84rem;
}

.tbl-compound-cell {
  display: flex;
  align-items: center;
  gap: 13px;
}

.tbl-thumb {
  width: 54px;
  height: 42px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.tbl-sku {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--text-light);
  display: block;
}

.tbl-name {
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.9rem;
  line-height: 1.3;
}

.tbl-purity-pill {
  display: inline-block;
  padding: 3px 9px;
  background-color: var(--royal-50);
  color: var(--royal-700);
  border: 1px solid rgba(22, 67, 126, 0.2);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
}

.tbl-coa-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  background-color: var(--bg-slate);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy-900);
  white-space: nowrap;
}

.tbl-coa-btn:hover {
  background-color: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
}

.tbl-actions-group {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.catalog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background-color: var(--bg-slate);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

/* Custom CRO/CDMO Banner */
.custom-synthesis-banner {
  margin-top: 36px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border: 1px solid rgba(181, 148, 91, 0.35);
  border-radius: var(--radius-md);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.custom-synthesis-banner h3 {
  font-size: 1.14rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.custom-synthesis-banner p {
  font-size: 0.88rem;
  color: #cbd5e1;
  max-width: 760px;
}

/* ==================== 7. Cleanroom Facilities Gallery ==================== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.facility-photo-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.facility-photo-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.facility-img-box {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--navy-900);
}

.facility-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms ease;
}

.facility-photo-card:hover .facility-img-box img {
  transform: scale(1.03);
}

.facility-zone-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  background-color: rgba(7, 20, 35, 0.88);
  border-left: 2.5px solid var(--gold-400);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
}

.facility-card-body {
  padding: 22px 24px;
}

.facility-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 7px;
}

.facility-card-body p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.66;
}

/* ==================== 8. Analytical QC, Anti-Counterfeit & Sample COA ==================== */
.anti-scam-alert {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background-color: var(--gold-50);
  border: 1px solid rgba(181, 148, 91, 0.42);
  border-left: 4px solid var(--gold-600);
  border-radius: var(--radius-md);
  margin-bottom: 36px;
}

.anti-scam-icon {
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.anti-scam-content h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.anti-scam-content p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.quality-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 32px;
  align-items: start;
}

.qc-methods-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qc-lab-photo-mini {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.qc-lab-photo-mini img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.qc-method-card {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.qc-method-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.qc-method-card h3 svg {
  color: var(--royal-700);
  flex-shrink: 0;
}

.qc-method-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.64;
}

.blind-test-box {
  padding: 16px 20px;
  background-color: var(--navy-900);
  color: #f1f5f9;
  border-left: 3.5px solid var(--gold-400);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.62;
}

/* Laboratory White-Paper Sample COA */
.coa-paper-sheet {
  background-color: var(--bg-white);
  border: 1px solid var(--border-medium);
  border-top: 4px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.coa-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.coa-sheet-title {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--navy-900);
}

.coa-sheet-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.coa-pass-stamp {
  padding: 4px 10px;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.coa-params-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.coa-param-cell {
  padding: 9px 12px;
  background-color: var(--bg-slate);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
}

.coa-param-cell span {
  display: block;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
}

.coa-param-cell strong {
  font-family: var(--font-mono);
  font-size: 0.81rem;
  color: var(--navy-900);
}

.chromatogram-box {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 8px;
  background-color: #ffffff;
  margin-bottom: 14px;
}

.chromatogram-svg {
  width: 100%;
  height: auto;
}

.coa-peak-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.coa-peak-table th {
  text-align: left;
  padding: 7px 10px;
  background-color: var(--bg-slate);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-medium);
}

.coa-peak-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* ==================== 9. Cold-Chain Warehouse, OEM & 4-Step B2B Protocol ==================== */
.warehouse-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.warehouse-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.warehouse-card img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  border-bottom: 1px solid var(--border-subtle);
}

.warehouse-card-info {
  padding: 20px 22px;
}

.warehouse-card-info h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.warehouse-card-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.64;
}

.oem-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}

.oem-step-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 22px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.oem-step-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-600);
  background-color: var(--gold-50);
  border: 1px solid rgba(181, 148, 91, 0.35);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.oem-step-card h3 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 5px;
}

.oem-step-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* 4-Step Standardized B2B Procurement Workflow */
.b2b-workflow-panel {
  background-color: var(--bg-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xs);
}

.b2b-workflow-head {
  margin-bottom: 24px;
}

.b2b-workflow-head h3 {
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--navy-900);
}

.b2b-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.workflow-step-item {
  position: relative;
  padding: 18px 20px;
  background-color: var(--bg-slate);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--navy-900);
  border-radius: var(--radius-sm);
}

.workflow-step-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 7px;
}

.workflow-step-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==================== 10. Executive RFQ Form & Direct Plaques ==================== */
.quote-contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.quote-form-card {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.quote-form-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.quote-form-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

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

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

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

.form-group label {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-control {
  width: 100%;
  padding: 10px 13px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--navy-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--royal-700);
  box-shadow: 0 0 0 3px rgba(22, 67, 126, 0.1);
}

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

.quote-submit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.direct-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.direct-channel-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.direct-channel-card.wa-card {
  border-top: 3.5px solid var(--emerald-600);
}

.direct-channel-card.line-card {
  border-top: 3.5px solid var(--navy-900);
}

.direct-card-inner {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 20px;
  align-items: center;
}

.channel-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}

.channel-title-row h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.channel-phone-big {
  font-family: var(--font-mono);
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.channel-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.58;
  margin-bottom: 14px;
}

.channel-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qr-inline-box {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}

.qr-inline-box img {
  width: 110px;
  height: 110px;
  margin: 0 auto 6px;
}

.qr-inline-caption {
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==================== 11. Corporate Footer ==================== */
.site-footer {
  background-color: var(--bg-midnight);
  color: #cbd5e1;
  padding: 60px 0 36px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-col h4 {
  font-size: 0.81rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: 14px;
}

.footer-list {
  display: grid;
  gap: 9px;
  font-size: 0.85rem;
}

.footer-list a {
  color: #94a3b8;
}

.footer-list a:hover {
  color: #ffffff;
}

.footer-disclaimer {
  margin-top: 26px;
  font-size: 0.77rem;
  color: #7c8b9e;
  line-height: 1.7;
}

.footer-copyright {
  margin-top: 14px;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* ==================== 12. Non-Overlapping Right-Edge Concierge Rail (Desktop) ==================== */
.desktop-Quick-dock {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(calc(100% - 42px));
  z-index: 88;
  display: flex;
  align-items: stretch;
  background-color: var(--navy-950);
  color: #ffffff;
  border: 1px solid rgba(181, 148, 91, 0.4);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  box-shadow: -6px 12px 30px rgba(7, 20, 35, 0.22);
  transition: transform var(--transition-smooth);
}

.desktop-Quick-dock:hover,
.desktop-Quick-dock:focus-within {
  transform: translateY(-50%) translateX(0);
}

.dock-trigger-tab {
  width: 42px;
  padding: 14px 0;
  background-color: var(--navy-900);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-400);
  flex-shrink: 0;
}

.dock-trigger-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f8fafc;
}

.dock-drawer-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 196px;
}

.dock-phone-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-400);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dock-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  font-weight: 600;
  color: #f1f5f9;
  background-color: rgba(255, 255, 255, 0.06);
  transition: background-color var(--transition-fast);
}

.dock-item.wa svg {
  color: #34d399;
}

.dock-item.line svg {
  color: #38d977;
}

.dock-item:hover {
  background-color: var(--royal-700);
  color: #ffffff;
}

/* ==================== 13. Mobile Bottom Sticky Dock ==================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background-color: rgba(7, 20, 35, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(181, 148, 91, 0.35);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: 1.15fr 1.15fr 0.85fr;
  gap: 8px;
}

.mobile-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  border-radius: var(--radius-sm);
  font-size: 0.79rem;
  font-weight: 700;
  color: #ffffff;
}

.mobile-bar-btn.wa {
  background-color: var(--emerald-600);
}

.mobile-bar-btn.line {
  background-color: var(--royal-700);
}

.mobile-bar-btn.qr {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==================== 14. Modals & Toast ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background-color: rgba(7, 20, 35, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-dialog {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-slate);
}

.modal-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background-color: var(--border-subtle);
  color: var(--navy-900);
}

.modal-body {
  padding: 22px;
}

.qr-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.qr-modal-box {
  padding: 16px;
  background-color: var(--bg-slate);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.qr-modal-box img {
  width: 156px;
  height: 156px;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%) translateY(16px);
  z-index: 140;
  background-color: var(--navy-950);
  color: #ffffff;
  border: 1px solid var(--gold-500);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==================== Responsive Breakpoints ==================== */
@media (max-width: 1180px) {
  .top-overseas-text {
    display: none;
  }

  .nav-links {
    gap: 16px;
  }

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

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

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

@media (max-width: 980px) {
  .nav-links,
  .nav-cta-group {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .about-layout,
  .quality-split,
  .quote-contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .metric-cell {
    padding: 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .warehouse-photos-grid,
  .oem-steps-grid,
  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .custom-synthesis-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 60px 0;
  }

  .top-direct-links {
    display: none;
  }

  .top-cert-badge {
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
  }

  .lang-btn {
    padding: 3px 7px;
    font-size: 0.69rem;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .mobile-bar-btn {
    font-size: 0.75rem;
    padding: 0 6px;
  }

  .top-utility-inner {
    min-height: 36px;
  }

  .hero-section {
    padding-top: 32px;
  }

  .hero-cta-buttons,
  .hero-sub-cards,
  .pillars-grid,
  .major-cats-grid,
  .products-grid,
  .facilities-grid,
  .b2b-workflow-grid,
  .form-grid,
  .quote-submit-row,
  .qr-modal-grid {
    grid-template-columns: 1fr;
  }

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

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

  .qr-inline-box {
    max-width: 160px;
  }

  .desktop-Quick-dock {
    display: none;
  }

  .mobile-sticky-bar {
    display: grid;
  }
}
