/* ═══════════════════════════════════════════════════════
   BMT IMPEX — SHARED STYLES
   Design system, layout, components, responsive
   ═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --ink: #0d0d0d;
  --dark: #141414;
  --dark2: #1a1a1a;
  --red: #cc1f2d;
  --red2: #e8283a;
  --silver: #c8cdd4;
  --silver2: #e2e6ea;
  --offwhite: #f7f6f4;
  --cream: #f3f1ee;
  --body: #3a3a3a;
  --muted: #6a6a6a;
  --border: #ddd;
}

/* ── RESET & BASE ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: #fff;
  color: var(--ink);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: .02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes barGrow {
  from {
    width: 0
  }

  to {
    width: 52px
  }
}

@keyframes rotateSlow {
  to {
    transform: rotate(360deg)
  }
}

/* ── GLOBAL ANIMATIONS ── */
.anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim.in-view {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: 0.1s;
}

.d2 {
  transition-delay: 0.2s;
}

.d3 {
  transition-delay: 0.3s;
}

.d4 {
  transition-delay: 0.4s;
}

/* ── WHATSAPP WIDGET & MODAL ── */
.wa-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50Px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background-color 0.3s;
}

.wa-float:hover {
  transform: scale(1.1);
  background-color: #20b858;
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.wa-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.wa-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.wa-modal {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 450px;
  padding: 30px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.wa-modal-overlay.open .wa-modal {
  transform: translateY(0);
}

.wa-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.wa-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #111;
}

.wa-modal form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wa-modal input,
.wa-modal textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Source Serif 4', serif;
  font-size: 0.9rem;
}

.wa-modal textarea {
  resize: vertical;
  min-height: 80px;
}

.wa-btn {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s;
}

.wa-btn:hover {
  background: #20b858;
}

/* ── NAV ── */
nav {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5.5%;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-img {
  height: auto;
  max-height: 65px;
  max-width: 220px;
  display: block;
  padding: 4px 8px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red2);
}

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 2px;
}

