/* ========================================
   Drive Line - Modern Website Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@700;800&display=swap');

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

:root {
  --navy: #052D50;
  --navy-light: #111D33;
  --blue: #0064FF;
  --blue-dark: #0052CC;
  --blue-light: #3385FF;
  --slate: #475569;
  --slate-light: #94a3b8;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #CED1D7;
  --gray-800: #111D33;
  --white: #ffffff;
  --gold: #f59e0b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 6px rgba(0,0,0,0.05), 0 10px 40px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
  --dark-bg-gradient: linear-gradient(45deg, #111D33 0%, #052D50 100%);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Main headings → Oxanium Bold (brand guideline) */
h1, h2 {
  font-family: 'Oxanium', sans-serif !important;
  font-weight: 700;
}

/* Display / UI elements → Barlow Condensed */
h3,
.nav-logo,
.stat-number,
.service-number,
.btn,
.hero-badge,
.section-tag,
.category-pill,
.supplier-badge,
.contact-item strong,
.footer-col h4 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: 'Oxanium', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: all var(--transition);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 100, 255, 0.35);
}

.btn-outline {
  border: none;
  color: var(--white);
  background: transparent;
  clip-path: none;
  position: relative;
  isolation: isolate;
}
/* ::before = chamfered border shape (white fill) */
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  z-index: -2;
  transition: background var(--transition);
}
/* ::after = inner fill (dark bg, inset 2px = border width) */
.btn-outline::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #111D33;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  z-index: -1;
  transition: background var(--transition);
}
.btn-outline:hover::after {
  background: var(--white);
}
.btn-outline:hover {
  color: var(--navy);
}

.btn-full {
  width: 100%;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.navbar.scrolled {
  padding: 0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 47px;
  width: auto;
}

.footer .logo-img {
  height: 43px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  border-radius: 6px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.nav-link:hover {
  color: var(--navy);
}

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.nav-cta:hover {
  background: var(--blue-dark);
}

.nav-vendor {
  background: #f59e0b;
  color: var(--navy) !important;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.nav-vendor:hover {
  background: #d97706;
  color: var(--navy) !important;
}

/* Topbar */
.topbar-row {
  background: #111D33;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 36px;
}
.topbar-links {
  display: flex;
  align-items: center;
}
.topbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  padding: 0 12px;
  transition: color 0.2s;
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.02em;
}
.topbar-links a:hover {
  color: rgba(255,255,255,0.9);
}
.topbar-sep {
  color: rgba(255,255,255,0.15);
  font-size: 0.7rem;
  pointer-events: none;
}
.topbar-vendor-link {
  color: #f59e0b !important;
  font-weight: 700 !important;
  border-left: 1px solid rgba(255,255,255,0.1);
  margin-left: 8px;
}
.topbar-vendor-link:hover {
  color: #fcd34d !important;
}

/* Hide secondary nav items on desktop (they live in the topbar) */
@media (min-width: 769px) {
  li.nav-secondary { display: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  overflow: hidden;
}

/* Background image layer */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/Images/Building.jpg') center / cover no-repeat;
  opacity: 1;
  z-index: 0;
}

/* 45° diagonal overlay — backslash direction, fades to 0% at diagonal edge */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17, 29, 51, 0.95) 30%, rgba(17, 29, 51, 0) 100%);
  clip-path: polygon(0 0, calc(52% + 51vh) 0, 52% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 60px;
  max-width: 100%;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateX(-250px);
}

.hero-badge {
  display: inline-block;
  color: var(--blue);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 0 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
}

.hero-stats-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0;
  margin-top: auto;
  background: var(--dark-bg-gradient);
}

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

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 36px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate-light);
  font-weight: 400;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.left-aligned {
  text-align: left;
}

.section-tag {
  display: inline-block;
  font-size: 22px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 560px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* --- About --- */
.about {
  background: var(--gray-50);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card {
  background: var(--white);
  padding: 40px 44px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.about-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-2px);
}

.about-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.about-icon svg {
  width: 44px;
  height: 44px;
}

.about-text {
  flex: 1;
}

.about-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 720px;
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.service-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.service-card p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* --- Categories --- */
.categories {
  position: relative;
  overflow: hidden;
  background: url('assets/Images/image008.jpg') center / cover no-repeat;
  padding: 0 !important;
}

.categories .container {
  max-width: none;
  padding: 0;
  position: relative;
  z-index: 2;
}

.categories-grid {
  display: flex;
  justify-content: flex-end;
}

.categories-content {
  background: var(--dark-bg-gradient);
  padding: 80px 80px 80px max(160px, 16%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  width: 55%;
  flex-shrink: 0;
}

.categories .section-tag {
  color: var(--blue-light);
}

.categories .section-header h2 {
  color: var(--white);
}

.category-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  font-weight: 500;
}

.category-item svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
  flex-shrink: 0;
}

