/* ============================================================================
   PLASTIC — SWISS TITANIUM-CARBON & PURE WHITE REAL-TIME 3D PLATFORM
   ============================================================================ */
:root {
  --bg-carbon: #070b12;
  --bg-slate: #0f1623;
  --bg-slate-elevated: #172133;
  --accent-cyan: #38bdf8;
  --accent-cyan-deep: #0284c7;
  --accent-amber: #ff7a18;
  --bg-white: #ffffff;
  --bg-surface: #f4f7fb;
  --border-light: #e2e8f0;
  --border-dark: rgba(148, 163, 184, 0.18);
  --ink-dark: #0f172a;
  --ink-muted: #475569;
  --ink-light: #f8fafc;
  --ink-light-muted: #94a3b8;
  --nav-height: 66px;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-card: 16px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-carbon);
  color: var(--ink-dark);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  background: #05080d;
  color: var(--ink-light);
  overflow-x: clip;
  min-height: 100vh;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

#home,
#materials,
#industries,
#certifications,
#quote-form {
  scroll-margin-top: var(--nav-height);
}

.section-shell {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 5px;
}

.section-kicker-cyan {
  color: var(--accent-cyan);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.38rem, 2.25vw, 1.98rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink-light);
}

.section-heading-light {
  color: var(--ink-light);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 0.92rem;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.38);
}

.btn-outline-dark {
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.28);
}

.btn-outline-dark:hover {
  border-color: var(--accent-cyan);
  color: #ffffff;
  background: rgba(56, 189, 248, 0.12);
}

/* ==========================================================================
   MINIMAL ARCHITECTURAL HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(7, 11, 18, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
}

.header-inner {
  max-width: 1340px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-emblem {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-light);
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

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

.nav-item {
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--ink-light-muted);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 8px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-item.active {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-util-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.header-util-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
}

.header-theme-btn {
  width: 34px;
  padding: 0;
}

.header-theme-btn svg {
  width: 16px;
  height: 16px;
}

.header-theme-btn .icon-moon {
  display: none;
}

html[data-theme="light"] .header-theme-btn .icon-sun {
  display: none;
}

html[data-theme="light"] .header-theme-btn .icon-moon {
  display: block;
}

.header-quote-btn {
  padding: 8px 15px;
  font-size: 0.8rem;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 17px;
  height: 1.8px;
  background: #e2e8f0;
}

.mobile-nav-drawer {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-carbon);
  border-bottom: 1px solid var(--border-dark);
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-drawer[hidden] {
  display: none !important;
}

.mobile-nav-item {
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  color: var(--ink-light);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}

/* ==========================================================================
   SECTION 0: PHOTOREALISTIC INJECTION MOULDING + ANIMATED MECHANICAL HERO
   ========================================================================== */
.mechanical-hero {
  position: relative;
  margin-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100dvh - var(--nav-height));
  display: flex;
  align-items: center;
  background: #05080d;
  color: var(--ink-light);
  overflow: hidden;
}

.mech-hero-bg-photo {
  position: absolute;
  inset: -2%;
  z-index: 0;
  background: url('assets/studio/inj_02.webp') 62% center / cover no-repeat;
  opacity: 0.56;
  filter: contrast(1.06) saturate(1.1);
  transform-origin: 65% 50%;
  animation: slowHeroDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes slowHeroDrift {
  0% { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.09) translate3d(-1.5%, -0.8%, 0); }
}

.mech-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  opacity: 0.72;
  pointer-events: none;
}

.mech-hero-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.92) 0%, rgba(5, 8, 13, 0.68) 38%, rgba(5, 8, 13, 0.22) 66%, rgba(5, 8, 13, 0.38) 100%),
    linear-gradient(180deg, rgba(5, 8, 13, 0.25) 0%, rgba(5, 8, 13, 0) 28%, rgba(5, 8, 13, 0) 76%, #05080d 100%);
}

.mech-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 32px;
  padding-bottom: 64px;
}

.mech-hero-copy {
  max-width: 520px;
}

.mech-hero-kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.mech-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: #f8fafc;
  margin-bottom: 16px;
}

