/* ========================================
   SCGS Production — Design System
   Industrial • Editorial • Premium
   ======================================== */

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

/* Variables */
:root {
  --dark-grey: #1a1a1a;
  --med-grey: #555555;
  --light-grey: #999999;
  --border-grey: #E0E0E0;
  --bg-light: #F5F5F5;
  --bg-white: #FFFFFF;
  --accent: #FF3B49;
  --accent-hover: #E6323F;
  --accent-light: #FFF0F1;
  --white: #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --max-width: 1440px;
  --nav-height: 72px;
  --subnav-height: 52px;
  --section-padding: 120px 0;
  --transition: all 0.25s ease;
}

body {
  font-family: var(--font);
  color: var(--dark-grey);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
select { padding-right: 32px; }

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

/* ========================================
   Typography
   ======================================== */
h1 { font-family: var(--font-heading); font-size: 72px; font-weight: 700; line-height: 1.0; color: var(--dark-grey); letter-spacing: -1px; }
h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 700; line-height: 1.1; color: var(--dark-grey); letter-spacing: -0.3px; }
h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--dark-grey); letter-spacing: -0.1px; }
h4 { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--dark-grey); text-transform: uppercase; letter-spacing: 0.5px; }
p { font-size: 15px; line-height: 1.75; color: var(--med-grey); letter-spacing: 0.01em; }

.text-sm { font-size: 14px; }
.text-lg { font-size: 18px; }
.text-center { text-align: center; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 24px;
  font-family: var(--font);
  text-align: center;
}

.section-label-left {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 24px;
  font-family: var(--font);
  text-align: left;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-grey);
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--med-grey);
  max-width: 580px;
  line-height: 1.75;
}

.section-header { margin-bottom: 80px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--dark-grey); }

.btn-secondary { background: transparent; color: var(--dark-grey); border: 2px solid var(--dark-grey); }
.btn-secondary:hover { background: var(--dark-grey); color: var(--white); }

.btn-outline { background: transparent; color: var(--dark-grey); border: 2px solid var(--border-grey); }
.btn-outline:hover { border-color: var(--dark-grey); color: var(--dark-grey); }

.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--dark-grey); }

.btn-book { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-book:hover { background: rgba(255,255,255,0.1); }

.btn-enquiry { background: var(--dark-grey); color: #fff; border: none; }
.btn-enquiry:hover { background: #000; }
.nav-contact-btn { font-size: 16px !important; text-transform: uppercase; letter-spacing: 0.5px; }

.btn-sm { padding: 8px 24px; font-size: 10px; }
.btn-lg { padding: 16px 48px; font-size: 13px; }

/* ========================================
   Navigation — Primary
   ======================================== */
.nav-primary {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--accent);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-primary .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

.nav-logo span { color: var(--white); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.mobile-categories { display: none; }
.mobile-menu-logo { display: none; }
.mobile-only-link { display: none; }
.product-filter-dropdown { display: none; }
.product-count-mobile { display: none; }

.nav-links a {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 500;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a.active::after {
  display: none;
}

.dropdown-arrow { font-size: 8px; margin-left: 4px; vertical-align: middle; }

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

.nav-cta .btn { padding: 8px 24px; font-size: 13px; }

/* Mega Menu */
.nav-links li { position: relative; }

.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border-grey);
  padding: 32px;
  min-width: 720px;
  z-index: 100;
}

.nav-links li:hover .mega-menu { display: block; }

.mega-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

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

.mega-menu-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-grey);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.mega-menu-col ul { list-style: none; }
.mega-menu-col li { margin-bottom: 8px; }
.mega-menu-col a { font-size: 13px; color: var(--med-grey); transition: var(--transition); }
.mega-menu-col a:hover { color: var(--accent); }

/* ========================================
   Navigation — Secondary
   ======================================== */
.nav-secondary {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  height: var(--subnav-height);
  background: var(--white);
  z-index: 999;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-grey);
}

.nav-secondary .container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.nav-categories {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-categories a {
  color: var(--med-grey);
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 500;
  transition: var(--transition);
  text-transform: uppercase;
}

.nav-categories a:hover,
.nav-categories a.active { color: var(--dark-grey); }

.nav-spacer { height: calc(var(--nav-height) + var(--subnav-height)); }

/* ========================================
   Hero
   ======================================== */
.hero-pin-wrapper {
  position: relative;
  height: 150vh;
}

.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--white);
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.975), rgba(255,255,255,0.965), rgba(255,255,255,0.9)), url('../images/stock/hero-background.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: max(144px, 15vh);
  left: 0;
  right: 0;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  justify-items: center;
  text-align: center;
  z-index: 1;
}

