/* ============================================
   CHARTER NEXUS — Static Site Styles
   Red / White / Graphite — matches React app
   ============================================ */
:root {
  /* Off-white base */
  --background: oklch(0.985 0.003 60);
  /* #F8F9FA */
  --foreground: oklch(0.24 0.03 270);
  /* #2B2D42 graphite */

  --card: oklch(1 0 0);
  --muted: oklch(0.95 0.004 60);
  --muted-fg: #6b7080;
  --border: #e5e6ea;
  /* Primary = SHIPPING RED #C1121F */
  --primary: oklch(0.50 0.21 27);
  --primary-glow: oklch(0.58 0.22 27);
  --primary-deep: oklch(0.42 0.20 27);
  /* #9B0F1A */


  --shadow-glow: 0 0 50px -10px oklch(0.50 0.21 27 / 0.30);
  --shadow-glow-soft: 0 0 70px -15px oklch(0.50 0.21 27 / 0.18);

  --shadow-elegant:
    0 12px 40px -14px oklch(0.24 0.03 270 / 0.18),
    0 2px 12px -4px oklch(0.24 0.03 270 / 0.06);

  --shadow-card:
    0 2px 16px -4px oklch(0.24 0.03 270 / 0.08),
    inset 0 1px 0 0 oklch(1 0 0 / 0.6);

  --gradient-hero:
    radial-gradient(ellipse 90% 60% at 50% -10%, oklch(0.50 0.21 27 / 0.10), transparent 70%),
    linear-gradient(180deg, oklch(0.995 0.002 60) 0%, oklch(0.96 0.005 60) 100%);

  --gradient-red:
    linear-gradient(135deg, oklch(0.50 0.21 27), oklch(0.42 0.20 27));

  --gradient-fire:
    linear-gradient(135deg, oklch(0.42 0.20 27) 0%, oklch(0.58 0.22 27) 100%);

  --gradient-black-red:
    linear-gradient(135deg, oklch(0.18 0.02 270) 0%, oklch(0.50 0.21 27) 100%);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent
}

html {
  scroll-behavior: smooth;
  background: var(--background);
  overflow-x: hidden
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.55
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  margin: 0
}

a {
  color: inherit;
  text-decoration: none
}

img {
  display: block;
  max-width: 100%
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit
}

::selection {
  background: rgba(193, 18, 31, .22);
  color: var(--primary-deep)
}

/* containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.container-sm {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px
}

.container-lg {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px
}

/* utility */
.text-gradient-fire {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.text-muted {
  color: var(--muted-fg)
}

.glass {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(43, 45, 66, .08)
}

.glass-navy {
  background: rgba(193, 18, 31, .06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(193, 18, 31, .18)
}

/* Base mobile styles (Forces buttons to fit together in one row) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;               /* Tighter gap for mobile icons */
  padding: 12px 8px;      /* Reduced horizontal padding so text fits on mobile */
  border-radius: 999px;
  font-size: 10px;        /* Slightly smaller font for mobile layout */
  font-weight: 800;
  letter-spacing: .1em;   /* Reduced letter-spacing so uppercase words don't break */
  text-transform: uppercase;
  transition: all .3s ease;
  border: 1px solid transparent;
  white-space: nowrap;    /* Prevents text from breaking into two lines */
}

/* Desktop styles (Restores your exact original spacing) */
@media (min-width: 576px) {
  .btn {
    gap: 10px;
    padding: 14px;
    font-size: 11px;
    letter-spacing: .25em;
  }
}

.btn-primary {
  background: var(--gradient-red);
  color: #fff;
  box-shadow: var(--shadow-glow-soft);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(8px);
  color: var(--foreground);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: rgba(193, 18, 31, .4);
  color: var(--primary);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 10px;
}

/* Global Lucide icon sizing */
.btn [data-lucide] {
  width: 12px;
  height: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 900
}

.eyebrow .line {
  height: 1px;
  width: 40px;
  background: var(--primary)
}

.section {
  padding: 48px 0;
  position: relative;
  overflow: hidden
}

.section-card {
  background: rgba(247, 247, 249, .5)
}

.bg-grid {
  background-image: linear-gradient(rgba(43, 45, 66, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(43, 45, 66, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent 80%)
}

.bg-hatch {
  background-image: repeating-linear-gradient(45deg, rgba(43, 45, 66, .025) 0, rgba(43, 45, 66, .025) 1px, transparent 1px, transparent 8px)
}

.h-display {
  font-size: clamp(2rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 800
}

.h-xl {
  font-size: clamp(1.75rem, 4.5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -.028em;
  font-weight: 900
}

.h-lg {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800
}

.lead {
  font-size: 1.05rem;
  color: var(--foreground);
  line-height: 1.7;
  max-width: 640px
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  border-color: rgba(193, 18, 31, .4);
  box-shadow: var(--shadow-glow-soft);
  transform: translateY(-4px);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--foreground);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(193, 18, 31, .1);
  box-shadow: inset 0 0 0 1px rgba(193, 18, 31, .3);
  color: var(--primary);
}

/* Controls the Font Awesome icon size cleanly */
.card-icon i {
  font-size: 16px; 
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all .5s ease;
  /* padding: 20px 0 */
}

.nav.scrolled {
  background: rgba(248, 249, 250, .85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  /* padding: 12px 0 */
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--background);
  border: 1px solid rgba(193, 18, 31, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(193, 18, 31, .15)
}

.brand-mark span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.brand-text p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.2
}

.brand-text .top {
  font-size: 11px;
  letter-spacing: .4em;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.brand-text .bot {
  font-size: 9px;
  letter-spacing: .45em;
  color: var(--muted-fg)
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px
}

.nav-links a {
  position: relative;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #000;
  transition: color .25s
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--foreground)
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 1px;
  width: 0;
  background: var(--gradient-red);
  transition: width .3s
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px
}

.nav-burger {
  display: none;
  /* width: 42px; */
  height: 42px;
  /* border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border); */
  align-items: center;
  justify-content: center
}

@media (max-width:1024px) {
  .nav-links {
    display: none
  }

  .nav-burger {
    display: inline-flex
  }

  .nav-cta .desktop-only {
    display: none
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  /* Changed from display: none to visibility/pointer-events for smooth transitions */
  display: flex; 
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.4s ease;
}

.links-box{
  height: 100vh;
  overflow: auto;
}

.mobile-menu.open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu .scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  /* Added smooth opacity fade */
  opacity: 0;
  transition: opacity 5s ease;
}

.mobile-menu.open .scrim {
  opacity: 1;
}

.mobile-menu .panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 88vw;
  max-width: 380px;
  background: var(--background);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.mobile-menu.open .panel {
  transform: translateX(0);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  font-size: 14px;
  border: 1px solid transparent;
  
  /* Make links default hidden and ready for animation when .open class hits */
  opacity: 0;
  transform: translateY(12px);
}

/* Trigger fadeInUp cascade animation strictly when open */
.mobile-menu.open a {
  animation: menuLinkFadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-menu a:hover {
  background: var(--card);
  border-color: var(--border)
}

.mobile-menu .actions {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  
  /* Smooth action button appearance */
  opacity: 0;
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  transition-delay: 0.3s; /* Occurs right after links slide in */
}

.mobile-menu.open .actions {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu .actions .btn {
  justify-content: center;
  width: 100%
}

/* Keyframes definition */
@keyframes menuLinkFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* HERO */
.hero {
  position: relative;
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 48px;
  overflow: hidden
}

.hero video,
.hero .poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  z-index: 0
}

.hero .overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, rgba(248, 249, 250, .55), rgba(248, 249, 250, .7) 50%, #F8F9FA 100%); */
  z-index: 1
}

.hero .bg-grid {
  position: absolute;
  inset: 0;
  opacity: .4;
  z-index: 1
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em
}

.hero h1 .line {
  display: block;
  font-size: clamp(2.25rem, 6vw, 4.5rem)
}

.hero-tiles {
  display: none;
  position: absolute;
  top: 32%;
  flex-direction: column;
  gap: 12px;
  z-index: 2
}

.hero-tiles.left {
  left: 24px;
  align-items: flex-start
}

.hero-tiles.right {
  right: 24px;
  align-items: flex-end
}

@media (min-width:1100px) {
  .hero-tiles {
    display: flex
  }
}

.data-tile {
  min-width: 170px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant)
}

.data-tile .lbl {
  font-size: 9px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted-fg);
  font-weight: 800
}

.data-tile .val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 4px
}

.data-tile .trend {
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 800
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px
}

.live-chip .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary)
}

.live-chip .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .5;
  animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite
}

.live-chip span:last-child {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3em;
  color: var(--primary);
  text-transform: uppercase
}

.cta-row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center
}

.trust-row {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-fg)
}

.trust-pill i {
  color: var(--primary)
}

/* MARQUEE */
.marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid var(--border)
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-x 38s linear infinite;
  padding: 12px 0
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .4em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, .95)
}

.marquee-track span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7)
}

/* BRAND BAR */
.brand-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: #fff;
}

.brand-bar .label {
  text-align: center;
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--muted-fg);
  font-weight: 800;
  margin-bottom: 20px
}

.brand-bar .label::before,
.brand-bar .label::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--primary);
  margin: 0 12px;
  vertical-align: middle
}

.brand-marquee {
  display: flex;
  width: max-content;
  animation: scroll-x 36s linear infinite
}

.brand-marquee span {
  margin: 0 48px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(107, 112, 128, .6);
  transition: color .5s;
  white-space: nowrap;
  letter-spacing: .2em
}

.brand-marquee span:hover {
  color: var(--primary)
}

.brand-bar .fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 96px;
  z-index: 2;
  pointer-events: none
}

.brand-bar .fade.l {
  left: 0;
  background: linear-gradient(90deg, var(--background), transparent)
}

.brand-bar .fade.r {
  right: 0;
  background: linear-gradient(-90deg, var(--background), transparent)
}

/* STATS */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(247, 247, 249, .5)
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1280px;
  margin: 0 auto
}

@media (min-width:768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.stat-cell {
  padding: 48px 32px;
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border)
}

.stat-cell:nth-child(-n+2) {
  border-top: 0
}

