/* ================================================================
   DELTA SERVICES — style-v3.css
   Corporate Override: Light & Professional
   Loaded after style.css — selectively overrides visual layer
   ================================================================ */

/* ── DESIGN TOKENS ──────────────────────────────────────────────── */
:root {
  --bg:           #F3F7FF;
  --bg-alt:       #E8EFFA;
  --bg-alt2:      #DDEAF7;
  --ink:          #0A1628;
  --ink-lt:       #334155;
  --muted:        #64748B;
  --muted-lt:     #94A3B8;
  --border:       #DDE5F4;
  --border-lt:    #EDF2FA;

  --gold:         #003087;
  --gold-lt:      #1A4B9E;
  --gold-bright:  #2255B0;
  --gold-pale:    rgba(0,48,135,.07);
  --gold-rule:    rgba(0,48,135,.16);

  /* Warm gold accent for decorative highlights */
  --warm-gold:      #C6912A;
  --warm-gold-lt:   #E0B44A;
  --warm-gold-pale: rgba(198,145,42,.08);
  --warm-gold-rule: rgba(198,145,42,.20);

  /* Kill all glass/blur variables */
  --glass:        #FFFFFF;
  --glass-dk:     rgba(0,48,135,.04);
  --glass-border: #E2E8F0;
  --glass-bd-sm:  #F1F5F9;
  --gs:           0 1px 3px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.06);

  --radius:       8px;
  --radius-lg:    14px;
}

/* ── BASE — orbs painted directly into body background ─────────────
   background-attachment: fixed means they stay put on scroll,
   creating the same floating-orb depth effect — zero z-index fight.
   ────────────────────────────────────────────────────────────────── */
body {
  background-color: #E8F0FF;
  background-image:
    /* top-right — large blue */
    radial-gradient(ellipse 1400px 1100px at 105%  -80px, rgba(0,48,135,0.22)  0%, transparent 55%),
    /* left-mid — warm gold */
    radial-gradient(ellipse 1100px  900px at  -80px  55%, rgba(198,145,42,0.18) 0%, transparent 55%),
    /* centre — blue drift */
    radial-gradient(ellipse  900px  750px at   55%   68%, rgba(0,48,135,0.15)  0%, transparent 60%),
    /* bottom-right — gold */
    radial-gradient(ellipse  800px  700px at  110%   90%, rgba(198,145,42,0.17) 0%, transparent 58%),
    /* bottom-left — blue */
    radial-gradient(ellipse  650px  600px at    5%   92%, rgba(0,48,135,0.14)  0%, transparent 62%),
    /* upper-left — gold accent */
    radial-gradient(ellipse  700px  550px at   -5%   18%, rgba(198,145,42,0.13) 0%, transparent 58%),
    /* top-centre — blue tinge */
    radial-gradient(ellipse  600px  500px at   48%    5%, rgba(0,48,135,0.10)  0%, transparent 65%);
  background-attachment: fixed;
}

/* Sections must be transparent so body gradient shows through */
.hero,
.section, .section-grad, .section-dk,
.services-home, .about-home, .stats,
.products-pg, .contact-pg,
.featured-products, .ticker-section,
.page-hd, .svc-pg-row, .history-section,
.about-hd, .about-mission,
.trust-section, .brands-section {
  background: transparent !important;
}

/* Alternate-shade sections get a very subtle tinted overlay instead */
.section-grad,
.about-home,
.services-home {
  background: rgba(0,48,135,0.025) !important;
}

/* Keep dark sections opaque */
.cta      { background: var(--gold) !important; }
.section-dk { background: var(--ink)  !important; }
.footer   { background: var(--ink)  !important; }