.hero-reveal-stack {
  position: absolute;
  top: 85vh;
  left: 0;
  right: 0;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  justify-items: center;
  transform: translateY(calc(var(--scroll-y, 0) * var(--target-translate, -80vh)));
  will-change: transform;
  z-index: 2;
}

.hero-reveal-stack .img-compare {
  max-height: 45vh;
  width: min(520px, 45vh);
}

.hero-actions-section {
  background: var(--white);
  padding: 64px 0 120px;
  position: relative;
}

.hero-actions-section .hero-actions {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  color: var(--dark-grey);
  font-size: 72px;
  margin-bottom: 24px;
  line-height: 1.05;
  max-width: 820px;
}

.hero-content h1 span { color: var(--accent); }

.hero-content p {
  color: var(--med-grey);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-grey);
  justify-content: center;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  color: var(--dark-grey);
  font-weight: 700;
}

.hero-stat span {
  font-size: 13px;
  color: var(--light-grey);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-image {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 64px;
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 21/9;
  background: var(--bg-light);
  border: 1px solid var(--border-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-grey);
  font-size: 13px;
  text-align: center;
  padding: 40px;
}

/* ========================================
   Cards
   ======================================== */
.card {
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-grey);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover { border-color: var(--dark-grey); }
.supplier-card { flex-direction: row !important; align-items: center; }
.supplier-card > div:first-child { height: auto !important; align-self: stretch; }

.card-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-grey);
  font-size: 13px;
  border-bottom: 1px solid var(--border-grey);
}

.card-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 16px; margin-bottom: 16px; }
.card-body p { font-size: 14px; margin-bottom: 16px; }
.card-body .btn,
.card-body .card-link { margin-top: auto; }

.card-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-grey);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

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

/* Product Category Card */
.product-card {
  text-align: center;
  padding: 40px 32px;
  cursor: pointer;
}

.product-card .card-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px;
  color: var(--dark-grey);
  transition: var(--transition);
  border: 1px solid var(--border-grey);
}

.product-card:hover .card-icon {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.product-card h3 { font-size: 16px; margin-bottom: 8px; }
.product-card p { font-size: 13px; }

/* Value Card */
.value-card {
  padding: 40px;
  border: 1px solid var(--border-grey);
  background: var(--white);
}

.value-card .value-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  margin-bottom: 24px;
}

.value-card h3 { font-size: 18px; margin-bottom: 8px; }

/* Value Card V2 — Dashboard style */
.value-card-v2 {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border-grey);
  background: var(--white);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  overflow: hidden;
  transition: var(--transition);
}

.value-card-v2:hover { border-color: var(--dark-grey); }

.value-card-v2 h3 { font-size: 18px; margin-bottom: 8px; }
.value-card-v2 p { font-size: 14px; margin-bottom: 0; max-width: 50%; }

.value-card-v2 .card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-grey);
  border-radius: 50%;
  font-size: 16px;
  color: var(--dark-grey);
  transition: var(--transition);
  margin-top: 24px;
}

.value-card-v2:hover .card-arrow {
  background: var(--dark-grey);
  color: var(--white);
  border-color: var(--dark-grey);
}

.value-card-v2 .card-illustration {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 315px;
  height: 315px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(100%);
  transition: filter 0.25s ease;
}

