/* ==========================================================================
   Keensun Safety — Industrial PPE & Technical FR Knitwear Design System
   Aesthetic: European/US Industrial Engineering Authority
   Palette: Deep Safety Navy (#0B192C) + High-Vis Amber/Orange (#EA580C)
            + Precision Slate + Clean Technical White
   ========================================================================== */

:root {
  --navy-950: #07111e;
  --navy-900: #0b192c;
  --navy-800: #132844;
  --navy-700: #1e3a5f;

  --accent: #ea580c;
  --accent-hover: #c2410c;
  --accent-soft: #fff7ed;
  --accent-border: #fed7aa;

  --emerald: #059669;
  --emerald-soft: #ecfdf5;

  --bg: #ffffff;
  --bg-subtle: #f4f6f9;
  --bg-muted: #e8edf4;

  --text: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --shadow-sm: 0 1px 3px rgba(11, 25, 44, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 20px 44px rgba(11, 25, 44, 0.14);

  --container: 1220px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ==================== Utility Bar (Top B2B Trust Strip) ==================== */
.utility-bar {
  background: var(--navy-950);
  color: #cbd5e1;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  flex-wrap: wrap;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.utility-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  font-weight: 500;
}

.utility-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f97316;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  transition: color 0.15s;
}

.utility-link:hover {
  color: #ffffff;
}

/* ==================== Main Sticky Header ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

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

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy-900);
}

.brand-title span {
  color: var(--accent);
}

.brand-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.nav-link {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--navy-900);
  background: var(--bg-subtle);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--navy-900);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 14px 24px 20px;
}

.mobile-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
}

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

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

.btn-navy:hover {
  background: var(--navy-800);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border-strong);
  color: var(--navy-900);
}

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

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

/* ==================== Hero Section (Real HTML H1 + Optimized Visual) ==================== */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #ffffff;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.92;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(7, 17, 30, 0.94) 0%,
    rgba(11, 25, 44, 0.86) 44%,
    rgba(11, 25, 44, 0.45) 72%,
    rgba(11, 25, 44, 0.18) 100%
  );
}

.hero .container {
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 68px 0 56px;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(234, 88, 12, 0.16);
  border: 1px solid rgba(251, 146, 60, 0.4);
  color: #fdba74;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.1vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-sub {
  margin: 0 0 28px;
  font-size: 16.5px;
  line-height: 1.65;
  color: #dbe4f0;
  max-width: 600px;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 560px;
}

.hero-metric-val {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.hero-metric-lbl {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

/* ==================== Compliance Standards Bar ==================== */
.standards-strip {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.standards-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.standards-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.standards-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.std-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-900);
  transition: border-color 0.15s, color 0.15s;
}

.std-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.std-pill span {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 11.5px;
}

/* ==================== Section Common ==================== */
.section {
  padding: 76px 0;
}

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

.section-dark {
  background: var(--navy-900);
  color: #ffffff;
}

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

.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.section-dark h2 {
  color: #ffffff;
}

.section-lead {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 650px;
}

.section-dark .section-lead {
  color: #cbd5e1;
}

/* ==================== Product Category Tabs & Cards ==================== */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

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

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

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

.product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-subtle);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(11, 25, 44, 0.86);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.product-body h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}

.product-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--text-secondary);
  flex: 1;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  font-size: 12.5px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.spec-key {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 600;
  color: var(--navy-900);
  text-align: right;
}

.std-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.std-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: #9a3412;
  border: 1px solid var(--accent-border);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-900);
}

.card-link:hover {
  color: var(--accent);
}

/* ==================== Compliance & Testing Matrix ==================== */
.compliance-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.std-table-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.std-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.std-table th {
  background: var(--navy-900);
  color: #ffffff;
  text-align: left;
  padding: 13px 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.std-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

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

.std-table tbody tr:hover {
  background: #f8fafc;
}

.std-code {
  font-weight: 800;
  color: var(--navy-900);
  white-space: nowrap;
}

.compliance-card {
  background: var(--navy-900);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.compliance-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
}

.compliance-card p {
  margin: 0 0 18px;
  font-size: 13.8px;
  color: #cbd5e1;
}

.lab-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.lab-badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #f1f5f9;
}