/* Page veil & loader use the same base tint */
.page-veil { background: #E8F0FF !important; }
.loader    { background: #E8F0FF !important; }
.loader-track::after { background: var(--gold) !important; }

/* Disable the old div-based orbs — replaced by body gradient above */
.ambient-bg { display: none !important; }
.mesh-bg    { display: none !important; }

/* ── ANIMATED SHIMMER BAND across top of page ───────────────────── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: -20%; right: -20%; height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(198,145,42,0.55) 25%,
    rgba(0,48,135,0.45)   50%,
    rgba(198,145,42,0.55) 75%,
    transparent 100%
  );
  filter: blur(2px);
  pointer-events: none;
  z-index: 9999;
  animation: shimmerBand 10s ease-in-out infinite;
}
@keyframes shimmerBand {
  0%,100% { opacity: .7; transform: scaleX(1)   translateX(0%);  }
  40%     { opacity: 1;  transform: scaleX(1.06) translateX(2%);  }
  70%     { opacity: .5; transform: scaleX(.95)  translateX(-1%); }
}

/* Loader — larger logo */
.loader-logo {
  width: 96px !important;
  height: 96px !important;
  margin-bottom: 36px !important;
}

/* ── NAVIGATION ─────────────────────────────────────────────────── */
.nav {
  background: rgba(255,255,255,.98) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--border);
  box-shadow: none !important;
}
.nav.scrolled {
  background: #fff !important;
  border-bottom-color: transparent !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.08) !important;
}
.nav-links a { color: var(--ink-lt) !important; font-weight: 500; }
.nav-links a:hover { color: var(--gold) !important; }
.nav-links a.active { color: var(--gold) !important; }

/* Nav dropdown */
.nav-drop {
  background: #fff !important;
  backdrop-filter: none !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.10) !important;
  border-radius: 10px !important;
}

/* ── PAGE HEADER (inner pages) ──────────────────────────────────── */
.page-hd {
  background: rgba(0,48,135,0.04) !important;
  border-bottom: 1px solid var(--border);
}
.page-hd h1 { color: var(--ink); }
.page-hd em {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
}
.page-hd-tag { background: var(--gold-pale) !important; color: var(--gold) !important; border-color: var(--gold-rule) !important; }

/* ── HERO — CORPORATE TWO-COLUMN ────────────────────────────────── */
.hero {
  background: transparent !important;
  min-height: 90vh !important;
  display: flex !important;
  align-items: center !important;
  padding: 96px 0 80px !important;
  border-bottom: 1px solid var(--border);
  overflow: visible !important;
}
.hero::before { display: none !important; }
.hero-spotlight { display: none !important; }

/* Re-position the centered block as a two-column grid */
.hero-v-center {
  position: static !important;
  transform: none !important;
  top: auto !important; left: auto !important;
  width: 100% !important;
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding: 0 48px !important;
  display: grid !important;
  grid-template-columns: 1fr 400px !important;
  gap: 72px !important;
  align-items: center !important;
  text-align: left !important;
}

/* Left column items */
.hero-mark-perspective { display: none !important; }
.hero-v-rule           { display: none !important; }
.hero-brand-line       { display: none !important; }

.hero-h1 {
  font-size: clamp(2.4rem, 3.8vw, 3.7rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
  color: var(--ink) !important;
  margin-bottom: 20px !important;
}
.hero-h1 em {
  font-style: normal !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
}
.hero-tagline {
  font-size: 1.05rem !important;
  color: var(--ink-lt) !important;
  line-height: 1.65 !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  margin-bottom: 36px !important;
  text-transform: none !important;
  max-width: 520px;
}
.hero-actions {
  justify-content: flex-start !important;
}

/* Right column — stats panel */
.hero-corp-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 12px 40px rgba(0,48,135,.07);
}
.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  margin-bottom: 28px;
}
.hero-stat-n {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 5px;
}
.hero-stat-n sup { font-size: .85rem; vertical-align: super; }
.hero-stat-l {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-brands-row {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-brand-tag {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

/* Hero eyebrow tag */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid var(--gold-rule);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 22px;
}

/* ── SECTIONS ───────────────────────────────────────────────────── */
.section         { background: var(--bg); }
.section + .section { border-top: 1px solid var(--border-lt); }
.section-grad    { background: var(--bg-alt) !important; }
.section-dk      { background: var(--ink) !important; }

/* ── LABELS ─────────────────────────────────────────────────────── */
.label {
  background: var(--gold-pale) !important;
  color: var(--gold) !important;
  border: 1px solid var(--gold-rule) !important;
  border-radius: 4px !important;
  letter-spacing: .1em !important;
}
.label-muted { background: var(--bg-alt) !important; color: var(--muted) !important; border-color: var(--border) !important; }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn-gold {
  border-radius: var(--radius) !important;
  font-size: .68rem !important;
  letter-spacing: .08em !important;
  padding: 14px 28px !important;
  background: var(--gold) !important;
  box-shadow: 0 2px 8px rgba(0,48,135,.25) !important;
}
.btn-gold:hover { background: var(--gold-lt) !important; box-shadow: 0 4px 16px rgba(0,48,135,.35) !important; }

.btn-outline-gold, .btn-ghost-dk {
  border-radius: var(--radius) !important;
  padding: 13px 26px !important;
}

/* ── GLASS → SOLID CARD ─────────────────────────────────────────── */
.glass-panel,
.trust-stat-card,
.service-card,
.hero-cp-disc {
  background: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06) !important;
}

/* ── PRODUCT CARDS ──────────────────────────────────────────────── */
.product-card {
  background: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.05) !important;
  border-radius: 10px !important;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease !important;
}
.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.07), 0 16px 40px rgba(0,48,135,.1) !important;
  transform: translateY(-3px) !important;
  border-color: rgba(0,48,135,.22) !important;
}
.product-brand { color: var(--gold) !important; font-weight: 700 !important; }
.product-name  { color: var(--ink) !important; font-weight: 500 !important; font-size: .98rem !important; }