.value-card-v2:hover .card-illustration {
  filter: grayscale(0%);
}

/* Highlighted card */
.value-card-v2.highlighted {
  background: var(--accent);
  border-color: var(--accent);
}

.value-card-v2.highlighted h3,
.value-card-v2.highlighted p { color: var(--white); }

.value-card-v2.highlighted .card-arrow {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.value-card-v2.highlighted:hover .card-arrow {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}

/* Industry Card */
.industry-card {
  text-align: center;
  padding: 40px 24px;
  cursor: pointer;
}

.industry-card .industry-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--dark-grey);
  border: 1px solid var(--border-grey);
}

.industry-card h4 { font-size: 15px; }

/* Testimonial Card */
.testimonial-card {
  padding: 40px;
  background: var(--white);
  position: relative;
  border-left: 3px solid var(--accent);
}

.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.15;
}

.testimonial-card blockquote {
  font-size: 15px;
  font-style: italic;
  color: var(--dark-grey);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author { display: flex; align-items: center; gap: 16px; }

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-grey);
  border: 1px solid var(--border-grey);
}

.testimonial-info strong { display: block; font-size: 14px; color: var(--dark-grey); }
.testimonial-info span { font-size: 12px; color: var(--light-grey); }

/* Case Study Card */
.case-study-card .card-image { aspect-ratio: 16/9; position: relative; }

.case-study-card .card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dark-grey);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Service Card */
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card .card-image { aspect-ratio: 4/3; overflow: hidden; }
.service-card .card-body { flex: 1; display: flex; flex-direction: column; }
.service-card .card-link { margin-top: auto; }

/* Subcategory Card */
.subcategory-card {
  background: var(--white);
  border: 1px solid var(--border-grey);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.subcategory-card:hover { border-color: var(--dark-grey); }
.subcategory-card .card-image { aspect-ratio: 4/3; }
.subcategory-card .card-body { padding: 24px; text-align: center; }
.subcategory-card h4 { font-size: 15px; margin-bottom: 8px; }
.subcategory-card p { font-size: 13px; margin-bottom: 16px; }

/* ========================================
   Grids
   ======================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }

/* ========================================
   Sections
   ======================================== */
.section { padding: var(--section-padding); }
.section-alt { background: var(--bg-light); }

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  background: var(--bg-light);
  padding: 96px 0;
  text-align: center;
  border-top: 1px solid var(--border-grey);
  border-bottom: 1px solid var(--border-grey);
}

.cta-section h2 { color: var(--dark-grey); margin-bottom: 16px; }

.cta-section p {
  color: var(--med-grey);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}
.cta-buttons .btn {
  width: 320px;
  text-align: center;
  justify-content: center;
}

.calendly-placeholder {
  max-width: 500px;
  margin: 32px auto 0;
  background: var(--white);
  border: 2px dashed var(--border-grey);
  padding: 48px 32px;
  color: var(--light-grey);
  font-size: 14px;
  text-align: center;
}

/* ========================================
   LinkedIn Feed
   ======================================== */
.linkedin-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.linkedin-post {
  background: var(--white);
  border: 1px solid var(--border-grey);
  padding: 24px;
}

.linkedin-post-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }

.linkedin-post-avatar {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.linkedin-post-meta strong { display: block; font-size: 13px; color: var(--dark-grey); }
.linkedin-post-meta span { font-size: 11px; color: var(--light-grey); }

.linkedin-post-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--light-grey);
}

.linkedin-post-text { font-size: 13px; color: var(--med-grey); line-height: 1.5; }

/* ========================================
   Page Hero (Inner Pages)
   ======================================== */
.page-hero {
  background: var(--bg-light);
  padding: 112px 0;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-heading);
  color: var(--dark-grey);
  font-size: 48px;
  margin-bottom: 16px;
}

.page-hero p { color: var(--med-grey); font-size: 18px; max-width: 600px; margin: 0 auto; }