@media (min-width:768px) {
  .stat-cell:nth-child(-n+4) {
    border-top: 0
  }

  .stat-cell:nth-child(4n) {
    border-right: 0
  }
}

.stat-cell .ico {
  width: 24px;
  height: 24px;
  color: var(--primary);
  margin-bottom: 18px
}

.stat-cell .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.stat-cell .lbl {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted-fg);
  font-weight: 800
}

/* INDUSTRIES */
.industries {
  position: relative
}

.hub {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center
}

.hub .ring1,
.hub .ring2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(193, 18, 31, .4);
  animation: spin 60s linear infinite
}

.hub .ring2 {
  inset: 12px;
  border: 1px solid rgba(193, 18, 31, .3);
  animation: spin 45s linear infinite reverse
}

.hub-core {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  /* background: var(--background);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center
}

.hub-core i {
  color: var(--primary);
  width: 22px;
  height: 22px
}

.hub-core .ttl {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .25em;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2
}

.hub-core .sub {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: .35em;
  color: var(--muted-fg)
}

.industry-node {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 36px 0
}

.industry-node .icn {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--background);
  border: 2px dashed rgba(193, 18, 31, .4);
  box-shadow: 0 0 0 4px rgba(193, 18, 31, .05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary)
}

.industry-node h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .18em;
  margin: 0
}

.industry-node p {
  margin: 6px 0 0;
  font-size: .82rem;
  color: var(--muted-fg);
  line-height: 1.55
}

.industry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1100px;
  margin: 48px auto 0
}

@media (min-width:900px) {
  .industry-grid {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 48px
  }

  .industries .right .industry-node {
    flex-direction: row-reverse;
    text-align: right
  }
}

/* NETWORK PANEL */
.holopanel {
  position: relative;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, #0a0e1a, #050810);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25)
}

.holopanel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5
}

.holopanel .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(193, 18, 31, .18), transparent 70%)
}

.holopanel .scan {
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0, rgba(255, 255, 255, .04) 1px, transparent 1px, transparent 3px)
}

.holopanel .hud {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, .7);
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase
}

.holopanel .hud .live {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.holopanel .hud .live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.5s ease-in-out infinite
}

.holopanel .footstrip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px
}

.holopanel .footstrip .cell {
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 8px 10px;
  color: #fff;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: 6px
}

.holopanel .footstrip .cell b {
  display: block;
  font-size: 13px;
  letter-spacing: .05em;
  margin-top: 2px
}

.holopanel .dot-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(193, 18, 31, .8);
  animation: pulse 2s ease-in-out infinite
}

/* TESTIMONIALS */
.testi-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr
}

@media (min-width:1024px) {
  .testi-grid {
    grid-template-columns: 1fr 1.4fr
  }
}

.testi-ship {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 500px;
  box-shadow: var(--shadow-elegant)
}

.testi-ship img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.testi-ship::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .4), transparent 60%)
}

.testi-ship .meta {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 900
}

.testi-ship .meta .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 9px;
  letter-spacing: .35em
}

.testi-ship .meta .live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.5s ease-in-out infinite
}

.testi-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr
}

@media (min-width:600px) {
  .testi-cards {
    grid-template-columns: 1fr 1fr
  }
}

.testi-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(20px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .05);
  transition: all .5s
}

.testi-card:hover {
  border-color: rgba(193, 18, 31, .4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(193, 18, 31, .12)
}

.testi-card .q {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--foreground)
}

.testi-card .q::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 0;
  color: var(--primary);
  margin-right: 6px;
  vertical-align: -10px;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.testi-card .who {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px
}

.testi-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px
}

.testi-card .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem
}

.testi-card .role {
  font-size: .7rem;
  color: var(--muted-fg)
}

/* SERVICES CARDS (Big visual) */
.svc-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))
}

.svc-card {
  position: relative;
  height: 480px;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
  cursor: pointer
}

.svc-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
  filter: grayscale(10%)
}

.svc-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0)
}

.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0a0a0a, rgba(20, 20, 20, .4) 50%, transparent);
  opacity: .9
}

.svc-card .tag {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .95);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  z-index: 2
}

.svc-card .tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary)
}

.svc-card .info {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  z-index: 2;
  color: #fff;
  transition: transform .5s
}

.svc-card:hover .info {
  transform: translateY(-6px)
}

.svc-card .info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.02em
}

.svc-card .info .bar {
  width: 0;
  height: 2px;
  background: var(--primary);
  margin: 12px 0;
  transition: width .7s
}

.svc-card:hover .info .bar {
  width: 96px
}

.svc-card .info p {
  color: rgba(220, 220, 220, .9);
  font-size: .9rem;
  max-width: 380px;
  line-height: 1.55
}

/* FLEET LIST */
.fleet-list {
  border-top: 1px solid var(--border)
}

.fleet-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: background .3s;
  position: relative
}

.fleet-row:hover {
  background: rgba(0, 0, 0, .01)
}

.fleet-row .left {
  display: flex;
  gap: 24px
}

.fleet-row .id {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: rgba(193, 18, 31, .5);
  font-weight: 700;
  letter-spacing: .2em;
  padding-top: 8px
}

.fleet-row .label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform .3s
}

