/* src/public/css/style.css — RRE International Premium B2B Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary:       #0f172a;
  --primary-mid:   #1e293b;
  --primary-light: #334155;
  --accent:        #f59e0b;
  --accent-dark:   #d97706;
  --accent-light:  #fef3c7;
  --brand-green:   #10b981;
  --whatsapp:      #25d366;
  --whatsapp-dark: #128c7e;
  --whatsapp-hover:#1db954;
  --bg-white:      #ffffff;
  --bg-light:      #f8fafc;
  --bg-slate:      #f1f5f9;
  --text-dark:     #0f172a;
  --text-mid:      #334155;
  --text-muted:    #64748b;
  --text-faint:    #94a3b8;
  --border:        #e2e8f0;
  --border-mid:    #cbd5e1;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.10);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  60%       { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
}
@keyframes pulseOrigin {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.7); }
  60%       { box-shadow: 0 0 0 14px rgba(245,158,11,0); }
}
@keyframes countUp {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* TYPOGRAPHY */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.section-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-header-center {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,158,11,0.35);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-mid);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-light);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--bg-slate);
  color: var(--text-mid);
  border-color: var(--border);
}
.btn-lg  { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-xl  { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm  { padding: 0.45rem 0.85rem; font-size: 0.8rem; }

/* TOP TRUST STRIP */
.top-trust-strip {
  background: var(--primary);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--primary-mid);
}
.top-trust-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* SITE HEADER */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.65rem 0;
  min-height: 68px;
  max-height: 68px;
  overflow: hidden;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.logo-link:hover { opacity: 0.88; }

/* Header logo image — strictly constrained */
.header-logo-img {
  height: 46px !important;
  width: 46px !important;
  max-height: 46px !important;
  max-width: 46px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
  mix-blend-mode: multiply;
}

/* Header logo brand text lockup */
.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.header-logo-brand {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.header-logo-brand sup {
  font-size: 0.55rem;
  vertical-align: super;
  font-weight: 700;
}
.header-logo-sub {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Footer logo card — white pill on dark background */
.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: transform 0.2s ease;
}
.footer-logo-link:hover { transform: translateY(-2px); }
.footer-logo-wrap {
  background: #ffffff;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.22);
}
.footer-logo-img {
  height: 64px !important;
  width: 64px !important;
  max-height: 64px !important;
  max-width: 64px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  object-fit: contain !important;
  display: block !important;
}
.nav-menu {
  display: flex;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-dark);
  background: var(--accent-light);
}
.header-desktop-search { flex: 0.9; max-width: 480px; }
.search-form-wrapper { width: 100%; }
.search-input-group {
  display: flex;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}
.search-input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: none;
  outline: none;
  font-size: 0.88rem;
  color: var(--text-dark);
  background: transparent;
}
.search-btn {
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
  white-space: nowrap;
}
.search-btn:hover { background: var(--accent-dark); }
.header-mobile-search { display: none; }
.mobile-menu-btn { display: none; }
/* No !important here (unlike a prior version of this rule) — main.js
   toggles this open via mobileDrawer.style.display = 'block', and an
   !important base rule permanently wins over that inline style, which
   silently broke the mobile menu: the hamburger icon would flip to '✕'
   but the drawer itself could never actually appear. */
.js-mobile-nav-drawer { display: none; }

/* HERO SECTION */
.hero-section-light {
  position: relative;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}
