/* ============================================
   Armour Business Ventures — Luxury Dark UI
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.loading { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--color-gold-light); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { padding-left: var(--space-lg); }

::selection {
  background: var(--color-gold);
  color: var(--bg-primary);
}

/* ---- Section Labels ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--fs-h5);
  font-weight: var(--fw-light);
  color: var(--color-text-secondary);
  max-width: 640px;
}

.section-header { margin-bottom: var(--space-3xl); }
.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  overflow: visible;
  transition: background var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}

.site-header.nav-transparent {
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.nav-scrolled {
  background: rgba(11, 15, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

.site-header.sticky {
  position: fixed;
}

.navbar-custom {
  padding: 0;
  height: var(--header-height);
  overflow: visible;
}

.site-header .navbar-collapse,
.site-header .navbar-nav {
  overflow: visible;
}

.nav-chevron {
  font-size: 0.6rem;
  margin-left: 0.35rem;
  transition: transform var(--transition-fast);
}

.mega-trigger.is-active .nav-chevron,
.products-trigger.is-active .nav-chevron {
  transform: rotate(180deg);
}

.navbar-nav-main {
  gap: 0.25rem;
}

.nav-item-search {
  margin-left: 0.5rem;
}

.nav-item-cta {
  margin-left: 0.75rem;
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.site-logo {
  display: block;
  width: auto;
  height: 68px;
  max-height: 68px;
  object-fit: contain;
}

.navbar-brand-custom .logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  line-height: 1.2;
}

.navbar-brand-custom .logo-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 1.25rem;
  border: 1px solid var(--border-gold-strong);
}

.nav-link-custom {
  font-family: var(--font-accent);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 0 0.875rem !important;
  position: relative;
  gap: 0.35rem;
}

.nav-link-label {
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.nav-link-animated::after {
  display: none;
}

.nav-link-label::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav-link-animated:hover .nav-link-label::after,
.nav-link-animated.active .nav-link-label::after,
.products-trigger.is-active .nav-link-label::after {
  transform: scaleX(1);
}

.nav-link-custom:hover,
.nav-link-custom.active,
.products-trigger.is-active {
  color: var(--color-gold) !important;
}

/* Products dropdown */
.nav-item-dropdown {
  position: relative;
  overflow: visible;
}

.site-header .navbar-nav .nav-item {
  overflow: visible;
}

.products-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  min-width: 280px;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  z-index: calc(var(--z-sticky) + 50);
}

.products-dropdown-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-panel {
  /* legacy fallback */
  z-index: calc(var(--z-sticky) + 50);
}

.nav-dropdown-shell {
  width: 100%;
  min-width: 280px;
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  padding: 0.5rem 0;
}

.nav-dropdown-link {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: var(--fs-small);
  color: var(--color-text);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  border-left: 2px solid transparent;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  color: var(--color-gold);
  background: rgba(214, 164, 73, 0.08);
  border-left-color: var(--color-gold);
}

/* Mega Menu Panel (legacy — kept for compatibility) */
.mega-menu-panel {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0.5rem var(--container-padding-x) 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  z-index: calc(var(--z-sticky) + 50);
}

.mega-menu-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu-shell {
  width: 100%;
  max-width: 1100px;
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  padding: 40px;
}

.mega-menu-row {
  --bs-gutter-x: 30px;
  --bs-gutter-y: 30px;
  margin-left: 0;
  margin-right: 0;
}

.mega-menu-row > [class*="col-"] {
  display: block;
  min-width: 0;
}

.mega-menu-col {
  padding-top: 0;
  padding-bottom: 0;
}

.mega-col-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h5);
  font-weight: var(--fw-semibold);
  color: var(--color-gold);
  margin: 0 0 0.5rem;
  line-height: var(--lh-snug);
}

.mega-col-desc {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  margin: 0 0 1.25rem;
  line-height: var(--lh-normal);
}

.mega-col-links li + li {
  margin-top: 0.125rem;
}

