/* =========================================
   BYTEWORX — Homepage Stylesheet v3
   Theme: Crisp White + #da373d Brand Red
   Changes: Sharp edges, tighter spacing, image-based solutions,
            marquee clients, corporate video section
   ========================================= */

/* Fonts are enqueued in functions.php (byteworx-fonts) with preconnect hints.
   Do NOT @import them here — that re-downloads the same files and blocks
   rendering until this stylesheet has itself finished loading. */

/* ---- CSS Variables ---- */
:root {
  --clr-bg: #f8f9fb;
  --clr-surface: #ffffff;
  --clr-surface-2: #f2f4f7;

  --clr-red: #da373d;
  --clr-red-dark: #b92d32;
  --clr-red-light: #f0595e;
  --clr-red-pale: rgba(218,55,61,0.07);
  --clr-red-border: rgba(218,55,61,0.2);

  --clr-dark: #0f1117;
  --clr-heading: #111827;
  --clr-body: #374151;
  --clr-muted: #6b7280;
  --clr-light: #9ca3af;
  --clr-border: #e5e7eb;

  --grad-red: linear-gradient(135deg, #da373d 0%, #f0595e 100%);
  --grad-hero-overlay: linear-gradient(100deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.25) 55%, rgba(255,255,255,0.0) 100%);

  --ff-display: 'Inter', sans-serif;
  --ff-body: 'Lato', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-red: 0 6px 24px rgba(218,55,61,0.3);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);

  /* ALL radius values set to 0 — sharp everywhere */
  --radius-sm: 0px;
  --radius: 0px;
  --radius-lg: 0px;
  --radius-xl: 0px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* .site-header is fixed, so a jump to #anchor would otherwise park the
     target underneath it. This offsets every scroll-into-view site-wide —
     the Solutions and Resources dropdown links, and the sticky contact CTA.
     68px header + a little breathing room. */
  scroll-padding-top: 88px;
}
body {
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-body);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Utility ---- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.hero .container { width: 100%; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: 10px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--clr-red);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--clr-heading);
}
.section-title .accent { color: var(--clr-red); }
.section-sub {
  font-size: 15px;
  color: var(--clr-muted);
  max-width: 500px;
  line-height: 1.65;
  margin-top: 10px;
}

/* Centred section header + label, and the shared "nothing here" block.
   These replace the same declarations repeated as inline style attributes
   across the page templates. */
.section-label.is-center { justify-content: center; }
.section-head-center { text-align: center; margin-bottom: 48px; }
.section-head-center.is-tight { margin-bottom: 40px; }
.empty-state {
  text-align: center;
  padding: 80px 0;
  color: var(--clr-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  border-radius: 0;
}
.btn-primary {
  background: var(--clr-red);
  color: #fff;
  border-color: var(--clr-red);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--clr-red-dark);
  border-color: var(--clr-red-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: var(--clr-border);
  color: var(--clr-heading);
}
.btn-outline:hover {
  border-color: var(--clr-red);
  color: var(--clr-red);
}
.btn-outline-white {
  background: transparent;
  border-color: rgba(0,0,0,0.25);
  color: var(--clr-heading);
}
.btn-outline-white:hover {
  border-color: var(--clr-red);
  color: var(--clr-red);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  transition: transform 0.35s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.site-header.scrolled {
  box-shadow: 0 1px 0 var(--clr-border), var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 8px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-item { position: relative; }
/* Contact CTA lives inside the nav list so it can appear in the mobile menu too */
.nav-cta-item { display: flex; align-items: center; margin-left: 10px; }
/* Lock background scrolling while the mobile menu is open */
body.nav-open { overflow: hidden; }
.nav-link {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-body);
  padding: 8px 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.site-header.scrolled .nav-link { color: var(--clr-body); }
.nav-link:hover { color: var(--clr-red); background: var(--clr-red-pale); }
.site-header.scrolled .nav-link:hover { color: var(--clr-red); }
.nav-arrow { transition: transform 0.2s; font-size: 9px; opacity: 0.6; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--clr-border);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  border-radius: 0;
}
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-body);
  transition: var(--transition);
  gap: 8px;
}
.dropdown-menu li a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--clr-red);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.dropdown-menu li a:hover { color: var(--clr-red); background: var(--clr-red-pale); padding-left: 20px; }
.dropdown-menu li a:hover::before { opacity: 1; }

.mega-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 840px;
  background: #fff;
  border: 1px solid var(--clr-border);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.nav-item:hover .mega-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ── Products mega-menu: Rosenberger-style 3-panel layout ── */