.page-hero[style*="color:var(--white)"] h1,
.page-hero[style*="color:var(--white)"] p,
.page-hero[style*="color:var(--white)"] .breadcrumb,
.page-hero[style*="color:var(--white)"] .breadcrumb a { color: rgba(255,255,255,0.9); }

.page-hero[style*="color:var(--white)"] h1 { color: var(--white); }

.breadcrumb { font-size: 12px !important; color: var(--light-grey); margin-bottom: 32px !important; text-transform: uppercase; letter-spacing: 1px; }
.breadcrumb a { color: var(--light-grey); font-size: inherit; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-grey);
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-grey);
  font-family: var(--font);
  font-size: 14px;
  margin-bottom: 32px;
  transition: var(--transition);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

/* ========================================
   About Page
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-light);
  border: 2px dashed var(--border-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-grey);
  font-size: 14px;
  text-align: center;
  padding: 40px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--dark-grey);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 40px;
}

/* Footer top row: brand + newsletter */
.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 64px;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Footer links row */
.footer-links-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}

.footer-brand { flex: 1; max-width: 400px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 16px; line-height: 1.6; }

.footer-newsletter { flex-shrink: 0; max-width: 320px; margin-left: auto; }
.footer-newsletter-label { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.footer-newsletter-label strong { color: #fff; }
.footer-newsletter-form { display: flex; gap: 8px; }

.footer-email-input {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  flex: 1;
  font-family: var(--font);
}

.footer-subscribe-btn {
  padding: 8px 16px;
  background: #fff;
  color: var(--dark-grey);
  border: none;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
}

.footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { font-size: 14px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }

.footer-social { display: flex; gap: 16px; }

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.footer-social a:hover { background: var(--accent); color: var(--white); }

/* ========================================
   Category Slider
   ======================================== */
.category-slider::-webkit-scrollbar { display: none; }

/* ========================================
   Image Comparison Slider (hero)
   ======================================== */
.img-compare {
  --pos: 40%;
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background: transparent;
}
.img-compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  mix-blend-mode: multiply;
}
.img-compare-after {
  clip-path: inset(0 0 0 var(--pos));
}
.img-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--white);
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.img-compare-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
@media (max-width: 720px) {
  .img-compare { max-width: 100%; }
}

/* ========================================
   Product Lightbox
   ======================================== */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  padding: 20px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: var(--white);
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 36px;
  height: 36px;
  background: var(--dark-grey);
  border: none;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 1;
}

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

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--dark-grey);
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--accent); }

.lightbox-counter {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  margin-top: 8px;
}

.lightbox-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-top: 16px;
}

/* Make product images clickable */
.product-card-item .card-image {
  cursor: zoom-in;
}

/* Product image flip on hover/touch */
.product-image-flip {
  position: relative;
  width: 100%;
  height: 100%;
}
.product-img-main,
.product-img-flip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.product-img-flip {
  opacity: 0;
}
.product-image-flip.has-flip.flipped .product-img-main {
  opacity: 0;
}
.product-image-flip.has-flip.flipped .product-img-flip {
  opacity: 1;
}
@media (hover: hover) {
  .product-image-flip.has-flip:hover .product-img-main {
    opacity: 0;
  }
  .product-image-flip.has-flip:hover .product-img-flip {
    opacity: 1;
  }
}

/* ========================================
   Product Grid — hide hardcoded cards until JS loads
   ======================================== */
body[data-category] .product-grid {
  display: none;
}

body[data-category] .product-grid.loaded {
  display: grid;
}

/* ========================================
   Product Sidebar
   ======================================== */
.product-layout > aside {
  position: sticky;
  top: calc(var(--nav-height) + var(--subnav-height) + 32px);
  align-self: start;
}
.product-sidebar {
  border-right: 1px solid var(--border-grey);
  padding-right: 48px;
}

.product-sidebar li {
  padding: 8px 16px;
  margin-bottom: 2px;
  font-size: 14px;
  color: var(--med-grey);
  cursor: pointer;
  transition: var(--transition);
}

.product-sidebar li:hover {
  color: var(--dark-grey);
}