.mech-hero-title .hero-title-accent {
  background: linear-gradient(135deg, #f8fafc 15%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mech-hero-lead {
  font-size: 0.92rem;
  line-height: 1.62;
  color: rgba(203, 213, 225, 0.84);
  max-width: 440px;
  margin-bottom: 26px;
}

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

.mech-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.72);
  transition: color 0.2s ease;
}

.mech-scroll-cue:hover {
  color: var(--accent-cyan);
}

.mech-scroll-cue svg {
  width: 16px;
  height: 16px;
  animation: mechBounce 1.9s ease-in-out infinite;
}

@keyframes mechBounce {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50% { transform: translateY(5px); opacity: 1; }
}

/* ==========================================================================
   SECTION 1: 4-PROCESS FULL-VIEW SCROLL STORIES (Fast, Crisp 460vh Scrub)
   ========================================================================== */
.cinema-hero-zone {
  position: relative;
  margin-top: var(--nav-height);
  height: 460vh;
  background: #05080d;
  color: var(--ink-light);
}

.skip-process-btn {
  position: absolute;
  right: clamp(82px, 6.8vw, 108px);
  bottom: clamp(30px, 5.5vh, 52px);
  z-index: 6;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(7, 11, 18, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(241, 245, 249, 0.92);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.skip-process-btn svg {
  width: 14px;
  height: 14px;
}

.skip-process-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.7);
  color: #ffffff;
  transform: translateY(1px);
}

.cinema-hero-sticky {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
  min-height: 440px;
  width: 100%;
  overflow: hidden;
  background: #05080d;
}

.cinema-video-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #05080d;
}

.hero-inj-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  background: #05080d;
  pointer-events: none;
}

.studio-camera-rig {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}

.studio-plate-stack {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.studio-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  will-change: opacity;
}

.studio-plate.is-active {
  opacity: 1;
  z-index: 2;
}

.cinema-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.36) 0%, rgba(5, 8, 13, 0) 20%, rgba(5, 8, 13, 0) 58%, rgba(5, 8, 13, 0.78) 88%, #05080d 100%),
    linear-gradient(90deg, rgba(5, 8, 13, 0.68) 0%, rgba(5, 8, 13, 0.22) 34%, rgba(5, 8, 13, 0) 62%);
}

/* Clean Background-Merged Editorial Typography (Zero boxes, zero lines, zero numbers) */
.cinema-hero-caption {
  position: absolute;
  left: clamp(24px, 4.4vw, 64px);
  bottom: clamp(32px, 6vh, 58px);
  z-index: 5;
  max-width: min(520px, calc(100vw - 48px));
  pointer-events: none;
  transition: opacity 420ms cubic-bezier(0.25, 0.1, 0.25, 1), transform 420ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cinema-hero-caption.is-fading {
  opacity: 0.18;
  transform: translate3d(0, 7px, 0);
}

.cinema-clean-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(214, 226, 240, 0.78);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
  margin-bottom: 10px;
}

.cinema-clean-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.15rem, 3.8vw, 3.45rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.015em;
  margin-bottom: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 18%, rgba(206, 218, 232, 0.8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.72));
}

.cinema-clean-desc {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: 0.01em;
  color: rgba(232, 238, 246, 0.86);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.78);
  max-width: 440px;
}

/* ==========================================================================
   SECTION 2: 26-GRADE SEARCHABLE POLYMER & ELASTOMER CATALOG (Compact & Refined)
   ========================================================================== */
