/* ============================================================
   AURVEX INDUSTRIAL GROUP — Design System
   Brand marks: Aurvex Navy/Gold, Nexion Blue, Fortiva Green, Armax Orange
   Signature: mono spec-codes + colored left-border "datasheet" cards
   ============================================================ */

:root {
  --navy: #0A1C4B;
  --navy-light: #16295E;
  --gold: #B49448;
  --gold-light: #D4B876;
  --nexion: #1B5FAB;
  --nexion-light: #EAF1FA;
  --fortiva: #2E7D46;
  --fortiva-light: #EAF5EC;
  --armax: #C75A1E;
  --armax-light: #FBEEE5;

  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --border: #E3E6EC;
  --border-strong: #C7CCD6;
  --text: #171B26;
  --text-muted: #5B6472;
  --text-faint: #8A93A3;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(10, 28, 75, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 28, 75, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 28, 75, 0.16);

  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--nexion);
  outline-offset: 2px;
}

/* ============ Layout shell ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .header-inner {
  max-width: 1560px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 16px 28px;
}
.brand-mark { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark svg { display: block; }
.brand-logo-img { height: 58px; width: auto; display: block; }
.footer-brand-mark .brand-logo-img { height: 78px; }
.footer-sub-logos { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-sub-logo-img { height: 46px; width: auto; opacity: 0.95; }
.brand-mark .wordmark {
  font-weight: 800; font-size: 19px; color: #fff; letter-spacing: 0.02em;
}
.brand-mark .wordmark .sub {
  display: block; font-size: 9px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--gold-light); margin-top: 1px;
}
.main-nav { display: flex; gap: 17px; flex: 1; align-items: center; }
.main-nav a {
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.72);
  padding: 8px 0; border-bottom: 2px solid transparent; transition: color .15s; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: #fff; border-bottom-color: var(--gold); }
.nav-brand-link { position: relative; padding-left: 13px !important; }
.nav-brand-link::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-c, var(--gold));
}
.nav-brand-link:hover, .nav-brand-link.active { color: #fff !important; }
.header-cta {
  font-size: 13px; font-weight: 600; color: var(--navy); background: var(--gold);
  padding: 10px 18px; border-radius: 999px; white-space: nowrap; transition: background .15s; flex-shrink: 0;
}
.header-cta:hover { background: var(--gold-light); }

.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.6);
  padding: 40px 28px 28px; margin-top: 80px; font-size: 13px;
}
.site-footer .footer-inner { max-width: 1400px; margin: 0 auto; }
.site-footer .footer-brands { display: flex; gap: 28px; margin-bottom: 20px; flex-wrap: wrap; }
.site-footer .footer-brands span { font-weight: 700; color: rgba(255,255,255,0.85); }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-legal { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-legal a { color: rgba(255,255,255,0.6); }
.footer-legal a:hover { color: #fff; }

/* ============ Home hero ============ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #123A7A 100%);
  color: #fff; padding: 90px 28px 100px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(255,255,255,0.08), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(180,148,72,0.15), transparent 40%);
}
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; text-align: center; }
.hero-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--gold-light); text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 58px); font-weight: 800; line-height: 1.08; margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.hero p.lede {
  font-size: 18px; color: rgba(255,255,255,0.78); max-width: 640px; margin: 0 auto 36px; line-height: 1.6;
}
.hero-search {
  max-width: 620px; margin: 0 auto; position: relative;
}
.hero-search input {
  width: 100%; padding: 18px 60px 18px 22px; border-radius: 999px; border: none;
  font-size: 16px; font-family: var(--font-ui); box-shadow: var(--shadow-lg);
}
.hero-search button {
  position: absolute; right: 6px; top: 6px; bottom: 6px; width: 46px;
  background: var(--gold); border: none; border-radius: 999px; display: flex;
  align-items: center; justify-content: center; transition: background .15s;
}
.hero-search button:hover { background: var(--gold-light); }
.hero-logo { height: 100px; width: auto; margin: 0 auto 28px; display: block; }
.brand-logo-showcase {
  display: flex; justify-content: center; align-items: center; gap: 72px; flex-wrap: wrap; padding: 32px 0;
}
.brand-logo-showcase img { height: 96px; width: auto; opacity: 1; transition: transform 0.2s; }
.brand-logo-showcase img:hover { transform: scale(1.05); }
@media (max-width: 700px) { .brand-logo-showcase { gap: 40px; } .brand-logo-showcase img { height: 64px; } }
.hero-stats {
  display: flex; gap: 40px; justify-content: center; margin-top: 46px; flex-wrap: wrap;
}
.hero-stats .stat-num { font-family: var(--font-mono); font-size: 24px; font-weight: 700; color: #fff; white-space: nowrap; }
.hero-stats .stat-label { font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.hero-quicklinks {
  margin-top: 26px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.hero-quicklinks a { color: rgba(255,255,255,0.82); font-weight: 500; }
.hero-quicklinks a:hover { color: #fff; text-decoration: underline; }

/* ============ Brand cards (home) ============ */
.brand-cards {
  max-width: 1200px; margin: -56px auto 0; padding: 0 28px 80px; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .brand-cards { grid-template-columns: 1fr; } }