.product-sidebar li.active {
  background: var(--bg-light);
  border-left: 3px solid var(--accent);
  font-weight: 600;
  color: var(--dark-grey);
}

/* ========================================
   Placeholder (development)
   ======================================== */
.placeholder {
  background: var(--bg-light);
  border: 2px dashed var(--border-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-grey);
  font-size: 13px;
  text-align: center;
  padding: 20px;
  min-height: 120px;
}

/* ========================================
   Mobile Menu
   ======================================== */
.nav-links.mobile-open,
.nav-cta.mobile-open {
  display: flex;
}

/* ========================================
   Responsive
   ======================================== */
.spec-grid { gap: 16px !important; }

@media (max-width: 1224px) {
  .product-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
  .spec-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .container { padding: 0 32px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { gap: 16px; }
  .grid-2:has(.value-card-v2) { grid-template-columns: 1fr !important; }
  .product-layout { display: block !important; }
  .product-layout > aside { display: none; }
  .product-filter-dropdown {
    display: block;
    padding: 8px 12px;
    border: 1px solid var(--border-grey);
    font-size: 13px;
    font-family: var(--font);
    background: var(--white);
    cursor: pointer;
    max-width: 200px;
  }
  .product-layout div > div[style*="justify-content"] {
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    position: sticky;
    top: calc(var(--nav-height) + 0px);
    background: var(--white);
    z-index: 100;
    padding: 16px 0;
  }
  .product-count-mobile {
    display: block;
    text-align: center;
    margin-bottom: 24px;
  }
  .product-count-mobile .product-count {
    display: block !important;
    font-size: 13px;
    color: var(--light-grey);
    margin: 0;
  }
  .product-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero-content { top: max(88px, 8vh); }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-links-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 32px;
  }
  h1 { font-size: 48px; }
  h2, .section-title { font-size: 28px; }
  .section-header { margin-bottom: 48px; }
  .section { padding: 80px 0; }
  .about-grid { gap: 64px; grid-template-columns: 1fr; }
  .about-grid .card-image { order: -1; }
  .service-grid .card-image { order: 1; }
  .contact-grid { gap: 64px; }
  .value-card-v2 .card-illustration { width: 240px; height: 240px; bottom: 0; right: 0; }
  .supplier-card { flex-direction: column !important; text-align: left; }
  .supplier-card > div:first-child { margin: 0; width: 100% !important; height: auto !important; aspect-ratio: 4/2; }

  /* Mobile nav at 1024px */
  .nav-links { display: none; }
  .nav-contact-btn { display: none; }
  .mega-menu { display: none !important; }
  .nav-secondary { display: none; }
  .nav-spacer { height: var(--nav-height); }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
  }
  .hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
  }

  /* Mobile menu — full screen overlay */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    background: var(--white);
    padding: 96px 40px 40px;
    gap: 0;
    z-index: 9999;
    overflow-y: auto;
    counter-reset: menu-item -1;
  }
  .nav-links.mobile-open .mobile-menu-logo {
    display: block;
    position: fixed;
    top: 24px;
    left: 40px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--dark-grey);
    z-index: 10000;
  }
  .mobile-menu-logo span {
    color: var(--accent);
  }
  .nav-links.mobile-open > li {
    counter-increment: menu-item;
  }
  .nav-links.mobile-open > li > a {
    padding: 16px 0;
    display: block;
    border-bottom: 1px solid var(--border-grey);
    font-weight: 700;
    font-size: 24px;
    font-family: var(--font-heading);
    color: var(--dark-grey);
    text-transform: none;
    letter-spacing: 0;
  }
  .nav-links.mobile-open > li > a::before {
    content: counter(menu-item, decimal-leading-zero);
    font-size: 11px;
    font-weight: 400;
    color: var(--light-grey);
    margin-right: 16px;
    font-family: var(--font);
    vertical-align: middle;
  }
  .nav-links.mobile-open > li:last-child > a {
    border-bottom: none;
  }
  .nav-links.mobile-open a:hover {
    color: var(--accent);
  }
  .nav-links.mobile-open .dropdown-arrow { display: none; }
  .nav-links.mobile-open .mobile-only-link { display: block; }
  .nav-links.mobile-open li:has(.mobile-categories) > a {
    border-bottom: none !important;
  }

  /* Products dropdown toggle */
  .mobile-menu-toggle { display: none; }

  /* Category sub-links */
  .nav-links.mobile-open .mobile-categories {
    display: block;
    background: transparent;
    padding: 0 0 32px 48px;
    margin: 8px 0;
    border-bottom: 1px solid var(--border-grey);
  }
  .nav-links.mobile-open .mobile-categories li {
    margin-bottom: 8px;
    list-style: none;
  }
  .nav-links.mobile-open .mobile-categories li:last-child {
    margin-bottom: 0;
  }
  .nav-links.mobile-open .mobile-categories.open {
    display: block;
  }
  .nav-links.mobile-open .mobile-categories a {
    padding: 16px 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--med-grey) !important;
    border-bottom: none !important;
    font-family: var(--font-heading) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }
  .nav-links.mobile-open .mobile-categories a::before {
    content: none !important;
  }
  .nav-links.mobile-open .mobile-categories a:hover {
    color: var(--accent) !important;
  }

  /* Close button */
  .mobile-close {
    position: fixed;
    top: 24px;
    right: 40px;
    width: 40px;
    height: 40px;
    font-size: 36px;
    color: var(--accent);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
  }
  .mobile-close:hover { color: var(--dark-grey); }
}

