/* ═══════════════════════════════════════════════════════════
   BELL ENGINEERING & MARKETING — Main Stylesheet v4.0
   bellengg.com  |  Clean, Fast, SEO-Friendly
═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --red:          #c62828;
  --red-dark:     #8e0000;
  --red-light:    #ef9a9a;
  --red-bg:       #fff5f5;
  --dark:         #1a202c;
  --text:         #2d3748;
  --muted:        #718096;
  --muted-light:  #a0aec0;
  --bg:           #f7f9fc;
  --white:        #ffffff;
  --border:       #e2e8f0;
  --panel:        #f8fafc;
  --container:    1180px;
  --radius:       10px;
  --shadow:       0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.12);
  --transition:   .2s ease;
  --header-h:     68px;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Container ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Utility ───────────────────────────────────────────── */
.text-muted   { color: var(--muted); }
.text-red     { color: var(--red); }
.text-center  { text-align: center; }
.section-gap  { padding: 64px 0; }
.section-gap-sm { padding: 40px 0; }

/* ── Typography ────────────────────────────────────────── */
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.25;
}
.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(198,40,40,.3);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(198,40,40,.35); }
.btn-secondary {
  background: var(--dark);
  color: #fff;
}
.btn-secondary:hover { background: #2d3748; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--red);
  font-weight: 700;
}
.btn-white:hover { background: #ffe8e8; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ── Site Header ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo {
  font-size: 26px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -1px;
  line-height: 1;
}
.brand-tagline {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  padding: 7px 14px;
  border-radius: 7px;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--red); background: var(--red-bg); }
.main-nav .brochure-btn {
  background: var(--red);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
  margin-left: 8px;
}
.main-nav .brochure-btn:hover { background: var(--red-dark); }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--red);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 999;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border: none; }
.mobile-nav .brochure-btn {
  background: var(--red);
  color: #fff !important;
  border-radius: 8px;
  padding: 11px 18px;
  text-align: center;
  margin-top: 6px;
  border: none;
  font-weight: 700;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 60%, #fde8e8 100%);
  padding: 70px 0 60px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(198,40,40,.06), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-bg);
  border: 1px solid var(--red-light);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--red); }
.hero .lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
}
.hero-badge::before { content: '✔'; color: #2e7d32; font-size: 11px; }
.hero-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Section Styles ─────────────────────────────────────── */
.section { padding: 64px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,.7); }

.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .section-subtitle { margin: 0 auto; }

/* ── Feature Cards ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-light);
}
.feature-card .feat-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  object-fit: contain;
}
.feature-card h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Products Grid ──────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-light);
}
.product-card .thumb {
  height: 210px;
  overflow: hidden;
  position: relative;
  background: #f7f7f7;
  border-bottom: 1px solid var(--border);
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .meta {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-card .meta strong { font-size: 15px; font-weight: 700; color: var(--dark); }
.product-card .meta .text-muted { font-size: 13px; line-height: 1.55; }
.product-card .card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card .card-footer a { font-size: 13px; font-weight: 700; color: var(--red); }
.card-ds-link {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── About Section ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img img { width: 100%; height: 400px; object-fit: cover; }
.about-text .checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.about-text .checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.about-text .checklist li::before { content: '✔'; color: #2e7d32; font-size: 13px; }

/* ── Certs Strip — Card Carousel ────────────────────────── */
.certs-carousel-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 12px 0;
}
.certs-carousel-wrap::before,
.certs-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.certs-carousel-wrap::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.certs-carousel-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.certs-strip {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: certScroll 28s linear infinite;
  align-items: stretch;
}
.certs-strip:hover { animation-play-state: paused; }

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

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 14px 14px;
  width: 130px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: default;
}
.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-light);
}

.cert-item img {
  height: 60px;
  max-width: 90px;
  object-fit: contain;
}

.cert-item span {
  font-size: 11px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  line-height: 1.4;
}

