/* ==========================================================================
   BEAMED GROUP — OFFICIAL MASTER CORPORATE STYLESHEET
   Brand Identity: Minimal + Premium + Scientific + International + Human
   Strict Compliance with Master Brand Guidelines v1.0 (September 2026)
   - Aesthetic: Calm, precise, generous whitespace, slow elegant motion
   - Colors: Obsidian Violet Night (#0B0512), Beamed Violet (#826BA0), Mist (#B7DBD4), Orchid (#BB80AC), Sand (#C9B79F)
   - Typography: Figtree (Primary / UI) + IBM Plex Mono (Data & Metadata)
   ========================================================================== */

/* --- ACCESSIBILITY & SEO UTILITIES --- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.focusable-skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10000;
  background: var(--color-violet-night-card);
  color: var(--color-mist);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-beamed-violet);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease-motion);
}
.focusable-skip-link:focus {
  transform: translateY(0%);
  outline: 2px solid var(--color-mist);
  outline-offset: 2px;
}

/* --- ROOT VARIABLES (Brand Guidelines Pages 22-27) --- */
:root {
  /* Brand Primary Palette — Luxury Deep Dark Theme (Matching beamedtrading.com hero section) */
  --color-violet-night: #0B0512;        /* Primary Deep Dark Base (Matching beamedtrading.com hero) */
  --color-violet-night-deep: #07030C;   /* Ground Deepest Dark Base */
  --color-violet-night-card: #120B1C;   /* Restrained Luxury Card Surface */
  --color-violet-night-hover: #1A1127;  /* Soft Deep Violet Hover Surface */
  --color-beamed-violet: #826BA0;       /* Primary Brand Color */
  --color-violet-deep: #56017D;         /* Deep Contrast Violet (from beamedtrading.com) */
  --color-violet-haze: #E8DEF8;         /* Primary Light Tint (from beamedtrading.com) */

  /* The Beam Secondary & Gradient Stops (Page 22, 23) */
  --color-mist: #B7DBD4;                /* Gradient 0% Stop */
  --color-orchid: #BB80AC;              /* Gradient 66.24% Stop / Regional Descriptors */
  --color-sand: #C9B79F;                /* Gradient 100% Stop */
  --color-mint-bright: #5EEAD4;         /* Bright Mint Dot from beamedtrading.com */
  --color-violet-bright: #D8B4FE;       /* Bright Lavender Accent from beamedtrading.com */

  /* Exact 4-Stop Beam Gradient Specification (Page 23) */
  --gradient-the-beam: linear-gradient(
    90deg,
    #B7DBD4 0%,
    #826BA0 30.67%,
    #BA80AB 66.24%,
    #C9B79F 100%
  );

  /* Division Accent Colors (Page 25) */
  --color-div-phy: #4E9A8E;
  --color-div-vet: #6E9261;
  --color-div-med: #B55A6E;
  --color-div-nut: #B08A4E;
  --color-div-lab: #3F8AA6;
  --color-div-img: #5467A8;
  --color-div-drm: #A9679A;
  --color-div-sci: #564577;
  --color-div-log: #A8705A;
  --color-div-svc: #6B7480;

  /* Neutrals (Matching beamedtrading.com luxury theme) */
  --color-white: #FFFFFF;
  --color-porcelain: #F7F6F3;
  --color-pearl: #E8DEF8;               /* Matching beamedtrading.com light tint */
  --color-pewter: #A89FB0;              /* Matching beamedtrading.com #A89FB0 lead text */
  --color-graphite: #4A4552;
  --color-ink: #0B0512;

  /* Typography (Page 26, 27) */
  --font-ui: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Spacing System (Page 30 - 4px/8px scale) */
  --space-3xs: 4px;
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;

  /* Structural Rules (Page 34, 35) */
  --radius-sm: 8px;
  --radius-card: 14px;
  --radius-pill: 999px;
  --hairline-border: 1px solid rgba(255, 255, 255, 0.08);
  --hairline-border-hover: 1px solid rgba(183, 219, 212, 0.3);

  /* Motion Identity: Slow, Calm, Minimal (Page 37) */
  --ease-motion: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-slow: 0.9s;

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
}