.fleet-row:hover .label {
  transform: translateX(8px)
}

.fleet-row .spec {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-top: 6px
}

.fleet-row .right {
  display: flex;
  align-items: center;
  gap: 36px
}

.fleet-row .count {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1
}

.fleet-row .sub {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-fg);
  font-weight: 800;
  margin-top: 4px
}

.fleet-row .explore {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase
}

.fleet-row .explore .arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s
}

.fleet-row:hover .explore .arrow {
  transform: rotate(45deg)
}

/* TIMELINE */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border)
}

@media (min-width:768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-.5px)
  }
}

.tl-item {
  position: relative;
  padding: 24px 0 24px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px
}

@media (min-width:768px) {
  .tl-item {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-left: 0
  }

  .tl-item.right .tl-content {
    grid-column: 2;
    text-align: left
  }

  .tl-item.left .tl-content {
    grid-column: 1;
    text-align: right
  }
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--background)
}

@media (min-width:768px) {
  .tl-item::before {
    left: 50%;
    transform: translateX(-50%)
  }
}

.tl-content .year {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.tl-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: 8px
}

.tl-content p {
  font-size: .85rem;
  color: var(--muted-fg);
  margin-top: 8px;
  line-height: 1.6
}

/* TRACKING TIMELINE */
.tracker-card {
  margin-top: 48px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-elegant);
  overflow: hidden
}

.tracker-card .hdr {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px;
  border-bottom: 1px solid var(--border)
}

@media (min-width:768px) {
  .tracker-card .hdr {
    grid-template-columns: repeat(3, 1fr)
  }
}

.tracker-card .hdr .lbl {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--muted-fg)
}

.tracker-card .hdr .val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px
}

.stages {
  padding: 32px;
  background: rgba(247, 247, 249, .4)
}

.stage {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 24px
}

.stage:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--border)
}

.stage.done:not(:last-child)::before {
  background: var(--primary)
}

.stage .node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-fg);
  flex-shrink: 0;
  z-index: 1
}

.stage.done .node {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff
}

.stage.active .node {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-glow)
}

.stage .body {
  flex: 1
}

.stage .body .top {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.stage .body h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem
}

.stage.pending .body h4 {
  color: var(--muted-fg)
}

.stage .body .when {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted-fg)
}

.stage .body .loc {
  margin-top: 4px;
  font-size: .78rem;
  color: var(--muted-fg);
  display: flex;
  align-items: center;
  gap: 4px
}

/* Custom smooth transitions for premium dashboard look and feel */
.transition-all-custom {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Enhances hover depth on desktop screens while keeping them clean */
.list-group-item-action:hover {
  background-color: rgba(193, 18, 31, 0.04) !important;
  backdrop-filter: blur(4px);
  padding-left: 2rem !important;
}

/* Custom Micro Utilities to supplement base Bootstrap */
.tracking-wider { letter-spacing: 0.15em; }
.tracking-widest { letter-spacing: 0.25em; }
.fw-black { font-weight: 900; }
.fw-extrabold { font-weight: 800; }
.border-dashed { border-style: dashed !important; }

/* ── LIGHT MATRIX LOGISTICS INTERFACE ── */
.form {
  padding: 40px;
  background: var(--card); /* #FFFFFF base */
  border: 1px solid var(--border); /* Clean structural rule */
  border-radius: 0px; /* Industrial sharp layout */
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
  
  /* Top accent manifest stripe utilizing your brand red gradient */
  border-top: 3px solid var(--primary);
  
  /* Industrial plot grid overlay tailored for the off-white background */
  background-image: 
    radial-gradient(oklch(0.24 0.03 270 / 0.03) 1px, transparent 0),
    linear-gradient(to right, oklch(0.24 0.03 270 / 0.01) 1px, transparent 1px);
  background-size: 24px 24px, 100% 1px;
}

/* Re-calibrated ambient tracking light using your specific oklch red profile */
.form .blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, oklch(0.50 0.21 27 / 0.06) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.field {
  position: relative;
  margin-bottom: 32px;
}

.field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted-fg); /* #6b7080 */
  margin-bottom: 12px;
}

/* Telemetry status target that locks on focus */
.field label::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: oklch(0.24 0.03 270 / 0.2);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.field:focus-within label::before {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
  transform: scale(1.2);
}

.field:focus-within label {
  color: var(--foreground);
}

.field input,
.field textarea {
  width: 100%;
  background: var(--muted); /* #F5F5F5 step-down area */
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 14px 12px;
  font-size: .95rem;
  font-family: var(--font-sans);
  color: var(--foreground);
  transition: all .3s cubic-bezier(0.25, 1, 0.5, 1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: oklch(0.24 0.03 270 / 0.4);
  font-size: 0.9rem;
}

/* Active Manifest field illumination */
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--primary);
  background: var(--card); /* Shifts pure white on focus engagement */
  padding-left: 18px; /* High-end interface fluid response */
  box-shadow: var(--shadow-card);
}