.lab-badge small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

/* ==================== OEM/ODM Manufacturing & Technical Edge ==================== */
.oem-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 38px;
  align-items: center;
}

.factory-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.factory-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.factory-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(11, 25, 44, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 12.8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.oem-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 26px;
}

.oem-stat {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px 16px;
}

.oem-stat-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-900);
}

.oem-stat-lbl {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.tech-pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tech-pillar {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pillar-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tech-pillar h4 {
  margin: 0 0 2px;
  font-size: 14.5px;
  color: var(--navy-900);
}

.tech-pillar p {
  margin: 0;
  font-size: 13.3px;
  color: var(--text-secondary);
}

/* Process 4-Step Strip */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.process-step {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.process-step h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--navy-900);
}

.process-step p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==================== Industries 4-Column Grid (Fixing Overlap Bug!) ==================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.industry-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.industry-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(251, 146, 60, 0.65);
  transform: translateY(-3px);
}

.ind-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(234, 88, 12, 0.18);
  border: 1px solid rgba(251, 146, 60, 0.35);
  color: #fb923c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.industry-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.industry-card p {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: #cbd5e1;
  flex: 1;
}

.ind-rec {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.ind-rec strong {
  color: #fdba74;
  display: block;
  margin-top: 2px;
}

.ind-link {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ind-link:hover {
  color: #fb923c;
}

/* ==================== Technical Resources / Blog (Replacing iframe Marquee) ==================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, border-color 0.18s;
}

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

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-cat {
  font-weight: 700;
  color: var(--accent);
}

.blog-card h3 {
  margin: 0 0 10px;
  font-size: 16.5px;
  line-height: 1.38;
  color: var(--navy-900);
}

.blog-card p {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
  flex: 1;
}

/* ==================== FAQ Accordion (Boosts SEO Long-Tail + Featured Snippets) ==================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 17px 20px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
}

.faq-q:hover {
  background: var(--bg-subtle);
}

.faq-chevron {
  transition: transform 0.2s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.faq-item.open .faq-a {
  display: block;
}

/* ==================== Inline RFQ & Sample Request Section ==================== */
.rfq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.rfq-info {
  background: var(--navy-900);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.rfq-info h2 {
  color: #ffffff;
  font-size: 26px;
  margin-bottom: 12px;
}

.rfq-info p {
  color: #cbd5e1;
  font-size: 14.5px;
  margin: 0 0 22px;
}

.rfq-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.8px;
  color: #e2e8f0;
}

.rfq-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.rfq-contact-box {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.rfq-contact-box a {
  color: #fdba74;
  font-weight: 600;
}

.rfq-form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
  min-width: 0;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field.span-2 {
  grid-column: span 2;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
}

.field input,
.field select,
.field textarea {
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.14);
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 2px;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  background: var(--emerald-soft);
  color: #065f46;
  border: 1px solid #a7f3d0;
  display: none;
}

.form-feedback.show {
  display: block;
}

.form-feedback.error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

/* ==================== Complete B2B Footer ==================== */
.site-footer {
  background: var(--navy-950);
  color: #94a3b8;
  padding: 58px 0 28px;
  font-size: 13.5px;
}

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

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

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

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
}

.footer-legal {
  display: flex;
  gap: 18px;
}

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

/* ==================== Responsive Breakpoints ==================== */
@media (max-width: 1120px) {
  .header-cta .btn-outline {
    display: none;
  }
  .product-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compliance-grid,
  .oem-layout,
  .rfq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .main-nav,
  .header-cta .btn-outline {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    min-height: 520px;
  }
  .hero-content {
    padding: 48px 0 42px;
  }
  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .product-grid,
  .industry-grid,
  .process-grid,
  .oem-stats-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .field.span-2 {
    grid-column: span 1;
  }
  .utility-bar {
    display: none;
  }
  .section {
    padding: 54px 0;
  }
  .rfq-info,
  .rfq-form-card {
    padding: 24px 20px;
  }
}

@media (max-width: 540px) {
  .header-cta .btn-primary {
    display: none;
  }
  .container {
    padding: 0 18px;
  }
}


/* ==========================================================================
   Subpage Components (FR Base Layer Landing, Standards & Certifications, Legal)
   ========================================================================== */

.nav-link.active {
  color: var(--navy-900);
  background: var(--bg-subtle);
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

/* Breadcrumb Strip */
.breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: var(--border-strong);
}

.breadcrumb-list a:hover {
  color: var(--accent);
}

.breadcrumb-list .current {
  color: var(--navy-900);
  font-weight: 600;
}

/* Technical Subpage Hero */
.sub-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 56%, #132c4c 100%);
  color: #ffffff;
  overflow: hidden;
  padding: 58px 0 54px;
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.sub-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}