.materials-section {
  padding: 54px 0 58px;
  background: linear-gradient(180deg, #05080d 0%, #09101d 14%, #0b1322 100%);
  border-bottom: 1px solid var(--border-dark);
}

.materials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.catalog-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  padding: 7px 12px;
  min-width: min(260px, 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-search-box:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.catalog-search-box svg {
  width: 15px;
  height: 15px;
  color: var(--ink-light-muted);
  flex-shrink: 0;
}

.catalog-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #f8fafc;
  background: transparent;
}

.catalog-search-box input::placeholder {
  color: #64748b;
}

.search-count-pill {
  font-size: 0.65rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.filter-tabs,
.process-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.filter-tab,
.proc-pill {
  cursor: pointer;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  padding: 5px 10px;
  transition: all 0.18s ease;
}

.filter-tab:hover,
.proc-pill:hover {
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.filter-tab.is-active {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.55);
  color: var(--accent-cyan);
}

.proc-pill.is-active {
  background: rgba(56, 189, 248, 0.14);
  border-color: var(--accent-cyan);
  color: #e0f2fe;
}

.carousel-nav {
  display: flex;
  gap: 5px;
}

.carousel-btn {
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.18s ease;
}

.carousel-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.cards-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 6px 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 1.2%, #000 98.8%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 1.2%, #000 98.8%, transparent 100%);
}

.cards-viewport.is-static-grid {
  -webkit-mask-image: none;
  mask-image: none;
}

.cards-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}

.cards-viewport.is-static-grid .cards-track {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(204px, 1fr));
  gap: 12px;
}

.material-rect-card {
  position: relative;
  flex: 0 0 212px;
  width: 212px;
  background: #101929;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.30);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.26s ease;
}

.cards-viewport.is-static-grid .material-rect-card {
  width: auto;
  flex: none;
}

.material-rect-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.52);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.44);
}

.material-card-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-slate);
}

.material-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.material-rect-card:hover .material-card-photo img {
  transform: scale(1.06);
}

.card-code-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(7, 11, 18, 0.84);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--accent-cyan);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 5px;
  backdrop-filter: blur(6px);
}

.card-rate-tag {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(7, 11, 18, 0.88);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 2px 6px;
  border-radius: 5px;
}

.material-card-body {
  padding: 9px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 7px;
}

.material-card-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.2;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.material-card-spec {
  font-size: 0.66rem;
  color: #94a3b8;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.material-card-density-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent-cyan);
}

.material-card-density-line span {
  color: #cbd5e1;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.material-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 2px;
}

.material-card-actions .btn {
  padding: 5px 5px;
  font-size: 0.66rem;
  border-radius: 6px;
}

.empty-search-msg {
  text-align: center;
  padding: 36px 16px;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   SECTION 3: LIVE-ANIMATED INDUSTRIAL SECTORS
   ========================================================================== */
.industries-section {
  padding: 76px 0;
  background: var(--bg-carbon);
  color: var(--ink-light);
  border-bottom: 1px solid var(--border-dark);
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.section-lead-light {
  font-size: 0.92rem;
  color: var(--ink-light-muted);
  max-width: 440px;
}

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

.reveal-card {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.3s ease;
}

.reveal-card.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.industry-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-slate);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  --mx: 50%;
  --my: 50%;
}

.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(56, 189, 248, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.industry-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 55%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-amber), transparent);
  animation: sweepLine 5.2s ease-in-out infinite;
}

.industry-card:nth-child(2)::after { animation-delay: 0.8s; }
.industry-card:nth-child(3)::after { animation-delay: 1.6s; }
.industry-card:nth-child(4)::after { animation-delay: 2.4s; }
.industry-card:nth-child(5)::after { animation-delay: 3.2s; }
.industry-card:nth-child(6)::after { animation-delay: 4.0s; }

@keyframes sweepLine {
  0% { left: -60%; opacity: 0; }
  30% { opacity: 0.95; }
  70% { left: 110%; opacity: 0.95; }
  100% { left: 110%; opacity: 0; }
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
}

.ind-anim-visual {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.ind-anim-visual svg {
  width: 100%;
  height: 100%;
}

.anim-spin-slow {
  animation: spinSlow 14s linear infinite;
}

.anim-float-wave {
  animation: floatWave 3.6s ease-in-out infinite;
}

.anim-pulse-ring {
  animation: pulseRing 2.8s ease-in-out infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatWave {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.09); opacity: 0.78; }
}

.industry-card h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  color: #ffffff;
}

.industry-card p {
  font-size: 0.84rem;
  color: var(--ink-light-muted);
  line-height: 1.5;
  flex: 1;
}

.industry-grades {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  padding-top: 10px;
  border-top: 1px solid var(--border-dark);
}