.mega-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 6px;
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  line-height: 1.4;
  position: relative;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.mega-menu-item::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.35rem;
  height: 1px;
  background: var(--color-gold);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.mega-menu-item:hover,
.mega-menu-item:focus-visible {
  color: var(--color-gold);
  background: rgba(214, 164, 73, 0.08);
}

.mega-menu-item:hover::after,
.mega-menu-item:focus-visible::after {
  opacity: 1;
}

.mega-menu-item-text {
  flex: 1;
  min-width: 0;
}

.mega-menu-item-icon {
  font-size: 0.7rem;
  color: var(--color-gold);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.mega-menu-item:hover .mega-menu-item-icon,
.mega-menu-item:focus-visible .mega-menu-item-icon {
  opacity: 1;
  transform: translateX(3px);
}

/* Mobile Menu */
.mobile-menu-toggle {
  border: 1px solid var(--border-gold);
  background: rgba(21, 27, 35, 0.8);
  padding: 10px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-gold);
  margin: 0;
  flex-shrink: 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-nav-overlay.show { opacity: 1; visibility: visible; }

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(380px, 90vw);
  height: 100vh;
  background: var(--bg-section);
  border-left: 1px solid var(--border-gold);
  z-index: calc(var(--z-overlay) + 1);
  padding: var(--card-padding);
  overflow-y: auto;
  transition: right var(--transition-slower);
}

.mobile-nav-panel.show { right: 0; }

.mobile-nav-link {
  display: block;
  padding: var(--space-md) 0;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  border-bottom: 1px solid var(--border-gold);
}

.mobile-nav-link:hover { color: var(--color-gold); }

.mobile-nav-submenu,
.mobile-accordion-panel {
  padding-left: var(--space-md);
  margin-left: var(--space-xs);
  border-left: 1px solid rgba(214, 164, 73, 0.22);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height var(--transition-slower), opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-nav-submenu.show,
.mobile-accordion-panel.show {
  max-height: 520px;
  opacity: 1;
  visibility: visible;
}

.mobile-accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.mobile-nav-link.has-submenu,
.mobile-accordion-trigger.has-submenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-right: 0;
}

.mobile-nav-label {
  flex: 1;
  min-width: 0;
}

.mobile-subnav-opener {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 0.7rem;
  transition: transform var(--transition-base), background var(--transition-fast), border-color var(--transition-fast);
}

.mobile-accordion-trigger.active {
  color: var(--color-gold);
}

.mobile-accordion-trigger.active .mobile-subnav-opener {
  transform: rotate(180deg);
}

.mobile-accordion-panel .mobile-nav-link {
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  color: var(--color-text-secondary);
  padding: var(--space-sm) 0;
  border-bottom: none;
}

.mobile-accordion-panel .mobile-nav-link:hover {
  color: var(--color-gold);
}

.mobile-accordion-panel .mobile-nav-link:last-child {
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-gold);
}

/* Search */
.search-toggle {
  background: none;
  border: 1px solid var(--border-gold);
  color: var(--color-text);
  font-size: 1rem;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-toggle:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 20, 0.96);
  backdrop-filter: blur(12px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.search-overlay.show { opacity: 1; visibility: visible; }

.search-form { width: min(700px, 90vw); }

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-gold);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  padding: var(--space-md) 0;
  outline: none;
}

.search-input::placeholder { color: var(--color-text-secondary); }

.search-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  background: none;
  border: 1px solid var(--border-gold);
  color: var(--color-text);
  font-size: 1.25rem;
  padding: 8px 12px;
  cursor: pointer;
}

.search-result-item {
  display: block;
  padding: var(--space-md);
  color: var(--color-text);
  border-bottom: 1px solid var(--border-gold);
}

.search-result-item:hover {
  background: var(--bg-card);
  color: var(--color-gold);
}