/* ── STATS STRIP ─────────────────────────────────────────────────── */
.stats-strip {
  background: var(--bg-alt) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
}
.stats-strip::before { display: none !important; }

/* ── TRUST BAR ──────────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg) !important;
  backdrop-filter: none !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
}
.trust-label { color: var(--muted) !important; }

/* ── SERVICES (home page cards) ─────────────────────────────────── */
.svc-card {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.05) !important;
  border-radius: var(--radius-lg) !important;
}
.svc-card:hover {
  box-shadow: 0 4px 20px rgba(0,48,135,.1), 0 2px 8px rgba(0,0,0,.05) !important;
  border-color: rgba(0,48,135,.18) !important;
  transform: translateY(-2px);
}
.svc-icon-wrap {
  background: var(--gold-pale) !important;
  border: 1px solid var(--gold-rule) !important;
}
.svc-icon { color: var(--gold) !important; }

/* ── SERVICES (services page) ───────────────────────────────────── */
.svc-visual {
  background: var(--bg-alt) !important;
  border-radius: 16px !important;
  backdrop-filter: none !important;
}
.svc-visual-rings { display: none !important; }
.svc-ghost {
  font-size: 5rem !important;
  font-weight: 800 !important;
  color: rgba(0,48,135,.08) !important;
  line-height: 1 !important;
}
.svc-pg-row { border-bottom: 1px solid var(--border-lt); }
.svc-pg-row:last-of-type { border-bottom: none; }

/* ── CTA SECTION ────────────────────────────────────────────────── */
.cta { background: var(--gold) !important; padding: 100px 0 !important; }
.cta-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.cta-h {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
}
.cta-h em {
  color: rgba(255,255,255,.65) !important;
  -webkit-text-fill-color: rgba(255,255,255,.65) !important;
  font-style: italic;
  background: none !important;
}
.cta-sub { color: rgba(255,255,255,.75) !important; }
.cta .label-muted { color: rgba(255,255,255,.55) !important; background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.2) !important; }
.cta .btn-gold {
  background: #fff !important;
  color: var(--gold) !important;
  border-color: #fff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.15) !important;
}
.cta .btn-gold:hover { background: rgba(255,255,255,.92) !important; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  background: var(--ink) !important;
  backdrop-filter: none !important;
}
.footer::before { display: none !important; }

/* ── ABOUT PAGE ─────────────────────────────────────────────────── */
.about-vis-wrap {
  background: var(--bg-alt) !important;
  backdrop-filter: none !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.06) !important;
}
.about-year { color: rgba(0,48,135,.07) !important; }

/* ── HEADINGS (em = blue on light bg) ──────────────────────────── */
h2 em {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
}

/* ── FILTER BUTTONS ─────────────────────────────────────────────── */
.filter-parent { border-radius: var(--radius) !important; }
.filter-btn    { border-radius: 5px !important; }

/* ── CONTACT CTA BUTTONS ────────────────────────────────────────── */
.contact-cta-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-radius: 12px;
  text-decoration: none !important;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  transition: transform .18s, box-shadow .18s, opacity .18s;
  border: none;
  cursor: pointer;
}
.contact-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.contact-cta-btn svg { flex-shrink: 0; }
.contact-cta-btn span:first-of-type { flex: 1; }
.contact-cta-sub {
  font-size: .78rem;
  font-weight: 400;
  opacity: .75;
  white-space: nowrap;
}
.contact-cta-email {
  background: var(--gold) !important;
  color: #fff !important;
}
.contact-cta-wa {
  background: #25D366 !important;
  color: #fff !important;
}

