/* ===================================================
   M3A Xpert Solutions — Design System
   Colour palette: Vire navy + M3A orange
   =================================================== */

:root {
  /* accent = orange (old --accent) — referenced everywhere as --red for class compatibility */
  --red:          #e07c11;
  --red-dark:     #b55e0a;
  --red-light:    #f0931e;
  --red-pale:     #fef5e9;

  /* dark backgrounds = Vire deep navy */
  --dark:         #0a1f3c;
  --dark-2:       #0d2647;
  --dark-3:       #133060;
  --dark-card:    #0e2240;

  --body-bg:      #f4f5f7;
  --card-bg:      #ffffff;
  --border:       #e2e6ea;
  --border-dark:  #1a3562;

  --text-head:    #111827;
  --text-body:    #374151;
  --text-muted:   #6b7280;
  --text-white:   #ffffff;
  --text-white-70:#ffffffb3;

  --gold:         #f5a623;
  --green:        #16a34a;

  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:       0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:    0 10px 40px rgba(0,0,0,.15);
  --shadow-card:  0 2px 8px rgba(0,0,0,.08);

  --transition:   .2s ease;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'Roboto Mono', monospace;
}

/* ── Logo on dark background ──────────────────────── */
.logo-pill {
  background: #ffffff;
  border-radius: 6px;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
}
.logo-pill img { display: block; }

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--body-bg);
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ─────────────────────────────────────── */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-head);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
}
.section-header { margin-bottom: 2.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(212,58,58,.35); }
.btn-outline {
  border: 2px solid var(--red);
  color: var(--red);
  background: transparent;
}
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: var(--dark-2); }
.btn-white {
  background: #fff;
  color: var(--red);
  font-weight: 700;
}
.btn-white:hover { background: var(--red-pale); }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-sm { padding: .45rem .95rem; font-size: .8rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }

/* ── Topbar ─────────────────────────────────────────── */
.topbar {
  background: var(--dark);
  color: var(--text-white-70);
  font-size: .78rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--border-dark);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar a { color: var(--text-white-70); transition: color var(--transition); }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--red); margin-right: .35rem; font-size: .72rem; }
.topbar-right a { background: var(--red); color: #fff; padding: .2rem .7rem; border-radius: 4px; font-weight: 600; }
.topbar-right a:hover { background: var(--red-dark); }

/* ── Navbar ─────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.navbar .container {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 1.5rem;
}

/* Logo area in navbar */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -.5px;
  flex-shrink: 0;
}
.nav-logo > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  width: min-content;
}
.nav-logo-name {
  font-size: .92rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}
.nav-logo-tagline {
  font-size: .5rem;
  color: var(--text-white-70);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 2px;
  white-space: nowrap;
}