/* ==========================================================================
   SECTION 4: AUTHENTIC OFFICIAL CERTIFICATES
   ========================================================================== */
.certifications-section {
  padding: 76px 0;
  background: #080e18;
  border-bottom: 1px solid var(--border-dark);
}

.certs-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 24px;
  align-items: start;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.cert-plaque {
  cursor: pointer;
  background:
    repeating-linear-gradient(45deg, rgba(2, 132, 199, 0.03) 0px, rgba(2, 132, 199, 0.03) 2px, transparent 2px, transparent 10px),
    linear-gradient(160deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cert-plaque:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan-deep);
  box-shadow: 0 18px 36px rgba(2, 132, 199, 0.14);
}

.cert-plaque-inner {
  border: 1.5px double rgba(2, 132, 199, 0.42);
  border-radius: 9px;
  padding: 15px 17px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.cert-plaque-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 7px;
  border-bottom: 1px solid #e2e8f0;
}

.cert-doc-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan-deep);
}

.cert-reg-no {
  font-size: 0.65rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
}

.cert-plaque-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
}

.cert-standard {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ink-dark);
  margin-bottom: 2px;
}

.cert-plaque h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 3px;
}

.cert-plaque p {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.cert-foil-seal {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.cert-plaque-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 7px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.68rem;
  color: var(--ink-muted);
}

.cert-plaque-footer strong {
  color: var(--ink-dark);
}

.cert-valid {
  font-weight: 700;
  color: #166534;
  background: rgba(22, 101, 52, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
}

.lab-panel {
  background: var(--bg-carbon);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 26px;
  color: var(--ink-light);
}

.lab-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.lab-checks {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}

.lab-checks li {
  background: var(--bg-slate);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 10px 13px;
  display: flex;
  flex-direction: column;
}

.lab-checks strong {
  font-size: 0.84rem;
  color: #ffffff;
}

.lab-checks span {
  font-size: 0.74rem;
  color: var(--accent-cyan);
}

.lab-cta {
  width: 100%;
}

/* ==========================================================================
   SECTION 5: B2B QUOTE REQUEST FORM
   ========================================================================== */
.rfq-section {
  padding: 76px 0;
  background: #070c15;
}

.rfq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.rfq-heading {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 10px;
}

.rfq-lead {
  font-size: 0.92rem;
  color: #94a3b8;
  margin-bottom: 22px;
}

.rfq-contact-list {
  display: grid;
  gap: 10px;
}

.rfq-contact-item {
  background: #101929;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
}

.rfq-contact-item span {
  color: #94a3b8;
  font-weight: 600;
}

.rfq-contact-item a,
.rfq-contact-item strong {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 700;
}

.rfq-form-card {
  background: #101929;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
}

.req {
  color: #f87171;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: #f8fafc;
  background: #080e18;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 9px;
  padding: 9px 12px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.rfq-error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.rfq-submit-btn {
  width: 100%;
}

.rfq-success-panel {
  text-align: center;
  padding: 20px 10px;
}

.success-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #166534;
  background: #dcfce7;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.success-ref-box {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan-deep);
  background: #f0f9ff;
  border: 1px dashed var(--accent-cyan-deep);
  border-radius: 10px;
  padding: 12px;
  margin: 12px 0;
}

.success-summary {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-carbon);
  color: var(--ink-light-muted);
  border-top: 1px solid var(--border-dark);
}

.site-footer-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 44px 28px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-tagline {
  margin-top: 8px;
  font-size: 0.84rem;
  max-width: 340px;
}

.footer-col-heading {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.footer-col-links,
.footer-col-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-action-link,
.footer-contact-item {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--ink-light-muted);
  text-decoration: none;
}

.footer-action-link:hover,
.footer-contact-item:hover {
  color: #ffffff;
}

.footer-address {
  font-size: 0.82rem;
}

.site-footer-bottom {
  max-width: 1340px;
  margin: 0 auto;
  padding: 16px 96px 26px 28px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.78rem;
}

.footer-bottom-policies {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   MODALS & CHATBOT
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 11, 18, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.spec-modal-card,
.tds-modal-card,
.legal-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 40px);
  background: var(--bg-white);
  border-radius: 18px;
  overflow-y: auto;
  scrollbar-width: thin;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: none;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 0.9rem;
}