.hero-bg-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-bg-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(9,13,22,0.88) 0%, rgba(15,23,42,0.82) 60%, rgba(30,41,59,0.75) 100%);
  z-index: 1;
}
.hero-content-wrap {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
  text-align: center;
}
.hero-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease both;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid;
  letter-spacing: 0.02em;
}
.trust-chip.gold   { background: rgba(245,158,11,0.2);  border-color: rgba(245,158,11,0.6);  color: #fbbf24; }
.trust-chip.green  { background: rgba(16,185,129,0.2);  border-color: rgba(16,185,129,0.6);  color: #6ee7b7; }
.trust-chip.blue   { background: rgba(14,165,233,0.2);  border-color: rgba(14,165,233,0.6);  color: #7dd3fc; }
.trust-chip.gray   { background: rgba(148,163,184,0.15); border-color: rgba(148,163,184,0.4); color: #cbd5e1; }
.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
  animation: fadeInUp 0.7s ease both;
}
.hero-headline-accent { color: var(--accent) !important; }
.hero-subline {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #e2e8f0 !important;
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  animation: fadeInUp 0.8s 0.1s ease both;
}
.hero-search-card {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  max-width: 780px;
  margin: 0 auto 1.75rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.3);
  animation: fadeInUp 0.9s 0.2s ease both;
}
.hero-search-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-search-form {
  display: flex;
  border: 2px solid var(--border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.hero-search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.2);
}
.hero-search-input {
  flex: 1;
  padding: 0.95rem 1.25rem;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
}
.hero-search-input::placeholder { color: var(--text-faint); font-size: 0.92rem; }
.hero-search-btn {
  background: var(--accent);
  color: var(--primary);
  padding: 0.95rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.hero-search-btn:hover { background: var(--accent-dark); }
.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
  align-items: center;
}
.quick-links-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-quick-chip {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: var(--bg-slate);
  color: var(--accent-dark);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all var(--transition);
}
.hero-quick-chip:hover { background: var(--accent-light); border-color: var(--accent); }
.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s 0.3s ease both;
}
.hero-slide-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.slide-dot.active { background: var(--accent); width: 28px; }

/* BRAND CREDIBILITY BAR */
.brand-credibility-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.credibility-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}
.brand-pills-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.brand-pill-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.5rem;
  transition: background var(--transition);
}
.brand-pill-item:hover { background: var(--bg-light); border-radius: var(--radius-md); }
.brand-pill-logo {
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}
.jcb-pill      { background: #f59e0b; color: #000; }
.cat-pill      { background: #111; color: #facc15; }
.case-pill     { background: #b91c1c; color: #fff; }
.komatsu-pill  { background: #1e40af; color: #fff; }
.volvo-pill    { background: #1e3a8a; color: #bfdbfe; }
.perkins-pill  { background: #065f46; color: #6ee7b7; }
.brand-pill-name { font-size: 0.85rem; font-weight: 600; color: var(--text-mid); }
.brand-pill-divider { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }

/* ASSURANCE STRIP */
.assurance-strip-light {
  background: var(--primary);
  padding: 1.25rem 0;
}
.assurance-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.assurance-strip-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.assurance-strip-item:hover { background: rgba(255,255,255,0.05); }
.assurance-icon { font-size: 1.6rem; flex-shrink: 0; }
.assurance-title { font-weight: 700; color: #fff; font-size: 0.88rem; }
.assurance-sub   { font-size: 0.75rem; color: #94a3b8; margin-top: 2px; }

/* WHATSAPP PHOTO BANNER */
.whatsapp-photo-section {
  background: var(--bg-light);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.whatsapp-photo-card {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 40%, #047857 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.whatsapp-photo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.whatsapp-badge-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.2);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #a7f3d0;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.whatsapp-photo-headline {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #fff;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.whatsapp-photo-desc { color: #a7f3d0; font-size: 0.95rem; line-height: 1.65; max-width: 520px; }
.whatsapp-photo-cta { text-align: center; flex-shrink: 0; }
.whatsapp-response-tag { font-size: 0.78rem; color: #a7f3d0; margin-top: 0.75rem; font-weight: 600; }

/* PRODUCTS SECTION */
.products-section { padding: 4rem 0; background: #fff; }
.category-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-slate);
  border: 1.5px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
}
.cat-tab:hover { color: var(--accent-dark); border-color: var(--accent); background: var(--accent-light); }
.cat-tab.active { background: var(--accent); color: var(--primary); border-color: var(--accent); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.prod-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  animation: fadeInUp 0.5s ease both;
}
.prod-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.prod-card.hidden { display: none; }
.prod-card-img-wrap {
  position: relative;
  background: var(--bg-light);
  height: 200px;
  overflow: hidden;
}
.prod-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.prod-card:hover .prod-card-img-wrap img { transform: scale(1.05); }
.prod-badge {
  position: absolute;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
}
.prod-badge.brand-badge { top: 10px; left: 10px; background: var(--primary); color: #fff; }
.prod-badge.stock-badge { top: 10px; right: 10px; background: var(--brand-green); color: #fff; }
.prod-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.prod-pn-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.prod-pn-label { font-family: 'Courier New', monospace; font-size: 0.88rem; color: var(--primary); font-weight: 700; }
.prod-hsn { font-size: 0.72rem; color: var(--text-faint); }
.prod-card-title { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; line-height: 1.35; }
.prod-card-title a { color: inherit; }
.prod-card-title a:hover { color: var(--accent-dark); }
.prod-meta-row { display: flex; gap: 1rem; font-size: 0.77rem; color: var(--text-muted); margin-bottom: 0.65rem; flex-wrap: wrap; }
.prod-card-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; flex: 1; margin-bottom: 1rem; }
.prod-card-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.5rem;
  margin-top: auto;
  border-top: 1px solid var(--bg-slate);
  padding-top: 1rem;
}

/* GENERIC CARD GRID — category listings, search results, related products */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card,
.product-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.card:hover,
.product-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card { padding: 1.5rem; }
.card-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; flex: 1; margin-bottom: 1rem; }
.product-card-img-wrap {
  position: relative;
  background: var(--bg-light);
  height: 180px;
  overflow: hidden;
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  box-sizing: border-box;
}
.product-card-body { padding: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-card-title { font-size: 0.92rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; line-height: 1.35; }
.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--accent-dark); }

/* MACHINES SECTION */
.machines-section { padding: 4rem 0; background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.machines-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.machine-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.machine-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.machine-card-img { position: relative; height: 200px; overflow: hidden; background: var(--bg-slate); }
.machine-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.machine-card:hover .machine-card-img img { transform: scale(1.04); }
.machine-brand-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff;
  font-size: 0.7rem; font-weight: 900; padding: 0.25rem 0.65rem; border-radius: 5px;
}
.machine-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.machine-type-tag { font-size: 0.75rem; color: var(--text-faint); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; }
.machine-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }
.machine-title a { color: var(--text-dark); }
.machine-title a:hover { color: var(--accent-dark); }
.machine-desc { font-size: 0.87rem; color: var(--text-muted); line-height: 1.55; flex: 1; margin-bottom: 1.25rem; }
.machine-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 1rem; }
.machine-catalog-link { color: var(--accent-dark); font-weight: 700; font-size: 0.88rem; }
.machine-catalog-link:hover { text-decoration: underline; }

/* MACHINES HUB — /machines listing cards. Same image-card pattern as
   .machine-card above: fixed-height, positioned container so the
   absolutely-positioned brand badge anchors to the card, not the page. */
.machine-platform-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.machine-platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.machine-platform-card-img { position: relative; height: 200px; overflow: hidden; background: var(--bg-slate); }
.machine-platform-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.machine-platform-card:hover .machine-platform-card-img img { transform: scale(1.04); }
.machine-platform-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-faint); font-size: 0.8rem; }

/* CATEGORIES SECTION */
.categories-section { padding: 4rem 0; background: #fff; }
.featured-category-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.feat-cat-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.5rem; border-radius: var(--radius-lg); text-decoration: none;
  border: 2px solid transparent; transition: all var(--transition); cursor: pointer;
}
.feat-cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat-cabin      { background: linear-gradient(135deg,#eff6ff,#dbeafe); border-color: #93c5fd; }
.feat-cabin:hover { border-color: #3b82f6; }
.feat-rubber     { background: linear-gradient(135deg,#f0fdf4,#dcfce7); border-color: #86efac; }
.feat-rubber:hover { border-color: #22c55e; }
.feat-electrical { background: linear-gradient(135deg,#fffbeb,#fef9c3); border-color: #fde047; }
.feat-electrical:hover { border-color: #eab308; }
.feat-fabrication{ background: linear-gradient(135deg,#fff7ed,#ffedd5); border-color: #fdba74; }
.feat-fabrication:hover { border-color: #f97316; }
.feat-cat-icon  { font-size: 2rem; margin-bottom: 0.75rem; }
.feat-cat-label { font-size: 1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.35rem; }
.feat-cat-sub   { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.cat-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; display: flex; flex-direction: column; transition: all var(--transition);
}
.cat-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.cat-short-badge { background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 800; padding: 0.2rem 0.55rem; border-radius: 5px; text-transform: uppercase; }
.cat-icon { font-size: 1.3rem; }
.cat-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.3; }
.cat-title a { color: var(--text-dark); }
.cat-title a:hover { color: var(--accent-dark); }
.cat-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; flex: 1; margin-bottom: 0.9rem; }
.cat-sub-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.9rem; }
.cat-sub-tag { background: var(--bg-slate); color: var(--text-mid); font-size: 0.72rem; padding: 0.18rem 0.45rem; border-radius: 4px; font-weight: 600; }
.cat-browse-link { color: var(--accent-dark); font-weight: 700; font-size: 0.88rem; margin-top: auto; }
.cat-browse-link:hover { text-decoration: underline; }

/* GLOBAL MAP SECTION */
/* ── ANIMATED GLOBAL SHIPPING MAP ── */
.shipping-map-section {
  padding: 4rem 0 0;
  background: var(--primary);
}
.shipping-map-canvas {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #060e1f;
  margin-top: 1rem;
}
/* Real world map background using an open-licensed equirectangular image */
.world-map-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/World_map_-_low_resolution.svg/2560px-World_map_-_low_resolution.svg.png');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.18;
  filter: saturate(0) brightness(1.4);
}
.shipping-routes-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Animated route lines — draw-in effect */
.ship-route {
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(245,158,11,0.5));
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawRoute 2.5s ease forwards;
}
.ship-route:nth-child(1)  { animation-delay: 0.1s; }
.ship-route:nth-child(2)  { animation-delay: 0.3s; }
.ship-route:nth-child(3)  { animation-delay: 0.5s; }
.ship-route:nth-child(4)  { animation-delay: 0.7s; }
.ship-route:nth-child(5)  { animation-delay: 0.9s; }
.ship-route:nth-child(6)  { animation-delay: 1.1s; }
.ship-route:nth-child(7)  { animation-delay: 1.3s; }
.ship-route:nth-child(8)  { animation-delay: 1.5s; }
.ship-route:nth-child(9)  { animation-delay: 1.7s; }
.ship-route:nth-child(10) { animation-delay: 1.9s; }
.ship-route:nth-child(11) { animation-delay: 2.1s; }
@keyframes drawRoute {
  to { stroke-dashoffset: 0; }
}
/* Floating stat chips */
.map-live-stats {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.65rem;
  z-index: 10;
  flex-wrap: wrap;
  justify-content: center;
}
.map-stat-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(9,13,22,0.82);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
}
.map-stat-chip strong { color: #fbbf24; }
.map-stat-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #f59e0b;
  display: inline-block;
  animation: pulseDot 1.8s ease-in-out infinite;
}
.map-stat-pulse.gcc    { background: #ef4444; }
.map-stat-pulse.africa { background: #10b981; }
.map-stat-pulse.europe { background: #60a5fa; }
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.6); }
}

/* Market cards below map */
.export-markets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.export-market-card {
  background: var(--primary-mid); border: 1px solid #334155; border-radius: var(--radius-lg);
  padding: 1.25rem; transition: all var(--transition);
}
.export-market-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.market-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; flex-wrap: wrap; gap: 0.35rem; }
.market-name { color: #fff; font-size: 1.05rem; font-weight: 700; }
.market-region-tag { background: var(--primary); color: #94a3b8; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; }
.market-transit { font-size: 0.83rem; color: #cbd5e1; margin-bottom: 0.35rem; }
.market-transit strong { color: #fbbf24; }
.market-ports { font-size: 0.8rem; color: #94a3b8; margin-bottom: 0.75rem; }
.market-detail-link { color: #38bdf8; font-size: 0.82rem; font-weight: 600; }
.market-detail-link:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .shipping-map-canvas { height: 320px; }
}


/* MANUFACTURING SECTION */
.manufacturing-section { padding: 4rem 0; background: var(--bg-light); border-top: 1px solid var(--border); }
.manufacturing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.manufacturing-capabilities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.capability-item {
  display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.85rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); transition: all var(--transition);
}
.capability-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.cap-icon { font-size: 1.4rem; flex-shrink: 0; }
.cap-title { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); }
.cap-desc  { font-size: 0.77rem; color: var(--text-muted); margin-top: 2px; }
.manufacturing-stats-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card-large {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem 1.5rem; text-align: center; transition: all var(--transition); animation: countUp 0.6s ease both;
}
.stat-card-large:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.stat-card-large.highlight { background: var(--accent); border-color: var(--accent); }
.stat-card-large.highlight .stat-big-num { color: var(--primary); }
.stat-card-large.highlight .stat-big-label { color: var(--primary); }
.stat-big-num   { font-size: 2.5rem; font-weight: 900; color: var(--text-dark); line-height: 1; }
.stat-big-label { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.5rem; }

/* RESOURCES SECTION */
.resources-section { padding: 4rem 0; background: #fff; border-top: 1px solid var(--border); }
.resources-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.resource-card {
  background: var(--bg-light); border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; display: flex; flex-direction: column; transition: all var(--transition);
}
.resource-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.resource-category-tag { display: inline-block; background: var(--accent-light); color: var(--accent-dark); font-size: 0.72rem; font-weight: 800; padding: 0.2rem 0.55rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.75rem; }
.resource-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.65rem; line-height: 1.4; flex: 1; }
.resource-title a { color: var(--text-dark); }
.resource-title a:hover { color: var(--accent-dark); }
.resource-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 1rem; }
.resource-meta { display: flex; gap: 1rem; font-size: 0.78rem; color: var(--text-faint); margin-bottom: 0.85rem; flex-wrap: wrap; }
.resource-read-link { color: var(--accent-dark); font-weight: 700; font-size: 0.88rem; }
.resource-read-link:hover { text-decoration: underline; }

/* RFQ CTA SECTION */
.rfq-cta-section { padding: 4rem 0; background: var(--bg-light); border-top: 1px solid var(--border); }
.rfq-cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
  border-radius: var(--radius-xl); padding: 3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; box-shadow: var(--shadow-xl);
}
.rfq-cta-eyebrow { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.rfq-cta-headline { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 800; color: #fff; margin-bottom: 0.85rem; line-height: 1.2; }
.rfq-cta-desc { font-size: 1rem; color: #94a3b8; line-height: 1.65; max-width: 560px; }
.rfq-cta-actions { display: flex; flex-direction: column; gap: 0.85rem; flex-shrink: 0; }

/* FOOTER */
footer { background: var(--primary); color: #cbd5e1; }
.footer-top { padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand-col .logo-link { color: #fff; margin-bottom: 1rem; }
.footer-brand-col .logo-badge { background: var(--accent); color: var(--primary); }
.footer-brand-col .logo-link span:last-child { color: #e2e8f0; }
.footer-desc { font-size: 0.87rem; color: #94a3b8; line-height: 1.7; max-width: 340px; margin-bottom: 1rem; }
.footer-cert-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); padding: 0.4rem 0.85rem; border-radius: 6px; font-size: 0.78rem; font-weight: 700; color: #fbbf24; }
.footer-heading { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.87rem; color: #94a3b8; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #1e293b; padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; font-size: 0.8rem; color: #64748b; }
.footer-disclaimer { font-size: 0.72rem; color: #475569; line-height: 1.5; padding: 1rem 0; border-top: 1px solid #1e293b; }

/* FLOATING WHATSAPP */
.floating-whatsapp-btn {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9000;
  width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45); animation: pulseGlow 2.5s infinite;
  transition: transform var(--transition), box-shadow var(--transition); text-decoration: none;
}
.floating-whatsapp-btn:hover { transform: scale(1.12); box-shadow: 0 12px 32px rgba(37,211,102,0.6); }
.floating-whatsapp-badge { position: absolute; top: -4px; right: -4px; background: #ef4444; color: #fff; width: 20px; height: 20px; border-radius: 50%; font-size: 0.7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }

/* MOBILE STICKY */
#mobile-sticky-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 8000; background: var(--primary); padding: 0.65rem 1rem; border-top: 2px solid var(--accent); gap: 0.5rem; }

/* BADGE HELPERS */
.badge { display: inline-block; font-size: 0.72rem; font-weight: 800; padding: 0.25rem 0.6rem; border-radius: 5px; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-brand   { background: var(--primary); color: #fff; }
.badge-instock { background: var(--brand-green); color: #fff; }
.badge-verified{ background: #dbeafe; color: #1e40af; }
.breadcrumb-nav { padding: 0.75rem 0; font-size: 0.82rem; color: var(--text-muted); }
.breadcrumb-nav a { color: var(--accent-dark); font-weight: 600; }

/* NO-MATCH SAFETY CARD */
.no-match-card { background: #fff; border: 2px solid var(--accent); border-radius: var(--radius-xl); padding: 2.5rem; text-align: center; max-width: 600px; margin: 2rem auto; }
.no-match-card h2 { color: var(--text-dark); margin-bottom: 0.5rem; }
.no-match-card p { color: var(--text-muted); margin-bottom: 1.5rem; }
.no-match-card .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* SPEC TABLE */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.spec-table th, .spec-table td { padding: 0.65rem 0.85rem; border: 1px solid var(--border); text-align: left; }
.spec-table th { background: var(--bg-slate); font-weight: 700; color: var(--text-dark); width: 40%; }
.spec-table td { background: #fff; color: var(--text-mid); }

/* DATA QUALITY ADMIN */
.dq-stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.dq-stat-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; }
.dq-stat-card.good  { border-color: #10b981; }
.dq-stat-card.warn  { border-color: #f59e0b; }
.dq-stat-card.error { border-color: #ef4444; }
.dq-stat-num { font-size: 2.2rem; font-weight: 900; color: var(--text-dark); }
.dq-stat-label { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.25rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .manufacturing-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .featured-category-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .header-desktop-search { display: none; }
  .header-mobile-search { display: block; padding-bottom: 0.75rem; }
  /* The trust strip alone was 205px tall on mobile (24% of a 375x812
     viewport) — the ISO badge, export-countries claim, WhatsApp link and
     email link were each wrapping onto their own line. Keep only the ISO
     badge and WhatsApp link (the two that matter most at a glance); the
     export-countries claim and email are still one tap away via the About
     page / footer / floating WhatsApp button, so nothing is lost, just
     decluttered off the very top of every page. */
  .top-trust-strip { padding: 0.4rem 0; font-size: 0.76rem; }
  .trust-strip-export-claim,
  .trust-strip-email,
  .trust-strip-iso-suffix { display: none; }
  .top-trust-inner { justify-content: center; gap: 0.5rem 1rem; }
  /* With white-space:nowrap and no room to shrink next to the hamburger
     toggle, this button pushed the toggle past the header's right edge —
     clipped and unreachable by .header-main's overflow:hidden. The mobile
     sticky bar and floating WhatsApp button already cover RFQ access on
     mobile, so hide the redundant header button instead of the toggle. */
  .header-rfq-btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-section-light { min-height: 560px; }
  .hero-content-wrap { padding: 2.5rem 1rem; }
  .hero-search-form { flex-direction: column; }
  .hero-search-btn { border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .hero-search-card { padding: 1.25rem; }
  .brand-pills-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 0 0.5rem; }
  .brand-pill-divider { display: none; }
  .assurance-strip-grid { grid-template-columns: 1fr 1fr; }
  .whatsapp-photo-card { flex-direction: column; padding: 2rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .featured-category-row { grid-template-columns: 1fr 1fr; }
  .rfq-cta-card { flex-direction: column; padding: 2rem; }
  /* Both CTA buttons' own text needs ~830px combined at this size — wider
     than the 768px breakpoint itself — so a row layout can never fit them;
     it just overflows the page horizontally. Stay in the base column
     layout (see .rfq-cta-actions above) instead of forcing a row here. */
  .rfq-cta-actions { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  /* The sticky bar is position:fixed at the viewport bottom, so the page's
     natural max-scroll (footer bottom = viewport bottom) leaves the bar
     covering the last ~68px of the footer — including the Privacy/Terms/
     Disclaimer/Sitemap links row — permanently, with no way to scroll past
     it. Reserve that space so the real page bottom clears the bar. */
  body { padding-bottom: 76px; }
  #mobile-sticky-bar { display: flex; }
  .floating-whatsapp-btn { bottom: 5.5rem; }
  .manufacturing-capabilities-grid { grid-template-columns: 1fr; }
  .manufacturing-stats-panel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-trust-row { gap: 0.4rem; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .rfq-cta-actions { flex-direction: column; }
  .rfq-cta-actions .btn { width: 100%; justify-content: center; }
  .featured-category-row { grid-template-columns: 1fr; }
  .assurance-strip-grid { grid-template-columns: 1fr; }
  .manufacturing-stats-panel { grid-template-columns: 1fr; }
}

/* BREADCRUMB DESIGN SYSTEM */
.breadcrumb-nav {
  background: var(--bg-slate);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  font-size: 0.86rem;
  width: 100%;
}

.breadcrumb-list {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0.15rem;
}

.breadcrumb-item {
  display: inline-flex !important;
  align-items: center !important;
  list-style: none !important;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "→";
  display: inline-block;
  margin: 0 0.55rem;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
}

.breadcrumb-link {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.breadcrumb-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 700;
}

.breadcrumb-item.active {
  color: var(--text-dark);
}

/* ════════════════════════════════════════
   TRUST & COMPLIANCE CERTIFICATES SECTION
════════════════════════════════════════ */
.certifications-section {
  padding: 4rem 0 3.5rem;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cert-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.cert-section-header .section-eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.cert-section-header .section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.cert-section-header .section-subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Horizontal 3-Card Grid */
.cert-cards-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.cert-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cert-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.12);
}

.cert-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  align-self: flex-start;
  margin-bottom: 0.85rem;
}

.cert-item-badge.iso { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.cert-item-badge.iec { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.cert-item-badge.udyam { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }

/* Controlled Image Thumbnail */
.cert-thumb-frame {
  position: relative;
  width: 100%;
  height: 230px;
  background: #f1f5f9;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.cert-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  background: #ffffff;
  transition: transform 0.3s ease;
}

.cert-thumb-frame:hover .cert-thumb-img {
  transform: scale(1.03);
}

.cert-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cert-thumb-frame:hover .cert-thumb-overlay {
  opacity: 1;
}

.cert-view-btn {
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Card Details */
.cert-meta-info {
  margin-top: auto;
  text-align: left;
}

.cert-doc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.cert-doc-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.cert-doc-sub strong {
  color: var(--text-dark);
}

/* Lightbox Modal */
.cert-lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 24, 0.85);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.cert-lightbox-modal.active {
  display: flex;
}

.cert-lightbox-container {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  animation: certModalPop 0.25s ease;
}

@keyframes certModalPop {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.cert-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.cert-lightbox-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
}

.cert-lightbox-close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.cert-lightbox-close:hover {
  background: #e2e8f0;
  color: var(--text-dark);
}

.cert-lightbox-body {
  padding: 1rem;
  overflow-y: auto;
  text-align: center;
  background: #f1f5f9;
}

.cert-lightbox-body img {
  max-width: 100%;
  height: auto;
  max-height: 72vh;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: inline-block;
}

/* Responsive Handling */
@media (max-width: 900px) {
  .cert-cards-horizontal {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scroll-snap-type: x mandatory;
  }
  .cert-item-card {
    scroll-snap-align: start;
  }
}