/* ── BRAND FILTER ROW ───────────────────────────────────────────── */
.filter-brands-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.filter-brands-label {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-brand {
  padding: 5px 14px;
  font-size: .75rem;
  font-family: var(--sans);
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  color: var(--ink-lt);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  line-height: 1.4;
  white-space: nowrap;
}
.filter-brand:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}
.filter-brand.active {
  background: var(--gold) !important;
  color: #fff !important;
  border-color: var(--gold) !important;
}
@media (max-width: 640px) {
  .filter-brands-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .filter-brands {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    max-width: 100%;
  }
  .filter-brands::-webkit-scrollbar { display: none; }
}

/* ── CONTACT FORM ───────────────────────────────────────────────── */
.form-input, .form-select, .form-textarea {
  background: #fff !important;
  backdrop-filter: none !important;
  border: 1px solid var(--border) !important;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(0,48,135,.08) !important;
}

/* ── PRODUCT SEARCH ─────────────────────────────────────────────── */
.product-search {
  background: #fff !important;
  backdrop-filter: none !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
}
.product-search:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(0,48,135,.08) !important;
}

/* ── NAV OVERLAY (mobile) ───────────────────────────────────────── */
.nav-overlay {
  background: #fff !important;
  backdrop-filter: none !important;
}
.nav-overlay a { color: var(--ink) !important; }
.nav-overlay a:hover { color: var(--gold) !important; }

/* ── MOBILE RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-v-center {
    grid-template-columns: 1fr !important;
    padding: 0 24px !important;
    gap: 40px !important;
  }
  .hero { padding: 80px 0 60px !important; }
}
@media (max-width: 600px) {
  .hero-v-center { padding: 0 16px !important; }
  .hero-h1 { font-size: clamp(2rem, 8vw, 2.8rem) !important; }
}

/* ── HERO LEFT COLUMN WRAPPER ───────────────────────────────────── */
.hero-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-left-col .hero-eyebrow  { margin-bottom: 22px; }
.hero-left-col .hero-h1       { margin-bottom: 20px; }
.hero-left-col .hero-tagline  { margin-bottom: 36px; }
.hero-left-col .hero-actions  { margin-bottom: 0; }

/* ── VIDEO HERO ─────────────────────────────────────────────────── */
.hero.hero-video {
  position: relative !important;
  height: 100svh !important;
  min-height: 580px !important;
  max-height: 960px !important;
  overflow: hidden !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  border-bottom: none !important;
  background: #00091E !important;  /* fallback if video not loaded */
}

/* Video fills section */
.hero.hero-video .hvid {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Layered gradient: strong on left for text, dark vignette at bottom, subtle on right */
.hero.hero-video .hvid-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(105deg, rgba(0,8,32,0.88) 0%, rgba(0,8,32,0.65) 42%, rgba(0,8,32,0.22) 75%, rgba(0,8,32,0.10) 100%),
    linear-gradient(to top, rgba(0,4,18,0.75) 0%, transparent 38%) !important;
}

/* Hero text content — sits above overlay */
.hvid-content {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding: 0 48px !important;
  padding-top: 80px !important;
}

/* White text on dark video */
.hero.hero-video .hero-eyebrow {
  color: rgba(230,180,74,0.95) !important;
  background: rgba(198,145,42,0.14) !important;
  border-color: rgba(198,145,42,0.3) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}
.hero.hero-video .hero-h1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4) !important;
}
.hero.hero-video .hero-h1 em {
  color: var(--warm-gold-lt) !important;
  -webkit-text-fill-color: var(--warm-gold-lt) !important;
  text-shadow: 0 2px 20px rgba(198,145,42,0.45) !important;
}
.hero.hero-video .hero-tagline {
  color: rgba(255,255,255,0.80) !important;
  max-width: 540px !important;
}
.hero.hero-video .btn-outline-gold {
  border-color: rgba(255,255,255,0.45) !important;
  color: #fff !important;
}
.hero.hero-video .btn-outline-gold:hover {
  border-color: var(--warm-gold) !important;
  color: var(--warm-gold-lt) !important;
}