.category-item span {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Suppliers --- */
.suppliers {
  background: var(--gray-50);
}

/* Logo Marquee */
.logo-marquee {
  overflow: hidden;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 20px 0;
}

.logo-marquee::before,
.logo-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--gray-50), transparent);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--gray-50), transparent);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee-scroll 50s linear infinite;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

.marquee-logo {
  width: 160px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%) brightness(0) opacity(0.5);
  transition: filter 0.3s ease;
}

.marquee-logo:hover {
  filter: grayscale(0%) brightness(1) opacity(1);
}

.marquee-logo[alt="Schroeder Industries"] {
  width: 200px;
  height: 140px;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.supplier-more {
  text-align: center;
  margin-top: 32px;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Legacy badge styles (used on subpages) */
.supplier-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.supplier-badge {
  padding: 12px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: all var(--transition);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.supplier-badge:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow);
}

/* --- Customers --- */
.customers {
  position: relative;
  overflow: hidden;
  background: url('assets/Images/image002.jpg') center / cover no-repeat;
  padding: 0 !important;
}

.customers .container {
  max-width: none;
  padding: 0;
  position: relative;
  z-index: 2;
}

.customers-grid {
  display: flex;
}

.customers-content {
  background: var(--white);
  padding: 80px 120px 80px 80px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  width: 55%;
  flex-shrink: 0;
}

.customers-text {
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 36px;
}

.customers-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.customer-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
}

.customer-feature svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

.customers-image {
  display: none;
}

/* --- Contact --- */
.contact {
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-desc {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-light);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item span {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}

/* --- Contact Form --- */
.contact-form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.925rem;
  font-family: inherit;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--navy);
  background: var(--gray-50);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-light);
}

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

/* --- Footer --- */
.footer {
  background: #111D33;
  padding: 64px 0 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  color: var(--slate-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 16px;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--slate-light);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
}

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

/* --- Markets We Serve --- */
.markets {
  background: var(--gray-50);
}

.markets .container {
  max-width: 1400px;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.market-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.market-card-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  color: var(--blue);
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.market-card-icon svg {
  width: 100%;
  height: 100%;
}

.market-card:hover .market-card-icon {
  opacity: 1;
  transform: translate(2px, -2px);
}

.market-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg);
  transform: translateY(-3px);
}

.market-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 10px;
  margin-bottom: 18px;
  color: var(--blue);
}

.market-icon svg {
  width: 24px;
  height: 24px;
}

.market-card h3 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.market-card p {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.6;
  flex: 1;
}

.market-link {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 16px;
  transition: color var(--transition);
  text-align: center;
}

.market-card:hover .market-link {
  color: var(--blue-dark);
}

/* ========================================
   Market Landing Pages — Shared Template
   ======================================== */

.market-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--dark-bg-gradient);
  overflow: hidden;
}

.market-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 25%, rgba(0, 100, 255, 0.13) 0%, transparent 52%),
    radial-gradient(circle at 15% 75%, rgba(0, 100, 255, 0.07) 0%, transparent 45%);
  pointer-events: none;
}

.market-hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 56px;
  max-width: 760px;
}

.market-hero-content .hero-badge {
  color: var(--blue-light);
  margin-bottom: 20px;
  letter-spacing: 0.12em;
}

.market-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
}

.market-hero-content .hero-sub {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.75;
  max-width: 580px;
  font-weight: 300;
  margin-bottom: 32px;
}

/* Market chip navigation — bottom of hero */
.market-nav-strip {
  position: relative;
  z-index: 2;
  background: #111D33;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.market-nav-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.market-nav-chips::-webkit-scrollbar {
  display: none;
}

.market-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
}

.market-chip:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  transform: scale(1.12);
}

.market-chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Market page content */
.market-overview {
  padding: 80px 0;
}

.market-overview p:not(.section-tag) {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto 20px;
  text-align: center;
}

.market-overview p:not(.section-tag):last-child {
  margin-bottom: 0;
}

/* OEM partner logo row */
.market-overview {
  padding-bottom: 80px;
}

.oem-partner-logos {
  text-align: center;
  background: #CED1D7;
  padding: 38px 0;
}

.oem-partner-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
  margin-bottom: 32px;
}