/* --- RESET & FOUNDATION --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-violet-night);
  color: var(--color-white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-ui);
  background-color: var(--color-violet-night);
  color: var(--color-pearl);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Subtle, Quiet Precision Grid (Brand Guidelines Page 34) */
.precision-grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

/* Soft Ambient Radial Glow (Matching beamedtrading.com hero section) */
.ambient-glow-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-height: 1100px;
  background: 
    radial-gradient(circle at 82% 34%, rgba(86, 1, 125, 0.32) 0%, transparent 58%), 
    radial-gradient(circle at 18% 70%, rgba(111, 168, 152, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-violet-night-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--color-violet-deep);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-beamed-violet);
}

/* --- SCROLL PROGRESS BAR (The Beam in Motion) --- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--gradient-the-beam);
  z-index: 99999;
  transition: width 0.12s linear;
}

/* --- TYPOGRAPHY SCALE (Brand Guidelines Page 27) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.label-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8DEF8;
  background: rgba(86, 1, 125, 0.42);
  border: 1px solid rgba(111, 168, 152, 0.35);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.label-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5EEAD4;
  box-shadow: 0 0 8px #5EEAD4;
}

/* The Beam Graphic Rule (Page 11, 34) */
.the-beam {
  height: 4.5px;
  border-radius: var(--radius-pill);
  background: var(--gradient-the-beam);
  width: 100%;
  max-width: 160px;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
  transform-origin: left center;
  transition: transform 1.1s var(--ease-motion);
}

.the-beam.center {
  margin-left: auto;
  margin-right: auto;
  transform-origin: center center;
}

.the-beam.draw-in {
  transform: scaleX(0);
}

.the-beam.draw-in.in-view {
  transform: scaleX(1);
}

/* Common Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 2;
}

/* --- NAVIGATION HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 9000;
  background: rgba(11, 5, 18, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.4s var(--ease-motion), box-shadow 0.4s var(--ease-motion);
}

.site-header.scrolled {
  background: rgba(11, 5, 18, 0.96);
  border-bottom-color: rgba(111, 168, 152, 0.2);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.site-header .container {
  max-width: 1400px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 40px);
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.site-header nav[role="navigation"] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: clamp(12px, 1.8vw, 32px);
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-pewter);
  text-decoration: none;
  transition: color 0.3s var(--ease-motion);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-the-beam);
  border-radius: var(--radius-pill);
  transition: width 0.4s var(--ease-motion);
}

.nav-link:hover {
  color: var(--color-white);
}

.nav-link:hover::after {
  width: 100%;
}

/* Language Switcher Pill */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  color: var(--color-pearl);
  font-family: 'IBM Plex Sans Arabic', var(--font-ui);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-motion);
  white-space: nowrap;
}
.lang-switch-btn:hover {
  background: rgba(183, 219, 212, 0.12);
  border-color: var(--color-mist);
  color: var(--color-mist);
  transform: translateY(-1px);
}
.lang-switch-btn svg {
  opacity: 0.85;
}

/* Big Clear CTA Button for Beamed Trading Catalog */
.btn-catalog-hub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gradient-the-beam);
  color: var(--color-ink) !important;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.4s var(--ease-motion), box-shadow 0.4s var(--ease-motion), opacity 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-catalog-hub:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183, 219, 212, 0.35);
  opacity: 0.95;
}

.btn-catalog-hub svg {
  transition: transform 0.3s var(--ease-motion);
}

.btn-catalog-hub:hover svg {
  transform: translate(2px, -2px);
}

/* Secondary Button (Matching beamedtrading.com hero ghost button) */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s var(--ease-motion);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #D8B4FE;
  color: #D8B4FE;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(216, 180, 254, 0.2);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  margin: 5px 0;
  transition: 0.3s ease;
}