/* ---- Buttons ---- */
.btn-primary-custom,
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--bg-primary);
  font-family: var(--font-accent);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 1px solid var(--color-gold);
  border-radius: 0;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-base), background var(--transition-base);
}

.btn-primary-custom:hover,
.btn-gold:hover {
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-strong);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(214, 164, 73, 0.4), 0 0 60px rgba(214, 164, 73, 0.15);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-accent);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 1px solid var(--border-gold-strong);
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.btn-outline-custom:hover {
  background: rgba(214, 164, 73, 0.1);
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.btn-outline-gold {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-outline-white {
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background: var(--color-text);
  color: var(--bg-primary);
}

.btn-red {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-text);
}

.btn-red:hover {
  background: var(--color-red-dark);
  color: var(--color-text);
}

.btn-link-custom {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.btn-link-custom i { transition: transform var(--transition-fast); }
.btn-link-custom:hover i { transform: translateX(4px); }

/* ---- Hero Full Screen ---- */
.hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-parallax-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-parallax-wrap img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.55) 0%, rgba(11, 15, 20, 0.75) 50%, rgba(11, 15, 20, 0.95) 100%);
  z-index: 1;
}

.hero-overlay-accent {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(214, 164, 73, 0.08) 0%, transparent 55%);
  z-index: 2;
}

.hero-content-wrap {
  position: relative;
  z-index: 3;
  padding-top: var(--header-height);
  width: 100%;
}

.hero-full h1,
.hero-full h1.hero-title {
  font-size: clamp(2.15rem, 3.75vw, 3.25rem);
  max-width: 900px;
  margin-bottom: var(--space-lg);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-full .hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 620px;
  margin-bottom: var(--space-2xl);
  line-height: var(--lh-relaxed);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
}

/* Legacy hero */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 15, 20, 0.85) 0%, rgba(11, 15, 20, 0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-text);
  max-width: 800px;
}

/* Page Hero */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background-color: var(--bg-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: none;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 15, 20, 0.9) 0%,
    rgba(11, 15, 20, 0.75) 45%,
    rgba(11, 15, 20, 0.88) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: var(--space-md); }

/* Page hero backgrounds — thematic per section */
.page-hero-about { background-image: url('../images/content/about-hero.webp'); }
.page-hero-divisions { background-image: url('../images/content/financial-trading-desk.webp'); }
.page-hero-careers { background-image: url('../images/content/about-hero.webp'); }
.page-hero-commodities { background-image: url('../images/content/about-hero.webp'); }
.page-hero-contact { background-image: url('../images/content/uae-skyline.webp'); }
.page-hero-energy { background-image: url('../images/content/about-hero.webp'); }
.page-hero-esg { background-image: url('../images/content/about-hero.webp'); }
.page-hero-governance { background-image: url('../images/content/commodity-trading-office.webp'); }
.page-hero-leadership { background-image: url('../images/content/commodity-trading-office.webp'); }
.page-hero-media { background-image: url('../images/content/container-port.webp'); }
.page-hero-operations { background-image: url('../images/content/about-hero.webp'); }
.page-hero-partnerships { background-image: url('../images/content/about-hero.webp'); }
.page-hero-policies { background-image: url('../images/content/about-hero.webp'); }

/* Breadcrumb */
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb-custom li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-secondary);
}

.breadcrumb-custom a { color: var(--color-text-secondary); }
.breadcrumb-custom a:hover { color: var(--color-gold); }
.breadcrumb-custom li.active { color: var(--color-gold); }

/* ---- Market Cards ---- */
.market-section {
  position: relative;
  z-index: 5;
  margin-top: -80px;
  padding-bottom: var(--space-2xl);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}

.market-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: var(--card-padding);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  cursor: default;
}

.market-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-strong);
  box-shadow: var(--shadow-gold-strong);
}

.market-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.market-card-name {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.market-card-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  border: 1px solid var(--border-gold);
  color: var(--color-gold);
}