/* Authorized partner strip pinned to bottom of hero */
.hvid-partners {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 3 !important;
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-top: 1px solid rgba(255,255,255,0.3) !important;
  padding: 14px 48px !important;
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
}
.hvid-partners-label {
  font-size: 0.58rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(0,0,0,0.4) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.hvid-partner-logos {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  flex-wrap: wrap !important;
}
.hvid-partner-logos img {
  height: 36px !important;
  width: auto !important;
  filter: none !important;
  opacity: 0.88 !important;
  transition: opacity 0.2s !important;
}
.hvid-partner-logos img:hover {
  opacity: 1 !important;
}

/* ── VIDEO HERO RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 767px) {
  .hero.hero-video {
    height: 100svh !important;
    max-height: 740px !important;
  }
  .hvid-content {
    padding: 0 24px !important;
    padding-top: 60px !important;
  }
  .hvid-partners {
    padding: 12px 20px !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
  }
  .hvid-partner-logos {
    gap: 16px !important;
  }
  .hvid-partner-logos img {
    height: 24px !important;
  }
}

/* ── LOGO ON WHITE NAV ─────────────────────────────────────────── */
/* SVG logo has native brand colours — show as-is on white nav */
.nav-logo img.logo-light { filter: none !important; }
.nav-logo img.logo-dark  { display: none !important; }

/* ── STATS STRIP ────────────────────────────────────────────────── */
.stats {
  background: var(--bg-alt) !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: none !important;
}
.stats::before { display: none !important; }
.stat-n {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
}
.stat-l { color: var(--muted) !important; }

/* ── SERVICES PAGE VISUAL PLACEHOLDER ──────────────────────────── */
.svc-visual {
  background: var(--bg-alt) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── SECTION ALTERNATING BG ─────────────────────────────────────── */
.about-home { background: var(--bg) !important; }
.services-home { background: var(--bg-alt) !important; }
.trust-section { background: var(--bg) !important; }

/* ── CONTACT PAGE ───────────────────────────────────────────────── */
.contact-info-card {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  backdrop-filter: none !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.06) !important;
}

/* ── BREADCRUMB ─────────────────────────────────────────────────── */
.page-hd-crumb a { color: var(--muted) !important; }
.page-hd-crumb   { color: var(--muted-lt) !important; }

/* ── LOGO: native SVG colours in nav & loader ────────────────── */
.nav-logo img    { filter: none !important; }
.loader-logo img { filter: none !important; }
/* ── LOGO: gold tint in footer ──────────────────────────────── */
.footer-logo img {
  filter: brightness(0) saturate(100%) invert(58%) sepia(60%) saturate(600%) hue-rotate(8deg) brightness(95%) !important;
  max-height: 28px !important;
  width: auto !important;
}

/* ── AUTHORIZED PARTNER PANEL ────────────────────────────────── */
.auth-intro {
  font-size: .82rem; line-height: 1.65;
  color: var(--ink-lt); margin: 0 0 28px;
}
.auth-logo-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 28px;
}
.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 16px 16px;
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  text-align: center;
}
.auth-logo {
  width: 100%; max-width: 120px;
  height: 44px; object-fit: contain;
}
.auth-logo-moto  { filter: none; }
.auth-logo-sh    { filter: brightness(0); max-width: 110px; height: 36px; }
.auth-card-label {
  font-size: .58rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
}
.auth-footer-note {
  font-size: .72rem; color: var(--muted);
  text-align: center; letter-spacing: .04em;
  padding-top: 20px; border-top: 1px solid var(--border);
}

/* ── HERO BRAND LOGO (replaces eyebrow text) ─────────────────── */
.hero-brand-logo {
  height: 48px; width: auto;
  filter: brightness(0) invert(1) brightness(0.08);
  display: block;
}