.mega-dropdown.mega-rb {
  width: 1050px;
  max-width: calc(100vw - 40px);
  grid-template-columns: 300px 320px 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.mega-rb-feature {
  background: var(--clr-surface-2);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mega-rb-feature-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: #e9ebee;
  transition: background-image 0.2s ease;
}
.mega-rb-feature-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--clr-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mega-rb-mid { padding: 30px 24px; border-right: 1px solid var(--clr-border); }
.mega-rb-parents { max-width: 340px; }
.mega-rb-sub { padding: 30px 30px; }
/* Category with no sub-categories → collapse the third column */
.mega-dropdown.mega-rb.rb-flat { grid-template-columns: 300px 1fr; }
.mega-dropdown.mega-rb.rb-flat .mega-rb-mid { border-right: none; }
.mega-dropdown.mega-rb.rb-flat .mega-rb-sub { display: none; }
.mega-rb-heading {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-red);
  text-decoration: none;
  margin-bottom: 18px;
  transition: color 0.15s;
}
.mega-rb-heading span { font-weight: 400; font-size: 18px; }
.mega-rb-heading:hover { color: var(--clr-heading); }
.mega-rb-parents { list-style: none; margin: 0; padding: 0; }
.mega-rb-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-body);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.mega-rb-parent span { color: var(--clr-red); opacity: 0; transition: opacity 0.15s; }
.mega-rb-parent:hover,
.mega-rb-parent.is-active { color: var(--clr-red); }
.mega-rb-parent:hover span,
.mega-rb-parent.is-active span { opacity: 1; }
.mega-rb-all {
  display: block;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--clr-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-heading);
  text-decoration: none;
  transition: color 0.15s;
}
.mega-rb-all:hover { color: var(--clr-red); }
.mega-rb-panel { display: none; }
.mega-rb-panel.is-active { display: block; }
.mega-rb-children {
  list-style: none;
  margin: 0;
  padding: 0 8px 0 0;
  display: flex;
  flex-direction: column;
  max-height: 300px;      /* fixed natural height — list scrolls when longer */
  overflow-y: auto;
}
.mega-rb-children li a {
  display: block;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--clr-muted);
  text-decoration: none;
  transition: color 0.15s, padding-left 0.15s;
}
.mega-rb-children li a:hover { color: var(--clr-red); padding-left: 4px; }
/* always-visible scrollbar for long sub-category lists (only appears when overflowing) */
.mega-rb-children::-webkit-scrollbar { width: 8px; }
.mega-rb-children::-webkit-scrollbar-thumb { background: #c4c8ce; border-radius: 4px; border: 2px solid #fff; }
.mega-rb-children::-webkit-scrollbar-thumb:hover { background: var(--clr-red); }
.mega-rb-children::-webkit-scrollbar-track { background: #eef0f3; border-radius: 4px; }
.mega-rb-children { scrollbar-width: thin; scrollbar-color: #c4c8ce #eef0f3; }
.mega-col-title {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--clr-red-pale);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
a.mega-col-title:hover {
  color: var(--clr-heading);
  border-bottom-color: var(--clr-red);
}
.mega-col ul li a.mega-view-all {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--clr-red);
}
.mega-col ul li a.mega-view-all:hover { padding-left: 0; opacity: 0.75; }
.mega-col ul li a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-muted);
  transition: color 0.2s, padding-left 0.2s;
}
.mega-col ul li a:hover { color: var(--clr-red); padding-left: 4px; }
.nav-cta { margin-left: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--clr-heading);
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--clr-heading); }
/* Hamburger → X */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Matches the video poster (assets/images/hero-poster.jpg) so the wait for
     the video reads as a neutral loading state. It was near-black, which both
     flashed dark before the poster painted and left the hero copy — which is
     var(--clr-heading), near-black too — unreadable whenever no hero video is
     set or the file fails to load. */
  background: #f2f4f7;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #f2f4f7;
}
.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top right;
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero-overlay);
  z-index: 1;
}
.hero .container {
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-content {
  padding: 40px 0;
  width: 100%;
}
.hero-badge,
.hero-title,
.hero-desc,
.hero-actions { max-width: 100%; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(218,55,61,0.15);
  border: 1px solid rgba(218,55,61,0.3);
  padding: 6px 16px 6px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fca5a5;
  margin-bottom: 22px;
  animation: fadeUp 0.8s ease both;
}
.hero-badge .badge-dot {
  width: 28px; height: 28px;
  background: var(--clr-red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-badge .badge-dot svg { width: 14px; height: 14px; }

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(46px, 7vw, 90px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--clr-heading);
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-title .red-line { color: var(--clr-red); display: block; }
.hero-title .thin-line { font-weight: 300; font-style: italic; display: block; color: var(--clr-heading); }

.hero-desc {
  font-size: 16px;
  color: var(--clr-body);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 700px;
  animation: fadeUp 0.8s 0.18s ease both;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.26s ease both;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
}
.scroll-bar {
  width: 1px; height: 44px;
  background: rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.scroll-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: var(--clr-red);
  animation: scrollAnim 2s ease infinite;
}
@keyframes scrollAnim {
  0% { top: -40%; }
  100% { top: 140%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: rgba(229, 231, 235, 1);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 3px solid var(--clr-red);
}
.stats-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 32px 40px;
  border-right: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  width: 42px; height: 42px;
  background: rgba(218,55,61,0.1);
  border: 1px solid rgba(218,55,61,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 20px; height: 20px; color: var(--clr-red); }
.stat-val {
  font-family: var(--ff-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--clr-heading);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-val span { color: var(--clr-red); }
.stat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* ============================================================
   SOLUTIONS — AUTO-SCROLLING CARD SLIDER
   ============================================================ */
.solutions {
  padding: 80px 0 0;
  background: var(--clr-surface);
}
.solutions-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 40px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

/* Slider wrapper — full bleed, no container */
.sol-slider-wrap {
  overflow: hidden;
  position: relative;
  padding-bottom: 0;
  background: var(--clr-surface);
}
.sol-slider-wrap::before,
.sol-slider-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}
.sol-slider-wrap::before { left: 0; background: linear-gradient(to right, var(--clr-surface), transparent); }
.sol-slider-wrap::after  { right: 0; background: linear-gradient(to left, var(--clr-surface), transparent); }

.sol-slider-wrap { cursor: grab; touch-action: pan-y; }
.sol-slider-wrap.is-dragging { cursor: grabbing; }
.sol-slider-wrap.is-dragging .sol-card { pointer-events: none; }
.sol-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: solScroll 32s linear infinite;
  padding: 8px 0;
  user-select: none;
}
.sol-track:hover { animation-play-state: paused; }

@keyframes solScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sol-card {
  position: relative;
  overflow: hidden;
  width: 360px;
  height: 460px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  transition: box-shadow 0.3s, transform 0.3s;
}
.sol-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
  transform: translateY(-6px);
}
.sol-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.sol-card:hover .sol-card-bg { transform: scale(1.07); }
.sol-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.05) 100%);
  transition: background 0.35s;
}
.sol-card:hover .sol-card-overlay {
  background: linear-gradient(to top, rgba(218,55,61,0.85) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.05) 100%);
}
.sol-card-body {
  position: relative;
  z-index: 2;
  padding: 24px 26px;
  width: 100%;
}
.sol-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.sol-icon-wrap {
  width: 38px; height: 38px;
  background: var(--clr-red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  transition: var(--transition);
}
.sol-card:hover .sol-icon-wrap { background: #fff; }
.sol-card:hover .sol-icon-wrap svg { color: var(--clr-red); }
.sol-icon-wrap svg { width: 18px; height: 18px; color: #fff; }
.sol-name {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
}
.sol-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin 0.3s;
}
.sol-card:hover .sol-desc { max-height: 90px; margin-bottom: 4px; }
.sol-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  transition: color 0.2s, gap 0.2s;
}
.sol-card:hover .sol-link { color: #fff; gap: 9px; }
.sol-link svg { width: 13px; height: 13px; }

/* ============================================================
   WHY BYTEWORX
   ============================================================ */
.why { padding: 0; overflow: hidden; }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.why-image-col {
  position: relative;
  overflow: hidden;
}
.why-parallax-img {
  position: absolute;
  inset: -80px 0;
  background-image: url('../images/why-choose-us.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
}
.why-image-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, var(--clr-surface-2) 100%);
  z-index: 1;
}
.why-content-col {
  background: var(--clr-surface-2);
  padding: 70px 56px 70px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.why-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-left: 3px solid var(--clr-red);
  padding: 20px 18px;
  transition: var(--transition);
}
.why-card:hover {
  border-color: var(--clr-red);
  border-left-color: var(--clr-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.why-card-icon {
  width: 36px; height: 36px;
  background: var(--clr-red-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.why-card-icon svg { width: 18px; height: 18px; color: var(--clr-red); }
.why-card-title {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 5px;
}
.why-card-text { font-size: 12.5px; color: var(--clr-muted); line-height: 1.55; }

/* ============================================================
   CORPORATE VIDEO
   ============================================================ */
.corp-video {
  padding: 80px 0;
  background: var(--clr-dark);
  position: relative;
  overflow: hidden;
}
.corp-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 60px,
    rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px
  );
  pointer-events: none;
}
.corp-video-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}
.corp-video-text .section-label { color: rgba(255,255,255,0.5); }
.corp-video-text .section-label::before { background: var(--clr-red); }
.corp-video-title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.corp-video-title .accent { color: var(--clr-red); }
.corp-video-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 28px;
}
.corp-video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #1a1a2e;
  overflow: hidden;
}
.corp-video-wrap video,
.corp-video-wrap iframe {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Play button overlay for placeholder */
.corp-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(15,17,23,0.55), rgba(15,17,23,0.55));
  cursor: pointer;
  gap: 16px;
  transition: background 0.3s;
}
.corp-video-placeholder:hover {
  background: linear-gradient(135deg, rgba(15,17,23,0.45), rgba(15,17,23,0.45));
}
.play-btn {
  width: 72px; height: 72px;
  background: var(--clr-red);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.play-btn:hover { background: var(--clr-red-dark); transform: scale(1.05); }
.play-btn svg { width: 28px; height: 28px; color: #fff; margin-left: 4px; }
.play-label {
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   FEATURED PRODUCTS
   ============================================================ */
.products {
  padding: 80px 0;
  background: var(--clr-surface);
}
.products-head { text-align: center; margin-bottom: 40px; }
.products-head .section-label { justify-content: center; }
.products-head .section-sub { margin: 10px auto 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Dividers drawn per-card (see .product-card outline) so a row that doesn't
     divide evenly leaves no visible empty cell — transparent lets the leftover
     space blend into the section behind it. */
  gap: 1px;
  background: transparent;
}
.product-card {
  background: var(--clr-surface);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border-radius: 0;
  /* outline (not box-shadow) — :hover replaces box-shadow, and outline sits
     outside the box so it meets the 1px grid gap to form the divider lines */
  outline: 1px solid var(--clr-border);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  position: relative;
  z-index: 2;
}
.product-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--clr-surface-2);
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-tag {
  position: absolute;
  top: 12px; left: 0;
  background: var(--clr-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
}
.product-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 2px solid var(--clr-border);
  border-bottom: none;
  transition: border-color 0.2s;
}
.product-card:hover .product-body { border-top-color: var(--clr-red); }
.product-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-red);
}
.product-name {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-heading);
}
.product-spec { font-size: 13px; color: var(--clr-muted); line-height: 1.5; flex: 1; }
.product-action { margin-top: 6px; }