.market-card-price {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.market-card-change {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}

.market-card-change.positive { color: #4ade80; }
.market-card-change.negative { color: var(--color-red); }

.market-trend {
  margin-top: var(--space-md);
  height: 40px;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.market-card:hover .market-trend { opacity: 1; }

.market-trend svg { width: 100%; height: 40px; }

/* ---- Statistics ---- */
.stats-section {
  background: var(--bg-section);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  border-right: 1px solid var(--border-gold);
}

.stat-item:last-child { border-right: none; }

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  line-height: 1;
}

.stat-value .suffix { color: var(--color-gold); }

.stat-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-top: var(--space-md);
}

/* ---- Cards ---- */
.card-custom {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: var(--card-padding);
  height: 100%;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.card-custom:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: var(--border-gold-strong);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(214, 164, 73, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--color-gold);
  font-size: 1.35rem;
}

.card-custom h3 { font-size: var(--fs-h4); margin-bottom: var(--space-md); }
.card-custom p { font-size: var(--fs-small); margin-bottom: 0; }

.card-featured { border-top: 2px solid var(--color-gold); }

.card-dark {
  background: var(--bg-card);
  border-color: var(--border-gold);
}

/* ---- Product Cards Premium ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.product-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--border-gold);
  background: var(--bg-card);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.product-card:hover img { transform: scale(1.08); }

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  transition: background var(--transition-base);
}

.product-card:hover .product-card-overlay {
  background: linear-gradient(to top, rgba(11, 15, 20, 0.98) 0%, rgba(11, 15, 20, 0.5) 60%, rgba(11, 15, 20, 0.2) 100%);
}

.product-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
  transform: translateY(8px);
  transition: transform var(--transition-base);
}

.product-card:hover h3 { transform: translateY(0); }

.product-card .btn-link-custom {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.product-card:hover .btn-link-custom {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Products carousel (AJAX) ---- */
.products-carousel {
  position: relative;
}

.products-carousel-loading,
.products-carousel-error {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  margin-bottom: var(--space-lg);
}

.products-carousel-error {
  color: var(--color-red);
}

.products-carousel-viewport {
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.products-carousel-track {
  display: flex;
  gap: var(--space-lg);
  transition: transform var(--transition-slower);
  will-change: transform;
}

.products-carousel-slide {
  flex: 0 0 calc((100% - (3 * var(--space-lg))) / 4);
  min-width: 0;
}

.products-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.products-carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-gold);
  background: var(--bg-card);
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.products-carousel-btn:hover:not(:disabled) {
  background: rgba(214, 164, 73, 0.12);
  border-color: var(--color-gold);
}

.products-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.products-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-width: 120px;
}

.products-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--border-gold-strong);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.products-carousel-dot.active {
  background: var(--color-gold);
  transform: scale(1.15);
}

@media (max-width: 1199px) {
  .products-carousel-slide {
    flex: 0 0 calc((100% - (2 * var(--space-lg))) / 3);
  }
}

@media (max-width: 991px) {
  .products-carousel-slide {
    flex: 0 0 calc((100% - var(--space-lg)) / 2);
  }
}

@media (max-width: 767px) {
  .products-carousel-slide {
    flex: 0 0 100%;
  }
}

/* ---- Process Timeline Horizontal ---- */
.process-timeline {
  display: flex;
  gap: 0;
  position: relative;
  padding-top: var(--space-2xl);
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.process-step {
  flex: 1;
  text-align: center;
  padding: var(--space-lg);
  position: relative;
}

.process-step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-lg);
  border: 1px solid var(--color-gold);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-gold);
  position: relative;
  z-index: 1;
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.process-step:hover .process-step-num {
  background: var(--color-gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold-strong);
}