/* --- HERO SECTION: CALM & MINIMAL (Brand Guidelines Page 41) --- */
.hero-section {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: var(--space-3xl);
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-display {
  font-size: clamp(2.85rem, 5.5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--color-white);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.hero-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  font-weight: 300;
  line-height: 1.68;
  color: var(--color-pewter);
  max-width: 620px;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

/* Big Hero Catalog Button */
.btn-hero-catalog {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--gradient-the-beam);
  color: var(--color-ink) !important;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(183, 219, 212, 0.25);
  transition: transform 0.4s var(--ease-motion), box-shadow 0.4s var(--ease-motion);
}

.btn-hero-catalog:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(183, 219, 212, 0.4);
}

/* Hero Right: Precision Minimal Telemetry Box (Brand Guidelines Page 35, 41) */
.hero-telemetry-box {
  background: var(--color-violet-night-card);
  border: var(--hairline-border);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  position: relative;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  transition: border-color 0.4s ease;
}

.hero-telemetry-box:hover {
  border-color: rgba(183, 219, 212, 0.25);
}

.hero-telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--hairline-border);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-pewter);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.beam-bars-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-lg);
}

.beam-bar-line {
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--gradient-the-beam);
  opacity: 0.8;
}

.telemetry-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.telemetry-item span:first-child {
  color: var(--color-pewter);
  font-family: var(--font-mono);
}

.telemetry-item span:last-child {
  color: var(--color-white);
  font-weight: 500;
  font-family: var(--font-ui);
}

/* --- STATS COUNTER STRIP --- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  background: var(--color-violet-night-card);
  border: var(--hairline-border);
  border-radius: var(--radius-card);
  padding: var(--space-lg) var(--space-xl);
}

.stat-block {
  position: relative;
  padding: 0 var(--space-md);
}

.stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.stat-number {
  font-family: var(--font-ui);
  font-size: clamp(2.4rem, 3.8vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-pewter);
}

/* --- SECTION GENERAL STYLING --- */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
  z-index: 2;
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-white);
  margin-top: var(--space-xs);
}

.section-desc {
  font-size: 1.08rem;
  color: var(--color-pearl);
  line-height: 1.68;
  margin-top: var(--space-md);
  font-weight: 300;
}

/* --- CLEAN, MINIMAL CARDS (Page 34, 35) --- */
.partner-card,
.gov-card,
.division-box,
.market-card {
  background: var(--color-violet-night-card);
  border: var(--hairline-border);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  transition: transform 0.4s var(--ease-motion), border-color 0.4s var(--ease-motion), background-color 0.4s var(--ease-motion), box-shadow 0.4s var(--ease-motion);
  position: relative;
}

.partner-card:hover,
.gov-card:hover,
.division-box:hover,
.market-card:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 219, 212, 0.28);
  background-color: var(--color-violet-night-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* --- GOVERNMENT MEDICAL ORGANIZATIONS (QATAR & JORDAN) --- */
.gov-projects-section {
  background: var(--color-violet-night-deep);
  border-top: var(--hairline-border);
  border-bottom: var(--hairline-border);
}

.gov-tabs-nav {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: var(--space-sm);
}

.gov-tab-btn {
  padding: 10px 22px;
  background: none;
  border: none;
  color: var(--color-pewter);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.3s var(--ease-motion);
}

.gov-tab-btn.active {
  color: var(--color-white);
}

.gov-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: calc(-1 * var(--space-sm) - 1px);
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--gradient-the-beam);
  border-radius: var(--radius-pill);
}

.gov-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.gov-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-mist);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
  display: block;
}

.gov-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
}

.gov-card-desc {
  font-size: 0.925rem;
  color: var(--color-pearl);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  font-weight: 300;
}

.gov-scope-list {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.gov-scope-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--color-mist);
}

/* --- GLOBAL PARTNERS SECTION --- */
.partners-section {
  background: var(--color-violet-night);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: var(--space-lg);
}

.partner-country-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-orchid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  display: block;
}

.partner-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

.partner-domain {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-mist);
  margin-bottom: var(--space-sm);
}

.partner-desc {
  font-size: 0.9rem;
  color: var(--color-pearl);
  line-height: 1.55;
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 300;
}

/* --- 10 SPECIALIST DIVISIONS SECTION --- */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: var(--space-md);
}

.division-box {
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
}

.div-code-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.div-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 6px;
}