/* The whole card is an <a>, so the "View Details" CTA is a <span> — it can no
   longer match :hover itself (the pointer is over the card, and a span is not
   a link). Drive its hover from the card instead, matching .btn-outline:hover. */
.product-card-cta { padding: 8px 18px; font-size: 12px; }
.product-card:hover .product-card-cta {
  border-color: var(--clr-red);
  color: var(--clr-red);
}
/* Keyboard parity: the card is focusable now that it is a link. */
.product-card:focus-visible {
  outline: 2px solid var(--clr-red);
  outline-offset: 2px;
}

/* ── Inline product accordion (drop-down products on category page) ── */
.bw-accordion { display: flex; flex-direction: column; gap: 12px; }
.bw-acc-item {
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--clr-surface);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.bw-acc-item.is-open { box-shadow: var(--shadow-md); border-color: var(--clr-red); }
.bw-acc-head {
  display: flex; align-items: center; gap: 16px;
  width: 100%; padding: 14px 18px;
  background: none; border: none; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
}
.bw-acc-thumb {
  width: 56px; height: 56px; flex: 0 0 56px;
  object-fit: cover; border-radius: 6px; background: var(--clr-surface-2);
}
.bw-acc-titles { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.bw-acc-title {
  font-family: var(--ff-display); font-size: 16px; font-weight: 700; color: var(--clr-heading);
}
.bw-acc-spec { font-size: 12.5px; color: var(--clr-muted); line-height: 1.4; }
.bw-acc-arrow {
  flex: 0 0 auto; color: var(--clr-red);
  display: flex; align-items: center; transition: transform 0.3s ease;
}
.bw-acc-item.is-open .bw-acc-arrow { transform: rotate(180deg); }
.bw-acc-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.bw-acc-item.is-open .bw-acc-panel { grid-template-rows: 1fr; }
.bw-acc-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.bw-acc-item.is-open .bw-acc-panel-inner {
  padding: 4px 18px 22px;
  border-top: 1px solid var(--clr-border);
}
.bw-acc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 700px) { .bw-acc-cols { grid-template-columns: 1fr; gap: 8px; } }
.bw-inline-desc { font-size: 13.5px; line-height: 1.65; color: var(--clr-muted); margin: 14px 0 18px; }
.bw-inline-block { margin-bottom: 14px; }
.bw-inline-block h4 {
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--clr-red); margin-bottom: 8px;
}
.bw-inline-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bw-inline-list li {
  font-size: 13px; color: var(--clr-text); padding-left: 16px; position: relative; line-height: 1.5;
}
.bw-inline-list li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  background: var(--clr-red); border-radius: 50%;
}
.bw-acc-specs { width: 100%; border-collapse: collapse; }
.bw-acc-specs th, .bw-acc-specs td {
  text-align: left; font-size: 12.5px; padding: 7px 10px;
  border-bottom: 1px solid var(--clr-border); vertical-align: top;
}
.bw-acc-specs th { font-weight: 700; color: var(--clr-heading); width: 42%; }
.bw-acc-specs td { color: var(--clr-muted); }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries {
  padding: 80px 0;
  background: var(--clr-surface-2);
}
.industries-head { text-align: center; margin-bottom: 40px; }
.industries-head .section-label { justify-content: center; }
.industries-head .section-sub { margin: 10px auto 0; }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: #ddd;
}
.ind-card {
  background: var(--clr-surface);
  border-bottom: 3px solid transparent;
  padding: 28px 14px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.ind-card:hover {
  border-bottom-color: var(--clr-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  position: relative;
  z-index: 1;
}
.ind-icon {
  width: 42px; height: 42px;
  background: var(--clr-red-pale);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  transition: var(--transition);
}
.ind-card:hover .ind-icon { background: var(--clr-red); }
.ind-icon svg { width: 20px; height: 20px; color: var(--clr-red); transition: color 0.2s; }
.ind-card:hover .ind-icon svg { color: #fff; }
.ind-name {
  font-family: var(--ff-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 5px;
}
.ind-desc { font-size: 11.5px; color: var(--clr-muted); line-height: 1.45; }

/* ============================================================
   NUMBERS
   ============================================================ */
.numbers {
  padding: 70px 0;
  background: var(--clr-red);
  position: relative;
  overflow: hidden;
}
.numbers-parallax {
  position: absolute;
  inset: -80px 0;
  background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.07;
  will-change: transform;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}
.num-item {
  text-align: center;
  padding: 16px 32px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.num-item:last-child { border-right: none; }
.num-value {
  font-family: var(--ff-display);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
  color: #fff;
  line-height: 1;
}
.num-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certs {
  padding: 70px 0;
  background: var(--clr-surface);
}
.certs-head { text-align: center; margin-bottom: 40px; }
.certs-head .section-label { justify-content: center; }
.certs-head .section-sub { margin: 10px auto 0; }

/* ---- Static certs grid ---- */
.certs-static {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.certs-static .cert-badge {
  flex: 1;
  min-width: 180px;
}
.certs-static .cert-badge .cert-name {
  word-break: break-word;
  white-space: normal;
  line-height: 1.35;
}
.certs-static .cert-badge .cert-sub {
  white-space: normal;
  line-height: 1.4;
}

.cert-badge {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-bottom: 2px solid var(--clr-red);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: normal;
  flex-shrink: 0;
  transition: var(--transition);
}
.cert-badge:hover { box-shadow: var(--shadow-sm); }
.cert-icon {
  width: 34px; height: 34px;
  background: var(--clr-red-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cert-icon svg { width: 17px; height: 17px; color: var(--clr-red); }
.cert-name { font-size: 13.5px; font-weight: 700; color: var(--clr-heading); }
.cert-sub { font-size: 11.5px; color: var(--clr-muted); margin-top: 1px; }

/* ============================================================
   CLIENTS — MARQUEE SCROLLING
   ============================================================ */
.clients {
  padding: 60px 0;
  background: #1e2029;
  overflow: hidden;
}
.clients-head { text-align: center; margin-bottom: 36px; }
.clients-head .section-label { justify-content: center; color: rgba(255,255,255,0.45); }
.clients-head .section-label::before { background: rgba(255,255,255,0.3); }
.clients-head .section-title { color: #fff; }
.clients-head .section-title .accent { color: var(--clr-red); }

.marquee-wrapper {
  overflow: hidden;
  position: relative;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, #1e2029, transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, #1e2029, transparent); }
.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 120s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* 6 visible on desktop: viewport ~1440px / 6 = 240px each */
.client-logo-box {
  background: transparent;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-top: none;
  border-bottom: none;
  border-right: none;
  padding: 20px 0;
  flex-shrink: 0;
  width: calc(100vw / 6);
  min-width: 180px;
  max-width: 240px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.client-logo-box:last-child { border-right: 1px solid rgba(255,255,255,0.08); }
.client-logo-box:hover { background: rgba(255,255,255,0.04); }
.client-logo-box img {
  max-width: 140px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 0.85;
  transition: var(--transition);
}
.client-logo-box:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.client-dot { display: none; }

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights {
  padding: 80px 0;
  background: var(--clr-surface);
}
.insights-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: #e0e0e0;
}
.blog-card {
  background: var(--clr-surface);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); position: relative; z-index: 1; }
.blog-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.blog-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img-wrap img { transform: scale(1.05); }
.blog-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--clr-border);
  transition: border-color 0.2s;
}
.blog-card:hover .blog-body { border-top-color: var(--clr-red); }
.blog-meta {
  display: flex;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--clr-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  align-items: center;
}
.blog-tag {
  color: var(--clr-red);
  background: var(--clr-red-pale);
  padding: 2px 8px;
  font-size: 10px;
}
.blog-title {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-heading);
  line-height: 1.3;
  margin-bottom: 8px;
  flex: 1;
  transition: color 0.2s;
}
.blog-card:hover .blog-title { color: var(--clr-red); }
.blog-excerpt { font-size: 13px; color: var(--clr-muted); line-height: 1.55; margin-bottom: 14px; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-red);
  transition: gap 0.2s;
}
.blog-read-more svg { width: 13px; height: 13px; }
.blog-card:hover .blog-read-more { gap: 9px; }

/* ============================================================
   WORDPRESS CORE OUTPUT — pagination, search form, a11y helper
   These markup patterns come from WP itself (the_posts_pagination,
   get_search_form), so they need styling here or they render raw.
   ============================================================ */

/* Screen-reader-only text. WP emits this class for labels such as the search
   form's "Search for:" — without it that text is visible on the page. */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px; width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
}

/* ---- Pagination ---- */
.pagination { margin-top: 48px; }
.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-body);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
}
.pagination .page-numbers:hover {
  color: var(--clr-red);
  border-color: var(--clr-red);
}
.pagination .page-numbers.current {
  background: var(--clr-red);
  border-color: var(--clr-red);
  color: #fff;
}
.pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* ---- Search form ---- */
.search-form {
  display: flex;
  gap: 8px;
  width: 100%;
}
.search-form label { flex: 1; display: block; }
.search-form .search-field {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--clr-heading);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 0;
  outline: none;
  transition: var(--transition);
}
.search-form .search-field:focus { border-color: var(--clr-red); }
.search-form .search-submit {
  height: 46px;
  padding: 0 24px;
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: var(--clr-red);
  border: 1px solid var(--clr-red);
  cursor: pointer;
  transition: var(--transition);
}
.search-form .search-submit:hover { background: var(--clr-red-dark); border-color: var(--clr-red-dark); }

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: var(--clr-dark);
}
.cta-parallax-bg {
  position: absolute;
  inset: -80px 0;
  background-image: url('../images/cta-background.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.15;
  will-change: transform;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(218,55,61,0.12) 0%, transparent 60%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--ff-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.08;
}
.cta-title .accent { color: var(--clr-red); }
.cta-sub { font-size: 15px; color: rgba(255,255,255,0.5); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0f1117;
  border-top: 3px solid var(--clr-red);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-contact-col .footer-contact li a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-contact-col .footer-contact li a:hover { color: var(--clr-red); }
.footer-contact li span strong { color: #fff; font-weight: 700; }
.footer-offices { margin-top: 16px; display: flex; flex-direction: column; gap: 5px; }
.footer-offices p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5; }
.footer-offices p strong { color: #fff; font-weight: 700; }
.footer-legalno { margin-top: 16px; display: flex; flex-direction: column; gap: 3px; }
.footer-legalno p { margin: 0; font-size: 12px; color: rgba(255,255,255,0.32); letter-spacing: 0.3px; }
.footer-catalogs { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.footer-catalog-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 40px;
  font-size: 13px; font-weight: 600; color: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.footer-catalog-btn svg { width: 16px; height: 16px; color: var(--clr-red); }
.footer-catalog-btn:hover { border-color: var(--clr-red); background: rgba(218,55,61,0.08); }
.footer-contact-btn {
  display: flex; align-items: center; justify-content: center;
  margin-top: 12px; padding: 13px 18px;
  border-radius: 40px;
  background: var(--clr-red);
  color: #fff; font-size: 14px; font-weight: 700;
  transition: box-shadow 0.25s, transform 0.15s;
}
.footer-contact-btn:hover { box-shadow: 0 8px 26px rgba(218,55,61,0.4); transform: translateY(-1px); }
.footer-brand img { height: 52px; margin-bottom: 16px; }

/* Sticky "Call / Get in Touch" bar — mobile only, see @media (max-width: 768px) */
.mobile-contact-bar { display: none; }
.footer-tagline {
  font-size: 13.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 270px;
}
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-contact-icon { width: 15px; height: 15px; color: var(--clr-red); flex-shrink: 0; margin-top: 2px; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.social-link {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-link svg { width: 15px; height: 15px; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.social-link:hover { background: var(--clr-red); border-color: var(--clr-red); }
.social-link:hover svg { color: #fff; }
.footer-col-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: var(--clr-red); padding-left: 4px; }
.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.22); }
.footer-copy span { color: var(--clr-red); }
/* Credit link. The global `a { color: inherit }` would render it identical to
   the surrounding text, so lift it slightly to read as a link, and reuse the
   red hover from .footer-legal a. Not a <span> — that rule above is red. */
.footer-copy a { color: rgba(255,255,255,0.38); transition: color 0.2s; }
.footer-copy a:hover { color: var(--clr-red); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12.5px; color: rgba(255,255,255,0.22); transition: color 0.2s; }
.footer-legal a:hover { color: var(--clr-red); }


/* CTA red background variant */
.cta-red {
  background: var(--clr-red) !important;
}
.cta-red .cta-parallax-bg { opacity: 0.18; }
.cta-red .cta-overlay { background: rgba(0,0,0,0.1); }
.cta-red .section-label { color: rgba(255,255,255,0.6) !important; }
.cta-red .section-label::before { background: rgba(255,255,255,0.5); }
.cta-red .cta-title { color: #fff; }
.cta-red .cta-title .accent { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.cta-red .cta-sub { color: rgba(255,255,255,0.75); }
.cta-red .btn-primary {
  background: #fff;
  color: var(--clr-red);
  border-color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-red .btn-primary:hover { background: rgba(255,255,255,0.9); }
.cta-red .btn-outline-white {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.cta-red .btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }
[data-reveal][data-delay="5"] { transition-delay: 0.5s; }
.stagger-child {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.stagger-active .stagger-child { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.08); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(0,0,0,0.08); }
  .stat-item:last-child { border-bottom: none; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; }
  .why-image-col { height: 320px; }
  .why-parallax-img { inset: 0; }
  .why-image-col::after { background: linear-gradient(180deg, transparent 60%, var(--clr-surface-2) 100%); }
  .why-content-col { padding: 56px 36px; }
  .corp-video-inner { grid-template-columns: 1fr; gap: 36px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 28px 16px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 36px; }
  .mega-dropdown { width: 500px; grid-template-columns: repeat(2, 1fr); }
  /* keep the Products mega-menu in its 3-panel form, just narrower */
  .mega-dropdown.mega-rb { width: 860px; grid-template-columns: 260px 220px 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }

  /* ---- Full-screen mobile menu ---- */
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: 68px; left: 0; right: 0;
    /* NOT `bottom: 0` — .site-header has `will-change: transform`, which makes it
       the containing block for fixed children, so `bottom` would resolve against
       the 68px header and collapse this panel. A viewport-unit height is immune. */
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);   /* accounts for mobile browser chrome */
    margin: 0;
    padding: 0 0 32px;
    background: #fff;
    border-top: 1px solid var(--clr-border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 999;
  }
  .nav-menu.open .nav-item { border-bottom: 1px solid var(--clr-border); }
  .nav-menu.open .nav-link {
    justify-content: space-between;
    padding: 16px 22px;
    font-size: 15px;
    color: var(--clr-heading);
  }
  .nav-menu.open .nav-link:hover { background: none; color: var(--clr-heading); }
  .nav-item.open > .nav-link { color: var(--clr-red); }

  /* Arrow reflects expanded state (not hover, which is meaningless on touch) */
  .nav-arrow { font-size: 11px; opacity: 0.75; }
  .nav-item:hover .nav-arrow { transform: none; }
  .nav-item.open > .nav-link .nav-arrow { transform: rotate(180deg); }

  /* ---- Sub-menus: inline accordion under the parent ---- */
  .dropdown-menu, .mega-dropdown {
    position: static; transform: none;
    opacity: 1; visibility: visible;
    box-shadow: none; border: none; border-radius: 0;
    width: 100%; min-width: 0; max-width: none;
    background: var(--clr-surface);
    padding: 4px 0 8px;
    display: none;
  }
  .nav-item.open > .dropdown-menu,
  .nav-item.open > .mega-dropdown { display: block; }
  .dropdown-menu li a { padding: 12px 22px 12px 36px; font-size: 14px; }

  /* The desktop centring transform lives on `.nav-item:hover .mega-dropdown`
     (specificity 0,2,0), which outranks the plain reset above — and touch
     browsers apply sticky :hover on tap, shifting the panel half its width
     off-screen. Re-reset it at matching specificity. */
  .nav-item:hover .dropdown-menu,
  .nav-item:hover .mega-dropdown,
  .nav-item.open > .dropdown-menu,
  .nav-item.open > .mega-dropdown {
    transform: none;
    left: auto; right: auto;
  }

  /* Products mega menu collapses to a plain category list */
  .mega-dropdown { grid-template-columns: 1fr; }
  .mega-dropdown.mega-rb {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;   /* the 1024px block still sets 3 columns here */
    overflow: visible;
  }
  .mega-rb-feature, .mega-rb-sub, .mega-rb-heading { display: none; }
  .mega-rb-mid { border-right: none; padding: 0; }
  .mega-rb-parents { max-width: none; }
  .mega-rb-parent,
  .mega-rb-all {
    padding: 12px 22px 12px 36px;
    font-size: 14px;
    white-space: normal;   /* desktop uses nowrap; allow wrapping on narrow screens */
  }
  .mega-rb-parent span { opacity: 1; }

  /* Contact CTA pinned as the last row of the menu */
  .nav-menu.open .nav-cta-item {
    border-bottom: none;
    margin: 0;
    padding: 20px 22px;
  }
  .nav-menu.open .nav-cta { width: 100%; justify-content: center; }

  /* A full 100vh hero is excessive on tall phone screens, so keep it short —
     133vw is roughly a 3:4 portrait and still scales with viewport width.
     min-height, NOT aspect-ratio: .hero sets overflow:hidden, so a fixed
     aspect-ratio box clips any copy that does not fit instead of growing.
     padding-top clears the fixed header, which otherwise sits on top of the
     hero title (box-sizing is border-box, so this does not add height). */
  .hero {
    min-height: 133vw;
    padding-top: 68px;
  }
  .hero-title { font-size: 42px; letter-spacing: -1.5px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .why-features { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  /* Category/product listing keeps two columns on phones (compact cards) */
  .products-grid--listing { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* ---- Stats band ----
     Two columns on a ~390px screen leaves ~195px per cell, but the desktop
     rule spends 80px of that on horizontal padding and another 58px on the
     icon + gap, leaving too little for a 34px number. Grid and flex children
     default to min-width:auto, so instead of shrinking they force the track
     wider than the viewport — which is the blank strip down the right of the
     page and the numbers running out of their cells. Shrink the box AND let
     it shrink. */
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item {
    padding: 22px 14px;
    gap: 10px;
    min-width: 0;
  }
  .stat-item > div { min-width: 0; }
  .stat-icon { width: 34px; height: 34px; }
  .stat-icon svg { width: 16px; height: 16px; }
  .stat-val { font-size: 26px; letter-spacing: -0.5px; }
  .stat-label { font-size: 9px; letter-spacing: 1.2px; }

  /* ---- Mobile sticky contact bar ---- */
  .mobile-contact-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 998;
    gap: 10px;
    background: #fff;
    border-top: 1px solid var(--clr-border);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .mcb-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 12px;
    font-family: var(--ff-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
  }
  .mcb-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
  .mcb-contact { background: var(--clr-red); color: #fff; }
  /* Keep the sticky bar from covering footer content underneath it */
  .site-footer { padding-bottom: 64px; }
}

/* ============================================================
   INNER PAGE — SHARED STYLES
   ============================================================ */

/* Page Hero Banner */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--clr-dark);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(218,55,61,0.15) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: 14px;
}
.page-hero-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--clr-red);
}
.page-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -1.5px;
  max-width: 800px;
  margin-bottom: 18px;
}
.page-hero-title .accent { color: var(--clr-red); }
.page-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 32px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.page-breadcrumb a:hover { color: var(--clr-red); }
.page-breadcrumb span { color: rgba(255,255,255,0.6); }

/* Inner page content sections */
.inner-section {
  padding: 80px 0;
}
.inner-section-alt {
  padding: 80px 0;
  background: var(--clr-surface-2);
}
.inner-section-dark {
  padding: 80px 0;
  background: var(--clr-dark);
}

/* Two-col layout for inner pages */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }
.two-col-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.two-col-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.two-col-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--clr-red);
}
.two-col-text .section-label { margin-bottom: 12px; }
.two-col-text .section-title { margin-bottom: 14px; }
.two-col-text p { font-size: 15px; color: var(--clr-muted); line-height: 1.7; margin-bottom: 14px; }
.two-col-text p:last-of-type { margin-bottom: 0; }

/* ============================================================
   SINGLE PRODUCT PAGE (redesigned)
   ============================================================ */
.pd-overview { padding: 64px 0; background: var(--clr-surface); }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .pd-grid { grid-template-columns: 1fr; gap: 36px; } }

.pd-gallery { position: sticky; top: 96px; }
@media (max-width: 900px) { .pd-gallery { position: static; } }
/* No fixed aspect-ratio: the box follows the image's own proportions so nothing
   is cropped (product shots are typically square, e.g. 1200x1200). */
.pd-main-img {
  border: 1px solid var(--clr-border); border-radius: 12px; overflow: hidden;
  background: var(--clr-surface-2);
}
.pd-main-img img { width: 100%; height: auto; display: block; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb {
  width: 76px; height: 76px; padding: 0; border: 2px solid var(--clr-border);
  border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--clr-surface-2);
  transition: border-color 0.2s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.is-active { border-color: var(--clr-red); }

.pd-cat {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--clr-red); text-decoration: none; margin-bottom: 12px;
}
.pd-cat:hover { text-decoration: underline; }
.pd-title {
  font-family: var(--ff-display); font-size: clamp(24px, 3vw, 34px); font-weight: 800;
  color: var(--clr-heading); line-height: 1.15; margin-bottom: 14px;
}
.pd-lead { font-size: 16px; line-height: 1.6; color: var(--clr-heading); font-weight: 500; margin-bottom: 18px; }
.pd-desc { font-size: 15px; line-height: 1.8; color: var(--clr-muted); margin-bottom: 26px; }
.pd-desc p { margin-bottom: 14px; }
.pd-desc p:last-child { margin-bottom: 0; }

.pd-cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 24px; border: 1px solid var(--clr-border); border-left: 4px solid var(--clr-red);
  border-radius: 10px; background: var(--clr-surface-2);
}
.pd-cta-text { display: flex; flex-direction: column; gap: 3px; }
.pd-cta-text strong { font-size: 15px; color: var(--clr-heading); }
.pd-cta-text span { font-size: 12.5px; color: var(--clr-muted); }
.pd-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.pd-downloads { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--clr-border); }
.pd-downloads-title { font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--clr-heading); margin-bottom: 12px; }
.pd-download-link {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 8px 0;
  padding: 9px 16px; border: 1px solid var(--clr-border); border-radius: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--clr-heading); text-decoration: none; transition: var(--transition);
}
.pd-download-link:hover { border-color: var(--clr-red); color: var(--clr-red); }