.brand-card {
  background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 32px 28px; border-top: 5px solid var(--accent, var(--navy));
  transition: transform .2s, box-shadow .2s;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(10,28,75,0.2); }
.brand-card .bc-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--accent, var(--navy)); text-transform: uppercase; margin-bottom: 10px;
}
.brand-card .bc-logo-img { height: 56px; width: auto; margin-bottom: 16px; }
.brand-card h3 { font-size: 24px; font-weight: 800; margin: 0 0 10px; color: var(--navy); }
.brand-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0 0 20px; }
.brand-card .bc-count {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); margin-bottom: 18px;
}
.brand-card .bc-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
  color: var(--accent, var(--navy));
}

/* ============ Section blocks (home) ============ */
.section { max-width: 1200px; margin: 0 auto; padding: 70px 28px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; font-weight: 800; color: var(--navy); margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin: 0; }

.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .region-grid { grid-template-columns: 1fr 1fr; } }
.region-chip {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: 13px; font-weight: 600; color: var(--text);
}
.region-chip .status { display: block; font-size: 11px; font-weight: 500; color: var(--text-faint); margin-top: 3px; }

/* ============ Catalog page shell ============ */
.catalog-toolbar {
  background: var(--surface); border-bottom: 1px solid var(--border);
  position: sticky; top: var(--header-h, 100px); z-index: 90;
}
.catalog-toolbar-inner {
  max-width: 1400px; margin: 0 auto; padding: 18px 28px;
}
.search-row { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.search-box { position: relative; flex: 1; max-width: 520px; }
.search-box input {
  width: 100%; padding: 11px 16px 11px 40px; border: 1.5px solid var(--border-strong);
  border-radius: 999px; font-size: 14px; font-family: var(--font-ui); background: var(--bg);
  transition: border-color .15s, background .15s;
}
.search-box input:focus { border-color: var(--nexion); background: #fff; }
.search-box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-faint); }
.results-count { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.sort-select {
  margin-left: auto; padding: 9px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  font-size: 13px; background: #fff; font-family: var(--font-ui); color: var(--text);
}

.brand-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.brand-tab {
  padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border-strong); background: #fff; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px; transition: all .15s;
}
.brand-tab .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.brand-tab:hover { border-color: var(--navy); color: var(--navy); }
.brand-tab.active {
  background: var(--tab-color, var(--navy)); border-color: var(--tab-color, var(--navy)); color: #fff;
}
.brand-tab .count { font-family: var(--font-mono); font-size: 11px; opacity: 0.75; }
.locked-brand-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; }
.locked-brand-label .dot { width: 9px; height: 9px; border-radius: 50%; }
.locked-brand-allproducts { margin-left: 16px; font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
.locked-brand-allproducts:hover { color: var(--navy); }

.catalog-layout {
  max-width: 1400px; margin: 0 auto; padding: 28px; display: grid;
  grid-template-columns: 260px 1fr; gap: 32px; align-items: start;
}
@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-sidebar { order: 2; }
}

.filter-sidebar {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; position: sticky; top: 150px;
}
.filter-sidebar h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-faint); margin: 0 0 12px;
}
.filter-group { margin-bottom: 24px; }
.filter-option {
  display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 13.5px; color: var(--text);
  cursor: pointer;
}
.filter-option input { accent-color: var(--nexion); width: 15px; height: 15px; }
.filter-option .fcount { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.clear-filters {
  font-size: 12.5px; font-weight: 600; color: var(--nexion); background: none; border: none;
  padding: 0; margin-top: 4px;
}

/* ============ Product grid & cards ============ */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;
}
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent, var(--navy));
  border-radius: var(--radius-sm); padding: 18px; cursor: pointer; transition: box-shadow .15s, transform .15s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card .pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.product-card .pc-code {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--accent, var(--navy));
  background: var(--accent-light, var(--bg)); padding: 3px 8px; border-radius: 4px; white-space: nowrap;
}
.product-card .pc-brand {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint);
}
.product-card h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 6px; color: var(--text); line-height: 1.3; }
.product-card .pc-category { font-size: 11.5px; color: var(--text-faint); margin-bottom: 10px; }
.product-card p.pc-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .pc-footer {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 12.5px; font-weight: 600; color: var(--accent, var(--nexion)); display: flex;
  align-items: center; justify-content: space-between;
}