.modal-close-inline {
  position: static;
}

.spec-modal-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
}

.spec-modal-media {
  position: relative;
  background: var(--bg-slate);
}

.spec-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-rate-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--bg-carbon);
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 6px 12px;
  border-radius: 8px;
}

.spec-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-code-pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-cyan-deep);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--ink-dark);
  margin: 4px 0 6px;
}

.modal-desc {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.modal-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-spec-item {
  background: var(--bg-surface);
  border-radius: 9px;
  padding: 9px 11px;
}

.modal-spec-item span {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}

.modal-spec-item strong {
  font-size: 0.8rem;
  color: var(--ink-dark);
}

.modal-actions-row,
.tds-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tds-modal-header,
.legal-modal-header {
  background: var(--bg-carbon);
  color: #ffffff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tds-doc-kicker {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
}

.tds-modal-header h3,
.legal-modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
}

.tds-modal-body,
.legal-modal-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.legal-modal-body h4 {
  color: var(--ink-dark);
  margin-top: 6px;
}

.tds-table-wrap {
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
}

.tds-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.tds-spec-table th,
.tds-spec-table td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-light);
}

.tds-spec-table th {
  background: var(--bg-surface);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--ink-muted);
}

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

.tds-spec-table td:nth-child(2) {
  font-weight: 700;
  color: var(--ink-dark);
}

.tds-certs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tds-cert-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Chatbot */
.chatbot-root {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
}

.assistant-launcher-btn {
  cursor: pointer;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--bg-carbon);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.chatbot-window {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: 330px;
  max-height: 440px;
  background: var(--bg-carbon);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink-light);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.chatbot-window[hidden] {
  display: none !important;
}

.chatbot-header {
  background: var(--bg-slate);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  font-size: 0.88rem;
  color: #ffffff;
}

.chatbot-active-product {
  font-size: 0.68rem;
  color: var(--accent-cyan);
}

.chatbot-close-btn {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.chatbot-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-dark);
}