.process-step-icon {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.process-step h4 {
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.process-step p {
  font-size: var(--fs-xs);
  margin: 0;
}

/* ---- Global Network ---- */
.network-section {
  background: var(--bg-primary);
  position: relative;
}

.network-layout {
  align-items: stretch;
}

.network-header {
  margin-bottom: var(--space-2xl);
}

.network-header .section-title {
  margin-bottom: 0;
}

.network-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 100%;
}

.network-map-wrap {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  height: 100%;
  min-height: 300px;
}

.network-map-real {
  background:
    radial-gradient(circle at 30% 40%, rgba(214, 164, 73, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 70% 55%, rgba(214, 164, 73, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, #0f141c 0%, #0b0f14 100%);
}

.network-map-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  background: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(214, 164, 73, 0.65);
  pointer-events: auto;
  cursor: default;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.map-pin::after {
  content: '';
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(214, 164, 73, 0.35);
  border-radius: 50%;
}

.map-pin-hq {
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  box-shadow: 0 0 16px rgba(214, 164, 73, 0.8);
}

.map-pin-hq::after {
  inset: -9px;
  border-color: rgba(214, 164, 73, 0.5);
}

.map-pin.active,
.network-node.active {
  transform: scale(1.2);
  box-shadow: 0 0 18px rgba(214, 164, 73, 0.9);
}

.network-map-image,
.network-map-svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  padding: var(--space-md);
}

.network-map-real .network-map-image {
  opacity: 0.9;
  filter: brightness(0) invert(0.82);
  mix-blend-mode: screen;
  padding: var(--space-lg) var(--space-md);
}

.network-cta {
  margin-top: var(--space-xl);
  align-self: flex-start;
}

.network-country-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  overflow: hidden;
}

.network-country-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-gold);
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
  cursor: default;
}

.network-country-list li:hover {
  background: rgba(214, 164, 73, 0.06);
  color: var(--color-gold);
  padding-left: calc(var(--space-lg) + 8px);
}

.network-country-list li span:last-child {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-gold);
}

.network-country-list li.active,
.network-node.active circle {
  color: var(--color-gold);
}

.network-country-list li.active {
  background: rgba(214, 164, 73, 0.1);
  color: var(--color-gold);
  padding-left: calc(var(--space-lg) + 8px);
  border-bottom-color: var(--border-gold);
}

/* ---- News Cards ---- */
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: var(--border-gold-strong);
}

.news-card-image { overflow: hidden; position: relative; }

.news-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slower);
  opacity: 0.9;
}

.news-card:hover .news-card-image img { transform: scale(1.06); }