.cert-emoji {
  width: 60px;
  height: 60px;
  background: #fff5f5;
  border-radius: 50%;
  border: 2px solid #f5d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

/* ── Industries ─────────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.industry-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.industry-chip:hover { border-color: var(--red); color: var(--red); background: var(--red-bg); }

/* ── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--dark);
  padding: 40px 0;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border: none; }
.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--red-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { font-size: clamp(20px,3vw,28px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.cta-banner p  { font-size: 16px; opacity: .9; max-width: 520px; margin: 0 auto 28px; }
.cta-banner-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Contact Form ───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(198,40,40,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.contact-info-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
}
.contact-info-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 22px; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-item:last-of-type { border: none; margin-bottom: 22px; }
.contact-item-icon {
  width: 40px; height: 40px;
  background: rgba(198,40,40,.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-label { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 3px; }
.contact-item-val { font-size: 14px; font-weight: 600; color: #fff; }
.contact-item-val a { color: #fff; }

/* ── Blog Cards ─────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--red); margin-bottom: 8px; }
.blog-card-body h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.blog-card-body p  { font-size: 14px; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 14px; }
.blog-meta { font-size: 12px; color: var(--muted-light); }

/* ── Breadcrumb ─────────────────────────────────────────── */
.page-breadcrumb {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a { color: var(--red); }
.breadcrumb .sep { opacity: .5; }

/* ── Page Hero (sub-pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0f3460 100%);
  color: #fff;
  padding: 56px 0;
}
.page-hero h1 { font-size: clamp(24px,4vw,40px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.page-hero .lead { font-size: 16px; opacity: .85; max-width: 540px; line-height: 1.7; margin-bottom: 24px; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 56px 0 24px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: var(--red-light); font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.6); max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  margin-bottom: 9px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--red-light); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item .ico { font-size: 16px; margin-top: 1px; }
.footer-contact-item span { font-size: 13.5px; color: rgba(255,255,255,.65); line-height: 1.5; }
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}
.footer-geo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-geo-links a { font-size: 12px; color: rgba(255,255,255,.45); }
.footer-geo-links a:hover { color: var(--red-light); }

/* ── FAB (WhatsApp/Phone/Email) ─────────────────────────── */
.fab-group {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  z-index: 200;
}
.fab {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.fab img { width: 28px; height: 28px; filter: invert(1) brightness(2); }
.fab.fab-wa { background: #25d366; }
.fab.fab-phone { background: var(--red); }
.fab.fab-email { background: #0072c6; }

/* ── Alert / Success ────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-danger  { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* ── Brochure ───────────────────────────────────────────── */
.brochure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.brochure-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
}
.brochure-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red-light); }
.brochure-icon { font-size: 42px; margin-bottom: 14px; }
.brochure-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.brochure-card p  { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

/* ── Responsive ─────────────────────────────────────────── */

/* Tablet: 768px – 1024px */
@media (max-width: 1024px) {
  .hero-inner            { grid-template-columns: 1fr; }
  .hero-img              { display: none; }
  .hero h1               { font-size: 34px; }
  .hero .lead            { font-size: 15px; max-width: 100%; }
  .about-grid            { grid-template-columns: 1fr; gap: 32px; }
  .about-img             { display: none; }
  .features-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid           { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand          { grid-column: 1 / -1; }
  .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .stats-bar-inner       { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item             { border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); padding: 20px; }
  .stat-item:nth-child(2n){ border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }
  .contact-layout        { grid-template-columns: 1fr; }
  .products-grid         { grid-template-columns: repeat(2, 1fr); }
  .blog-grid             { grid-template-columns: repeat(2, 1fr); }
  .industries-grid       { grid-template-columns: repeat(3, 1fr); }
  .nav-drop-panel        { display: none !important; }
}

/* Mobile: up to 768px */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  /* Header */
  .main-nav              { display: none; }
  .hamburger             { display: flex; }
  .logo                  { font-size: 22px; }
  .brand-tagline         { font-size: 10px; }

  /* Typography */
  .section-title         { font-size: 22px; }
  .section-subtitle      { font-size: 14px; }
  .eyebrow               { font-size: 11px; }

  /* Hero */
  .hero                  { padding: 36px 0 32px; }
  .hero-eyebrow          { font-size: 11px; padding: 5px 12px; }
  .hero h1               { font-size: 28px; line-height: 1.25; margin-bottom: 12px; }
  .hero .lead            { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
  .hero-ctas             { flex-direction: column; gap: 10px; }
  .hero-ctas .btn        { width: 100%; justify-content: center; }
  .hero-badges           { gap: 7px; }
  .hero-badge            { font-size: 11px; padding: 4px 10px; }

  /* Stats */
  .stats-bar             { padding: 28px 0; }
  .stats-bar-inner       { grid-template-columns: repeat(2, 1fr); }
  .stat-num              { font-size: 28px; }
  .stat-label            { font-size: 12px; }
  .stat-item             { padding: 14px 10px; }

  /* Sections */
  .section               { padding: 40px 0; }
  .section-head          { margin-bottom: 28px; }

  /* Features */
  .features-grid         { grid-template-columns: 1fr; gap: 14px; }
  .feature-card          { padding: 22px 18px; text-align: left; display: flex; flex-direction: row; align-items: flex-start; gap: 16px; }
  .feature-card .feat-icon { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
  .feature-card h4       { font-size: 15px; margin-bottom: 4px; }
  .feature-card p        { font-size: 13px; }

  /* Products */
  .products-grid         { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card .thumb   { height: 160px; }
  .product-card .meta    { padding: 12px 14px; gap: 4px; }
  .product-card .meta strong { font-size: 13px; }
  .product-card .meta .text-muted { font-size: 12px; }
  .product-card .card-footer { padding: 10px 14px; }

  /* About */
  .about-grid            { grid-template-columns: 1fr; gap: 24px; }
  .about-img             { display: none; }
  .about-text .checklist { grid-template-columns: 1fr 1fr; gap: 8px; }
  .about-text .checklist li { font-size: 13px; }

  /* Industries */
  .industries-grid       { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .industry-chip         { padding: 10px 12px; font-size: 12.5px; }

  /* Certs carousel */
  .certs-carousel-wrap::before,
  .certs-carousel-wrap::after { width: 30px; }
  .cert-item             { width: 110px; padding: 12px 10px; gap: 8px; }
  .cert-item img         { height: 50px; }
  .cert-item span        { font-size: 10px; }

  /* CTA Banner */
  .cta-banner            { padding: 32px 20px; border-radius: 12px; }
  .cta-banner h2         { font-size: 20px; }
  .cta-banner p          { font-size: 14px; }
  .cta-banner-btns       { flex-direction: column; gap: 10px; }
  .cta-banner-btns .btn  { width: 100%; justify-content: center; }

  /* Blog */
  .blog-grid             { grid-template-columns: 1fr; }
  .blog-card-img         { height: 180px; }

  /* Contact */
  .contact-layout        { grid-template-columns: 1fr; }
  .contact-form          { padding: 22px 18px; }
  .form-row              { grid-template-columns: 1fr; gap: 12px; }
  .contact-info-card     { display: none; }

  /* Page hero */
  .page-hero             { padding: 36px 0; }
  .page-hero h1          { font-size: 26px; }
  .page-hero .lead       { font-size: 14px; }

  /* Footer */
  .footer-grid           { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand p        { max-width: 100%; }
  .footer-brand .logo    { font-size: 24px; }
  .footer-col h4         { margin-bottom: 10px; }
  .footer-bottom         { flex-direction: column; text-align: center; gap: 8px; }
  .footer-geo-links      { gap: 8px; }
  .footer-geo-links a    { font-size: 11px; }

  /* FAB */
  .fab                   { width: 46px; height: 46px; }
  .fab-group             { right: 12px; bottom: 12px; gap: 8px; }

  /* Brochure */
  .brochure-grid         { grid-template-columns: 1fr; }

  /* Int'l buyer cards */
  .intl-cards-grid       { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; }

  /* Nav dropdown — hide on mobile */
  .nav-dropdown          { display: none; }
}

/* Small phones: up to 480px */
@media (max-width: 480px) {
  .container             { padding: 0 14px; }

  /* Hero */
  .hero h1               { font-size: 24px; }
  .hero-badges           { display: none; }

  /* Products — single column */
  .products-grid         { grid-template-columns: 1fr; }
  .product-card .thumb   { height: 200px; }

  /* Stats — 2 col keep */
  .stat-num              { font-size: 26px; }

  /* Features — full width */
  .feature-card          { flex-direction: column; text-align: center; align-items: center; }
  .feature-card .feat-icon { margin: 0 auto; }

  /* Industries — 2 col */
  .industries-grid       { grid-template-columns: repeat(2,1fr); }

  /* About checklist — 1 col */
  .about-text .checklist { grid-template-columns: 1fr; }

  /* Buttons */
  .btn-lg                { padding: 13px 20px; font-size: 14px; }
  .btn-sm                { padding: 7px 14px; font-size: 12px; }

  /* CTA */
  .cta-banner h2         { font-size: 18px; }

  /* Footer */
  .footer-grid           { gap: 20px; }

  /* Page hero */
  .page-hero h1          { font-size: 22px; }

  /* Blog */
  .blog-grid             { grid-template-columns: 1fr; }

  /* Cert carousel */
  .cert-item             { width: 100px; }

  /* Int'l buyer */
  .intl-cards-grid       { grid-template-columns: 1fr !important; }
}

/* ── Extra Mobile Fixes ──────────────────────────────────── */

/* Products detail page */
@media (max-width: 768px) {
  .prod-detail-grid      { grid-template-columns: 1fr !important; }
  .prod-specs-table      { font-size: 13px; }
  .prod-tabs             { flex-wrap: wrap; gap: 6px; }
  .prod-tab-btn          { font-size: 12px; padding: 7px 14px; }

  /* Export / country pages */
  .grades-grid           { grid-template-columns: 1fr !important; }
  .export-grid           { grid-template-columns: repeat(2,1fr) !important; }
  .why-grid              { grid-template-columns: 1fr !important; }
  .markets-grid          { grid-template-columns: repeat(2,1fr) !important; }
  .compare-table         { font-size: 12px; }
  .contact-grid          { grid-template-columns: 1fr !important; }
  .contact-aside         { display: none; }

  /* Header nav dropdown — disable on mobile */
  .nav-drop-panel        { display: none !important; }
  .nav-dropdown .nav-drop-btn { display: none; }

  /* Popup modal */
  #leadPopup > div       { margin: 0 12px; border-radius: 12px; }

  /* Gallery grid */
  #galleryGrid           { grid-template-columns: repeat(2,1fr) !important; gap: 10px !important; }

  /* Client logos */
  .clients-grid          { grid-template-columns: repeat(3,1fr) !important; }

  /* Certifications page */
  .cert-cards-grid       { grid-template-columns: 1fr !important; }
  .process-grid          { grid-template-columns: repeat(2,1fr) !important; }
  .standards-grid        { grid-template-columns: 1fr !important; }

  /* Video modal */
  #videoModal > div      { width: 95% !important; }

  /* PDF modal */
  #pdfModal > div        { height: 80vh !important; margin: 0 10px; }
}

@media (max-width: 480px) {
  .export-grid           { grid-template-columns: 1fr !important; }
  .markets-grid          { grid-template-columns: repeat(2,1fr) !important; }
  #galleryGrid           { grid-template-columns: 1fr !important; }
  .process-grid          { grid-template-columns: 1fr !important; }
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
  a, button              { min-height: 40px; }
  .product-card .card-footer a { min-height: 36px; display: flex; align-items: center; }
  .industry-chip         { min-height: 40px; display: flex; align-items: center; justify-content: center; }
  input, select, textarea { font-size: 16px !important; } /* Prevents iOS zoom on focus */
}

/* Horizontal scroll fix */
@media (max-width: 768px) {
  body                   { overflow-x: hidden; }
  .container             { overflow-x: hidden; }
  table                  { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