/* Spec + features section */
.pd-section { padding: 64px 0; }
.pd-section-alt { background: var(--clr-surface-2); }
.pd-section-head { text-align: center; margin-bottom: 44px; }
.pd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .pd-cols { grid-template-columns: 1fr; gap: 36px; } }
.pd-block-title {
  font-family: var(--ff-display); font-size: 20px; font-weight: 700; color: var(--clr-heading);
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--clr-red);
  display: inline-block;
}
.pd-specs { width: 100%; border-collapse: collapse; }
.pd-specs th, .pd-specs td {
  text-align: left; font-size: 13.5px; padding: 11px 14px; vertical-align: top;
  border-bottom: 1px solid var(--clr-border);
}
.pd-specs th { font-weight: 600; color: var(--clr-heading); width: 46%; background: var(--clr-surface-2); }
.pd-specs td { color: var(--clr-muted); }

.pd-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pd-features li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.55; color: var(--clr-body); }
.pd-features svg { width: 17px; height: 17px; color: var(--clr-red); flex: 0 0 17px; margin-top: 2px; }

.pd-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .pd-apps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pd-apps { grid-template-columns: 1fr; } }
.pd-app {
  display: flex; align-items: flex-start; gap: 12px; padding: 20px;
  background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: 10px;
  transition: var(--transition);
}
.pd-app:hover { border-color: var(--clr-red); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pd-app svg { width: 22px; height: 22px; color: var(--clr-red); flex: 0 0 22px; }
.pd-app span { font-size: 13.5px; line-height: 1.5; color: var(--clr-body); }

/* Models / Variants */
.pd-models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .pd-models { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pd-models { grid-template-columns: 1fr; } }
.pd-model { background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: 10px; overflow: hidden; transition: var(--transition); }
.pd-model:hover { border-color: var(--clr-red); box-shadow: var(--shadow-md); transform: translateY(-3px); }
/* Same as .pd-main-img — no fixed ratio, so square product shots aren't cropped */
.pd-model-img { background: var(--clr-surface-2); }
.pd-model-img img { width: 100%; height: auto; display: block; }
.pd-model-body { padding: 18px 20px 20px; }
.pd-model-name { font-family: var(--ff-display); font-size: 16px; font-weight: 700; color: var(--clr-heading); margin-bottom: 12px; }

/* Category intro copy (below hero on category landing pages) */
.cat-intro-section { padding: 48px 0 8px; }
.cat-intro { max-width: 880px; }
.cat-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--clr-muted);
  margin-bottom: 16px;
}
.cat-intro p:last-child { margin-bottom: 0; }