/* ── CLIENT LOGO TICKER ──────────────────────────────────────── */
.ticker-section {
  background: #ffffff !important;
  padding: 72px 0 80px !important;
  overflow: hidden;
}
.ticker-header {
  text-align: center;
  margin-bottom: 52px;
  padding: 0 24px;
}
.ticker-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--ink);
  margin: 8px 0 0;
}
.ticker-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
  gap: 0;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  flex-shrink: 0;
  height: 80px;
  border-right: 1px solid #e8e8e8;
}
.ticker-item img {
  width: 120px;
  height: 44px;
  object-fit: contain;
  object-position: center center;
  filter: grayscale(100%) opacity(0.65);
  transition: filter .3s ease;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── VM CELL: force white background on mission card ─────────── */
.vm-cell.dk {
  background: #ffffff !important;
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: var(--border) !important;
  box-shadow: var(--gs) !important;
  color: var(--ink) !important;
}
.vm-cell.dk h3 {
  color: var(--ink) !important;
}
.vm-cell.dk p {
  color: var(--muted) !important;
}
.vm-cell.dk .label-dk {
  color: var(--gold) !important;
}

/* ── SERVICE PAGE: photo cards ───────────────────────────────── */
.svc-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  min-height: 320px;
  max-height: 420px;
}

/* ── NAV DROPDOWN: fix hover gap ─────────────────────────────── */
.nav-drop {
  top: 100% !important;
  padding-top: 12px !important;
}
/* invisible bridge fills the gap between link and dropdown */
.nav-has-drop::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
}

/* ================================================================
   MOBILE OPTIMISATION — iOS & Android
   ================================================================ */

/* ── GLOBAL MOBILE RESETS ────────────────────────────────────── */
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* Prevent iOS double-tap zoom on buttons only — NOT on links/body */
button { touch-action: manipulation; }

/* iOS safe area — nav top padding */
.nav {
  padding-top: max(12px, env(safe-area-inset-top)) !important;
  padding-left: max(0px, env(safe-area-inset-left)) !important;
  padding-right: max(0px, env(safe-area-inset-right)) !important;
}
/* iOS safe area — footer bottom padding */
.footer {
  padding-bottom: max(40px, calc(40px + env(safe-area-inset-bottom))) !important;
}

/* ── TOUCH TARGETS — min 44×44px ─────────────────────────────── */
.nav-links a,
.nav-overlay a,
.nav-overlay-drop-btn,
.btn-gold, .btn-glass, .btn-ghost-dk, .btn-outline-gold,
.filter-parent, .filter-btn,
.nav-drop li a {
  min-height: 44px;
}
.nav-burger {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── MOBILE NAV OVERLAY ───────────────────────────────────────── */
.nav-overlay {
  padding-top: max(80px, calc(72px + env(safe-area-inset-top))) !important;
  padding-bottom: max(32px, env(safe-area-inset-bottom)) !important;
  padding-left: max(32px, env(safe-area-inset-left)) !important;
  padding-right: max(32px, env(safe-area-inset-right)) !important;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-overlay a {
  display: flex;
  align-items: center;
  padding: 14px 0 !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--border);
}
.nav-overlay a:last-child { border-bottom: none; }

/* Products dropdown in mobile overlay */
.nav-overlay-drop { border-bottom: 1px solid var(--border); }
.nav-overlay-drop-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  font-family: var(--sans);
}
.nav-overlay-arrow {
  font-size: 1.3rem;
  transition: transform .25s ease;
  display: inline-block;
}
.nav-overlay-drop.open .nav-overlay-arrow {
  transform: rotate(90deg);
}
.nav-overlay-sub {
  display: none;
  flex-direction: column;
  padding: 0 0 10px 16px;
}
.nav-overlay-drop.open .nav-overlay-sub {
  display: flex;
}
.nav-overlay-sub a {
  font-size: .88rem !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  padding: 10px 0 !important;
  border-bottom: none !important;
  letter-spacing: .02em;
}
.nav-overlay-sub a:hover,
.nav-overlay-sub a:active { color: var(--gold) !important; }