.sub-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sub-hero .hero-sub {
  max-width: 630px;
  margin-bottom: 26px;
}

.hero-spec-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.hero-spec-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fdba74;
  margin: 0 0 14px;
}

.hero-spec-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.hero-spec-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.hero-spec-row span {
  color: #94a3b8;
}

.hero-spec-row strong {
  color: #ffffff;
  text-align: right;
  font-weight: 700;
}

/* 3-Column SKU Catalog Grid */
.sku-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.sku-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.sku-subcat {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.card-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.card-link-muted {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.card-link-muted:hover {
  color: var(--navy-900);
  text-decoration: underline;
}

/* 3-Layer FR PPE Layering Architecture */
.layer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.layer-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: relative;
}

.layer-card.featured {
  background: rgba(234, 88, 12, 0.12);
  border-color: rgba(251, 146, 60, 0.6);
}

.layer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.layer-card.featured .layer-badge {
  background: var(--accent);
  color: #ffffff;
}

.layer-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #ffffff;
}

.layer-card p {
  margin: 0 0 14px;
  font-size: 13.8px;
  color: #cbd5e1;
}

.layer-bullets {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.8px;
  color: #e2e8f0;
}

.layer-bullets li::before {
  content: "✓ ";
  color: #34d399;
  font-weight: 700;
}

/* Standards Deep-Dive 2x2 Cards */
.std-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.std-detail-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.std-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.std-detail-code {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0;
}

.std-region-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
}

.std-detail-card > p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.std-code-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.std-code-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

.std-code-box strong {
  display: block;
  font-size: 13px;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.std-code-box span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

/* 5-Stage QA Pipeline */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.qa-stage {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
}

.qa-stage h4 {
  margin: 0 0 6px;
  font-size: 14.5px;
  color: var(--navy-900);
}

.qa-stage p {
  margin: 0;
  font-size: 12.8px;
  color: var(--text-secondary);
}

/* B2B Technical Download Center */
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.download-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}

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

.download-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.download-meta {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.download-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--navy-900);
}

.download-card p {
  margin: 0 0 18px;
  font-size: 13.3px;
  color: var(--text-secondary);
  flex: 1;
}

/* Customization 3-Column Feature Strip */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.custom-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}

.custom-card h3 {
  margin: 12px 0 8px;
  font-size: 17px;
  color: var(--navy-900);
}

.custom-card p {
  margin: 0;
  font-size: 13.8px;
  color: var(--text-secondary);
}