.oem-partner-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.oem-partner-logo-row img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.2s ease;
}

.oem-partner-logo-row img:hover {
  filter: grayscale(0%) opacity(1);
}

/* Capability stats bar */
.capability-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}

.capability-stat {
  flex: 1;
  padding: 36px 32px;
  text-align: center;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
}

.capability-stat:last-child {
  border-right: none;
}

.cap-stat-number {
  font-family: 'Oxanium', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.cap-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
}

/* Capabilities grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.capability-card {
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all 0.3s ease;
}

.capability-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  transform: translateY(-2px);
}

.capability-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 20px;
}

.capability-card .card-icon svg {
  width: 64px;
  height: 64px;
}

.capability-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.capability-card p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Market CTA */
.market-cta {
  background: var(--dark-bg-gradient);
  padding: 80px 0;
  text-align: center;
}

.market-cta .section-tag {
  color: var(--blue-light);
}

.market-cta h2 {
  color: var(--white);
}

.market-cta p:not(.section-tag) {
  color: var(--slate-light);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 540px;
  margin: 16px auto 32px;
}

/* --- Products Page --- */
.products-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.products-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.96) 0%, rgba(15, 40, 71, 0.9) 45%, rgba(19, 46, 82, 0.7) 100%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
}

.products-hero .hero-content {
  padding: 180px 0 80px;
}

.products-hero .hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}

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

.supplier-feature-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.supplier-feature-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.supplier-feature-card h3 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.supplier-feature-card p {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.6;
}

.supplier-feature-card.highlight {
  background: rgba(37, 99, 235, 0.06);
  border-color: var(--blue);
}

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

.product-category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-img-placeholder {
  height: 140px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-light);
}

.product-img-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.5;
}

.product-category-card .card-body {
  padding: 18px;
}

.product-category-card h3 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.product-category-card p {
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.5;
}

.exclusive-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 64px 0;
  text-align: center;
}

.exclusive-banner h2 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.exclusive-banner p {
  color: var(--slate-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
  .about-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .markets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .supplier-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .capability-stats {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .topbar-row {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--gray-200);
    gap: 4px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu .nav-link {
    color: var(--slate);
    padding: 12px 16px;
    width: 100%;
  }
  .nav-menu .nav-link:hover {
    color: var(--navy);
    background: var(--gray-50);
    border-radius: var(--radius-sm);
  }

  .nav-menu .nav-cta {
    color: var(--white) !important;
    text-align: center;
    margin-top: 8px;
  }

  .nav-menu .nav-vendor {
    clip-path: none;
    border-radius: 4px;
    text-align: center;
    margin-top: 4px;
  }

  .hero-content {
    padding: 100px 0 64px;
    transform: none;
  }

  .hero::after {
    clip-path: none;
    background: linear-gradient(to bottom, rgba(17,29,51,0.85) 0%, rgba(17,29,51,0.6) 100%);
  }

  .hero h1 {
    font-size: 2.5rem;
    max-width: 100%;
  }

  .hero-sub {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 48px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 28px 20px;
  }

  .about-card {
    flex-direction: column;
    padding: 28px;
    gap: 20px;
  }

  .about-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }

  .about-icon svg {
    width: 34px;
    height: 34px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .customers-grid {
    flex-direction: column;
  }

  .customers-content {
    width: 100%;
    clip-path: none;
    padding: 48px 24px;
  }

  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    flex-direction: column;
  }

  .categories-content {
    width: 100%;
    clip-path: none;
    padding: 48px 24px;
  }

  .category-list {
    grid-template-columns: 1fr;
  }

  .supplier-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .capability-stats {
    flex-direction: column;
  }

  .capability-stat {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }

  .capability-stat:last-child {
    border-bottom: none;
  }

  .market-hero-content {
    padding: 120px 0 48px;
  }

  .market-hero-content h1 {
    font-size: 2.2rem;
  }

  .market-overview p {
    text-align: left;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .logo-marquee-track {
    gap: 40px;
  }

  .marquee-logo {
    width: 110px;
    height: 44px;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 32px;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-badge {
    padding: 6px 14px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .section {
    padding: 52px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .supplier-grid {
    gap: 8px;
  }

  .supplier-badge {
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  .markets-grid {
    grid-template-columns: 1fr;
  }

  .supplier-feature-grid {
    grid-template-columns: 1fr;
  }

  .product-category-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .stat-card {
    padding: 20px 16px;
  }

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

  .market-hero .hero-content,
  .products-hero .hero-content {
    padding: 120px 0 60px;
  }
}