.news-card-body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-category {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.news-date {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.news-card h3 {
  font-size: var(--fs-h5);
  margin-bottom: var(--space-md);
  transition: color var(--transition-fast);
}

.news-card:hover h3 { color: var(--color-gold); }

.news-card p { font-size: var(--fs-small); flex: 1; }

/* ---- CTA ---- */
.cta-banner {
  background-color: var(--bg-primary);
  background-image: url('../images/content/call-to-action.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 15, 20, 0.9) 0%, rgba(11, 15, 20, 0.78) 50%, rgba(11, 15, 20, 0.9) 100%),
    radial-gradient(circle at 85% 15%, rgba(214, 164, 73, 0.14) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.cta-banner .container-custom {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  font-size: var(--fs-h5);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.cta-banner.cta-red {
  background-image: url('../images/content/call-to-action.webp');
  background-size: cover;
  background-position: center;
}

.cta-banner.cta-red::before {
  background:
    linear-gradient(135deg, rgba(200, 16, 46, 0.25) 0%, rgba(11, 15, 20, 0.88) 55%, rgba(11, 15, 20, 0.92) 100%),
    radial-gradient(circle at 85% 15%, rgba(214, 164, 73, 0.1) 0%, transparent 55%);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-gold);
  color: var(--color-text-secondary);
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.footer-logo-link {
  display: block;
  margin-bottom: var(--space-lg);
}

.footer-logo {
  display: block;
  width: auto;
  height: 88px;
  max-height: 96px;
  object-fit: contain;
}

.footer-brand p {
  font-size: var(--fs-small);
  padding-right: 30px;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: var(--space-sm); }

.footer-links a {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--color-gold); }

.footer-bottom {
  border-top: 1px solid var(--border-gold);
  padding: var(--space-xl) 0;
  margin-top: var(--space-3xl);
}

.footer-bottom p {
  font-size: var(--fs-xs);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold);
}

/* ---- Forms ---- */
.form-group-custom { margin-bottom: var(--space-lg); }

.form-label-custom {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.form-control-custom {
  width: 100%;
  padding: 0.875rem var(--space-md);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--bg-section);
  border: 1px solid var(--border-gold);
  border-radius: 0;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(214, 164, 73, 0.12);
}

.form-control-custom.error { border-color: var(--color-red); }

.form-error {
  font-size: var(--fs-xs);
  color: var(--color-red);
  margin-top: var(--space-xs);
  display: none;
}

.form-error.show { display: block; }

.form-success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  display: none;
}

.form-success.show { display: block; }

.form-feedback-error {
  background: rgba(200, 16, 46, 0.1);
  border: 1px solid rgba(200, 16, 46, 0.35);
  color: var(--color-red);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  display: none;
}

.form-feedback-error.show { display: block; }

/* ---- FAQ, Timeline, etc. ---- */
.faq-item { border-bottom: 1px solid var(--border-gold); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: var(--fs-h5);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}

.faq-question:hover { color: var(--color-gold); }
.faq-question i { color: var(--color-gold); transition: transform var(--transition-base); }
.faq-question.active i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer.show {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}

.timeline {
  position: relative;
  padding-left: var(--space-3xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-gold);
}

.timeline-item { position: relative; padding-bottom: var(--space-2xl); }

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-3xl) + 4px);
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--color-gold);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 1px var(--color-gold);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: var(--fs-h4);
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

/* ---- Feature Highlights ---- */
.feature-highlight {
  display: flex;
  gap: var(--space-lg);
  padding: var(--card-padding);
  border: 1px solid var(--border-gold);
  background: var(--bg-card);
  height: 100%;
  align-items: flex-start;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.feature-highlight:hover {
  border-color: var(--border-gold-strong);
  box-shadow: var(--shadow-gold);
}

.feature-highlight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.15rem;
}

.feature-highlight h4 {
  font-size: var(--fs-h5);
  margin-bottom: var(--space-xs);
}

.feature-highlight p {
  font-size: var(--fs-small);
  margin: 0;
}

/* ---- Misc Components ---- */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: stretch;
}

.split-layout > * {
  min-height: 0;
}

/* Vertically balance text against image column */
.split-layout > :not(.img-frame) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-layout > :not(.img-frame) > .feature-highlight {
  height: auto;
  flex: 0 0 auto;
}

.split-layout .img-frame {
  min-height: 0;
  overflow: hidden;
  align-self: stretch;
  display: flex;
}

.split-layout .img-frame img {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.split-layout.reverse { direction: rtl; }
.split-layout.reverse > * { direction: ltr; }

.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-left: 3px solid var(--color-gold);
  padding: var(--card-padding);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.value-item { text-align: center; padding: var(--space-xl); }

.value-number {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.leadership-card { text-align: center; }

.leadership-photo {
  overflow: hidden;
  margin-bottom: var(--space-lg);
  border: 1px solid var(--border-gold);
}

.leadership-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter var(--transition-base), transform var(--transition-slower);
}

.leadership-card:hover .leadership-photo img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.leadership-title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
}

.partner-logo {
  opacity: 0.45;
  filter: grayscale(100%) brightness(1.2);
  transition: opacity var(--transition-base), filter var(--transition-base);
  max-height: 48px;
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

.progress-bar-custom {
  height: 3px;
  background: var(--bg-section);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold));
  width: 0;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: var(--card-padding);
  text-align: center;
  height: 100%;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.contact-card:hover {
  box-shadow: var(--shadow-gold);
  border-color: var(--border-gold-strong);
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(214, 164, 73, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--color-gold);
  font-size: 1.35rem;
}