/* Legal Prose Page (GDPR Privacy Policy) */
.legal-wrap {
  max-width: 840px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

.legal-wrap h2 {
  font-size: 20px;
  margin: 28px 0 10px;
}

.legal-wrap h2:first-of-type {
  margin-top: 0;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.legal-wrap ul {
  padding-left: 20px;
  margin: 8px 0 14px;
}

/* Subpage Responsive Adjustments */
@media (max-width: 1120px) {
  .sub-hero-grid {
    grid-template-columns: 1fr;
  }
  .sku-grid,
  .layer-grid,
  .custom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qa-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .std-detail-grid {
    grid-template-columns: 1fr;
  }
  .qa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .sku-grid,
  .layer-grid,
  .custom-grid,
  .qa-grid,
  .download-grid,
  .std-code-list {
    grid-template-columns: 1fr;
  }
  .legal-wrap {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   Technical Knowledge Hub (blog.html) & Article Detail System (blog_*.html)
   Unified with Keensun Safety Industrial B2B Design System
   ========================================================================== */

/* Reading Progress Bar (pinned to sticky header bottom on article pages) */
.reading-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, #fb923c 100%);
  pointer-events: none;
  z-index: 60;
  transition: width 0.08s linear;
}

/* Blog Hub — Featured Cornerstone Guides */
.blog-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-featured-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.blog-featured-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-900);
  overflow: hidden;
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-featured-card:hover .blog-featured-media img {
  transform: scale(1.04);
}

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

.blog-featured-body h3 {
  margin: 0 0 10px;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.34;
  color: var(--navy-900);
}

.blog-featured-body h3 a:hover {
  color: var(--accent);
}

.blog-featured-body p {
  margin: 0 0 16px;
  font-size: 13.8px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* Blog Hub — Interactive Search & Topic Filter Toolbar */
.blog-toolbar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.blog-search-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 480px;
}

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

.blog-search-input {
  width: 100%;
  padding: 10px 38px 10px 38px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-subtle);
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.blog-search-input:focus {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.14);
}

.blog-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

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

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

.blog-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.blog-count strong {
  color: var(--navy-900);
}

.blog-std-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.blog-std-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-right: 4px;
}

.std-filter-btn {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
}

.std-filter-btn:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.std-filter-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #9a3412;
}

/* Blog Hub — Technical Article Library Grid */
.blog-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-entry-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.blog-entry-title {
  margin: 0 0 10px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--navy-900);
}

.blog-entry-title a {
  display: block;
}

.blog-entry-title a:hover {
  color: var(--accent);
}

.blog-entry-excerpt {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--text-secondary);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.blog-std-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--bg-subtle);
  color: var(--navy-800);
  border: 1px solid var(--border);
}

.blog-entry-foot {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.blog-read-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.blog-empty {
  display: none;
  text-align: center;
  background: #ffffff;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  margin-top: 8px;
}

.blog-empty.show {
  display: block;
}

.blog-empty h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--navy-900);
}

.blog-empty p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==================== Article Detail Hero & Layout ==================== */
.article-hero {
  padding: 46px 0 44px;
}

.article-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.38fr 0.62fr;
  gap: 34px;
  align-items: center;
}

.article-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.3vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.article-hero .hero-sub {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: 15.5px;
  color: #cbd5e1;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item svg {
  color: #fdba74;
  flex-shrink: 0;
}

.article-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.article-dark-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.article-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.article-hero-actions .btn {
  width: 100%;
}

/* Main 2-Column Technical Editorial Canvas */
.article-section {
  padding: 44px 0 64px;
  background: var(--bg-subtle);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}

.article-layout > * {
  min-width: 0;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 38px 44px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  max-width: 100%;
}

/* Editorial Technical Prose */
.article-prose {
  font-size: 15.8px;
  line-height: 1.76;
  color: #1e293b;
  min-width: 0;
  overflow-wrap: break-word;
}

.article-prose > :first-child {
  margin-top: 0;
}

.article-prose p {
  margin: 0 0 18px;
}

.article-prose h2 {
  margin: 34px 0 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  scroll-margin-top: 96px;
}

.article-prose h3 {
  margin: 24px 0 10px;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-900);
  scroll-margin-top: 96px;
}

.article-prose h4 {
  margin: 18px 0 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-800);
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 20px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-prose ul li::marker {
  color: var(--accent);
}