.field textarea {
  resize: none;
  min-height: 110px;
  line-height: 1.6;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width:600px) {
  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ── INFRASTRUCTURE SUBMIT ACTION ── */
.form-submit {
  width: 100%;
  background: var(--gradient-red);
  color: var(--card); /* Pure white text */
  padding: 20px;
  border: 1px solid var(--primary-deep);
  border-radius: 0px; /* Rigid container shape geometry */
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .4em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-glow-soft);
  transition: all .4s cubic-bezier(0.25, 1, 0.5, 1);
  margin-top: 12px;
}

/* High-contrast luxury inversion state */
.form-submit:hover {
  background: var(--foreground); /* Deep graphite #2B2D42 */
  color: var(--card);
  border-color: var(--foreground);
  box-shadow: var(--shadow-elegant);
  transform: translateY(-2px);
}

.form-submit i {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.form-submit:hover i {
  transform: translateX(6px);
  color: var(--primary-glow);
}

/* ── LOGGED SUCCESS TELEMETRY VIEW ── */
#contactSuccess {
  border-left: 3px solid var(--primary);
  background: var(--muted);
  padding: 40px !important;
  box-shadow: inset 0 0 20px oklch(0.24 0.03 270 / 0.02);
}

#contactSuccess h3 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--foreground);
}

#resetContact {
  font-family: var(--font-display);
  transition: color 0.2s ease;
  cursor: pointer;
  border: none;
  background: transparent;
}

#resetContact:hover {
  color: var(--primary-deep);
}

/* FAQ */
details.faq {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 12px
}

details.faq[open] {
  border-color: rgba(193, 18, 31, .4);
  box-shadow: var(--shadow-glow-soft)
}

details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem
}

details.faq summary::-webkit-details-marker {
  display: none
}

details.faq summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform .3s
}

details.faq[open] summary::after {
  transform: rotate(45deg)
}

details.faq p {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--muted-fg);
  line-height: 1.65
}

/* FOOTER */
footer {
  position: relative;
  background: #050505;
  color: #fff;
  padding: 68px 0 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .05)
}

footer .big {
  position: absolute;
  left: 50%;
  bottom: 16%; /* Lifted upward slightly on mobile to ensure visible readability */
  transform: translateX(-50%);
  font-size: 25vw; /* Scales responsibly so it stays inside mobile screens */
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .1; /* Subdued slightly on mobile grids for content readability */
  pointer-events: none;
  letter-spacing: -.04em;
  white-space: nowrap;
}

footer .grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 48px 24px; /* Balanced mobile row vs column gap spacing */
  grid-template-columns: repeat(2, 1fr); /* Forms 2 clean structural columns on mobile viewports */
  padding-bottom: 80px
}

/* Force first column details description block to stretch fully across wide layouts */
footer .grid > div:first-child {
  grid-column: span 2;
}

/* Link Columns logic adjustment rules */
footer .footer-links-col {
  grid-column: span 1; /* Splits the grid rows equally 50/50 down the middle for links */
}

@media (min-width:768px) {
  footer .grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
  }
  footer .grid > div:first-child {
    grid-column: auto;
  }
  footer .footer-links-col {
    grid-column: auto;
  }
  footer .big {
    bottom: -12%;
    font-size: 25vw;
    opacity: .3;
  }
}

footer .desc {
  max-width: 380px;
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
  margin-top: 12px;
  line-height: 1.7
}

footer .brand-mark-d {
  display: inline-flex;
  align-items: center;
  gap: 14px
}

footer .brand-mark-d .box {
  width: 48px;
  height: 48px;
  border: 2px solid var(--primary);
  background: rgba(193, 18, 31, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  color: var(--primary)
}

footer .brand-mark-d .name {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: normal;
}

footer .brand-mark-d .name span {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

footer .brand-mark-d .sub {
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  font-weight: 700
}

footer .socials {
  display: flex;
  gap: 14px;
  margin-top: 36px
}

footer .socials a {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .4);
  transition: all .3s
}

footer .socials a:hover {
  border-color: var(--primary);
  background: rgba(193, 18, 31, .1);
  color: var(--primary)
}

footer h4 {
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  font-weight: 900;
  border-left: 2px solid var(--primary);
  padding-left: 12px;
  margin-bottom: 24px
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px
}

footer ul a {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .25s
}

footer ul a:hover {
  color: var(--primary)
}

footer .bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .05);
  background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(8px);
}

footer .bottom .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px; /* Slightly adjusted for mobile spacing */
  align-items: center;
  text-align: center; /* Ensures text blocks center beautifully on mobile */
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 800;
}

/* ── DESKTOP STYLES ── */
@media (min-width: 768px) {
  footer .bottom .inner {
    flex-direction: row;
    justify-content: space-around; /* Changed to space-around as requested */
  }
}

/* ── LEGAL LINKS STYLES ── */
footer .bottom .legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px; /* Uses modern gap instead of forcing margins */
}