/* Sub-page nav grid (About sub-pages) */
.sub-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  /* Transparent, not grey: the container shows through both the gaps AND any
     cell left empty when the tiles don't fill the last row (e.g. 8 across 3
     cols), so that leftover space blends into the section behind it. */
  background: transparent;
  margin-top: 56px;
}
.sub-nav-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  background: #111;
}
.sub-nav-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.sub-nav-card:hover .sub-nav-card-bg { transform: scale(1.06); }
.sub-nav-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  transition: background 0.3s;
}
.sub-nav-card:hover .sub-nav-card-overlay {
  background: linear-gradient(to top, rgba(218,55,61,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.sub-nav-card-body {
  position: relative;
  z-index: 1;
  padding: 22px 24px;
  width: 100%;
}
.sub-nav-card-title {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.sub-nav-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s, gap 0.2s;
}
.sub-nav-card:hover .sub-nav-card-cta { color: #fff; gap: 10px; }
.sub-nav-card-cta svg { width: 13px; height: 13px; }

/* Values / Pillars grid */
/* Our Story — Vision / Mission cards */
.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }

/* Quality & Certifications — Standards list */
.standards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Dividers are drawn per-card (see .pillar-card outline) rather than by a
     coloured container showing through the gaps — that way a row which doesn't
     divide evenly (e.g. 5 cards across 3 columns) leaves no visible empty cell.
     Transparent so the leftover cell blends into whatever section sits behind. */
  gap: 1px;
  background: transparent;
}
.pillar-card {
  background: var(--clr-surface);
  padding: 32px 28px;
  border-top: 3px solid transparent;
  /* outline (not box-shadow) — :hover replaces box-shadow, and outline sits
     outside the box so it meets the 1px grid gap to form the divider lines */
  outline: 1px solid var(--clr-border);
  transition: var(--transition);
}
.pillar-card:hover {
  border-top-color: var(--clr-red);
  box-shadow: var(--shadow-md);
}
.pillar-num {
  font-family: var(--ff-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: 10px;
}
.pillar-icon {
  width: 44px; height: 44px;
  background: var(--clr-red-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pillar-icon svg { width: 22px; height: 22px; color: var(--clr-red); }
.pillar-title {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 8px;
}
.pillar-text { font-size: 13.5px; color: var(--clr-muted); line-height: 1.6; }

/* Solutions vertical list */
.sol-vertical {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: #ddd;
}
.sol-vertical-card {
  background: var(--clr-surface);
  padding: 36px 32px;
  border-left: 4px solid transparent;
  transition: var(--transition);
}
.sol-vertical-card:hover {
  border-left-color: var(--clr-red);
  box-shadow: var(--shadow-md);
}
.sol-vertical-num {
  font-size: 10px; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: var(--clr-red); margin-bottom: 14px;
}
.sol-vertical-icon {
  width: 48px; height: 48px;
  background: var(--clr-red-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.sol-vertical-icon svg { width: 24px; height: 24px; color: var(--clr-red); }
.sol-vertical-title {
  font-family: var(--ff-display);
  font-size: 20px; font-weight: 700;
  color: var(--clr-heading); margin-bottom: 10px;
}
.sol-vertical-desc { font-size: 14px; color: var(--clr-muted); line-height: 1.65; margin-bottom: 16px; }
.sol-vertical-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.sol-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--clr-red);
  background: var(--clr-red-pale); padding: 3px 10px;
}
.sol-vertical-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--clr-red);
  transition: gap 0.2s;
}
.sol-vertical-link:hover { gap: 10px; }
.sol-vertical-link svg { width: 13px; height: 13px; }

/* Products grid (inner page) */
.products-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  background: transparent;
}
.product-cat-card {
  position: relative;
  min-height: 320px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.product-cat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-cat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.product-cat-card:hover .product-cat-bg { transform: scale(1.07); }
.product-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.35) 45%, rgba(17,17,17,0.1) 100%);
  transition: background 0.3s ease;
}
.product-cat-card:hover .product-cat-overlay {
  background: linear-gradient(to top, rgba(176,0,32,0.88) 0%, rgba(17,17,17,0.4) 55%, rgba(17,17,17,0.1) 100%);
}
.product-cat-body {
  position: relative;
  z-index: 2;
  padding: 22px 22px 24px;
  width: 100%;
}
.product-cat-name {
  font-family: var(--ff-display);
  font-size: 18px; font-weight: 700;
  color: #fff; margin-bottom: 4px;
  line-height: 1.25;
}
.product-cat-count {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.3px;
}