.nav-cta:hover {
  background: var(--red2) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
  background: #000;
  min-height: min(56.25vw, 90vh);
  display: flex;
  align-items: center;
  padding: 70px 5.5%;
  position: relative;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-video {
  width: 100vw;
  height: 56.25vw;
  /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh;
  /* 16:9 aspect ratio */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  /* Dim video to let text pop */
}

.local-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 100vw;
  min-height: 100vh;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.hero-glow {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(204, 31, 45, .2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-gear {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  font-size: min(34vw, 420px);
  color: rgba(255, 255, 255, .018);
  pointer-events: none;
  animation: rotateSlow 100s linear infinite;
  line-height: 1;
}

/* ── BACKGROUND GEAR ANIMATIONS ── */
.bg-gear {
  position: absolute;
  font-size: clamp(200px, 20vw, 350px);
  color: rgba(0, 0, 0, 0.02);
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  user-select: none;
  animation: rotateSlow 120s linear infinite;
}

.bg-gear.left {
  left: -5%;
  top: 10%;
  animation-direction: reverse;
}

.bg-gear.right {
  right: -5%;
  bottom: 5%;
}

.bg-gear.small {
  font-size: clamp(100px, 12vw, 180px);
  animation-duration: 80s;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(204, 31, 45, .12);
  border: 1px solid rgba(204, 31, 45, .35);
  color: #e87880;
  padding: 7px 15px;
  border-radius: 2px;
  font-family: 'Oswald', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.07;
  margin-bottom: 24px;
}

h1 em {
  color: var(--red2);
  font-style: normal;
  display: block;
  margin-top: 4px;
}

.hero-sub {
  color: #888;
  font-size: 1rem;
  line-height: 1.88;
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 300;
}

/* ── BUTTONS ── */
.btn-row {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.btn-red {
  background: var(--red);
  color: #fff;
  padding: 13px 28px;
  font-family: 'Oswald', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  display: inline-block;
}

.btn-red:hover {
  background: var(--red2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #bbb;
  padding: 13px 28px;
  font-family: 'Oswald', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red2);
}

/* ── SHARED SECTION UTILITIES ── */
section {
  padding: 90px 5.5%;
}

.sec-label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.red-bar {
  width: 0;
  height: 3px;
  background: var(--red);
  margin-bottom: 26px;
  animation: barGrow .7s .15s ease both;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #111;
  line-height: 1.14;
  max-width: 660px;
  margin-bottom: 20px;
}

.body-p {
  color: var(--body);
  line-height: 1.9;
  font-size: .97rem;
  max-width: 680px;
  margin-bottom: 16px;
}

/* ── BRANDS ── */
.brands {
  background: #fff;
  padding: 60px 5.5%;
  border-bottom: 1px solid #eee;
}

.brands-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brands-label {
  font-family: 'Oswald', sans-serif;
  font-size: .65rem;
  letter-spacing: .22em;
  color: #999;
  margin-bottom: 30px;
  text-align: center;
}

.brands-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0.75;
}

.brand-logo {
  max-height: 48px;
  max-width: 140px;
  transition: transform .3s, filter .3s, opacity .3s;
}

.brand-logo:hover {
  transform: scale(1.05);
}

/* ── PRODUCT RANGE SECTION — White Background ── */
.pr-section {
  padding: 90px 5.5% 70px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.pr-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.pr-header { text-align: center; margin-bottom: 48px; }
.pr-eyebrow {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: #c0392b; margin-bottom: 12px;
}
.pr-header-bar {
  width: 48px; height: 3px;
  background: #c0392b;
  margin: 0 auto 18px;
  border-radius: 2px;
}
.pr-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; color: #0f172a;
  margin: 0; line-height: 1.2;
  letter-spacing: -.01em;
}

/* Catalogue Grid */
.pr-catalogue {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
  margin-bottom: 48px;
}

/* Product Card */
.pr-item {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  text-decoration: none; color: inherit;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
  transition: all .35s cubic-bezier(.25,.8,.25,1);
}
.pr-item:hover {
  border-color: rgba(192,57,43,.25);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,.08);
}

/* Card Image */
.pr-item-img {
  overflow: hidden;
  width: 100%;
  height: 229px;
}
.pr-item-img img {
  width: 100%; height: 229px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.pr-item:hover .pr-item-img img { transform: scale(1.05); }

/* Card Info */
.pr-item-info { padding: 20px 22px 22px; }
.pr-item-info h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  color: #0f172a; margin: 0 0 8px; line-height: 1.3;
}
.pr-item-info p {
  font-size: .83rem; color: #64748b;
  line-height: 1.6; margin: 0 0 14px;
}
.pr-item-cta {
  font-family: 'Oswald', sans-serif;
  font-size: .75rem; font-weight: 600;
  color: #c0392b; letter-spacing: .1em;
  text-transform: uppercase;
  transition: letter-spacing .3s;
}
.pr-item:hover .pr-item-cta {
  letter-spacing: .16em; color: #e74c3c;
}

/* Bottom CTA */
.pr-bottom-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; padding: 26px 32px;
  background: linear-gradient(135deg, rgba(192,57,43,.06), rgba(192,57,43,.02));
  border: 1px solid rgba(192,57,43,.12);
  border-radius: 12px;
  flex-wrap: wrap; text-align: center;
}
.pr-bottom-cta p { color: #64748b; font-size: .95rem; margin: 0; }
.pr-bottom-cta strong { color: #0f172a; }

/* Trust Strip (dark variant for products page) */
.pr-trust-strip-dark {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 36px;
  margin-top: 48px; padding: 28px 0 0; border-top: 1px solid #e5e7eb;
}
.pr-trust-d-item {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Oswald', sans-serif; font-size: .8rem; font-weight: 500;
  color: #475569; letter-spacing: .04em; text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .pr-section { padding: 60px 5% 50px; }
  .pr-catalogue { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .pr-item-img img { height: 150px; }
  .pr-bottom-cta { flex-direction: column; gap: 14px; }
  .pr-trust-strip-dark { flex-direction: column; align-items: center; gap: 14px; }
}
@media (max-width: 480px) {
  .pr-catalogue { grid-template-columns: 1fr; }
}

/* ── ABOUT SECTION ── */
.about {
  background: var(--offwhite);
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-vis {
  background: #111;
  border-radius: 3px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.av-bg-text {
  font-family: 'Oswald', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .04);
  letter-spacing: -1px;
  text-align: center;
  line-height: 1.1;
}

.av-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(204, 31, 45, .14);
  border-top: 1px solid rgba(204, 31, 45, .3);
  padding: 18px 24px;
}

.av-strip p {
  font-family: 'Oswald', sans-serif;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #e87880;
}

.av-strip span {
  font-family: 'Source Serif 4', serif;
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
  display: block;
  margin-top: 4px;
  font-weight: 300;
}

/* ── WHY CHOOSE US ── */
.why {
  background: #fff;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.w-card {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 28px 22px;
  transition: border-color .22s, transform .22s, box-shadow .22s;
  background: #fff;
}

.w-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .07);
}

.w-icon {
  width: 44px;
  height: 44px;
  background: rgba(204, 31, 45, .08);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.w-card h3 {
  font-size: .88rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.w-card p {
  color: #5a5a5a;
  line-height: 1.74;
  font-size: .86rem;
}

.w-card.wholesale {
  background: #111;
  border-color: #111;
}

.w-card.wholesale h3 {
  color: #e87880;
}

.w-card.wholesale p {
  color: #777;
}

.w-card.wholesale .w-icon {
  background: rgba(204, 31, 45, .2);
}

.wholesale-badge {
  display: inline-block;
  margin-top: 14px;
  background: rgba(204, 31, 45, .18);
  border: 1px solid rgba(204, 31, 45, .35);
  color: #e87880;
  font-family: 'Oswald', sans-serif;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}

/* ── PRODUCTS — FULL-WIDTH ROW STRIPS ── */
.products {
  background: #f9f8f6;
  padding: 90px 0 0;
}

.products-header {
  padding: 0 5.5% 56px;
}

.products h2 {
  color: #111;
  max-width: 100%;
}

.products .body-p {
  color: var(--body);
}

/* Category group header */
.cat-group {
  border-top: 2px solid #e8e5e0;
}

.cat-group-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 5.5%;
  background: #fff;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  user-select: none;
  transition: background .2s;
}

.cat-group-header:hover {
  background: #fdfcfb;
}

.cat-group-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #e8e5e0;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
}

.cat-group-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #111;
  letter-spacing: .04em;
  text-transform: uppercase;
  flex: 1;
}

.cat-group-meta {
  font-family: 'Oswald', sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #aaa;
  flex-shrink: 0;
}

.cat-group-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: #999;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, color .2s;
}