footer .bottom .legal-links a {
  color: rgba(255, 255, 255, .3);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer .bottom .legal-links a:hover {
  color: var(--primary);
}

/* ── ATTRIBUTION BRANDING STYLES ── */
footer .bottom .attribution-credit {
  color: rgba(255, 255, 255, .3);
  font-size: 9px;
  letter-spacing: .25em;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensures lines stretch relative to the layout width on mobile */
}

/* Adding the lines to the start and end on mobile */
footer .bottom .attribution-credit::before,
footer .bottom .attribution-credit::after {
  content: "";
  flex: 1;
  max-width: 40px; /* Limits how long the lines get so they don't look awkward */
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0 12px;
}

/* Optional: Removes or reduces the lines on desktop if they crowd the layout */
@media (min-width: 768px) {
  footer .bottom .attribution-credit {
    width: auto;
  }
  footer .bottom .attribution-credit::before,
  footer .bottom .attribution-credit::after {
    display: none; /* Removes lines on desktop, keep it if you want them there too! */
  }
}

footer .bottom .attribution-credit a {
  margin-left: 4px;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer .bottom .attribution-credit a:hover {
  color: var(--primary);
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px
}

.modal.open {
  display: flex
}

.modal .scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px);
  animation: fade-in .3s
}

.modal .panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-elegant);
  animation: scale-up .35s cubic-bezier(.22, 1, .36, 1);
  overflow: hidden
}

.modal .panel::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: rgba(193, 18, 31, .3);
  filter: blur(60px);
  border-radius: 50%;
  pointer-events: none
}

.modal .panel::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: rgba(193, 18, 31, .2);
  filter: blur(60px);
  border-radius: 50%;
  pointer-events: none
}

.modal .close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted-fg);
  z-index: 2
}

.modal .close:hover {
  background: var(--card);
  color: var(--foreground)
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  margin-top: 8px
}

.modal .desc {
  margin-top: 8px;
  font-size: .85rem;
  color: var(--muted-fg)
}

.modal .form-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 12px;
  transition: border-color .25s
}

.modal .form-row:focus-within {
  border-color: var(--primary)
}

.modal .form-row i {
  color: var(--muted-fg)
}

.modal .form-row input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: .9rem;
  font-family: inherit;
  color: var(--foreground)
}

.modal .divider {
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-fg);
  font-size: 9px;
  letter-spacing: .4em;
  text-transform: uppercase
}

.modal .divider::before,
.modal .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border)
}

.modal .switch {
  margin-top: 20px;
  text-align: center;
  font-size: .8rem;
  color: var(--muted-fg)
}

.modal .switch button {
  font-weight: 700;
  color: var(--primary)
}

.modal .switch button:hover {
  text-decoration: underline
}

/* KEYFRAMES */
@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.2)
  }
}

@keyframes scroll-x {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

@keyframes fade-in {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes scale-up {
  from {
    opacity: 0;
    transform: scale(.92) translateY(20px)
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0)
  }
}

@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

[data-aos] {
  will-change: transform, opacity
}

/* Lenis */
html.lenis,
html.lenis body {
  height: auto
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important
}

/* Core Structural Setup */
.nexus-loader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #0b0b0c; /* Deep industrial carbon matte black */
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
  overflow: hidden;
}

.nexus-loader.hidden-state {
  opacity: 0;
  visibility: hidden;
}

.nexus-loader.display-none {
  display: none !important;
}

/* Industrial Grid Blueprint Overlay (Replaces the sci-fi glow) */
.loader-grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 24px 24px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  pointer-events: none;
}

/* Freight Transit Ring Mechanics */
.rings-container {
  position: relative;
  margin-bottom: 32px;
  width: 130px;
  height: 130px;
}

@media (min-width: 768px) {
  .rings-container {
    width: 150px;
    height: 150px;
  }
}

/* Sharp Compass Markings for Route Navigation aesthetics */
.ring-radar-markers {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(193, 18, 31, 0.15);
}

.ring-primary {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px dashed transparent;
  border-top-color: #c1121f; /* True Freight Crimson Red */
  border-bottom-color: #c1121f;
  animation: transitSpin 4s linear infinite;
}

.ring-secondary {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-left-color: rgba(255, 255, 255, 0.2);
  border-right-color: rgba(255, 255, 255, 0.2);
  animation: transitSpinReverse 2.5s linear infinite;
}