.article-prose ol li::marker {
  color: var(--navy-900);
  font-weight: 700;
}

.article-prose li p {
  margin: 0;
}

.article-prose strong {
  color: var(--navy-900);
  font-weight: 700;
}

.article-prose a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-prose a:hover {
  color: var(--accent-hover);
}

.article-prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.article-prose blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--navy-900);
  font-weight: 500;
}

/* Responsive Engineering Tables inside Articles */
.table-wrap {
  margin: 24px 0;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.article-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
  background: #ffffff;
}

.article-prose th {
  background: var(--navy-900);
  color: #ffffff;
  text-align: left;
  padding: 12px 15px;
  font-size: 12.8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--navy-800);
}

.article-prose td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-secondary);
}

.article-prose tbody tr:last-child td {
  border-bottom: none;
}

.article-prose tbody tr:nth-child(even) {
  background: #f8fafc;
}

.article-prose tbody tr:hover {
  background: var(--accent-soft);
}

/* Responsive Figures & Technical Diagrams */
.article-figure {
  margin: 22px 0 26px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px;
  overflow: hidden;
}

.article-figure img {
  width: 100%;
  height: auto;
  max-height: 1400px;
  object-fit: contain;
  border-radius: 8px;
  cursor: zoom-in;
  margin: 0 auto;
  background: #ffffff;
}

.article-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 6px 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.article-zoom-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--navy-800);
  white-space: nowrap;
}

.article-img-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 26px;
}

.article-img-grid .article-figure {
  margin: 0;
}

/* In-Article End Conversion Callout Band */
.article-cta-band {
  margin-top: 36px;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 62%, #153154 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-cta-band .eyebrow {
  color: #fdba74;
  margin-bottom: 8px;
}

.article-cta-band h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.28;
}

.article-cta-band p {
  margin: 0 0 20px;
  font-size: 14.2px;
  color: #cbd5e1;
  line-height: 1.62;
}

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

/* Previous / Next Technical Article Pager */
.article-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.pager-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.pager-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.pager-card.next {
  text-align: right;
}

.pager-dir {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.pager-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.38;
}

/* Sticky Engineering Sidebar */
.article-sidebar {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.toc-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-link {
  display: block;
  padding: 5px 0 5px 13px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: 13px;
  line-height: 1.42;
  color: var(--text-secondary);
  transition: color 0.14s, border-color 0.14s;
}

.toc-link:hover {
  color: var(--navy-900);
  border-left-color: var(--border-strong);
}

.toc-link.active {
  color: var(--accent);
  font-weight: 700;
  border-left-color: var(--accent);
}

.sidebar-cta-card {
  background: var(--navy-900);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.sidebar-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fdba74;
  margin-bottom: 10px;
}

.sidebar-cta-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
}

.sidebar-cta-card p {
  margin: 0 0 14px;
  font-size: 13.2px;
  color: #cbd5e1;
  line-height: 1.55;
}

.sidebar-check {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.8px;
  color: #e2e8f0;
}

.sidebar-check li::before {
  content: "✓ ";
  color: #34d399;
  font-weight: 700;
}

.sidebar-cta-card .btn {
  width: 100%;
}

.sidebar-cta-card .btn + .btn {
  margin-top: 9px;
}

.sidebar-prod-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sidebar-prod-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  overflow: hidden;
}

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

.sidebar-prod-body {
  padding: 16px 18px 18px;
}

.sidebar-prod-body h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-900);
}

.sidebar-prod-body p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Related Articles Band */
.related-section {
  padding: 58px 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

/* Fullscreen Image Zoom Lightbox */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 17, 30, 0.9);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  cursor: zoom-out;
}

.img-lightbox.open {
  display: flex;
}