/* ── TABLET (≤ 1024px) ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-v-center {
    grid-template-columns: 1fr !important;
    padding: 0 28px !important;
    gap: 40px !important;
  }
  .hero { padding: 100px 0 60px !important; }
  .hero-corp-panel { max-width: 520px; }

  .auth-logo-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .svc-pg-grid { grid-template-columns: 1fr !important; }
  .svc-visual[style*="order:-1"] { order: -1 !important; }
}

/* ── MOBILE (≤ 768px) ─────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Typography */
  h1, .hero-h1 { font-size: clamp(1.9rem, 7.5vw, 2.6rem) !important; }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2rem) !important; }
  h3 { font-size: clamp(1.15rem, 4vw, 1.4rem) !important; }

  /* Hero */
  .hero { padding: 90px 0 48px !important; min-height: auto !important; }
  .hero-v-center {
    padding: 0 20px !important;
    gap: 32px !important;
  }
  .hero-tagline { font-size: .95rem !important; }
  .hero-actions { flex-direction: column; gap: 12px !important; }
  .hero-actions .btn-gold,
  .hero-actions .btn-glass {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Auth partner panel */
  .hero-corp-panel { padding: 24px 20px !important; }
  .auth-logo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .auth-card { padding: 18px 12px 12px !important; }
  .auth-logo { max-height: 28px !important; }
  .auth-intro { font-size: .78rem !important; }

  /* Page header inner pages */
  .page-hd { padding: 110px 0 48px !important; }
  .page-hd h1 { font-size: clamp(1.7rem, 6.5vw, 2.2rem) !important; }
  .page-hd-sub { font-size: .88rem !important; }

  /* Values grid — 1 column on mobile */
  .svc-grid[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  /* Service photos — cap height on small screens */
  .svc-photo {
    min-height: 220px !important;
    max-height: 280px !important;
  }
  .svc-visual[style*="order:-1"] { order: unset !important; }

  /* About — history */
  .history-h2 { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; }
  .history-item { padding: 20px 0 !important; }

  /* Ticker */
  .ticker-section { padding: 48px 0 56px !important; }
  .ticker-header h2 { font-size: clamp(1.4rem, 5vw, 1.8rem) !important; }
  .ticker-item { padding: 0 20px !important; }
  .ticker-item img { width: 90px !important; height: 34px !important; }

  /* Products page */
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .filter-parents {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px !important;
  }
  .filter-parents::-webkit-scrollbar { display: none; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .qr-box { padding: 24px 18px !important; }
  .map-wrap iframe { height: 280px !important; }

  /* CTA */
  .cta-panel { padding: 36px 20px !important; }
  .cta-h { font-size: clamp(1.5rem, 6vw, 2rem) !important; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-col { padding-top: 0 !important; }
  .footer-bottom {
    flex-direction: column !important;
    gap: 6px !important;
    text-align: center !important;
  }

  /* Vision/Mission duo */
  .vm-duo { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* Sections spacing */
  .svc-pg-row { padding: 56px 0 !important; }
  .history-section { padding: 72px 0 !important; }
  .services-home { padding: 72px 0 !important; }
}

/* ── SMALL PHONES (≤ 480px) ───────────────────────────────────── */
@media (max-width: 480px) {
  .wrap, .wrap-wide, .wrap-sm { padding: 0 16px !important; }

  .hero-v-center { padding: 0 16px !important; }

  /* Stack auth cards on very small screens */
  .auth-logo-grid { grid-template-columns: 1fr !important; }

  /* Products — keep 2 columns but tighter */
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .product-name { font-size: .75rem !important; }
  .product-image { padding: 8px !important; }
  .product-info { padding: 8px 10px 12px !important; }

  /* Service photos smaller */
  .svc-photo { min-height: 180px !important; max-height: 220px !important; }

  /* Ticker items slightly smaller */
  .ticker-item img { width: 72px !important; height: 28px !important; }

  /* Buttons full width */
  .btn-gold, .btn-ghost-dk { width: 100% !important; justify-content: center !important; }
}

/* ── iOS-SPECIFIC INPUT FIX (prevent zoom on focus) ──────────── */
input, select, textarea {
  font-size: 16px !important;
}

/* ── ANDROID OVERSCROLL ───────────────────────────────────────── */
.ticker-wrap {
  overscroll-behavior-x: contain;
}
.filter-parents, .filter-subs {
  overscroll-behavior-x: contain;
}

/* ── PARTNER LOGOS: new brand sizing ─────────────────────────── */
.auth-logo-sealite {
  filter: none !important;
  max-height: 30px !important;
}
.auth-logo-avlite {
  filter: none !important;
  max-height: 30px !important;
}
.auth-logo-moto {
  filter: none !important;
  max-height: 44px !important;
}
.auth-logo-spx {
  filter: none !important;
  max-height: 44px !important;
}
/* SPX sub-brand logos row */
.auth-card-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  width: 100%;
}
.auth-sub-logo {
  max-height: 24px !important;
  width: auto;
  opacity: 0.85;
}
/* 2 or 3-column grid on mobile → stack to 1 */
@media (max-width: 600px) {
  .auth-logo-grid[style*="repeat(2"],
  .auth-logo-grid[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}