/* Centralized Cargo Core Asset Icon */
.pulse-dot-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cargo-node-core {
  width: 36px;
  height: 36px;
  border-radius: 6px; /* Boxy/container industrial geometry */
  background: #161618;
  border: 1px solid rgba(193, 18, 31, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c1121f;
  box-shadow: 0 0 15px rgba(193, 18, 31, 0.15);
  animation: cargoNodeBlink 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.node-icon {
  stroke: #c1121f;
}

/* Tracking Progress Arc Overlay */
.progress-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-svg circle {
  stroke: #c1121f;
  stroke-linecap: square; /* Square caps feel more mechanical than round ones */
  transition: stroke-dasharray 0.1s linear;
}

/* Text Elements & Architecture Grouping */
.tag-charter {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
  animation: cargoRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.05s;
  opacity: 0;
}

.letters-wrapper {
  display: flex;
  gap: 2px;
}

.letter-node {
  font-family: var(--font-display, "Impact", "Arial Black", sans-serif); /* Strong, heavy corporate typeface look */
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  opacity: 0;
  animation: cargoRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay);
}

@media (min-width: 768px) {
  .letter-node {
    font-size: 5rem;
  }
}

.tag-logistics {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #c1121f; /* Brand Accent highlight */
  margin-top: 4px;
  animation: cargoRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

/* Telemetry Dashboard Data Components */
.progress-bar-container {
  margin-top: 54px;
  width: 220px;
  max-width: 80vw;
}

.progress-track {
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #c1121f;
  transition: width 0.1s linear;
}

.progress-status-row {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  font-family: "Courier New", Courier, monospace; /* Clean, utility invoice/shipping label text style */
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.telemetry-log {
  color: rgba(255, 255, 255, 0.3);
}

.progress-percentage {
  color: #ffffff;
}

/* Mechanical Dynamic Keyframe Arrays */
@keyframes transitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes transitSpinReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes cargoNodeBlink {
  0%, 100% { background: #161618; border-color: rgba(193, 18, 31, 0.4); box-shadow: 0 0 15px rgba(193, 18, 31, 0.15); }
  50% { background: rgba(193, 18, 31, 0.1); border-color: rgba(193, 18, 31, 1); box-shadow: 0 0 25px rgba(193, 18, 31, 0.4); }
}

@keyframes cargoRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Container Card Architecture */
.leader-card {
  background: #111112; /* Clean matte black card */
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.leader-card:hover {
  transform: translateY(-4px);
  border-color: rgba(193, 18, 31, 0.3); /* Premium subtle red boundary pop */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(193, 18, 31, 0.05);
}

/* Structural Grid Graphic Frame inside Avatar Box */
.avatar-frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #161618; /* Rich carbon slate background color */
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.leader-card:hover .avatar-frame {
  border-color: rgba(193, 18, 31, 0.4);
}

.avatar-bg-grid {
  position: absolute;
  inset: 0;
  background-size: 16px 16px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  pointer-events: none;
}

.avatar-initials {
  font-family: var(--font-display), "Impact", sans-serif;
  font-size: 2.75rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: -0.05em;
  z-index: 2;
  transition: color 0.4s ease;
}

.leader-card:hover .avatar-initials {
  color: rgba(193, 18, 31, 0.6); /* Soft red transformation on hover */
}

/* Typography Hierarchy */
.leader-name {
  margin-top: 20px;
  font-family: var(--font-display), sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.leader-role {
  margin-top: 4px;
  font-size: 9.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c1121f; /* True Logistics High-Vis Crimson */
  font-weight: 800;
}

/* Elegant Logistics Line Separator Accent */
.leader-divider {
  width: 24px;
  height: 2px;
  background: #c1121f;
  margin-top: 14px;
  transition: width 0.3s ease;
}

.leader-card:hover .leader-divider {
  width: 48px; /* Dynamic interaction line extension */
}

.leader-bio {
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted-fg, #a0a0a5);
  line-height: 1.6;
}

/* Custom Language Selector Wrapper Styling Layout */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.lang-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Compact scaling metrics matching your functional hooks */
.lang-trigger-btn.compact {
  padding: 8px 12px;
}

.lang-trigger-btn:hover {
  border-color: rgba(193, 18, 31, 0.6); /* Soft red corporate brand transformation */
}

.lang-btn-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.text-primary-icon {
  color: #c1121f; /* Primary High-Vis Red Graphic color profile tint */
  width: 13px;
  height: 13px;
}

.chevron-icon {
  color: var(--muted-fg, #a0a0a5);
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

/* Rotation transformation triggered during visibility changes */
.lang-dropdown-wrapper.is-open #langChevron {
  transform: rotate(180deg);
}

/* Submenu layout overlay container */
.lang-menu-panel {
  display: none; /* Controlled by interaction layers via logic switches */
  position: absolute;
  margin-top: 8px;
  width: 224px;
  max-height: 320px;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  background: rgba(11, 11, 12, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  z-index: 200;
  padding: 8px 0;
  animation: fadeInUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown-wrapper.is-open .lang-menu-panel {
  display: block;
}

/* Dropdown Menu Item Triggers */
.lang-item-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lang-item-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}

.lang-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-flag-graphic {
  font-size: 1rem;
  line-height: 1;
}

.check-icon {
  width: 13px;
  height: 13px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ── PRESENCE PAGE FRAMEWORK CSS ── */

/* Spatial Grid Configuration */
.presence-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
}

/* Hero Section Layout Architecture */
.presence-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
}

@media(min-width: 1024px) {
  .presence-hero-layout {
    grid-template-columns: 5.5fr 6.5fr;
    gap: 80px;
  }
}

.presence-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.35em;
  color: var(--muted-fg);
}

.presence-eyebrow .line-accent {
  width: 24px;
  height: 1px;
  background-color: var(--primary);
}

.presence-display-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--foreground);
}

.text-fire-accent {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.presence-lead {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--foreground);
  opacity: 0.85;
}

/* Hero Ticker Modules */
.presence-ticker {
  display: flex;
  gap: 48px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}

.ticker-node {
  display: flex;
  flex-direction: column;
}

.ticker-label {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--muted-fg);
}

.ticker-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary);
  margin-top: 4px;
}

/* Infrastructure Node Row System */
.matrix-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 2px solid var(--foreground);
  margin-top: 60px;
}

.matrix-title {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--foreground);
}