/* Partner logos in navbar */
.nav-brand-logos {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .3rem .75rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.nav-brand-logos img { height: 22px; object-fit: contain; }
.nav-brand-sep { width: 1px; height: 20px; background: var(--border-dark); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin-left: auto;
}
.nav-links li { position: relative; }
.nav-links a {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.nav-links a.active { color: var(--red); }

/* Dropdown */
.has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  min-width: 240px;
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .2s;
  box-shadow: var(--shadow-lg);
  z-index: 100;
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  padding: .55rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  color: rgba(255,255,255,.78);
  font-weight: 500;
}
.nav-dropdown a:hover { background: rgba(212,58,58,.12); color: var(--red); }
.nav-dropdown a i { color: var(--red); width: 18px; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }

/* Hamburger */
.nav-menu-btn {
  display: none;
  color: #fff;
  font-size: 1.2rem;
  padding: .4rem;
  border-radius: var(--radius-sm);
}
.nav-menu-btn:hover { background: rgba(255,255,255,.1); }

/* ── Mobile nav ──────────────────────────────────────── */
.mobile-nav { display: none; }
@media (max-width: 960px) {
  .nav-links, .nav-brand-logos { display: none; }
  .nav-menu-btn { display: flex; }
  .mobile-nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
  }
  .mobile-nav.open { pointer-events: all; }
  .mobile-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    transition: opacity .25s;
  }
  .mobile-nav.open .mobile-nav-overlay { opacity: 1; }
  .mobile-nav-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 88vw);
    background: var(--dark-2);
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
  .mobile-nav-close {
    align-self: flex-end;
    color: rgba(255,255,255,.7);
    font-size: 1.2rem;
    padding: .3rem;
    border-radius: var(--radius-sm);
  }
  .mobile-nav-close:hover { color: #fff; background: rgba(255,255,255,.1); }
  .mobile-nav-links { display: flex; flex-direction: column; gap: .2rem; }
  .mobile-nav-links a {
    display: block;
    padding: .7rem .85rem;
    border-radius: var(--radius-sm);
    font-size: .88rem;
    font-weight: 600;
    color: rgba(255,255,255,.78);
  }
  .mobile-nav-links a:hover { background: rgba(212,58,58,.12); color: var(--red); }
  .mobile-nav-links .divider { height: 1px; background: var(--border-dark); margin: .4rem 0; }
  .mobile-brand-logos {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem;
    background: rgba(255,255,255,.05);
    border-radius: var(--radius);
    margin-top: auto;
  }
  .mobile-brand-logos img { height: 24px; object-fit: contain; }
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(212,58,58,.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(212,58,58,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.hero-eyebrow-badge {
  background: rgba(212,58,58,.18);
  border: 1px solid rgba(212,58,58,.35);
  color: var(--red-light);
  padding: .28rem .7rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 2.7rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1.1rem;
  letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--red); }
.hero-sub {
  font-size: 1rem;
  color: var(--text-white-70);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-cta { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  flex-wrap: wrap;
}
.hero-stat-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hero-stat-number span { color: var(--red); }
.hero-stat-label { font-size: .72rem; color: var(--text-white-70); margin-top: .2rem; }

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.hero-card-title {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-white-70);
  margin-bottom: 1rem;
}
.hero-brand-row {
  display: flex;
  gap: 1rem;
}
.hero-brand-item {
  flex: 1;
  background: var(--dark-3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.hero-brand-item img { height: 36px; object-fit: contain; }
.hero-brand-item span { font-size: .7rem; color: var(--text-white-70); }
.hero-partner-strip {
  background: linear-gradient(90deg, rgba(212,58,58,.1), rgba(212,58,58,.05));
  border: 1px solid rgba(212,58,58,.22);
  border-radius: var(--radius);
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.hero-partner-icon {
  width: 36px; height: 36px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .85rem;
  flex-shrink: 0;
}
.hero-partner-text strong { display: block; color: #fff; font-size: .85rem; }
.hero-partner-text span  { color: var(--text-white-70); font-size: .75rem; }

/* ── Ticker ──────────────────────────────────────────── */
.ticker {
  position: relative;
  background: linear-gradient(100deg,
    #c96a0c 0%, #e8851a 32%, #ff9f2e 50%, #e8851a 68%, #c96a0c 100%);
  color: #fff;
  padding: .62rem 0;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3),
              inset 0 -1px 0 rgba(0,0,0,.18),
              0 6px 22px -10px rgba(224,124,17,.85);
}
/* moving light reflection / sheen */
.ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 38%, rgba(255,255,255,.42) 50%, transparent 62%);
  background-size: 240% 100%;
  animation: ticker-sheen 6.5s linear infinite;
  pointer-events: none;
  z-index: 2;
}
/* soft edge fade */
.ticker::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(201,106,12,.95) 0%, transparent 7%,
    transparent 93%, rgba(201,106,12,.95) 100%);
  pointer-events: none;
  z-index: 3;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 60s linear infinite;
  position: relative;
  z-index: 1;
}
.ticker-inner {
  display: flex;
  gap: 2.6rem;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding-right: 2.6rem;
}
.ticker-inner span {
  text-shadow: 0 0 14px rgba(255,255,255,.5), 0 1px 2px rgba(0,0,0,.25);
}
.ticker-inner span::before {
  content: '\f111';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: .42rem;
  opacity: .85;
  vertical-align: middle;
  margin-right: .65rem;
  text-shadow: 0 0 8px rgba(255,255,255,.9);
}
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes ticker-sheen {
  0%   { background-position: 130% 0; }
  100% { background-position: -130% 0; }
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker::before { animation: none; opacity: .25; }
}

/* ── Sections ────────────────────────────────────────── */
.section       { padding: 72px 0; }
.section-white { background: var(--card-bg); }
.section-gray  { background: var(--body-bg); }
.section-dark  { background: var(--dark); }

/* ── Brands Section ──────────────────────────────────── */
.brands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.brand-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.brand-card-vire {
  background: linear-gradient(145deg, var(--dark) 0%, var(--dark-2) 100%);
  border: 1px solid var(--border-dark);
}
.brand-card-diohm {
  background: linear-gradient(145deg, #1a0808 0%, #2a1010 100%);
  border: 1px solid rgba(212,58,58,.3);
}
.brand-card-inner { padding: 2.5rem; }
.brand-logo-area { margin-bottom: 1.5rem; min-height: 56px; display: flex; align-items: center; }
.brand-logo-area img { height: 48px; object-fit: contain; }
.brand-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .22rem .62rem;
  border-radius: 4px;
  background: rgba(212,58,58,.15);
  color: var(--red-light);
  border: 1px solid rgba(212,58,58,.25);
  margin-bottom: .85rem;
}
.brand-card-name { font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: .6rem; }
.brand-card-desc {
  font-size: .88rem;
  color: var(--text-white-70);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.brand-features {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.brand-feature {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .83rem;
  color: rgba(255,255,255,.75);
}
.brand-feature i { color: var(--red); width: 14px; flex-shrink: 0; font-size: .8rem; margin-top: .2rem; }

/* ── Category Grid ───────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 1rem;
}
.cat-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.cat-card:hover {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(212,58,58,.08);
  transform: translateY(-2px);
}
.cat-icon {
  width: 52px; height: 52px;
  background: var(--red-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .85rem;
  font-size: 1.25rem;
  color: var(--red);
  transition: var(--transition);
}
.cat-card:hover .cat-icon { background: var(--red); color: #fff; }
.cat-name { font-size: .82rem; font-weight: 700; color: var(--text-head); margin-bottom: .2rem; }
.cat-count { font-size: .72rem; color: var(--text-muted); }

/* ── Product Cards ───────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,58,58,.4);
}
.product-img-wrap {
  position: relative;
  background: var(--body-bg);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .75rem;
  transition: transform .3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  color: var(--text-muted);
  font-size: .75rem;
  padding: 1rem;
}
.product-img-placeholder i { font-size: 2.5rem; color: var(--border); }
.product-brand-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .22rem .58rem;
  border-radius: 4px;
}
.badge-vire  { background: var(--red); color: #fff; }
.badge-diohm { background: var(--dark); color: var(--red-light); border: 1px solid rgba(212,58,58,.35); }
.product-body { padding: 1rem 1.15rem; flex: 1; display: flex; flex-direction: column; }
.product-model {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--red);
  font-family: var(--font-mono);
  margin-bottom: .3rem;
}
.product-name { font-size: .9rem; font-weight: 700; color: var(--text-head); line-height: 1.35; margin-bottom: .5rem; }
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .75rem;
}
.spec-chip {
  font-size: .67rem;
  font-weight: 600;
  padding: .15rem .48rem;
  border-radius: 100px;
  background: var(--body-bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.product-price { font-size: 1rem; font-weight: 800; color: var(--text-head); }
.product-price .currency { font-size: .72rem; font-weight: 600; color: var(--text-muted); margin-right: .1rem; }
.product-price-note { font-size: .65rem; color: var(--text-muted); }
.btn-enquire {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .9rem;
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-enquire:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ── Partnership Section ─────────────────────────────── */
.partnership {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}
.partnership::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,58,58,.1) 0%, transparent 60%);
  pointer-events: none;
}
.partnership .container { position: relative; z-index: 1; }
.partnership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.partnership-logos { display: flex; flex-direction: column; gap: 1.25rem; }
.p-logo-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.p-logo-card img { height: 42px; object-fit: contain; flex-shrink: 0; }

/* M3A branding stack — bigger M3A mark with DIOHM directly below */
.p-brand-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}
.p-m3a-mark {
  width: 88px;
  height: 88px;
  background: linear-gradient(145deg, #e8492f 0%, var(--red) 55%, #a82c2c 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.7rem;
  letter-spacing: .03em;
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(212,58,58,.7),
              inset 0 1px 0 rgba(255,255,255,.25);
}
.p-diohm-pill {
  width: 88px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-diohm-pill img { height: 34px !important; }
.p-logo-text strong { display: block; color: #fff; font-size: .88rem; margin-bottom: .15rem; }
.p-logo-text span { color: var(--text-white-70); font-size: .78rem; }
.p-connector {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.p-connector-line { flex: 1; height: 1px; background: var(--border-dark); }
.p-connector-icon {
  width: 34px; height: 34px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .82rem;
  flex-shrink: 0;
}
.partnership-content .section-label { color: var(--red-light); }
.partnership-content .section-title { color: #fff; }
.partnership-content .section-sub { color: var(--text-white-70); max-width: none; }
.partnership-points { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }
.p-point { display: flex; gap: .85rem; align-items: flex-start; }
.p-point-icon {
  width: 36px; height: 36px;
  background: rgba(212,58,58,.14);
  border: 1px solid rgba(212,58,58,.22);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: .85rem;
  flex-shrink: 0;
}
.p-point-text strong { display: block; color: #fff; font-size: .88rem; margin-bottom: .18rem; }
.p-point-text span { font-size: .82rem; color: var(--text-white-70); line-height: 1.55; }

/* ── Why Choose Us ───────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
}
.why-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
}
.why-card:hover { border-color: var(--red); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.why-icon {
  width: 48px; height: 48px;
  background: var(--red-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}
.why-card:hover .why-icon { background: var(--red); color: #fff; }
.why-title { font-size: .92rem; font-weight: 700; color: var(--text-head); margin-bottom: .4rem; }
.why-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* ── CTA Banner ──────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 56px 0;
  text-align: center;
}
.cta-banner h2 { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: .75rem; }
.cta-banner p { font-size: 1rem; color: rgba(255,255,255,.82); margin-bottom: 1.75rem; }
.cta-banner-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--text-white-70);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.footer-logo-sep { width: 1px; height: 36px; background: var(--border-dark); }
.footer-logo-item { display: flex; align-items: center; }
.footer-logo-item img { height: 30px; object-fit: contain; }
.footer-logo-item .m3a-mark {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .9rem;
  color: #fff;
}
.footer-about { font-size: .82rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .82rem;
  margin-bottom: .65rem;
}
.footer-contact-item i { color: var(--red); width: 14px; margin-top: .22rem; font-size: .78rem; flex-shrink: 0; }
.footer-col-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .82rem; color: var(--text-white-70); transition: color var(--transition); }
.footer-links a:hover { color: var(--red); }
.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
}
.footer-bottom-right { display: flex; align-items: center; gap: 1rem; }
.footer-bottom a { color: var(--text-white-70); }
.footer-bottom a:hover { color: #fff; }

/* ── Products Page ───────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 44px 0 36px;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  color: var(--text-white-70);
  margin-bottom: .75rem;
}
.page-breadcrumb a { color: var(--red-light); }
.page-breadcrumb i { font-size: .6rem; }
.page-hero h1 { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: .4rem; }
.page-hero p { color: var(--text-white-70); font-size: .9rem; }

/* Products layout */
.products-layout {
  display: grid;
  grid-template-columns: 255px 1fr;
  gap: 2rem;
  padding: 2.5rem 0 3rem;
  align-items: start;
}
.sidebar { position: sticky; top: 86px; }
.sidebar-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.sidebar-head {
  padding: .85rem 1.1rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-head);
  background: var(--body-bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.sidebar-head i { color: var(--red); }
.sidebar-body { padding: 1rem 1.1rem; }
.filter-group { margin-bottom: 1.1rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: .55rem;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .1rem;
  cursor: pointer;
}
.filter-option input {
  accent-color: var(--red);
  width: 15px; height: 15px;
  cursor: pointer;
}
.filter-option-label { font-size: .82rem; font-weight: 500; flex: 1; cursor: pointer; }
.filter-option-count {
  font-size: .7rem;
  color: var(--text-muted);
  background: var(--body-bg);
  padding: .08rem .42rem;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.price-inputs input {
  width: 100%;
  padding: .48rem .65rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-family: inherit;
}
.price-inputs input:focus { outline: none; border-color: var(--red); }

/* Products toolbar */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .8rem 1.2rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.products-count { font-size: .83rem; color: var(--text-muted); }
.products-count strong { color: var(--text-head); }
.toolbar-right { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.sort-select {
  padding: .42rem .8rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .82rem;
  font-family: inherit;
  color: var(--text-head);
  background: var(--card-bg);
  cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--red); }
.brand-tabs { display: flex; gap: .35rem; }
.brand-tab {
  padding: .38rem .8rem;
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
}
.brand-tab.tab-all.active   { background: var(--text-head); color: #fff; border-color: var(--text-head); }
.brand-tab.tab-vire.active  { background: var(--red); color: #fff; border-color: var(--red); }
.brand-tab.tab-diohm.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.brand-tab:not(.active):hover { border-color: var(--text-muted); color: var(--text-head); }

/* Brand section divider */
.brand-section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1.25rem;
}
.brand-section-line { flex: 1; height: 1px; background: var(--border); }
.brand-section-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .32rem .85rem;
  border-radius: 100px;
  white-space: nowrap;
}
.bsl-vire  { background: var(--red); color: #fff; }
.bsl-diohm { background: var(--dark); color: var(--red-light); border: 1px solid rgba(212,58,58,.3); }
.brand-section-desc { font-size: .82rem; color: var(--text-muted); margin-bottom: 1rem; }

/* ── Contact Page ────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0;
}
.contact-info-card {
  background: linear-gradient(145deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: #fff;
  border: 1px solid var(--border-dark);
  position: sticky;
  top: 86px;
}
.ci-title { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.ci-sub { font-size: .85rem; color: var(--text-white-70); margin-bottom: 2rem; line-height: 1.65; }
.ci-items { display: flex; flex-direction: column; gap: 1.25rem; }
.ci-item { display: flex; gap: .9rem; align-items: flex-start; }
.ci-icon {
  width: 40px; height: 40px;
  background: rgba(212,58,58,.14);
  border: 1px solid rgba(212,58,58,.22);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: .9rem;
  flex-shrink: 0;
}
.ci-label { font-size: .7rem; color: var(--text-white-70); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .22rem; font-weight: 600; }
.ci-value { font-size: .88rem; color: #fff; line-height: 1.55; }
.contact-brand-strip {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-brand-strip img { height: 26px; object-fit: contain; }
.form-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.form-title { font-size: 1.2rem; font-weight: 800; color: var(--text-head); margin-bottom: .35rem; }
.form-sub { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-field.full { grid-column: 1 / -1; }
.form-label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-head); margin-bottom: .38rem; }
.form-label .req { color: var(--red); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .62rem .88rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .88rem;
  font-family: inherit;
  color: var(--text-head);
  background: var(--card-bg);
  transition: border-color var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(212,58,58,.09);
}
.form-textarea { resize: vertical; min-height: 110px; }
.quick-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.quick-link {
  font-size: .74rem;
  padding: .18rem .6rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  background: none;
  font-family: inherit;
}
.quick-link:hover { border-color: var(--red); color: var(--red); }

/* ── About Page ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 1rem;
}
.milestone-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.milestone-year { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin-bottom: .4rem; }
.milestone-text { font-size: .84rem; color: var(--text-body); line-height: 1.55; }

/* ── Utility ─────────────────────────────────────────── */
.text-red   { color: var(--red); }
.text-white { color: #fff; }
.text-muted { color: var(--text-muted); }
.font-mono  { font-family: var(--font-mono); }
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1060px) {
  .hero .container   { grid-template-columns: 1fr; }
  .hero-visual       { display: none; }
  .partnership-grid  { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .products-layout   { grid-template-columns: 1fr; }
  .sidebar           { display: none; }
  .about-grid        { grid-template-columns: 1fr; }
  .contact-layout    { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
}
@media (max-width: 768px) {
  .hero h1       { font-size: 2rem; }
  .section       { padding: 48px 0; }
  .brands-grid   { grid-template-columns: 1fr; }
  .form-grid2    { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
}
@media (max-width: 480px) {
  .container   { padding: 0 16px; }
  .hero        { padding: 44px 0; }
  .hero h1     { font-size: 1.75rem; }
  .cta-banner h2 { font-size: 1.5rem; }
  .section-title { font-size: 1.55rem; }
  .topbar      { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── Contact Page (extra layout for contact.html) ──────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
}
.contact-info-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
}
.contact-info-items { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-info-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.contact-info-item .ci-icon {
  width: 38px; height: 38px;
  background: rgba(224,124,17,.16);
  border: 1px solid rgba(224,124,17,.28);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: .9rem; flex-shrink: 0;
}
.contact-form-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 2rem 2.25rem;
  box-shadow: var(--shadow-card);
}
.contact-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form-card .form-group { margin-bottom: 1rem; display: flex; flex-direction: column; }
.contact-form-card label {
  font-size: .8rem; font-weight: 600; color: var(--text-head);
  margin-bottom: .35rem;
}
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card input[type="number"],
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  padding: .65rem .85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text-head);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.contact-form-card select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2rem;
  position: relative;
  z-index: 2;
}
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224,124,17,.12);
}
.contact-form-card textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.contact-form-card .btn-primary {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background var(--transition);
}
.contact-form-card .btn-primary:hover { background: var(--red-dark); }

/* Quick Enquiry Types panel — ensure it's not hidden behind sticky elements */
.contact-grid > div > div[style*="Quick Enquiry"],
.contact-grid > div > div:nth-child(2) {
  position: relative;
  z-index: 5;
}

/* Restore vars used inline by contact.html */
:root {
  --primary: var(--dark);
  --accent: var(--red);
  --bg-light: #f4f5f7;
  --bg-blue: #eef2f8;
  --white: #ffffff;
  --text: var(--text-head);
  --text-light: var(--text-muted);
}
.section-pad     { padding: 3rem 0; }
.section-pad-sm  { padding: 2.25rem 0; }
.text-center     { text-align: center; }
.mx-auto         { margin-left: auto; margin-right: auto; max-width: 640px; }
.section-subtitle{ font-size: .95rem; color: var(--text-muted); line-height: 1.65; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-card .form-row { grid-template-columns: 1fr; }
}
.partner-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .8rem;
  background: rgba(224,124,17,.12);
  border: 1px solid rgba(224,124,17,.3);
  color: var(--red);
  border-radius: 100px;
  font-size: .78rem; font-weight: 600;
}
.btn-accent {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
}
.btn-accent:hover { background: var(--red-dark); color:#fff; }
.nav-logo-text { display: flex; flex-direction: column; }

/* Footer extras for contact.html footer markup */
.footer-top { padding-top: 2.5rem; }
.footer-brand .footer-logo-wrap {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem;
}
.footer-logo-mark {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: .95rem;
}
.footer-logo-name { color: #fff; font-weight: 800; font-size: .95rem; }
.footer-logo-sub  { color: var(--text-white-70); font-size: .72rem; }
.footer-desc { color: var(--text-white-70); font-size: .82rem; line-height: 1.6; margin-bottom: 1rem; }
.footer-partner-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .75rem; color: var(--red);
  background: rgba(224,124,17,.12);
  padding: .4rem .75rem; border-radius: 100px;
  border: 1px solid rgba(224,124,17,.25);
}
.footer-contact-item {
  display: flex; align-items: center; gap: .55rem;
  color: var(--text-white-70);
  font-size: .82rem; margin-bottom: .45rem;
}
.footer-contact-item i { color: var(--red); width: 14px; }
.footer .footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer .footer-links li a {
  color: var(--text-white-70); font-size: .82rem; text-decoration: none; transition: color var(--transition);
}
.footer .footer-links li a:hover { color: var(--red); }
.page-hero-title { color: #fff; font-size: 2rem; font-weight: 800; }
.page-hero-breadcrumb { color: var(--text-white-70); font-size: .82rem; }
.page-hero-breadcrumb a { color: var(--red); text-decoration: none; }

/* ── WhatsApp Floating Button + Popup ──────────────────────────────── */
.wa-float-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  font-family: var(--font);
}
.wa-float-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 2px 6px rgba(0,0,0,.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float-btn:hover { transform: scale(1.06); }
.wa-float-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.55);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}
.wa-popup {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(.92) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.wa-popup.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.wa-popup-head {
  background: #075E54;
  color: #fff;
  padding: .9rem 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.wa-popup-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.wa-popup-title { font-size: .9rem; font-weight: 700; }
.wa-popup-sub { font-size: .72rem; opacity: .85; }
.wa-popup-close {
  margin-left: auto;
  background: transparent; border: none; color: #fff;
  font-size: 1.05rem; cursor: pointer; opacity: .8;
}
.wa-popup-close:hover { opacity: 1; }
.wa-popup-body {
  padding: 1rem;
  background: #ECE5DD;
  background-image: linear-gradient(135deg, #ECE5DD 25%, #e6dfd5 25%, #e6dfd5 50%, #ECE5DD 50%, #ECE5DD 75%, #e6dfd5 75%);
  background-size: 12px 12px;
}
.wa-popup-bubble {
  background: #fff;
  border-radius: 0 10px 10px 10px;
  padding: .7rem .85rem;
  font-size: .85rem;
  color: #303030;
  box-shadow: 0 1px 1px rgba(0,0,0,.08);
  line-height: 1.45;
}
.wa-popup-bubble small { display: block; margin-top: .3rem; color: #888; font-size: .7rem; }
.wa-popup-foot {
  padding: .85rem 1rem;
  background: #fff;
}
.wa-popup-foot a {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: .65rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .88rem;
  transition: background .2s ease;
}
.wa-popup-foot a:hover { background: #1ebe5d; }
@media (max-width: 480px) {
  .wa-popup { width: calc(100vw - 40px); right: 0; }
}

/* ── Made in India badge ──────────────────────────────────── */
.mii-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem .35rem .45rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: #1a1a1a;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.mii-flag {
  width: 18px;
  height: 12px;
  background-image: url("/assets/img/in-flag.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,.1);
  flex-shrink: 0;
  display: inline-block;
}
/* Old empty-children-style usage no longer needed but keep selectors harmless */
.mii-flag::before, .mii-flag::after, .mii-flag span { display: none; }

/* DIOHM product card additions */
.product-card.diohm-flagship {
  border: 1px solid rgba(255,153,51,.25);
  background: linear-gradient(180deg, #fff 0%, #fff 70%, rgba(255,153,51,.04) 100%);
}
.product-card.diohm-flagship .product-img-wrap {
  background: #f7f7f7;
}
.diohm-gallery {
  display: flex;
  gap: .4rem;
  padding: .55rem .75rem 0;
}
.diohm-gallery img {
  width: 48px; height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,.08);
  cursor: pointer;
  transition: border-color .15s ease;
}
.diohm-gallery img:hover { border-color: var(--red); }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .72rem;
  margin: .65rem 0 .2rem;
}
.spec-table td {
  padding: .25rem .5rem;
  border-bottom: 1px solid rgba(0,0,0,.05);
  color: var(--text-body);
}
.spec-table td:first-child {
  color: var(--text-muted);
  width: 45%;
  font-weight: 500;
}
.spec-table td:last-child { font-weight: 600; color: var(--text-head); }
.spec-table tr:last-child td { border-bottom: none; }
.diohm-actions {
  display: flex;
  gap: .5rem;
  margin-top: .65rem;
  flex-wrap: wrap;
}
.diohm-actions .btn-enquire,
.diohm-actions .btn-brochure {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem .75rem;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.diohm-actions .btn-enquire {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}
.diohm-actions .btn-enquire:hover { background: #b32a2a; }
.diohm-actions .btn-brochure {
  background: #fff;
  color: var(--text-head);
  border: 1px solid rgba(0,0,0,.12);
}
.diohm-actions .btn-brochure:hover { border-color: var(--red); color: var(--red); }
.diohm-tricolor-bar {
  display: flex;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: .5rem;
}
.diohm-tricolor-bar > div { flex: 1; }
.diohm-tricolor-bar > :nth-child(1) { background: #ff9933; }
.diohm-tricolor-bar > :nth-child(2) { background: #fff; border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06); }
.diohm-tricolor-bar > :nth-child(3) { background: #138808; }
.diohm-model-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: .25rem 0 .35rem;
  font-size: .7rem;
}
.diohm-model-row .model-num {
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════════════
   Homepage premium 3D layer + featured carousel
   ═══════════════════════════════════════════════════════════ */

/* Featured row → smooth horizontal scroll-snap carousel */
#homeFeatured {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem .25rem 1.75rem;
  scrollbar-width: thin;
}
#homeFeatured::-webkit-scrollbar { height: 6px; }
#homeFeatured::-webkit-scrollbar-thumb { background: #d0d5db; border-radius: 999px; }
#homeFeatured > .product-card {
  scroll-snap-align: start;
  flex: 0 0 280px;
  max-width: 280px;
}
@media (max-width: 600px) {
  #homeFeatured > .product-card { flex-basis: 78%; max-width: 78%; }
}

/* Premium 3D depth for homepage product cards */
#homeFeatured .product-card {
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(16,24,40,.04),
    0 4px 10px -3px rgba(16,24,40,.07),
    0 18px 36px -14px rgba(16,24,40,.12);
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s cubic-bezier(.22,.61,.36,1);
  overflow: hidden;
}
#homeFeatured .product-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 4px rgba(16,24,40,.05),
    0 14px 28px -8px rgba(16,24,40,.12),
    0 34px 60px -18px rgba(16,24,40,.22);
}
#homeFeatured .product-img-wrap {
  background: radial-gradient(125% 120% at 50% 22%, #ffffff 0%, #eef1f5 100%);
  position: relative;
  overflow: hidden;
}
#homeFeatured .product-img-wrap::after {
  content: "";
  position: absolute;
  left: 20%; right: 20%; bottom: 7%;
  height: 13px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(16,24,40,.20), transparent 72%);
  filter: blur(5px); opacity: .4; z-index: 0;
  transition: opacity .35s ease, left .35s ease, right .35s ease;
}
#homeFeatured .product-card:hover .product-img-wrap::after {
  opacity: .7; left: 15%; right: 15%;
}
#homeFeatured .product-img-wrap::before {
  content: "";
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(125deg, transparent 42%,
              rgba(255,255,255,.42) 49%, transparent 57%);
  transform: translateX(-130%);
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
#homeFeatured .product-card:hover .product-img-wrap::before {
  transform: translateX(130%);
}
#homeFeatured .product-img-wrap img {
  position: relative; z-index: 1;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
#homeFeatured .product-card:hover .product-img-wrap img { transform: scale(1.07); }

/* Homepage spec chips + enquire button — subtle depth */
#homeFeatured .spec-chip {
  background: linear-gradient(180deg, #f7f9fb, #eef1f5);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 1px 2px rgba(16,24,40,.06);
}
#homeFeatured .btn-enquire {
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset,
              0 3px 8px -1px rgba(10,31,60,.32);
  transition: transform .12s ease, box-shadow .2s ease;
}
#homeFeatured .btn-enquire:hover { transform: translateY(-1px); }
#homeFeatured .btn-enquire:active { transform: translateY(1px); }

@media (prefers-reduced-motion: reduce) {
  #homeFeatured .product-card,
  #homeFeatured .product-img-wrap img,
  #homeFeatured .product-img-wrap::before { transition: none !important; }
  #homeFeatured .product-card:hover { transform: none; }
  #homeFeatured .product-card:hover .product-img-wrap img { transform: none; }
  #homeFeatured .product-img-wrap::before { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   Homepage hero animation + 3D interactivity layer
   ═══════════════════════════════════════════════════════════ */
@keyframes m3aFadeUp { from { opacity: 0; transform: translateY(26px); }
                       to   { opacity: 1; transform: translateY(0); } }
@keyframes m3aFloat  { 0%,100% { transform: translateY(0); }
                       50%     { transform: translateY(-9px); } }
@keyframes m3aGlow   { 0%,100% { opacity: .45; transform: scale(1); }
                       50%     { opacity: .85; transform: scale(1.08); } }
@keyframes m3aBadgePop { from { opacity: 0; transform: scale(.85); }
                         to   { opacity: 1; transform: scale(1); } }

/* Animated glow orbs behind the hero */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  width: 620px; height: 620px; top: -240px; right: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,124,17,.20), transparent 65%);
  animation: m3aGlow 7s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; z-index: 0;
  width: 460px; height: 460px; bottom: -220px; left: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19,48,96,.55), transparent 68%);
  animation: m3aGlow 9s ease-in-out infinite reverse;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* Staggered entrance for hero content */
.hero-content > * { animation: m3aFadeUp .75s cubic-bezier(.22,.61,.36,1) both; }
.hero-content > .hero-eyebrow { animation-delay: .05s; }
.hero-content > h1           { animation-delay: .15s; }
.hero-content > .hero-sub    { animation-delay: .28s; }
.hero-content > .hero-cta    { animation-delay: .40s; }
.hero-content > .hero-stats  { animation-delay: .52s; }
.hero-visual {
  animation: m3aFadeUp .85s cubic-bezier(.22,.61,.36,1) .35s both;
  transition: transform .25s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

/* Gentle float on the hero cards (desynced) */
.hero-visual .hero-card { animation: m3aFloat 6s ease-in-out infinite; }
.hero-visual .hero-partner-strip { animation: m3aFloat 7s ease-in-out infinite -3s; }
.hero-visual .hero-card:last-of-type { animation-duration: 7.5s; animation-delay: -2s; }

/* Hero eyebrow badges — pop in */
.hero-eyebrow-badge { animation: m3aBadgePop .5s cubic-bezier(.34,1.56,.64,1) both; }
.hero-eyebrow-badge:nth-child(2) { animation-delay: .12s; }

/* Animated feature badges on product cards */
@keyframes m3aChipIn { from { opacity: 0; transform: translateY(6px); }
                       to   { opacity: 1; transform: translateY(0); } }
#homeFeatured .product-card .spec-chip {
  animation: m3aChipIn .4s ease both;
}
#homeFeatured .product-card .spec-chip:nth-child(1) { animation-delay: .02s; }
#homeFeatured .product-card .spec-chip:nth-child(2) { animation-delay: .07s; }
#homeFeatured .product-card .spec-chip:nth-child(3) { animation-delay: .12s; }
#homeFeatured .product-card .spec-chip:nth-child(4) { animation-delay: .17s; }
#homeFeatured .product-card .spec-chip:nth-child(5) { animation-delay: .22s; }

/* Card tilt — JS sets the transform; this keeps it crisp */
#homeFeatured .product-card { transform-style: preserve-3d; }
#homeFeatured .product-card.tilting { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after,
  .hero-content > *, .hero-visual,
  .hero-visual .hero-card, .hero-visual .hero-partner-strip,
  .hero-eyebrow-badge,
  #homeFeatured .product-card .spec-chip {
    animation: none !important;
  }
  .hero-content > *, .hero-visual { opacity: 1; transform: none; }
  .hero-visual { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   Premium brand-logo presentation — bigger + 3D motion
   ═══════════════════════════════════════════════════════════ */
.logo-pill {
  padding: 6px 13px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(8,15,30,.16), 0 1px 2px rgba(8,15,30,.1);
  position: relative;
  transform-style: preserve-3d;
  transition: transform .34s cubic-bezier(.22,.61,.36,1), box-shadow .34s ease;
  overflow: hidden;
}
.logo-pill img { transition: filter .3s ease; position: relative; z-index: 1; }
/* slight 3D tilt + scale + glow on hover */
.logo-pill:hover {
  transform: perspective(680px) rotateY(-9deg) translateY(-3px) scale(1.08);
  box-shadow: 0 12px 28px -6px rgba(224,124,17,.4), 0 4px 10px rgba(8,15,30,.2);
}
.logo-pill:hover img { filter: drop-shadow(0 1px 3px rgba(224,124,17,.45)); }
/* light-reflection sweep */
.logo-pill::before {
  content: "";
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(120deg, transparent 38%, rgba(255,255,255,.75) 48%, transparent 60%);
  transform: translateX(-130%);
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.logo-pill:hover::before { transform: translateX(130%); }

/* Soft floating motion on showcase logos (not the sticky navbar) */
.hero-brand-item .logo-pill,
.footer-brand-logos .logo-pill,
.partnership-logos .logo-pill {
  animation: m3aFloat 6.5s ease-in-out infinite;
}
.hero-brand-item:nth-child(2) .logo-pill { animation-delay: -3.25s; }
.footer-brand-logos .logo-pill:nth-child(2) { animation-delay: -2s; }

/* Navbar brand-logo pill — a touch more breathing room */
.nav-brand-logos { padding: .42rem .9rem; gap: .7rem; }

@media (prefers-reduced-motion: reduce) {
  .logo-pill, .logo-pill::before,
  .hero-brand-item .logo-pill, .footer-brand-logos .logo-pill,
  .partnership-logos .logo-pill {
    animation: none !important; transition: none !important;
  }
  .logo-pill:hover { transform: none; }
  .logo-pill::before { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   Audio-themed hero FX — sound-wave + floating particles
   (DOM injected by home-3d.js; pure-CSS animation)
   ═══════════════════════════════════════════════════════════ */
.hero-soundwave {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 210px; z-index: 0; opacity: .55;
  display: flex; align-items: flex-end; gap: 5px;
  padding: 0 4%; pointer-events: none;
}
.hero-soundwave span {
  flex: 1;
  background: linear-gradient(to top,
    #ffae3d 0%, var(--red) 45%, rgba(224,124,17,.15) 100%);
  border-radius: 4px 4px 0 0;
  height: 14%;
  box-shadow: 0 0 14px rgba(240,147,30,.6), 0 0 4px rgba(255,174,61,.8);
  animation: m3aWave 1.1s ease-in-out infinite;
}
@keyframes m3aWave {
  0%, 100% { height: 8%;  opacity: .55; }
  50%      { height: 100%; opacity: 1; }
}

.hero-particle {
  position: absolute; bottom: -8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,147,30,.95), rgba(224,124,17,0) 72%);
  z-index: 0; pointer-events: none;
  animation: m3aRise linear infinite;
}
@keyframes m3aRise {
  0%   { transform: translateY(0) scale(.5); opacity: 0; }
  12%  { opacity: .85; }
  88%  { opacity: .45; }
  100% { transform: translateY(-540px) scale(1.05); opacity: 0; }
}

/* LED pulse accent on section labels */
.section-label::after {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); margin-left: .5rem;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(224,124,17,.6);
  animation: m3aLed 2s ease-out infinite;
}
@keyframes m3aLed {
  0%   { box-shadow: 0 0 0 0 rgba(224,124,17,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(224,124,17,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,124,17,0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-soundwave span, .hero-particle, .section-label::after { animation: none !important; }
  .hero-soundwave, .hero-particle { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   Category cards — premium hover motion + glow
   ═══════════════════════════════════════════════════════════ */
.categories-grid .cat-card {
  position: relative;
  transition: transform .32s cubic-bezier(.22,.61,.36,1), box-shadow .32s ease, border-color .32s ease;
  overflow: hidden;
}
.categories-grid .cat-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(220px circle at 50% 0%, rgba(224,124,17,.14), transparent 70%);
  opacity: 0; transition: opacity .32s ease; pointer-events: none;
}
.categories-grid .cat-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 2px 4px rgba(16,24,40,.05),
              0 16px 32px -10px rgba(16,24,40,.16),
              0 0 0 1px rgba(224,124,17,.25);
}
.categories-grid .cat-card:hover::before { opacity: 1; }
.categories-grid .cat-icon {
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .3s ease, box-shadow .3s ease;
}
.categories-grid .cat-card:hover .cat-icon {
  transform: translateY(-3px) scale(1.12) rotate(-6deg);
  box-shadow: 0 8px 18px -4px rgba(224,124,17,.45);
}
.categories-grid .cat-card:hover .cat-name { color: var(--red); }
.categories-grid .cat-name { transition: color .25s ease; }

@media (prefers-reduced-motion: reduce) {
  .categories-grid .cat-card, .categories-grid .cat-icon { transition: none !important; }
  .categories-grid .cat-card:hover { transform: none; }
  .categories-grid .cat-card:hover .cat-icon { transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   Homepage intro sequence — M3A → VIRE → DIOHM cinematic reveal
   ═══════════════════════════════════════════════════════════ */
.m3a-intro {
  position: fixed; inset: 0; z-index: 4000;
  background: radial-gradient(circle at 50% 40%, #16356b 0%, #0a1f3c 70%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .65s ease, visibility .65s ease;
  cursor: pointer; overflow: hidden;
}
.m3a-intro.done { opacity: 0; visibility: hidden; }
.m3a-intro::before {  /* ambient glow */
  content: ""; position: absolute;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,124,17,.2), transparent 66%);
  animation: introGlow 3.4s ease-in-out infinite;
}
@keyframes introGlow { 0%,100% { transform: scale(.82); opacity:.45; } 50% { transform: scale(1.12); opacity:.85; } }

/* rising light particles */
.m3a-intro-spark {
  position: absolute; bottom: -12px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,196,110,.95), rgba(224,124,17,0) 72%);
  pointer-events: none; z-index: 1;
  animation: introSparkRise linear infinite;
}
@keyframes introSparkRise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  14%  { opacity: .9; }
  100% { transform: translateY(-88vh) scale(.35); opacity: 0; }
}

.m3a-intro-stage {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}

/* M3A mark — large cinematic entrance, then settles to the top */
.m3a-intro-markwrap {
  animation: introFloat 4.6s ease-in-out infinite;
}
.m3a-intro-mark {
  position: relative;
  width: 132px; height: 132px; border-radius: 26px;
  background: linear-gradient(145deg, #ffb347, #e07c11 58%, #b55e0a);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.9rem; font-weight: 900; color: #fff; letter-spacing: -2px;
  box-shadow: 0 30px 70px -14px rgba(224,124,17,.75),
              0 0 0 1px rgba(255,255,255,.14) inset;
  overflow: hidden;
  animation: introMark 2.6s cubic-bezier(.52,.04,.2,1) both;
}
@keyframes introMark {
  0%   { opacity: 0; transform: translateY(54px) scale(.45); filter: blur(9px); }
  16%  { opacity: 1; filter: blur(0); }
  27%  { transform: translateY(96px) scale(2.45); filter: blur(0); }
  52%  { transform: translateY(96px) scale(2.45); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes introFloat {
  0%,100% { transform: translateY(-7px); }
  50%     { transform: translateY(7px); }
}
.m3a-intro-mark::after {  /* metallic light sweep */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 38%, rgba(255,255,255,.9) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: introSweep 1s ease .7s both;
}
@keyframes introSweep { to { transform: translateX(130%); } }
.m3a-intro-mark::before {  /* glowing outline ring */
  content: ""; position: absolute; inset: -7px; border-radius: 32px;
  border: 2px solid rgba(240,147,30,.5);
  animation: introRing 1.9s ease-out .8s infinite;
}
@keyframes introRing {
  0%   { opacity: .75; transform: scale(.92); }
  100% { opacity: 0;  transform: scale(1.2); }
}

.m3a-intro-name {
  color: #fff; font-size: 1.5rem; font-weight: 800; letter-spacing: .01em;
  animation: introUp .7s cubic-bezier(.22,.61,.36,1) 1.7s both;
}
.m3a-intro-tag {
  color: rgba(255,255,255,.6); font-size: .8rem; letter-spacing: .04em;
  animation: introUp .7s cubic-bezier(.22,.61,.36,1) 1.85s both;
}
@keyframes introUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.m3a-intro-brands {
  display: flex; gap: 1.4rem; align-items: center; margin-top: .35rem;
}
.m3a-intro-brands .logo-pill {
  width: 108px; height: 52px; padding: 0;
  align-items: center; justify-content: center;
  border-radius: 9px;
}
.m3a-intro-brands .logo-pill img { width: auto; height: 30px; max-width: 84%; }
.m3a-intro-vire  { animation: introVire  .95s cubic-bezier(.4,0,.2,1) 2.05s both; }
.m3a-intro-diohm { animation: introDiohm .95s cubic-bezier(.4,0,.2,1) 2.25s both; }
@keyframes introVire {
  0%   { opacity: 0; transform: translate(-46vw, 38vh) scale(.55) rotate(-14deg); filter: blur(7px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes introDiohm {
  0%   { opacity: 0; transform: translate(46vw, 38vh) scale(.55) rotate(14deg); filter: blur(7px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
.m3a-intro-skip {
  position: absolute; bottom: 26px; z-index: 2;
  color: rgba(255,255,255,.4); font-size: .72rem; letter-spacing: .05em;
  animation: introUp .6s ease 2.8s both;
}

@media (max-width: 600px) {
  .m3a-intro-mark { width: 104px; height: 104px; font-size: 2.3rem; }
  .m3a-intro-name { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .m3a-intro { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   Hero background video — audio-PCB manufacturing loop
   ═══════════════════════════════════════════════════════════ */
.hero-video {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: linear-gradient(135deg, #0a1f3c 0%, #133060 100%);
}
.hero-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.06) brightness(.92);
}
/* readability + cinematic gradient over the video */
.hero-video::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,31,60,.80) 0%, rgba(10,31,60,.62) 42%, rgba(10,31,60,.94) 100%),
    radial-gradient(circle at 70% 35%, rgba(224,124,17,.14), transparent 55%);
}
/* keep hero content + FX layered above the video */
.hero .container { z-index: 5; }
.hero-soundwave { z-index: 2; }
.hero-particle  { z-index: 2; }

@media (max-width: 680px) {
  .hero-video video { filter: saturate(1.05) brightness(.82); }
}

/* ═══════════════════════════════════════════════════════════
   Bottom-of-page equaliser — layered neon wave, blends to footer
   ═══════════════════════════════════════════════════════════ */
.page-wave {
  position: relative;
  height: 230px;
  margin-bottom: -1px;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg,
    var(--body-bg) 0%,
    rgba(13,38,71,.5) 36%,
    #0c2348 70%,
    var(--dark) 100%);
}
/* ambient orange + blue glow diffusion rising from the footer seam */
.page-wave::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(440px 210px at 27% 108%, rgba(224,124,17,.34), transparent 70%),
    radial-gradient(480px 230px at 73% 112%, rgba(56,118,228,.30), transparent 72%);
  filter: blur(10px);
  z-index: 1;
}
/* soft top fade so the band dissolves into the page background */
.page-wave::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 78px;
  background: linear-gradient(180deg, var(--body-bg), transparent);
  z-index: 3;
}
.wave-layer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  padding: 0 3%;
  z-index: 2;
}
.wave-back {
  height: 60%;
  opacity: .5;
  filter: blur(3.5px);
  animation: waveDrift 15s ease-in-out infinite alternate;
}
.wave-front { height: 80%; opacity: .92; }
.wave-layer span {
  flex: 1;
  max-width: 17px;
  height: 100%;
  transform-origin: bottom;
  transform: scaleY(.18);
  border-radius: 7px 7px 3px 3px;
  animation: m3aWaveBar 2s ease-in-out infinite;
}
.wave-front span {
  background: linear-gradient(to top,
    rgba(255,176,66,.95) 0%, rgba(224,124,17,.5) 42%, rgba(224,124,17,0) 100%);
  box-shadow: 0 0 16px rgba(240,147,30,.45), 0 0 6px rgba(255,176,66,.5);
}
.wave-back span {
  background: linear-gradient(to top,
    rgba(82,150,255,.7) 0%, rgba(42,92,202,.24) 55%, rgba(42,92,202,0) 100%);
  box-shadow: 0 0 22px rgba(62,122,232,.4);
}
@keyframes m3aWaveBar {
  0%, 100% { transform: scaleY(.16); opacity: .55; }
  50%      { transform: scaleY(1);   opacity: 1; }
}
@keyframes waveDrift {
  from { transform: translateX(-2.5%); }
  to   { transform: translateX(2.5%); }
}

/* Heavier blur on the hero video so baked-in chip text is illegible */
.hero-video video {
  filter: saturate(1.04) brightness(.8) blur(3px);
  transform: scale(1.06);   /* hide blurred edges */
}
.hero-video::after {
  background:
    linear-gradient(180deg, rgba(10,31,60,.86) 0%, rgba(10,31,60,.70) 42%, rgba(10,31,60,.96) 100%),
    radial-gradient(circle at 70% 35%, rgba(224,124,17,.16), transparent 55%);
}

@media (prefers-reduced-motion: reduce) {
  .wave-layer span { animation: none !important; transform: scaleY(.4); }
  .wave-back { animation: none !important; }
}
@media (max-width: 640px) {
  .page-wave { height: 168px; }
  .page-wave::after { height: 56px; }
}

/* ═══════════════════════════════════════════════════════════
   Hero highlight cards — glassmorphism, hover lift + glow
   ═══════════════════════════════════════════════════════════ */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
  margin-top: 1.05rem;
}
.hero-content > .hero-highlights { animation: m3aFadeUp .75s cubic-bezier(.22,.61,.36,1) .52s both; }

/* Flip card — perspective wrapper */
.hl-card {
  position: relative;
  min-height: 116px;
  perspective: 900px;
}
.hl-flip {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .62s cubic-bezier(.5,.05,.3,1);
}
.hl-card:hover .hl-flip { transform: rotateY(180deg); }

.hl-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .9rem .85rem;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  border: 1px solid rgba(255,255,255,.1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.hl-front { transform: rotateY(0deg); }
.hl-back {
  transform: rotateY(180deg);
  background: linear-gradient(155deg, rgba(224,124,17,.24), rgba(20,52,106,.5));
  border-color: rgba(240,147,30,.4);
}
.hl-card:hover .hl-face {
  box-shadow: 0 14px 32px -10px rgba(0,0,0,.55),
              0 0 22px -4px rgba(224,124,17,.32);
}
.hl-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, rgba(240,147,30,.26), rgba(20,52,106,.4));
  border: 1px solid rgba(240,147,30,.32);
  color: var(--red-light); font-size: 1.05rem;
  margin-bottom: .55rem;
  transition: transform .35s cubic-bezier(.34,1.5,.64,1);
}
.hl-card:hover .hl-front .hl-icon { transform: scale(1.12) rotate(-6deg); }
.hl-t { font-size: .82rem; font-weight: 800; color: #fff; line-height: 1.25; }
.hl-d { font-size: .69rem; color: rgba(255,255,255,.78); margin-top: .3rem; line-height: 1.45; }

@media (max-width: 560px) {
  .hero-highlights { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hl-flip, .hl-icon { transition: none !important; }
  .hl-card:hover .hl-flip { transform: none; }
  .hl-card:hover .hl-front .hl-icon { transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   Homepage alignment polish + softer equaliser wave
   ═══════════════════════════════════════════════════════════ */
/* Highlight cards — all equal height regardless of text length */
.hero-highlights { grid-auto-rows: 1fr; align-items: stretch; }

/* VIRE / DIOHM brand cards — identical size, centred */
.hero-brand-row { align-items: stretch; }
.hero-brand-item {
  min-height: 168px;
  justify-content: center;
  padding: 1.4rem 1rem;
}
.hero-brand-item .logo-pill { min-height: 70px; align-items: center; justify-content: center; }

/* ═══════════════════════════════════════════════════════════
   Hero section — tightened spacing for above-the-fold fit
   ═══════════════════════════════════════════════════════════ */
.hero { padding: 56px 0 48px; }
.hero .container { gap: 2.2rem; }
.hero-eyebrow { margin-bottom: .85rem; }
.hero h1 { font-size: 2.3rem; margin-bottom: .75rem; }
.hero-sub {
  font-size: .94rem;
  line-height: 1.55;
  margin-bottom: 1.15rem;
}
.hero-visual { gap: .8rem; }
.hero-card { padding: 1.2rem 1.25rem; }

@media (max-width: 992px) {
  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 600px) {
  .hero { padding: 36px 0 34px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-highlights { margin-top: .85rem; }
}

/* ═══════════════════════════════════════════════════════════
   Logo background symmetry — equal white pills, consistent
   radius / shadow / centring across every brand section
   ═══════════════════════════════════════════════════════════ */
.nav-brand-logos .logo-pill,
.mobile-brand-logos .logo-pill,
.hero-brand-item .logo-pill,
.brand-logo-area .logo-pill,
.p-logo-card .logo-pill,
.p-logo-card .p-diohm-pill,
.footer .logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(8,15,30,.22), 0 1px 3px rgba(8,15,30,.14);
  flex-shrink: 0;
}
.nav-brand-logos .logo-pill img,
.mobile-brand-logos .logo-pill img,
.hero-brand-item .logo-pill img,
.brand-logo-area .logo-pill img,
.p-logo-card .logo-pill img,
.footer .logo-pill img {
  width: auto;
  max-width: 86%;
  object-fit: contain;
}

/* Navbar + mobile nav — identical small pills */
.nav-brand-logos .logo-pill,
.mobile-brand-logos .logo-pill { width: 58px; height: 34px; }
.nav-brand-logos .logo-pill img,
.mobile-brand-logos .logo-pill img { height: 23px !important; }

/* Hero "Distributed Brands" + "Our Brands" cards — identical large pills */
.hero-brand-item .logo-pill,
.brand-logo-area .logo-pill {
  width: 152px; height: 80px; min-height: 0;
}
.hero-brand-item .logo-pill img { height: 46px !important; }
/* "Two Brands" section — larger logo, white rectangle size unchanged */
.brand-logo-area .logo-pill img { height: 66px !important; }

/* Technology partnership — VIRE + DIOHM pills equal */
.p-logo-card .logo-pill,
.p-logo-card .p-diohm-pill { width: 90px; height: 56px; }
.p-logo-card .logo-pill img { height: 33px !important; }

/* Footer — all footer brand pills equal */
.footer .logo-pill { width: 80px; height: 36px; }
.footer .logo-pill img { height: 25px !important; }

/* Brand hierarchy — the M3A mark stays visually dominant */
.footer-logo-item .m3a-mark {
  width: 48px; height: 48px;
  font-size: 1.05rem;
  border-radius: 9px;
}

/* ═══════════════════════════════════════════════════════════
   Homepage card alignment — uniform heights, aligned CTAs
   ═══════════════════════════════════════════════════════════ */
.brands-grid { align-items: stretch; }
.brand-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.brand-card-inner > .btn { margin-top: auto; }
.brand-logo-area { min-height: 80px; }

.categories-grid,
.products-grid { align-items: stretch; }
.categories-grid { grid-auto-rows: 1fr; }

/* Brand logos stay large and premium on tablet / mobile */
@media (max-width: 900px) {
  .brand-logo-area .logo-pill {
    width: 100%; max-width: 260px; height: 96px;
  }
  .brand-logo-area .logo-pill img { height: 80px !important; }
}
@media (max-width: 600px) {
  .brand-logo-area { min-height: 100px; }
  .brand-logo-area .logo-pill {
    max-width: 280px; height: 104px;
  }
  .brand-logo-area .logo-pill img { height: 88px !important; }
  .hero-brand-item .logo-pill { width: 100%; height: 86px; }
  .hero-brand-item .logo-pill img { height: 50px !important; }
}

/* ═══════════════════════════════════════════════════════════
   "Two Brands" logos — interactive click-to-pop animation
   ═══════════════════════════════════════════════════════════ */
.brand-logo-area .logo-pill { cursor: pointer; }
.brand-logo-area .logo-pill.logo-pop {
  animation: logoPop 1.5s cubic-bezier(.34,1.25,.5,1) both;
  z-index: 5;
}
@keyframes logoPop {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 14px rgba(8,15,30,.22), 0 1px 3px rgba(8,15,30,.14);
  }
  24% {
    transform: perspective(820px) translateY(-12px) scale(1.34) rotateX(9deg);
    box-shadow: 0 28px 52px -12px rgba(224,124,17,.6), 0 0 32px rgba(240,147,30,.5);
  }
  58% {
    transform: perspective(820px) translateY(-7px) scale(1.3) rotateX(-5deg);
    box-shadow: 0 22px 44px -12px rgba(224,124,17,.55), 0 0 26px rgba(240,147,30,.42);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 14px rgba(8,15,30,.22), 0 1px 3px rgba(8,15,30,.14);
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo-area .logo-pill.logo-pop { animation: none; }
}