@media (max-width: 768px) {
  h1 { font-size: 28px; }
  h2, .section-title { font-size: 24px; }
  .page-hero { padding: 64px 0; }
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 15px; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 32px; }
  .footer-brand { padding-right: 0; }
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-newsletter { margin-left: 0; }
  .footer-newsletter-form { display: flex; gap: 8px; }
  .footer-email-input { flex: 1; }
  .footer-links-row { grid-template-columns: 1fr 1fr; gap: 24px; }


  .nav-categories {
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
    scrollbar-width: none;
  }

  .nav-categories::-webkit-scrollbar { display: none; }
  .nav-categories a { font-size: 12px; flex-shrink: 0; }

  .hero .container { text-align: center; }
  .hero-content h1 { font-size: 36px; }
  .hero-content p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }

  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .card-body { padding: 24px; }
  .contact-form label { margin-bottom: 8px !important; }
  .contact-form input,
  .contact-form textarea,
  .contact-form select { margin-bottom: 16px !important; }

  /* Product sidebar layout stacks on mobile */
  .container > div[style*="grid-template-columns:240px"] {
    display: block !important;
  }
  .container > div[style*="grid-template-columns:240px"] > aside {
    margin-bottom: 32px;
  }
  .mega-menu-grid { grid-template-columns: 1fr; }
  .footer-links-row { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .linkedin-cards { grid-template-columns: 1fr; }
  .about-grid { gap: 32px; }
  .contact-grid { gap: 64px; }

  /* Supplier cards stack on mobile */
  .supplier-card { flex-direction: column !important; text-align: center; }
  .supplier-card img { margin: 0 auto; }

  /* Contact info rows stack */
  .contact-info-row { flex-direction: column !important; gap: 24px !important; }

  /* Product layout stacks */
  .product-layout { display: block !important; }
  .product-layout > aside { margin-bottom: 32px; }

  /* Calendly responsive */
  .calendly-widget { height: 500px !important; }

  /* Maps responsive */
  .maps-embed iframe { height: 300px !important; }

  /* Industries images */
  .about-grid .card-image { min-height: 200px !important; }

  /* Hero responsive */
  .hero { min-height: auto !important; padding: 64px 0 !important; }
}

@media (min-width: 1025px) {
  .hamburger { display: none; }
}