/* Product detail */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-detail-gallery {
  position: sticky;
  top: 90px;
}
.product-detail-main-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--clr-surface-2);
  margin-bottom: 3px;
}
.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.product-thumb {
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.product-thumb:hover, .product-thumb.active { opacity: 1; }
.product-detail-cat {
  font-size: 10px; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--clr-red); margin-bottom: 10px;
}
.product-detail-name {
  font-family: var(--ff-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--clr-heading);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.product-detail-desc { font-size: 15px; color: var(--clr-muted); line-height: 1.7; margin-bottom: 24px; }
.product-spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.product-spec-table tr { border-bottom: 1px solid var(--clr-border); }
.product-spec-table tr:last-child { border-bottom: none; }
.product-spec-table td {
  padding: 10px 0;
  font-size: 13.5px;
  vertical-align: top;
}
.product-spec-table td:first-child {
  font-weight: 700;
  color: var(--clr-heading);
  width: 45%;
  padding-right: 16px;
}
.product-spec-table td:last-child { color: var(--clr-muted); }
.product-features { list-style: none; margin-bottom: 24px; }
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--clr-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--clr-border);
}
.product-features li:last-child { border-bottom: none; }
.product-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--clr-red);
  flex-shrink: 0;
  margin-top: 6px;
}
.product-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Resources page */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: #ddd;
}
.resource-card {
  background: var(--clr-surface);
  padding: 32px 28px;
  border-top: 3px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.resource-card:hover {
  border-top-color: var(--clr-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.resource-icon {
  width: 48px; height: 48px;
  background: var(--clr-red-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.resource-icon svg { width: 24px; height: 24px; color: var(--clr-red); }
.resource-title {
  font-family: var(--ff-display);
  font-size: 17px; font-weight: 700;
  color: var(--clr-heading); margin-bottom: 8px;
}
.resource-desc { font-size: 13.5px; color: var(--clr-muted); line-height: 1.6; flex: 1; }
.resource-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--clr-red);
  margin-top: 16px; transition: gap 0.2s;
}
.resource-link:hover { gap: 10px; }
.resource-link svg { width: 13px; height: 13px; }

/* Contact page — heading sits above the form, form sits above the address/
   phone/email/hours details; the form spans both rows alongside them. */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-template-areas:
    "heading form"
    "details form";
  column-gap: 60px;
  row-gap: 32px;
  align-items: start;
}
.contact-heading  { grid-area: heading; }
.contact-form-col { grid-area: form; }
.contact-details  { grid-area: details; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--clr-surface-2);
  border-left: 3px solid var(--clr-red);
}
.contact-info-icon {
  width: 38px; height: 38px;
  background: var(--clr-red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; color: #fff; }
.contact-info-label {
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--clr-muted); margin-bottom: 4px;
}
.contact-info-value { font-size: 15px; color: var(--clr-heading); font-weight: 600; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--clr-heading);
}
.form-input, .form-select, .form-textarea {
  padding: 12px 16px;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--clr-heading);
  transition: border-color 0.2s;
  outline: none;
  border-radius: 0;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--clr-red);
}
.form-textarea { resize: vertical; min-height: 130px; }