.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-state svg { margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { color: var(--navy); font-size: 18px; margin: 0 0 8px; }
.empty-state button { margin-top: 16px; padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-weight: 600; font-size: 13px; }

/* ============ Product detail drawer ============ */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(10,28,75,0.35); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: #fff;
  z-index: 201; box-shadow: -12px 0 40px rgba(10,28,75,0.2);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  padding: 22px 26px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.drawer-close {
  background: var(--bg); border: none; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text-muted);
}
.drawer-close:hover { background: var(--border); }
.drawer-body { padding: 26px; }
.drawer-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
  color: var(--accent, var(--navy)); background: var(--accent-light, var(--bg));
}
.drawer-body h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 0 0 6px; line-height: 1.25; }
.drawer-body .drawer-category { font-size: 13px; color: var(--text-faint); margin-bottom: 20px; }
.drawer-section { margin-bottom: 22px; }
.drawer-section h4 {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--accent, var(--gold)); margin: 0 0 10px;
}
.drawer-section .chemistry-value { font-size: 14px; color: var(--text-muted); font-style: italic; }
.drawer-section p.desc { font-size: 14.5px; line-height: 1.65; color: var(--text); margin: 0; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text);
  padding: 6px 0; line-height: 1.5;
}
.check-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent, var(--fortiva)); }
.tech-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tech-table tr { border-bottom: 1px solid var(--border); }
.tech-table tr:last-child { border-bottom: none; }
.tech-table td { padding: 9px 4px; }
.tech-table td:first-child { font-weight: 600; color: var(--text-muted); width: 45%; }
.tech-table td:last-child { font-family: var(--font-mono); font-size: 12.5px; color: var(--text); }
.verify-flag {
  display: flex; gap: 10px; align-items: flex-start; background: #FFF8E8; border: 1px solid #F0DDA8;
  border-radius: var(--radius-sm); padding: 12px 14px; font-size: 12.5px; color: #7A5C10; line-height: 1.5; margin-bottom: 20px;
}
.drawer-cta {
  display: flex; gap: 10px; padding: 20px 26px; border-top: 1px solid var(--border);
  position: sticky; bottom: 0; background: #fff;
}
.drawer-cta a {
  flex: 1; text-align: center; padding: 12px; border-radius: var(--radius-sm); font-weight: 700; font-size: 13.5px;
}
.drawer-cta .btn-primary { background: var(--navy); color: #fff; }
.drawer-cta .btn-primary:hover { background: var(--navy-light); }
.drawer-cta .btn-secondary { background: var(--bg); color: var(--navy); border: 1.5px solid var(--border-strong); }

/* ============ Utility ============ */
.mobile-filter-toggle { display: none; }
@media (max-width: 900px) {
  .mobile-filter-toggle {
    display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
    border: 1.5px solid var(--border-strong); background: #fff; font-size: 13px; font-weight: 600; margin-bottom: 16px;
  }
  .filter-sidebar { display: none; }
  .filter-sidebar.mobile-open { display: block; position: static; }
}

/* ============================================================
   EXPANDED CORPORATE SITE COMPONENTS
   ============================================================ */

/* ---- Header top utility bar ---- */
.header-top { background: #06132F; font-size: 12px; color: rgba(255,255,255,0.65); }
.header-top-inner {
  max-width: 1400px; margin: 0 auto; padding: 7px 28px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; flex-wrap: wrap;
}
.header-top-right { display: flex; gap: 10px; align-items: center; }
.header-top-right a { color: rgba(255,255,255,0.85); font-weight: 500; }
.header-top-right a:hover { color: var(--gold-light); }
.header-top .divider { color: rgba(255,255,255,0.3); }
@media (max-width: 700px) { .header-top-inner span:first-child { display: none; } }

/* ---- Dropdown nav ---- */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  background: none; border: none; font-family: inherit; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.72); display: flex; align-items: center; gap: 5px; padding: 8px 0;
  border-bottom: 2px solid transparent; transition: color .15s;
}
.nav-dropdown-trigger:hover, .nav-dropdown-trigger.active { color: #fff; border-bottom-color: var(--gold); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 260px;
  opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 50;
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 7px; font-size: 13.5px;
  font-weight: 600; color: var(--text);
}
.nav-dropdown-menu a:hover { background: var(--bg); }
.nav-dropdown-menu a em { font-style: normal; font-weight: 400; color: var(--text-faint); font-size: 11.5px; margin-left: auto; }
.ddot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