.div-desc {
  font-size: 0.875rem;
  color: var(--color-pearl);
  line-height: 1.52;
  font-weight: 300;
}

/* --- CALL TO ACTION BRIDGE: BEAMED TRADING --- */
.catalog-bridge-section {
  background: linear-gradient(180deg, var(--color-violet-night-deep) 0%, #06020A 100%);
  border-top: var(--hairline-border);
  border-bottom: var(--hairline-border);
  padding: var(--space-4xl) 0;
  text-align: center;
}

.catalog-bridge-card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--color-violet-night-card);
  border: 1px solid rgba(183, 219, 212, 0.35);
  border-radius: 20px;
  padding: var(--space-3xl) var(--space-2xl);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.catalog-bridge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-the-beam);
}

.bridge-title {
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
}

.bridge-desc {
  font-size: 1.15rem;
  color: var(--color-pearl);
  max-width: 680px;
  margin: 0 auto var(--space-2xl) auto;
  line-height: 1.65;
  font-weight: 300;
}

.btn-big-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 44px;
  background: var(--gradient-the-beam);
  color: var(--color-ink) !important;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(183, 219, 212, 0.3);
  transition: transform 0.4s var(--ease-motion), box-shadow 0.4s var(--ease-motion);
}

.btn-big-portal:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(183, 219, 212, 0.45);
}

/* --- 4 REGIONAL HUBS --- */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.market-card {
  padding: var(--space-xl) var(--space-lg);
}

.market-flag {
  font-size: 1.85rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.market-office-badge {
  display: block;
  height: 28px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  margin-bottom: var(--space-sm);
  opacity: 0.9;
  transition: opacity 0.3s var(--ease-motion), transform 0.3s var(--ease-motion);
}
.market-card:hover .market-office-badge {
  opacity: 1;
  transform: translateX(2px);
}

.market-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

.market-descriptor {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-orchid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.market-scope {
  font-size: 0.88rem;
  color: var(--color-pearl);
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-sm);
  font-weight: 300;
}

/* --- EXECUTIVE GOVERNANCE & CONTACT --- */
.governance-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  background: var(--color-violet-night-card);
  border: var(--hairline-border);
  border-radius: var(--radius-card);
  padding: var(--space-2xl);
}

.gov-quote-block {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-pearl);
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-beamed-violet);
  margin-top: var(--space-md);
  font-style: italic;
  font-weight: 300;
}

.contact-direct-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.contact-direct-item strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-white);
}

.contact-direct-item span, .contact-direct-item a {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--color-mist);
  text-decoration: none;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--color-violet-night-deep);
  border-top: var(--hairline-border);
  padding: var(--space-3xl) 0 var(--space-xl) 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand-logo {
  height: 42px;
  width: auto;
  margin-bottom: var(--space-md);
}

.footer-copy-text {
  font-size: 0.925rem;
  color: var(--color-pewter);
  line-height: 1.6;
  max-width: 380px;
  font-weight: 300;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--color-pewter);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links-list a:hover {
  color: var(--color-mist);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: var(--hairline-border);
  padding-top: var(--space-lg);
  font-size: 12px;
  color: var(--color-pewter);
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 12px;
}

/* --- PROFESSIONAL MINIMAL SLOW SCROLL ANIMATIONS --- */
.reveal-minimal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--duration-slow) var(--ease-motion), transform var(--duration-slow) var(--ease-motion);
  will-change: opacity, transform;
}

.reveal-minimal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }
.delay-4 { transition-delay: 320ms; }

/* Respect prefers-reduced-motion (Page 37) */
@media (prefers-reduced-motion: reduce) {
  .reveal-minimal, .the-beam.draw-in {
    transition: opacity 0.3s ease !important;
    transform: none !important;
  }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-block:nth-child(2)::after {
    display: none;
  }
  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .governance-contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .btn-catalog-hub {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .stats-strip {
    grid-template-columns: 1fr;
  }
  .stat-block::after {
    display: none !important;
  }
  .markets-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .gov-cards-grid {
    grid-template-columns: 1fr;
  }
  .catalog-bridge-card {
    padding: var(--space-xl) var(--space-md);
  }
  .btn-big-portal {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
  }
}