/* ---- Contact enquiry section ---- */
.contact-enquiry-layout {
  align-items: flex-start;
}

.contact-enquiry-intro {
  margin-bottom: 0;
  max-width: 36rem;
}

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--border-gold-strong);
  box-shadow: var(--shadow-gold);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1rem;
  background: rgba(214, 164, 73, 0.08);
}

.contact-info-card h4 {
  font-size: var(--fs-h5);
  margin-bottom: var(--space-xs);
}

.contact-info-card p {
  font-size: var(--fs-small);
  margin: 0;
  color: var(--color-text-secondary);
}

.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: var(--card-padding);
}

.contact-form-panel .form-group-custom:last-of-type {
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-gold);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 20, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(214, 164, 73, 0.25);
}

.gallery-item-overlay i {
  color: var(--color-gold);
  font-size: 1.5rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay i {
  opacity: 1;
  transform: scale(1);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17, 24, 39, 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-gold);
  padding: var(--space-lg) 0;
  z-index: var(--z-fixed);
}

.cookie-banner p {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  margin: 0;
}

.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base), background var(--transition-fast), box-shadow var(--transition-fast);
  z-index: var(--z-fixed);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold-strong);
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl);
  background: var(--bg-primary);
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: var(--fw-bold);
  color: var(--color-gold);
  line-height: 1;
}

.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: var(--z-loading);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-screen .preloader-logo-wrap {
  width: clamp(100px, 22vw, 140px);
  aspect-ratio: 438 / 250;
  overflow: hidden;
  line-height: 0;
}

.loading-screen .preloader-logo {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
}

.tab-btn-custom {
  padding: var(--space-md) var(--space-xl);
  background: none;
  border: none;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.tab-btn-custom:hover,
.tab-btn-custom.active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-nav-custom {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: var(--space-2xl);
  overflow-x: auto;
}

.commodity-table { width: 100%; border-collapse: collapse; }

.commodity-table th {
  background: var(--bg-card);
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--border-gold);
}

.commodity-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-gold);
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

.commodity-table tr:hover td { background: rgba(214, 164, 73, 0.04); }

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--color-text);
}

.modal-header { border-bottom: 1px solid var(--border-gold); }
.modal-footer { border-top: 1px solid var(--border-gold); }

.btn-close { filter: invert(1); }

.bg-section { background: var(--bg-section); }
.bg-card { background: var(--bg-card); }

.text-gold { color: var(--color-gold) !important; }
.text-red { color: var(--color-red) !important; }

.operations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gutter);
}

.operation-card {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--border-gold);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.operation-card:hover {
  border-color: var(--border-gold-strong);
  box-shadow: var(--shadow-gold);
}

.operation-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.operation-card:hover img {
  transform: scale(1.05);
}

.operation-card-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  font-size: 1rem;
  background: rgba(11, 15, 20, 0.5);
}

.operation-card-content {
  position: relative;
  z-index: 2;
  padding: var(--card-padding);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(11, 15, 20, 0.92) 0%, transparent 70%);
  color: var(--color-text);
}

.operation-card-content h3 {
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.operation-card-content p {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  margin: 0;
}

/* ---- Page component extensions ---- */
.esg-pillar,
.governance-node,
.career-card,
.division-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: var(--card-padding);
  height: 100%;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.esg-pillar:hover,
.governance-node:hover,
.career-card:hover,
.division-card:hover {
  border-color: var(--border-gold-strong);
  box-shadow: var(--shadow-gold);
}

.esg-pillar-icon,
.division-card-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  font-size: 1.25rem;
}

.governance-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.career-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.career-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(214, 164, 73, 0.08);
}

.content-narrow {
  max-width: var(--content-max-width);
}

.policy-section h3 {
  font-size: var(--fs-h4);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.policy-section p,
.policy-section li {
  color: var(--color-text-secondary);
}

.policy-section ul {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