.mobile-nav-toggle { display: none; background: none; border: none; color: #fff; padding: 8px; }
.mobile-nav { display: none; flex-direction: column; background: var(--navy-light); padding: 6px 20px 14px; }
.mobile-nav a { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav.open { display: flex; }
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .mobile-nav-toggle { display: flex; }
}

/* ---- Footer expanded ---- */
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand-mark { margin-bottom: 14px; }
.footer-col p { line-height: 1.7; font-size: 13px; color: rgba(255,255,255,0.55); margin: 0 0 16px; }
.footer-sub-logos { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-sub-logos .fsl { font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin: 0 0 14px; }
.footer-col a, .footer-col .footer-static { display: block; font-size: 13.5px; color: rgba(255,255,255,0.72); margin-bottom: 11px; line-height: 1.5; }
.footer-col a:hover { color: #fff; }
.footer-col .footer-static { color: rgba(255,255,255,0.5); }

/* ---- Page hero banner (interior pages, with real photography) ---- */
.page-hero {
  position: relative; color: #fff; padding: 76px 28px; overflow: hidden;
  background-size: cover; background-position: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(10,28,75,0.94) 0%, rgba(10,28,75,0.80) 45%, rgba(10,28,75,0.55) 100%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.page-hero .breadcrumb { font-size: 12.5px; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero-eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--gold-light); text-transform: uppercase; margin-bottom: 16px;
}
.page-hero h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; margin: 0 0 16px; letter-spacing: -0.01em; max-width: 780px; }
.page-hero p { font-size: 16.5px; color: rgba(255,255,255,0.82); max-width: 640px; line-height: 1.65; margin: 0; }
.page-hero-stats { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.page-hero-stats .stat-num { font-family: var(--font-mono); font-size: 26px; font-weight: 700; }
.page-hero-stats .stat-label { font-size: 11.5px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- Generic content sections ---- */
.content-section { max-width: 1200px; margin: 0 auto; padding: 64px 28px; }
.content-section.narrow { max-width: 860px; }
.content-section.tinted { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.content-section.dark { background: var(--navy); color: #fff; }
.content-section.dark .section-head h2, .content-section.dark .section-head p { color: #fff; }
.content-section.dark .section-head p { color: rgba(255,255,255,0.72); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.two-col img, .two-col .img-box { border-radius: 14px; width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow-md); }
.two-col .img-box { min-height: 320px; background-size: cover; background-position: center; }

.prose p { font-size: 15.5px; line-height: 1.75; color: var(--text-muted); margin: 0 0 18px; }
.prose h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin: 28px 0 12px; }

/* ---- Stat strip ---- */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
@media (max-width: 700px) { .stat-strip { grid-template-columns: 1fr 1fr; } }
.stat-strip .stat-block .num { font-family: var(--font-mono); font-size: 34px; font-weight: 700; color: var(--navy); }
.stat-strip .stat-block .label { font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* ---- Value / feature cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .card-grid.cols-4 { grid-template-columns: 1fr 1fr; } }
.value-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 26px;
  transition: box-shadow .15s, transform .15s;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.value-card .vc-icon {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--nexion-light); color: var(--nexion); margin-bottom: 16px;
}
.value-card h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.value-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---- Timeline / process steps ---- */
.step-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 900px) { .step-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .step-row { grid-template-columns: 1fr; } }
.step-item { position: relative; padding-top: 20px; }
.step-item::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-mono); font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.step-item h5 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.step-item p { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ---- Certification badges ---- */
.cert-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cert-badge {
  display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--border-strong);
  border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 700; color: var(--navy);
}
.cert-badge svg { color: var(--fortiva); }

/* ---- Cookie consent banner ---- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--navy); box-shadow: 0 -8px 30px rgba(10,28,75,0.25);
  transform: translateY(100%); transition: transform 0.3s ease-out;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between;
}
.cookie-banner-text { font-size: 13px; color: rgba(255,255,255,0.82); line-height: 1.6; max-width: 640px; }
.cookie-banner-text strong { color: #fff; }
.cookie-banner-text a { color: var(--gold-light); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; border: none; white-space: nowrap; }
.cookie-btn-solid { background: var(--gold); color: var(--navy); }
.cookie-btn-solid:hover { background: var(--gold-light); }
.cookie-btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.cookie-btn-outline:hover { border-color: #fff; }
@media (max-width: 700px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}
.map-wrap {
  position: relative; background: #fff;
  border: 1px solid var(--border); border-radius: 16px; padding: 20px; overflow: hidden; box-shadow: var(--shadow-sm);
}
#aurvexWorldMap { width: 100%; height: 520px; }
#aurvexWorldMap .svgMap-map-wrapper { background: #EAF1FB; border-radius: 10px; }
#aurvexWorldMap .svgMap-country { stroke: #fff; stroke-width: 0.75; }
#aurvexWorldMap .svgMap-tooltip { font-family: var(--font-ui); }
@media (max-width: 700px) { #aurvexWorldMap { height: 380px; } }
.map-legend { display: flex; gap: 24px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.map-legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.map-legend-item .dot { width: 10px; height: 10px; border-radius: 50%; }
.region-table tr.highlight { background: #FFF8E8; transition: background 0.4s; }
.standards-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.standards-table th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint);
  padding: 10px 14px; border-bottom: 2px solid var(--border-strong);
}
.standards-table td { padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.standards-table td:first-child { font-weight: 700; color: var(--navy); font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
.standards-table td:last-child { color: var(--text-muted); }
@media (max-width: 700px) { .map-legend { flex-direction: column; align-items: center; gap: 10px; } }
.region-table { width: 100%; border-collapse: collapse; }
.region-table th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint);
  padding: 10px 14px; border-bottom: 2px solid var(--border-strong);
}
.region-table td { padding: 14px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: top; }
.region-table td.rname { font-weight: 700; color: var(--navy); }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.status-pill.direct { background: var(--fortiva-light); color: var(--fortiva); }
.status-pill.authorised { background: var(--nexion-light); color: var(--nexion); }
.status-pill.developing { background: #FFF3DC; color: #9A6B00; }

/* ---- Job / news list ---- */
.list-card {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 20px 24px; margin-bottom: 12px;
  transition: box-shadow .15s;
}
.list-card:hover { box-shadow: var(--shadow-sm); }
.list-card h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.list-card .meta { font-size: 12.5px; color: var(--text-faint); }
.list-card .tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); background: #FFF8E8; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
@media (max-width: 600px) { .list-card { flex-direction: column; align-items: flex-start; } }

/* ---- Contact page ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--navy); color: #fff; border-radius: 14px; padding: 32px; }
.contact-info-card h3 { font-size: 18px; margin: 0 0 20px; }
.contact-info-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-row svg { flex-shrink: 0; color: var(--gold-light); margin-top: 2px; }
.contact-info-row .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); margin-bottom: 3px; }
.contact-info-row .value { font-size: 14.5px; font-weight: 600; }
.contact-info-row a.value { color: #fff; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border-strong); border-radius: 8px;
  font-family: var(--font-ui); font-size: 14px; background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--nexion); outline: none; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-submit {
  background: var(--navy); color: #fff; border: none; padding: 13px 28px; border-radius: 999px;
  font-weight: 700; font-size: 14px; margin-top: 6px;
}
.form-submit:hover { background: var(--navy-light); }
.form-note { font-size: 12px; color: var(--text-faint); margin-top: 10px; }

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy), #123A7A); color: #fff; border-radius: 18px;
  padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cta-banner h3 { font-size: 24px; margin: 0 0 8px; }
.cta-banner p { margin: 0; color: rgba(255,255,255,0.75); font-size: 14.5px; }
.cta-banner .cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner .btn-gold { background: var(--gold); color: var(--navy); padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.cta-banner .btn-outline { border: 1.5px solid rgba(255,255,255,0.4); color: #fff; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 14px; }

/* ---- Trust bar (certification callout on home page) ---- */
.trust-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 22px 28px; display: flex; align-items: center;
  gap: 24px; flex-wrap: wrap; justify-content: center;
}
.trust-label { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.trust-badges { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.trust-badge { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--navy); }
.trust-badge svg { color: var(--fortiva); flex-shrink: 0; }

/* ---- Brand page hero variant with sub-brand color ---- */
.brand-page-hero { --brand-color: var(--nexion); }
.brand-page-hero .page-hero-eyebrow { color: var(--brand-color); }
.brand-page-hero .stat-num, .brand-page-hero h1 { color: #fff; }
.page-hero.compact { padding: 26px 28px 22px; }
.page-hero.compact h1 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 4px; }
.page-hero.compact .page-hero-stats { margin-top: 10px; }
.page-hero.compact .breadcrumb { margin-bottom: 6px; }
.page-hero.compact p { display: none; }
.hero-standards-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px;
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.18);
}
.hsr-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.05em; margin-right: 2px; }
.hsr-badge {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}