.img-lightbox img {
  max-width: min(1180px, 94vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  background: #ffffff;
}

.img-lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(11, 25, 44, 0.85);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.img-lightbox-close:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* Blog & Article Responsive Breakpoints */
@media (max-width: 1120px) {
  .blog-featured-grid,
  .blog-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-hero-grid {
    grid-template-columns: 1fr;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 24px;
  }
  .article-card {
    padding: 30px 30px;
  }
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .blog-featured-grid,
  .blog-library-grid,
  .article-pager,
  .article-img-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pager-card.next {
    text-align: left;
  }
  .article-card {
    padding: 24px 20px;
  }
  .article-cta-band {
    padding: 22px 20px;
  }
  .blog-toolbar {
    padding: 16px;
  }
}

/* ==========================================================================
   Complete Product Catalog (products.html), Categories & 44 SKU Detail Pages
   ========================================================================== */

/* 4-Column Responsive Product Catalog Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.catalog-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}

.catalog-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: #0d1d33;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.catalog-card:hover .catalog-media img {
  transform: scale(1.025);
}

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

.catalog-sku-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.catalog-flag-inline {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* Grouped Product Line Sections on products.html */
.catalog-groups {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.catalog-group {
  scroll-margin-top: 96px;
}

.catalog-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.catalog-group-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.catalog-group-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--navy-900);
  color: #fdba74;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.catalog-group-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.015em;
}

.catalog-group-count {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: #9a3412;
  font-size: 12px;
  font-weight: 700;
}

.catalog-group-desc {
  margin: 0;
  font-size: 13.8px;
  color: var(--text-secondary);
}

.catalog-body {
  padding: 16px 16px 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.catalog-cat-line {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 5px;
}

.catalog-title {
  margin: 0 0 8px;
  font-size: 15.2px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-900);
}

.catalog-title a {
  display: block;
}

.catalog-title a:hover {
  color: var(--accent);
}

.catalog-desc {
  margin: 0 0 12px;
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--text-secondary);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.catalog-foot {
  padding-top: 11px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.catalog-foot .card-link {
  font-size: 13px;
}

.catalog-inquire-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.catalog-inquire-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Clickable image/title enhancements on Homepage & FR Base Layer cards */
.product-media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-body h3 a:hover {
  color: var(--accent);
}

/* ==================== Individual SKU Product Detail Showcase ==================== */
.sku-hero-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 36px 0 48px;
}

.sku-hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 38px;
  align-items: start;
}

.sku-hero-grid > * {
  min-width: 0;
}

.sku-gallery-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.sku-gallery-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0d1d33;
}

.sku-gallery-frame img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  cursor: zoom-in;
}

.sku-gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 6px 2px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.sku-summary-card {
  display: flex;
  flex-direction: column;
}

.sku-top-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.sku-code-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.sku-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: #9a3412;
  font-size: 12px;
  font-weight: 700;
}

.sku-summary-card h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.sku-lead {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.sku-spec-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.sku-spec-box-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.sku-spec-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sku-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.sku-spec-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sku-spec-row span {
  color: var(--text-muted);
  flex-shrink: 0;
}

.sku-spec-row strong {
  color: var(--navy-900);
  text-align: right;
  font-weight: 700;
}

.sku-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.sku-cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sku-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.sku-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--text-secondary);
}

.sku-trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

/* Catalog CTA Banner (used on fr-base-layer.html & index.html to bridge to all 44 SKUs) */
.catalog-bridge-band {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 65%, #163254 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.catalog-bridge-band h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.catalog-bridge-band p {
  margin: 0;
  font-size: 14px;
  color: #cbd5e1;
  max-width: 620px;
}

/* Contact Page 3-Card Direct Desk Grid */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-desk-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-desk-card h3 {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-900);
}

.contact-desk-card p {
  margin: 0 0 8px;
  font-size: 13.8px;
  color: var(--text-secondary);
  flex: 1;
}

/* Catalog & Product Detail Responsive Breakpoints */
@media (max-width: 1120px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sku-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 820px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .catalog-grid,
  .sku-cta-row,
  .sku-trust-strip {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog-bridge-band {
    padding: 22px 20px;
  }
}