.matrix-coordinates {
  font-family: monospace;
  font-size: 10px;
  color: var(--muted-fg);
}

.nodes-list-container {
  display: flex;
  flex-direction: column;
}

/* Main Luxury Strip Configuration */
.node-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease;
}

@media(min-width: 992px) {
  .node-row {
    grid-template-columns: 4.5fr 4.5fr 3fr;
    gap: 40px;
  }
}

.node-row:hover {
  background-color: var(--muted); /* Soft off-white lift #F5F5F5 */
  box-shadow: var(--shadow-card);
  padding-left: 20px;
  padding-right: 20px;
}

.node-meta .node-id {
  display: block;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.15em;
}

.node-meta .node-city {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--foreground);
  margin: 6px 0;
  line-height: 1;
}

.node-meta .node-type {
  font-size: 12px;
  color: var(--muted-fg);
  font-weight: 500;
}

.node-specifications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media(max-width: 576px) {
  .node-specifications {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.spec-block {
  display: flex;
  flex-direction: column;
}

.spec-lbl {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--muted-fg);
}

.spec-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 6px;
  line-height: 1.4;
}

.node-comms {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comms-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--foreground);
  font-weight: 600;
}

.comms-ico {
  width: 14px;
  height: 14px;
  color: var(--primary-glow);
  flex-shrink: 0;
}

/* Premium Architectural Callout Block */
.presence-cta-banner {
  margin-top: 80px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
  padding: 48px;
  position: relative;
}

.presence-cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 4px;
  background: var(--gradient-red);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

@media(min-width: 992px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
  }
}

.cta-left h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--foreground);
  text-transform: uppercase;
}

.cta-left p {
  color: var(--muted-fg);
  font-size: 0.95rem;
  margin-top: 8px;
}

.cta-action-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  background: transparent;
}

.cta-action-link span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.cta-action-link .link-circle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted);
  color: var(--foreground);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Interaction Physics Engine */
.cta-action-link:hover span {
  color: var(--primary);
}

.cta-action-link:hover .link-circle {
  background: var(--foreground);
  color: var(--card);
  border-color: var(--foreground);
  transform: scale(1.05) translateX(4px);
}










/* ============================================================
   RESPONSIVE ADDITIONS — Bootstrap 5 compatibility layer
   + brand-marquee fix + toast alerts
   ============================================================ */

/* Brand marquee — equal height images */
.brand-marquee img {
  height: 48px !important;
  width: auto !important;
  object-fit: contain;
  margin: 0 40px !important;
  filter: grayscale(60%);
  transition: filter .4s;
  flex-shrink: 0;
}
.brand-marquee img:hover { filter: grayscale(0); }
.brand-marquee {
  display: flex !important;
  align-items: center;
  width: max-content;
  animation: scroll-x 36s linear infinite;
}
@media (max-width: 576px) {
  .brand-marquee img { height: 36px !important; margin: 0 24px !important; }
  .brand-bar { padding: 32px 0; }
}

/* Toast Alert System */
#nexus-toast-container {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 360px;
  width: calc(100vw - 48px);
}
.nexus-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  backdrop-filter: blur(16px);
  pointer-events: all;
  animation: toast-in .35s cubic-bezier(.22,1,.36,1);
  transition: opacity .3s, transform .3s;
}
.nexus-toast.toast-hide { opacity: 0; transform: translateX(30px); }
.nexus-toast .toast-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }
.nexus-toast.toast-success { border-left: 3px solid #16a34a; }
.nexus-toast.toast-success .toast-icon { color: #16a34a; }
.nexus-toast.toast-error { border-left: 3px solid var(--primary); }
.nexus-toast.toast-error .toast-icon { color: var(--primary); }
.nexus-toast .toast-body { flex: 1; }
.nexus-toast .toast-title { font-weight: 800; font-size: .85rem; color: var(--foreground); }
.nexus-toast .toast-msg { font-size: .78rem; color: var(--muted-fg); margin-top: 2px; }
.nexus-toast .toast-close { background: none; border: 0; cursor: pointer; color: var(--muted-fg); padding: 0; line-height: 1; font-size: 16px; }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Google Translate bar hide */
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget { font-size: 0 !important; }

/* Responsive: hero tiles smaller on tablet */
@media (max-width: 1200px) and (min-width: 1100px) {
  .hero-tiles { display: flex; }
  .data-tile { min-width: 140px; }
}

/* Stats grid mobile — 2 col */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { padding: 28px 16px; }
  .stat-cell .num { font-size: 1.6rem; }
}

/* Services grid mobile */
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { height: 360px; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* Fleet row mobile */
@media (max-width: 600px) {
  .fleet-row { gap: 16px; }
  .fleet-row .right { gap: 16px; }
  .fleet-row .explore span { display: none; }
  .fleet-row .label { font-size: 1.1rem; }
}

/* Footer grid */
footer .grid { grid-template-columns: 1fr !important; gap: 40px; }
@media (min-width: 768px) { footer .grid { grid-template-columns: 2fr 1fr 1fr !important; } }

/* Table card responsive */
.table-card { overflow-x: auto; }
.t-head, .t-row { min-width: 600px; }