/* Floating CTA Bar */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 32px 24px;
  background: var(--dark-grey);
  border: none;
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.floating-cta-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 28px;
  height: 28px;
  background: var(--white);
  border: none;
  color: var(--dark-grey);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.floating-cta-close:hover { background: var(--accent); color: var(--white); }
.floating-cta.dismissed {
  transform: translateY(calc(100% + 64px));
}
.floating-cta-bubble {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: scale(0);
  opacity: 0;
}
.floating-cta-bubble.visible {
  transform: scale(1);
  opacity: 1;
}
.floating-cta-bubble:hover { transform: scale(1.1); }
.floating-cta-bubble svg { fill: var(--white); }
.floating-cta .btn-primary { background: var(--accent); color: var(--white); }
.floating-cta .btn-primary:hover { background: #e0323f; }
.floating-cta .btn-secondary { background: var(--white); color: var(--dark-grey); border: none; }
.floating-cta .btn-secondary:hover { background: #e0e0e0; }
.floating-cta-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.status-dot.online {
  background: #4CAF50;
  box-shadow: 0 0 8px rgba(76,175,80,0.5);

}
.status-text {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.floating-cta-note {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin: 0;
}
.floating-cta.hidden {
  opacity: 0;
  visibility: hidden;
}
.floating-cta .btn-float-label-full { display: inline; }
.floating-cta .btn-float-label-short { display: none; }

@media (max-width: 768px) {
  .floating-cta {
    bottom: 24px;
    right: 16px;
    padding: 32px 24px;
    gap: 8px;
  }
  .floating-cta .btn { padding: 8px 16px; font-size: 10px; }
  .floating-cta .btn-float-label-full { display: none; }
  .floating-cta .btn-float-label-short { display: inline; }
  .floating-cta-bubble { bottom: 24px; right: 16px; }
}

@media (max-width: 720px) {
  .container { padding: 0 24px; }
  .spec-grid.grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-2:has(.supplier-card) { grid-template-columns: 1fr !important; }
  .hero-buttons { flex-direction: column; gap: 16px; }
  .hero-buttons .btn { width: 100%; text-align: center; justify-content: center; }
  .category-sticky div[style*="margin-bottom:48px"] { margin-bottom: 16px !important; }
  .category-slider { display: grid !important; grid-template-columns: 1fr 1fr !important; overflow-x: visible !important; padding-left: 8px !important; padding-right: 8px !important; }
  .category-slide { width: 100% !important; max-width: none !important; }
  .category-slide div[style*="padding"] { padding: 16px !important; }
  .card-body { padding: 16px !important; }
  .product-grid { gap: 8px !important; }
  .resource-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 420px) {
  h1 { font-size: 24px; }
  h2, .section-title { font-size: 22px; }
  .container { padding: 0 8px; }
  .about-grid { gap: 24px; }
  .contact-grid { gap: 64px; }
  .footer-links-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-newsletter-form { display: flex; gap: 8px; }
  .footer-email-input { flex: 1; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .grid-2 { gap: 8px; }
  .value-card-v2 .card-illustration {
    position: static !important;
    width: 80px;
    height: 80px;
    transform: none;
    margin: 0 0 16px 0;
    flex-shrink: 0;
    order: -1;
  }
  .value-card-v2 p { max-width: 100% !important; }
  .value-card-v2 { min-height: auto !important; padding: 16px !important; display: flex; flex-direction: column; align-items: flex-start; }
  .value-card-v2 .card-arrow { display: none; }
  .grid-2:has(.value-card-v2) { grid-template-columns: 1fr 1fr !important; gap: 4px; grid-auto-rows: 1fr; }
  .card-body { padding: 16px !important; }
  .testimonial-card { padding: 24px !important; }
  .value-card { padding: 24px !important; }
  .supplier-card { padding: 24px !important; }
  .service-card .card-body { padding: 24px !important; }
  .case-study-card .card-body { padding: 24px !important; }
  .product-card-item div[style*="padding"] { padding: 24px !important; }
  .subcategory-card .card-body { padding: 24px !important; }
  .industry-card { padding: 24px !important; }
}