/* Terms page */
.terms-body { max-width: 860px; margin: 0 auto; }
.terms-section { margin-bottom: 48px; }
.terms-section-title {
  font-family: var(--ff-display);
  font-size: 18px; font-weight: 700;
  color: var(--clr-heading);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--clr-red);
  margin-bottom: 16px;
}
.terms-body p { font-size: 14.5px; color: var(--clr-muted); line-height: 1.75; margin-bottom: 14px; }
.terms-body p:last-child { margin-bottom: 0; }

/* Our Groups page */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  background: #ddd;
}
.group-card {
  background: var(--clr-surface);
  overflow: hidden;
  transition: var(--transition);
}
.group-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); position: relative; z-index: 1; }
.group-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.group-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.group-card:hover .group-card-img img { transform: scale(1.05); }
.group-card-body { padding: 24px; border-top: 3px solid var(--clr-red); }
.group-card-name {
  font-family: var(--ff-display);
  font-size: 18px; font-weight: 700; color: var(--clr-heading); margin-bottom: 8px;
}
.group-card-desc { font-size: 13.5px; color: var(--clr-muted); line-height: 1.6; }

/* Nav active state */
.nav-link.active { color: var(--clr-red) !important; }

/* ============================================================
   BLOG POST SINGLE PAGE
   ============================================================ */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.blog-post-body h2 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-heading);
  margin: 36px 0 14px;
  padding-top: 10px;
  border-top: 2px solid var(--clr-border);
}
.blog-post-body p {
  font-size: 15px;
  color: var(--clr-body);
  line-height: 1.8;
  margin-bottom: 16px;
}
.blog-post-body ul {
  margin: 0 0 20px 0;
  padding-left: 0;
  list-style: none;
}
.blog-post-body ul li {
  font-size: 15px;
  color: var(--clr-body);
  line-height: 1.75;
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid var(--clr-border);
}
.blog-post-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 2px;
  background: var(--clr-red);
}
.blog-post-lead {
  font-size: 18px !important;
  font-weight: 500;
  color: var(--clr-heading) !important;
  line-height: 1.65 !important;
  margin-bottom: 32px !important;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--clr-border);
}
.blog-post-sidebar {
  position: sticky;
  top: 100px;
}