.cat-group.open .cat-group-toggle {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.cat-group-toggle::after {
  content: '＋';
}

.cat-group.open .cat-group-toggle::after {
  content: '－';
}

/* Rows wrapper */
.cat-rows {
  display: none;
}

.cat-group.open .cat-rows {
  display: block;
}

/* Each bearing row */
.bearing-row {
  display: grid;
  grid-template-columns: 56px 260px 1fr auto;
  align-items: center;
  gap: 0;
  background: #fff;
  border-bottom: 1px solid #f0ede8;
  padding: 0;
  transition: background .18s;
  cursor: default;
}

.bearing-row:hover {
  background: #fdfaf8;
}

.bearing-row:hover .row-num {
  color: var(--red);
}

.row-num {
  font-family: 'Oswald', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: #ddd;
  letter-spacing: .1em;
  padding: 0 0 0 5.5%;
  align-self: stretch;
  display: flex;
  align-items: center;
  border-right: 1px solid #f0ede8;
  transition: color .18s;
  min-width: 90px;
}

.row-name {
  padding: 28px 32px;
  border-right: 1px solid #f0ede8;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.row-name h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.row-name .row-type-badge {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(204, 31, 45, .07);
  padding: 3px 10px;
  border-radius: 2px;
  width: fit-content;
}

.row-body {
  padding: 28px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  border-right: 1px solid #f0ede8;
  align-self: stretch;
}

.row-desc {
  color: #4a4a4a;
  font-size: .9rem;
  line-height: 1.82;
  align-self: center;
}

.row-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: center;
  border-left: 1px solid #f0ede8;
  padding-left: 40px;
}

.row-spec-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.rsi-label {
  font-family: 'Oswald', sans-serif;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #bbb;
  min-width: 90px;
  flex-shrink: 0;
}

.rsi-val {
  font-family: 'Oswald', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: #333;
}

.row-action {
  padding: 28px 5.5% 28px 32px;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.row-cta {
  white-space: nowrap;
  font-family: 'Oswald', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border: 1px solid rgba(204, 31, 45, .3);
  padding: 9px 18px;
  border-radius: 2px;
  transition: background .18s, color .18s;
}

.row-cta:hover {
  background: var(--red);
  color: #fff;
}

.bearing-row:nth-child(even) {
  background: #fbfaf8;
}

.bearing-row:nth-child(even):hover {
  background: #fdfaf8;
}

.cat-section-label {
  padding: 18px 5.5%;
  background: #f9f8f6;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cat-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e8e5e0;
}

/* Bottom CTA bar */
.prod-cta-bar {
  background: #111;
  padding: 28px 5.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
}

.prod-cta-bar p {
  font-family: 'Oswald', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #666;
}

.prod-cta-bar p span {
  color: #fff;
}

/* ── CERTS ── */
.certs {
  background: var(--cream);
}

.certs-head {
  max-width: 740px;
  margin-bottom: 48px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cert-card {
  background: #fff;
  border-radius: 3px;
  padding: 32px 28px;
  border-left: 4px solid var(--red);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .05);
  transition: transform .22s, box-shadow .22s;
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .1);
}