.chat-quick-chip {
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 8px;
  border-radius: 6px;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble {
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 0.78rem;
  white-space: pre-line;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: var(--bg-slate);
  color: #e2e8f0;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--accent-cyan-deep);
  color: #ffffff;
}

.chatbot-input-bar {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid var(--border-dark);
}

.chatbot-input-bar input {
  flex: 1;
  background: var(--bg-slate);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 7px 10px;
  color: #ffffff;
  font-size: 0.78rem;
}

.chatbot-send-btn {
  cursor: pointer;
  background: var(--accent-cyan);
  color: var(--bg-carbon);
  border: none;
  border-radius: 8px;
  padding: 7px 12px;
  font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (iPad / Tablet, Android Mobile, iPhone & Safe Areas)
   ========================================================================== */
.site-header {
  padding-top: env(safe-area-inset-top);
}

@media (max-width: 1140px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .cinema-hero-zone { height: 360vh; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-layout, .rfq-grid, .spec-modal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section-shell, .header-inner {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .cinema-hero-zone { height: 340vh; }
  .cinema-hero-sticky { min-height: 400px; }
  .skip-process-btn {
    top: 14px;
    right: max(14px, env(safe-area-inset-right));
    bottom: auto;
    padding: 7px 12px;
    font-size: 0.64rem;
  }
  .cinema-hero-caption {
    left: max(16px, env(safe-area-inset-left));
    right: max(16px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
    max-width: none;
  }
  .cinema-clean-kicker { font-size: 0.64rem; margin-bottom: 6px; }
  .cinema-clean-title { font-size: clamp(1.55rem, 6.8vw, 2.2rem); margin-bottom: 6px; }
  .cinema-clean-desc { font-size: 0.8rem; max-width: 92%; }
  .catalog-search-box { min-width: 100%; width: 100%; padding: 6px 10px; gap: 8px; }
  .catalog-search-box input { font-size: 0.78rem; min-width: 0; }
  .cards-viewport.is-static-grid .cards-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .carousel-nav { display: none; }
  .industries-grid, .certs-grid, .form-row-2, .site-footer-inner { grid-template-columns: 1fr; }
  .site-footer-bottom {
    padding: 16px 76px calc(24px + env(safe-area-inset-bottom)) 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .chatbot-root {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .chatbot-window { width: min(330px, calc(100vw - 28px)); max-height: 68dvh; }
  .header-quote-btn { display: none; }
  .modal-card { width: calc(100vw - 24px); max-height: 88dvh; padding: 18px; }
}

@media (max-width: 430px) {
  .brand-name { font-size: 1.12rem; }
  .brand-sub { font-size: 0.56rem; }
  .mech-hero-actions .btn { width: 100%; justify-content: center; }
  .filter-tab, .proc-pill { font-size: 0.65rem; padding: 5px 8px; }
  .cards-viewport.is-static-grid .cards-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .material-card-body { padding: 8px 9px 10px; gap: 6px; }
  .material-card-title { font-size: 0.78rem; }
  .material-card-spec { font-size: 0.64rem; }
  .material-card-density-line { font-size: 0.58rem; }
  .material-card-actions .btn { padding: 5px 4px; font-size: 0.63rem; }
}

/* ==========================================================================
   LIGHT THEME (html[data-theme="light"]) — CLEAN SWISS INDUSTRIAL DAYLIGHT
   ========================================================================== */
html[data-theme="light"],
html[data-theme="light"] body {
  background: #f8fafc;
  color: #0f172a;
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.90);
  border-bottom: 1px solid #e2e8f0;
}

html[data-theme="light"] .brand-name { color: #0f172a; }
html[data-theme="light"] .brand-sub { color: #0284c7; }
html[data-theme="light"] .nav-item { color: #475569; }
html[data-theme="light"] .nav-item:hover { color: #0f172a; background: rgba(15, 23, 42, 0.05); }
html[data-theme="light"] .nav-item.active { color: #0284c7; background: rgba(2, 132, 199, 0.1); border-color: rgba(2, 132, 199, 0.35); }

html[data-theme="light"] .header-util-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}
html[data-theme="light"] .header-util-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #e0f2fe;
}
html[data-theme="light"] .mobile-menu-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
html[data-theme="light"] .mobile-menu-btn span { background: #0f172a; }
html[data-theme="light"] .mobile-nav-drawer {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
html[data-theme="light"] .mobile-nav-item {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

html[data-theme="light"] .mechanical-hero {
  background: #eaf1f8;
  color: #0f172a;
}
html[data-theme="light"] .mech-hero-bg-photo {
  opacity: 0.42;
  filter: contrast(1.02) saturate(1.05);
}
html[data-theme="light"] .mech-hero-glow {
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.94) 0%, rgba(248, 250, 252, 0.80) 40%, rgba(248, 250, 252, 0.26) 72%, rgba(248, 250, 252, 0.34) 100%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.25) 0%, rgba(248, 250, 252, 0) 30%, rgba(15, 23, 42, 0.16) 92%, #05080d 100%);
}
html[data-theme="light"] .mech-hero-kicker { color: #0284c7; }
html[data-theme="light"] .mech-hero-title { color: #0f172a; }
html[data-theme="light"] .mech-hero-title .hero-title-accent {
  background: linear-gradient(135deg, #0f172a 10%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-theme="light"] .mech-hero-lead { color: #334155; }
html[data-theme="light"] .mech-scroll-cue { color: #0f172a; }
html[data-theme="light"] .mech-scroll-cue:hover { color: #0284c7; }

html[data-theme="light"] .btn-outline-dark {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}
html[data-theme="light"] .btn-outline-dark:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

html[data-theme="light"] .section-kicker,
html[data-theme="light"] .section-kicker-cyan { color: #0284c7; }
html[data-theme="light"] .section-heading,
html[data-theme="light"] .section-heading-light { color: #0f172a; }

html[data-theme="light"] .materials-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}
html[data-theme="light"] .catalog-search-box {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
html[data-theme="light"] .catalog-search-box svg { color: #64748b; }
html[data-theme="light"] .catalog-search-box input { color: #0f172a; }
html[data-theme="light"] .filter-tab,
html[data-theme="light"] .proc-pill,
html[data-theme="light"] .carousel-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
html[data-theme="light"] .filter-tab:hover,
html[data-theme="light"] .proc-pill:hover,
html[data-theme="light"] .carousel-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
}
html[data-theme="light"] .filter-tab.is-active,
html[data-theme="light"] .proc-pill.is-active {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0369a1;
}
html[data-theme="light"] .material-rect-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}
html[data-theme="light"] .material-rect-card:hover {
  border-color: #0284c7;
  box-shadow: 0 12px 26px rgba(2, 132, 199, 0.14);
}
html[data-theme="light"] .material-card-title { color: #0f172a; }
html[data-theme="light"] .material-card-spec { color: #475569; }
html[data-theme="light"] .material-card-density-line { color: #0284c7; }
html[data-theme="light"] .material-card-density-line span { color: #475569; }

html[data-theme="light"] .industries-section {
  background: #ffffff;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
}
html[data-theme="light"] .section-lead-light { color: #475569; }
html[data-theme="light"] .industry-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}
html[data-theme="light"] .industry-card:hover {
  border-color: #0284c7;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}
html[data-theme="light"] .industry-card h3 { color: #0f172a; }
html[data-theme="light"] .industry-card p { color: #475569; }
html[data-theme="light"] .industry-grades { color: #0284c7; border-top-color: #e2e8f0; }

html[data-theme="light"] .certifications-section {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
html[data-theme="light"] .lab-panel {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
html[data-theme="light"] .lab-title { color: #0f172a; }
html[data-theme="light"] .lab-checks li { background: #f8fafc; border-color: #e2e8f0; }
html[data-theme="light"] .lab-checks strong { color: #0f172a; }
html[data-theme="light"] .lab-checks span { color: #0284c7; }

html[data-theme="light"] .rfq-section { background: #ffffff; }
html[data-theme="light"] .rfq-heading { color: #0f172a; }
html[data-theme="light"] .rfq-lead { color: #475569; }
html[data-theme="light"] .rfq-contact-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}
html[data-theme="light"] .rfq-contact-item span { color: #475569; }
html[data-theme="light"] .rfq-contact-item a,
html[data-theme="light"] .rfq-contact-item strong { color: #0f172a; }
html[data-theme="light"] .rfq-form-card {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
html[data-theme="light"] .form-field label { color: #1e293b; }
html[data-theme="light"] .form-field input,
html[data-theme="light"] .form-field select,
html[data-theme="light"] .form-field textarea {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

html[data-theme="light"] .site-footer {
  background: #f1f5f9;
  color: #475569;
  border-top: 1px solid #e2e8f0;
}
html[data-theme="light"] .footer-brand-title { color: #0f172a; }
html[data-theme="light"] .footer-col-heading { color: #0284c7; }
html[data-theme="light"] .footer-action-link,
html[data-theme="light"] .footer-contact-item { color: #475569; }
html[data-theme="light"] .footer-action-link:hover,
html[data-theme="light"] .footer-contact-item:hover { color: #0284c7; }
html[data-theme="light"] .site-footer-bottom { border-top-color: #cbd5e1; }

html[data-theme="light"] .assistant-launcher-btn {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
}
html[data-theme="light"] .chatbot-window {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}
html[data-theme="light"] .chatbot-header { background: #f1f5f9; }
html[data-theme="light"] .chatbot-header h3 { color: #0f172a; }
html[data-theme="light"] .chatbot-close-btn { background: #e2e8f0; color: #0f172a; }
html[data-theme="light"] .chat-bubble.bot { background: #f1f5f9; color: #0f172a; }
html[data-theme="light"] .chatbot-input-bar { border-top-color: #e2e8f0; }
html[data-theme="light"] .chatbot-input-bar input {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

@media (max-width: 768px) {
  html[data-theme="light"] .mech-hero-glow {
    background:
      linear-gradient(180deg, rgba(248, 250, 252, 0.48) 0%, rgba(248, 250, 252, 0.78) 50%, rgba(248, 250, 252, 0.94) 88%, #05080d 100%);
  }
}