/* Responsive inner pages */
@media (max-width: 1024px) {
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-post-sidebar { position: static; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.flip { direction: ltr; }
  .sub-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-vertical { grid-template-columns: 1fr; }
  .products-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-gallery { position: static; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "heading" "form" "details";
  }
  .groups-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-hero { padding: 120px 0 60px; }
  .sub-nav-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .products-cat-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .groups-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT FORM 7 — Style overrides to match Byteworx design
   ============================================================ */

/* Remove CF7 default paragraph wrapper spacing */
.wpcf7 p { margin: 0; }
.wpcf7 .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.wpcf7 .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.wpcf7 .form-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--clr-heading); }

/* Input / select / textarea */
.wpcf7 .form-input,
.wpcf7 .form-select,
.wpcf7 .form-textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--clr-heading);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { border-color: var(--clr-red); }
.wpcf7 textarea { min-height: 130px; resize: vertical; }

/* Submit button */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  width: 100%;
  padding: 14px 26px;
  background: var(--clr-red);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.wpcf7 input[type="submit"]:hover { background: #b82d32; }

/* Validation messages */
.wpcf7 .wpcf7-not-valid-tip { font-size: 11px; color: var(--clr-red); margin-top: 4px; display: block; }
.wpcf7 .wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 13px;
  border-radius: 0;
  border: 1px solid;
}
.wpcf7 .wpcf7-mail-sent-ok { border-color: #27ae60; background: #f0fdf4; color: #27ae60; }
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-aborted { border-color: var(--clr-red); background: #fff5f5; color: var(--clr-red); }
.wpcf7 .wpcf7-spam-blocked { border-color: #e67e22; background: #fff8f0; color: #e67e22; }

/* Note below form */
.wpcf7 .form-response-note { font-size: 11px; color: var(--clr-muted); text-align: center; margin-top: 12px; }

/* Responsive */
@media (max-width: 768px) {
  .wpcf7 .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   CORPORATE VIDEO — Fullscreen Popup Modal
   ============================================================ */

/* Thumbnail hover feedback */
.corp-video-placeholder { transition: transform 0.35s ease; }
.corp-video-placeholder:hover { transform: scale(1.015); }
.corp-video-placeholder:hover .play-btn {
  background: var(--clr-red);
  transform: scale(1.14);
  box-shadow: 0 0 0 14px rgba(218,55,61,0.18);
}

/* Modal — hidden by default */
.bw-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.bw-video-modal.is-open {
  display: flex;
  animation: bwFadeIn 0.25s ease forwards;
}

@keyframes bwFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Dark backdrop */
.bw-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

/* Modal content box */
.bw-video-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 1100px);
  animation: bwSlideUp 0.3s ease forwards;
}

@keyframes bwSlideUp {
  from { transform: translateY(28px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* 16:9 iframe wrapper */
.bw-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;  /* 16:9 ratio */
  background: #000;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}
.bw-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Close button */
.bw-video-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  background: var(--clr-red);
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.bw-video-close:hover { background: #b82d32; transform: scale(1.1); }
.bw-video-close svg { width: 16px; height: 16px; stroke: #fff; }

/* Responsive */
@media (max-width: 768px) {
  .bw-video-close { top: -40px; right: 0; }
}

/* ============================================================
   WORDPRESS ADMIN BAR — push fixed header down when logged in
   ============================================================ */
.admin-bar .site-header {
  top: 32px; /* admin bar height on desktop */
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px; /* admin bar height on mobile */
  }
}

/* ============================================================
   TEAM CARDS — Portrait photo display (no crop)
   ============================================================ */
.bw-team-img-wrap {
  /* Match the photo's own background colour so there's no jarring border */
  background: #f0f0f0;
  display: flex;
  align-items: flex-end;     /* anchor to bottom — face stays visible as window narrows */
  justify-content: center;
  overflow: hidden;
  min-height: 340px;
}
.bw-team-img-wrap img {
  width: 100%;
  height: auto;              /* natural proportions — no cropping ever */
  display: block;
  object-fit: contain;       /* full image always visible */
  max-height: 520px;         /* cap height on very large screens */
}

/* Make both cards equal height so text boxes align */
.team-grid { align-items: start; }
.bw-team-card { display: flex; flex-direction: column; }
.bw-team-card > div:last-child { flex: 1; }

/* Responsive — stack on mobile */
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr !important; max-width: 480px !important; }
  .bw-team-img-wrap { min-height: 260px; }
}

/* ============================================================
   PRODUCT CATALOGUE  (template-catalogue.php)
   3-up grid of portrait catalogue covers; each card links to a PDF.
   Hover mirrors the home-page .sol-card treatment: lift + shadow,
   image scale, and the overlay warming to the brand red.
   ============================================================ */
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.catalogue-card {
  position: relative;
  display: block;
  background: var(--clr-surface);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
a.catalogue-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  transform: translateY(-6px);
}
.catalogue-card-media {
  position: relative;
  aspect-ratio: 3 / 4;          /* portrait — catalogue covers are vertical */
  overflow: hidden;
  background: var(--clr-surface-2);
}
.catalogue-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
a.catalogue-card:hover .catalogue-card-img { transform: scale(1.07); }
.catalogue-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.06) 45%, transparent 100%);
  transition: background 0.35s ease;
}
a.catalogue-card:hover .catalogue-card-overlay {
  background: linear-gradient(to top, rgba(218,55,61,0.78) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
}
.catalogue-card-body {
  padding: 20px 22px 22px;
  border-top: 3px solid transparent;
  transition: border-color 0.3s ease;
}
a.catalogue-card:hover .catalogue-card-body { border-top-color: var(--clr-red); }
.catalogue-card-title {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--clr-heading);
  margin: 0;
}
.catalogue-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-red);
  transition: gap 0.25s ease;
}
a.catalogue-card:hover .catalogue-card-cta { gap: 12px; }
.catalogue-card-cta svg { width: 14px; height: 14px; }

.catalogue-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--clr-muted);
}

@media (max-width: 1024px) {
  .catalogue-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 620px) {
  .catalogue-grid { grid-template-columns: 1fr; gap: 20px; }
}