.cert-icon {
  width: 48px;
  height: 48px;
  background: rgba(204, 31, 45, .08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.cert-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.cert-card p {
  color: #5a5a5a;
  line-height: 1.8;
  font-size: .88rem;
}

.cert-note {
  margin-top: 32px;
  padding: 20px 26px;
  background: rgba(204, 31, 45, .05);
  border: 1px solid rgba(204, 31, 45, .18);
  border-radius: 3px;
}

.cert-note p {
  color: var(--body);
  font-size: .9rem;
  line-height: 1.78;
}

.cert-note strong {
  color: #111;
}

/* ── INDUSTRIES ── */
.industries {
  background: #fff;
}

.ind-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.ind-tag {
  background: #f5f5f5;
  border: 1px solid var(--border);
  color: #222;
  padding: 10px 18px;
  border-radius: 40px;
  font-family: 'Oswald', sans-serif;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
  cursor: default;
}

.ind-tag:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* ── STATS ── */
.stats-band {
  background: var(--red);
  padding: 68px 5.5%;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-n {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 7px;
}

.stat-l {
  font-family: 'Oswald', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  line-height: 1.5;
}

/* ── HOW IT WORKS ── */
.how {
  background: var(--offwhite);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 50px;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--red) 0, var(--red) 5px, transparent 5px, transparent 12px);
  z-index: 0;
}

.step {
  padding: 0 18px;
  position: relative;
  z-index: 1;
}

.step-n {
  width: 38px;
  height: 38px;
  background: #111;
  color: var(--red2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 16px;
  border: 3px solid var(--offwhite);
}

.step h3 {
  font-size: .88rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.step p {
  color: #666;
  font-size: .85rem;
  line-height: 1.72;
}

.how-cta {
  margin-top: 48px;
}

/* ── CTA BAND ── */
.cta-band {
  background: #000;
  padding: 94px 5.5%;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  max-width: 760px;
  margin: 0 auto 18px;
}

.cta-band p {
  color: #777;
  max-width: 580px;
  margin: 0 auto 38px;
  line-height: 1.88;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: #ffffff;
  padding: 60px 5.5% 26px;
  border-top: 1px solid #eaeaea;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.fc-brand {
  display: flex;
  flex-direction: column;
}

.foot-contact-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #eaeaea;
  padding-top: 20px;
}

.foot-contact-info p {
  color: #555;
  font-size: .85rem;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.foot-logo-img {
  max-width: 160px;
  height: auto;
  margin-bottom: 16px;
  display: block;
}

footer .fp {
  color: #555;
  font-size: .86rem;
  line-height: 1.82;
}

.fc h4 {
  font-family: 'Oswald', sans-serif;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 16px;
}

.fc ul {
  list-style: none;
}

.fc ul li {
  margin-bottom: 10px;
}

.fc ul li a {
  color: #555;
  font-size: .86rem;
  text-decoration: none;
  font-family: 'Source Serif 4', serif;
  transition: color .2s;
}

.fc ul li a:hover {
  color: var(--red2);
}

.foot-btm {
  border-top: 1px solid #eaeaea;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-family: 'Oswald', sans-serif;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #777;
}

/* ═══════════════════════════════════════
   SUB-PAGE STYLES
   ═══════════════════════════════════════ */

/* ── PAGE HERO (short, used on sub-pages) ── */
.page-hero {
  background: #000;
  padding: 100px 5.5% 60px;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(204, 31, 45, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(204, 31, 45, .07) 1px, transparent 1px);
  background-size: 68px 68px;
}

.page-hero .hero-glow {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(204, 31, 45, .12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  margin-bottom: 16px;
}

.page-hero .hero-sub {
  margin-bottom: 0;
  max-width: 600px;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: 'Oswald', sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: #666;
  transition: color .2s;
}

.breadcrumb a:hover {
  color: var(--red2);
}

.breadcrumb span {
  color: #444;
}

.breadcrumb .sep {
  color: #333;
}

/* ── PRODUCT DETAIL PAGE ── */
.product-overview {
  background: var(--offwhite);
  padding: 80px 5.5%;
}

.product-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-overview h2 {
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
  margin-top: 20px;
}

.product-features li {
  padding: 10px 0;
  border-bottom: 1px solid #e8e5e0;
  color: var(--body);
  font-size: .94rem;
  line-height: 1.7;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.product-features li::before {
  content: '→';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.specs-section {
  background: #fff;
  padding: 80px 5.5%;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.specs-table tr {
  border-bottom: 1px solid #f0ede8;
}

.specs-table td {
  padding: 18px 24px;
  font-size: .92rem;
}

.specs-table td:first-child {
  font-family: 'Oswald', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #aaa;
  width: 180px;
}

.specs-table td:last-child {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: .92rem;
}

.applications-section {
  background: var(--offwhite);
  padding: 80px 5.5%;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.app-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 24px 20px;
  transition: border-color .2s, transform .2s;
}

.app-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.app-card h3 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.app-card p {
  color: #5a5a5a;
  font-size: .84rem;
  line-height: 1.7;
}

.related-products {
  background: #fff;
  padding: 80px 5.5%;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.related-card {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 28px 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  background: #fff;
}

.related-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .07);
}

.related-card .row-type-badge {
  margin-bottom: 12px;
}

.related-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.related-card p {
  color: #5a5a5a;
  font-size: .85rem;
  line-height: 1.72;
  margin-bottom: 16px;
}

.related-card .row-cta {
  font-size: .65rem;
}

/* ── ABOUT PAGE ── */
.about-story {
  background: var(--offwhite);
  padding: 80px 5.5%;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-story-visual {
  background: #111;
  border-radius: 3px;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.about-story-visual .av-bg-text {
  font-size: 5rem;
}

.values-section {
  background: #fff;
  padding: 80px 5.5%;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: border-color .2s, transform .2s;
}

.value-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.value-card .w-icon {
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: .92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 10px;
}

.value-card p {
  color: #5a5a5a;
  font-size: .88rem;
  line-height: 1.78;
}

/* ── INDUSTRIES PAGE ── */
.industries-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.industry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 36px 28px;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}

.industry-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .07);
}

.industry-card .ind-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.industry-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.industry-card p {
  color: #5a5a5a;
  font-size: .88rem;
  line-height: 1.78;
  margin-bottom: 16px;
}

.industry-card .bearing-types {
  font-family: 'Oswald', sans-serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: auto;
}

/* ── CONTACT PAGE ── */
.contact-section {
  background: var(--offwhite);
  padding: 80px 5.5%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  margin-top: 40px;
}

.contact-form {
  background: #fff;
  padding: 40px 36px;
  border-radius: 3px;
  box-shadow: 0 2px 18px rgba(0, 0, 0, .05);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'Source Serif 4', serif;
  font-size: .92rem;
  color: var(--ink);
  background: #fafafa;
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: #fff;
  padding: 28px 24px;
  border-left: 4px solid var(--red);
  border-radius: 3px;
  box-shadow: 0 2px 18px rgba(0, 0, 0, .05);
}

.info-card h3 {
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.info-card p {
  color: #5a5a5a;
  font-size: .9rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════ */
@media(max-width:1100px) {
  .why-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width:1080px) {
  .bearing-row {
    grid-template-columns: 56px 220px 1fr auto;
  }

  .row-body {
    grid-template-columns: 1fr;
  }

  .row-specs {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #f0ede8;
    padding-top: 12px;
    margin-top: 8px;
  }
}

@media(max-width:1020px) {

  .about-wrap,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .why-cards {
    grid-template-columns: 1fr 1fr;
  }

  .steps-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .steps-row::before {
    display: none;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-overview-grid {
    grid-template-columns: 1fr;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:760px) {
  .bearing-row {
    grid-template-columns: 1fr;
    border-left: 3px solid transparent;
  }

  .bearing-row:hover {
    border-left-color: var(--red);
  }

  .row-num {
    display: none;
  }

  .row-name,
  .row-body,
  .row-action {
    padding: 20px 5.5%;
  }

  .row-name {
    border-right: none;
    border-bottom: 1px solid #f0ede8;
  }

  .row-body {
    border-right: none;
  }

  .row-action {
    border-top: 1px solid #f0ede8;
  }

  .cat-group-number {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media(max-width:768px) {

  .why-cards,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    background: #ffffff !important;
    padding: 12px 0 !important;
    gap: 0 !important;
    z-index: 100 !important;
    border-bottom: 3px solid var(--red) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .nav-links.open {
    display: flex !important;
  }

  .nav-links li {
    list-style: none !important;
    width: 100% !important;
  }

  .nav-links li a {
    display: block !important;
    padding: 14px 24px !important;
    font-size: clamp(0.95rem, 3.5vw, 1.15rem) !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: background .2s, color .2s !important;
    text-align: left !important;
    letter-spacing: 0.02em !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
  }

  .nav-links li a:hover,
  .nav-links li a.active {
    background: #fef2f2 !important;
    color: #cc1f2d !important;
  }

  .nav-links li a.nav-cta {
    background: linear-gradient(135deg, #cc1f2d, #a01525) !important;
    color: #fff !important;
    text-align: center !important;
    margin: 8px 16px !important;
    border-radius: 6px !important;
    border-bottom: none !important;
    font-weight: 600 !important;
  }

  nav {
    position: relative !important;
  }

  .hamburger {
    display: flex !important;
  }

  /* Smaller logo on mobile */
  .logo-img {
    max-height: 38px !important;
    max-width: 150px !important;
  }

  .hero-gear {
    display: none;
  }

  /* Hero — fit to video, proper padding */
  .hero {
    min-height: 65vh !important;
    padding: 100px 0 40px !important;
  }

  h1 {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .page-hero {
    padding: 80px 5.5% 40px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .foot-btm {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .prod-cta-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ═══════════════════════════════════════════════════════
   PRODUCT CAROUSEL
   ═══════════════════════════════════════════════════════ */
.product-carousel-section {
  padding: 60px 5.5%;
  background: var(--offwhite);
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-track-container {
  overflow: hidden;
  flex: 1;
  border-radius: 6px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel-slide {
  min-width: 33.333%;
  padding: 0 10px;
  box-sizing: border-box;
}

.carousel-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.carousel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.carousel-img {
  background: #f2f2f2;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Oswald', sans-serif;
  color: #aaa;
  font-size: 0.9rem;
}

.carousel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-card-body {
  padding: 20px;
}

.carousel-card-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  margin: 8px 0 6px;
  color: #111;
  text-transform: uppercase;
}

.carousel-specs {
  font-family: 'Source Serif 4', serif;
  font-size: 0.85rem;
  color: #888;
}

.carousel-btn {
  background: #111;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
  flex-shrink: 0;
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--red);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
  background: var(--red);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .carousel-slide {
    min-width: 50%;
  }
}

@media (max-width: 600px) {
  .carousel-slide {
    min-width: 100%;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════
   SPECS TABLE (Category Pages)
   ═══════════════════════════════════════════════════════ */
.specs-section {
  padding: 60px 5.5%;
  background: var(--offwhite);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  margin-top: 24px;
}

.specs-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #eaeaea;
  font-size: 1.05rem;
  transition: background 0.2s;
}

.specs-table tr:hover td {
  background: #fafafa;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  .specs-table td {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .specs-table td:first-child {
    width: 45%;
  }
}

/* ═══════════════════════════════════════════════════════
   MULTI-COLUMN FILTER TABLE
   ═══════════════════════════════════════════════════════ */
.part-list-section {
  padding: 60px 5.5%;
  background: var(--offwhite);
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  background: #fff;
  border: 1px solid #eaeaea;
}

.dynamic-part-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  min-width: 900px;
  text-align: left;
}

.dynamic-part-table th,
.dynamic-part-table td {
  white-space: nowrap;
}

/* Sticky first column (Part Number) for mobile scrolling */
.dynamic-part-table th:first-child,
.dynamic-part-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  border-right: 1px solid #eaeaea;
}

.dynamic-part-table thead .table-header-row th:first-child {
  background: #111;
  z-index: 3;
}

.dynamic-part-table thead .table-filter-row th:first-child {
  background: #1a1a1a;
  z-index: 3;
}

.dynamic-part-table tbody td:first-child {
  background: #fdfdfd;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  color: #111;
  font-weight: 500;
}

.dynamic-part-table tbody tr:hover td:first-child {
  background: #f5f5f5;
}

/* Table Headers & Filters */
.dynamic-part-table thead .table-header-row {
  background: #111;
}

.dynamic-part-table thead .table-header-row th {
  padding: 18px 20px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  font-size: 0.85rem;
}

.dynamic-part-table thead .table-filter-row {
  background: #1a1a1a;
}

.dynamic-part-table thead .table-filter-row th {
  padding: 10px 16px 14px;
  border-bottom: 2px solid #000;
}

/* Search Inputs */
.col-filter {
  width: 100%;
  min-width: 120px;
  padding: 10px 12px;
  border: 1px solid #444;
  border-radius: 4px;
  background: #222;
  color: #ccc;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.col-filter::placeholder {
  color: #666;
  font-family: 'Source Serif 4', serif;
  text-transform: none;
  font-size: 0.95rem;
}

.col-filter:focus {
  border-color: var(--red);
  background: #2a2a2a;
  color: #fff;
}

/* Table Body */
.dynamic-part-table tbody tr {
  transition: background 0.2s;
}

.dynamic-part-table tbody td {
  padding: 16px 20px;
  font-size: 0.95rem;
  color: #444;
  border-bottom: 1px solid #eaeaea;
}

.dynamic-part-table tbody tr:hover td {
  background: #fafafa;
}

/* ── Nav Login Button ── */
.nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  background: linear-gradient(135deg, rgba(204, 31, 45, 0.12), rgba(204, 31, 45, 0.04));
  border: 1px solid rgba(204, 31, 45, 0.35);
  border-radius: 50px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
  margin-left: 12px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}

.nav-login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--red), var(--red2));
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 50px;
  z-index: -1;
}

.nav-login-btn:hover {
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 20px rgba(204, 31, 45, 0.3), inset 0 0 20px rgba(204, 31, 45, 0.1);
  transform: translateY(-1px);
}

.nav-login-btn:hover::before {
  opacity: 1;
}

.nav-login-btn svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.nav-login-btn span {
  position: relative;
}

/* Laptop / Small Desktop (≤1200px) */
@media (max-width: 1200px) {
  .nav-login-btn {
    padding: 8px 16px;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    margin-left: 8px;
  }
}

/* Tablet (≤960px) */
@media (max-width: 960px) {
  .nav-login-btn {
    padding: 7px 14px;
    font-size: 0.75rem;
    gap: 5px;
    margin-left: 6px;
  }

  .nav-login-btn span {
    display: inline;
  }
}

/* Small Tablet (≤768px) */
@media (max-width: 768px) {
  .nav-login-btn {
    padding: 6px 12px;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
  }

  .nav-login-btn span {
    display: none;
  }

  .nav-login-btn svg {
    width: 16px;
    height: 16px;
  }

  .nav-login-btn::after {
    content: '';
  }
}

/* Mobile — hamburger menu (≤640px) */
@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 20, 0.98);
    backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 500;
  }

  .nav-login-btn {
    position: relative;
    padding: 14px 36px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 20px;
    gap: 10px;
    width: auto;
    border: 1px solid rgba(204, 31, 45, 0.6);
    background: linear-gradient(135deg, rgba(204, 31, 45, 0.9), rgba(200, 20, 40, 0.8));
    box-shadow: 0 4px 20px rgba(204, 31, 45, 0.3);
  }

  .nav-login-btn span {
    display: inline;
  }

  .nav-login-btn::before {
    display: none;
  }

  .nav-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(204, 31, 45, 0.5);
  }
}

/* ── Footer Social Links ── */
.foot-top {
  border-top: 3px solid var(--red);
}

.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.foot-contact-list {
  list-style: none;
  padding: 0;
}

.foot-contact-list li {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   PRODUCT CATEGORY PAGE — Table & Carousel
   ═══════════════════════════════════════════════ */

/* Part List Section */
.part-list-section {
  padding: 80px 7%;
  background: var(--dark-bg);
  color: #fff;
}

.part-list-section .sec-label {
  color: var(--red);
}

.part-list-section h2 {
  color: #fff;
  margin-bottom: 32px;
}

/* Product Carousel Section */
.product-carousel-section {
  padding: 80px 7%;
  background: #0c0c10;
  color: #fff;
}

.product-carousel-section .sec-label {
  color: var(--red);
}

.product-carousel-section h2 {
  color: #fff;
  margin-bottom: 32px;
}

/* Carousel Wrapper */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 33.333%;
  flex: 0 0 33.333%;
  padding: 0 10px;
  box-sizing: border-box;
}

.carousel-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.carousel-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.carousel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-card-body {
  padding: 16px;
}

.carousel-card-body h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.carousel-specs {
  color: #94a3b8;
  font-size: 0.85rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.carousel-prev {
  left: 8px;
}

.carousel-next {
  right: 8px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dots .dot.active {
  background: var(--red);
}

/* Dynamic Part Table */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dynamic-part-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  white-space: nowrap;
}

.dynamic-part-table thead .table-header-row th {
  background: rgba(204, 31, 45, 0.08);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 16px;
  border-bottom: 2px solid rgba(204, 31, 45, 0.3);
  text-align: left;
  position: sticky;
  top: 0;
  z-index: 2;
}

.dynamic-part-table thead .table-filter-row th {
  padding: 8px 6px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dynamic-part-table .col-filter {
  width: 100%;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #fff;
  font-size: 0.8rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.dynamic-part-table .col-filter::placeholder {
  color: #64748b;
}

.dynamic-part-table .col-filter:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.08);
}

.dynamic-part-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  transition: background 0.15s;
}

.dynamic-part-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.dynamic-part-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

.dynamic-part-table tbody tr:nth-child(even):hover td {
  background: rgba(255, 255, 255, 0.05);
}

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE — Comprehensive
   ═══════════════════════════════════════════════ */

/* ── Tablet (900px) ── */
@media (max-width: 900px) {
  .why-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Mobile (768px) ── */
@media (max-width: 768px) {

  /* General */
  section {
    padding: 30px 0;
  }
  h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }
  h2 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  /* Navigation — use hamburger styles from earlier block */
  nav {
    padding: 0 3%;
  }

  /* Hero Section */
  .hero {
    min-height: 65vh;
    padding: 100px 0 40px;
  }
  .hero-inner {
    max-width: 100%;
    padding: 0;
  }
  .hero-sub {
    font-size: 0.88rem;
    max-width: 100%;
    padding: 0;
  }
  .btn-row {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }
  .btn-row a, .btn-red, .btn-ghost {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    margin: 0;
  }
  .hero-gear {
    display: none;
  }
  .eyebrow {
    font-size: 0.58rem;
    padding: 5px 10px;
    margin: 0 0 16px 0;
  }
  h1 {
    padding: 0;
    margin-bottom: 12px;
  }

  /* Brand Logos — FORCE single row */
  .brands {
    padding: 30px 4%;
  }
  .brands-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .brands-grid::-webkit-scrollbar {
    display: none;
  }
  .brand-logo {
    max-height: 36px;
    max-width: 100px;
    flex-shrink: 0;
  }
  .brands-label {
    font-size: 0.58rem;
    margin-bottom: 10px;
  }

  /* About */
  .about-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-vis {
    aspect-ratio: 16/9;
  }
  .av-bg-text {
    font-size: 2.5rem;
  }

  /* Why Cards */
  .why-cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .w-card {
    padding: 18px 14px;
  }

  /* Value / Stat Cards */
  .value-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-card {
    padding: 18px;
  }

  /* Industry */
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Footer */
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Product Carousel — 2 per view on mobile */
  .product-carousel-section,
  .part-list-section {
    padding: 40px 3.5%;
  }
  .carousel-slide {
    min-width: 50% !important;
    flex: 0 0 50% !important;
    padding: 0 6px;
  }
  .carousel-track-container {
    -webkit-overflow-scrolling: touch;
  }
  .carousel-track {
    scroll-snap-type: x mandatory;
  }
  .carousel-slide {
    scroll-snap-align: start;
  }
  .carousel-img {
    height: 150px;
  }
  .carousel-card-body {
    padding: 10px;
  }
  .carousel-card-body h3 {
    font-size: 0.88rem;
    margin-bottom: 4px;
  }
  .carousel-specs {
    font-size: 0.75rem;
  }
  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .carousel-dots {
    margin-top: 12px;
  }

  /* Dynamic Part Table */
  .dynamic-part-table {
    font-size: 0.78rem;
  }
  .dynamic-part-table thead .table-header-row th {
    padding: 8px 10px;
    font-size: 0.68rem;
  }
  .dynamic-part-table tbody td {
    padding: 8px 10px;
  }

  /* Page Title Sections */
  .page-title-section {
    padding: 70px 4.5% 40px;
  }
  .page-title-section h1 {
    font-size: 1.5rem;
  }

  /* Product Detail */
  .pd-main {
    flex-direction: column;
    gap: 20px;
  }
  .pd-gallery {
    max-width: 100%;
  }
  .pd-info {
    padding: 0;
  }

  /* Contact Form */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Background Gears */
  .bg-gear { display: none; }
}

/* ── Small Mobile (480px) ── */
@media (max-width: 480px) {
  section {
    padding: 36px 3.5%;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .hero {
    min-height: 50vh;
    padding: 70px 3.5% 36px;
  }
  .hero-sub {
    font-size: 0.82rem;
    line-height: 1.7;
  }

  /* Brands — still single row, smaller logos */
  .brand-logo {
    max-height: 28px;
    max-width: 80px;
  }
  .brands-grid {
    gap: 14px;
  }

  /* Why cards — single column */
  .why-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Carousel — 1 per view (full width) */
  .carousel-slide {
    min-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .carousel-img {
    height: 140px;
  }

  /* Value cards — single column */
  .value-grid, .stat-grid {
    grid-template-columns: 1fr;
  }

  /* Nav compact */
  .nav-links li a {
    font-size: 0.6rem;
    padding: 5px 8px;
    letter-spacing: 0.05em;
  }
}