/* ═══════════════════════════════════════════════════════════════════════════════
   YNS International General Trading LLC
   Premium Corporate Website — v2.0 Design System
   Rebuilt: Light/Dark theme, new brand colors #3376FF / #FF0000
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   1. BRAND CONSTANTS (Never change per theme)
   ───────────────────────────────────────── */
:root {
  /* Core YNS Brand — Logo-derived */
  --brand-blue: #3376FF;
  --brand-blue-rgb: 51, 118, 255;
  --brand-blue-dark: #1A5BEB;
  --brand-blue-deeper: #0D42CC;
  --brand-blue-light: #6699FF;
  --brand-blue-glow: rgba(51, 118, 255, 0.35);

  --brand-red: #FF0000;
  --brand-red-rgb: 255, 0, 0;
  --brand-red-dark: #CC0000;
  --brand-red-glow: rgba(255, 0, 0, 0.3);
  --brand-red-subtle: rgba(255, 0, 0, 0.08);

  --brand-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-num: 'Manrope', system-ui, sans-serif;

  /* Spacing */
  --section-gap: clamp(60px, 8vw, 120px);
  --container-max: 1320px;
  --container-pad: clamp(16px, 3.5vw, 56px);

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-theme: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Z-Index Scale */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-preloader: 999;
}

/* ─────────────────────────────────────────
   2. LIGHT MODE TOKENS (Default)
   ───────────────────────────────────────── */
:root,
[data-theme="light"] {
  /* Backgrounds */
  --bg-base: #F7F8FC;
  --bg-surface: #FFFFFF;
  --bg-surface-2: #F0F2F8;
  --bg-surface-3: #E8ECF5;
  --bg-dark-section: #050E22;
  --bg-dark-section-2: #0A1628;

  /* Navbar */
  --nav-bg: #FFFFFF;
  --nav-bg-scrolled: rgba(255, 255, 255, 0.96);
  --nav-border: rgba(51, 118, 255, 0.1);
  --nav-shadow: 0 2px 20px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(51, 118, 255, 0.1);
  --nav-link-color: #1A2A44;
  --nav-link-hover: var(--brand-blue);
  --nav-logo-name: #0A1628;
  --nav-logo-sub: var(--brand-blue);

  /* Text */
  --text-primary: #0A1628;
  --text-secondary: #3A4A6B;
  --text-tertiary: #6B7A9A;
  --text-muted: #9AA5BE;
  --text-on-dark: rgba(255, 255, 255, 0.9);
  --text-on-dark-muted: rgba(255, 255, 255, 0.55);

  /* Borders */
  --border-color: rgba(51, 118, 255, 0.12);
  --border-strong: rgba(51, 118, 255, 0.25);
  --border-subtle: rgba(0, 0, 0, 0.06);

  /* Cards — Light sections */
  --card-bg: #FFFFFF;
  --card-bg-hover: #F5F7FF;
  --card-border: rgba(51, 118, 255, 0.1);
  --card-border-hover: rgba(51, 118, 255, 0.3);
  --card-shadow: 0 4px 20px rgba(51, 118, 255, 0.08);
  --card-shadow-hover: 0 12px 40px rgba(51, 118, 255, 0.15);

  /* Cards — Dark sections (products, global reach) */
  --card-dark-bg: rgba(255, 255, 255, 0.06);
  --card-dark-bg-hover: rgba(255, 255, 255, 0.10);
  --card-dark-border: rgba(51, 118, 255, 0.2);
  --card-dark-border-hover: rgba(51, 118, 255, 0.45);

  /* Icons */
  --icon-bg: rgba(51, 118, 255, 0.08);
  --icon-bg-hover: var(--brand-red);
  --icon-color: var(--brand-blue);

  /* Form */
  --form-bg: #FFFFFF;
  --form-border: rgba(51, 118, 255, 0.2);
  --form-border-focus: var(--brand-blue);
  --form-text: #0A1628;
  --form-placeholder: #9AA5BE;

  /* Section Label */
  --label-color: var(--brand-blue);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(51, 118, 255, 0.12);
  --shadow-lg: 0 24px 64px rgba(51, 118, 255, 0.15);
  --shadow-red: 0 8px 32px rgba(255, 0, 0, 0.25);
  --shadow-blue: 0 8px 32px rgba(51, 118, 255, 0.25);

  /* Globe / Hero canvas colors */
  --globe-line-color: rgba(51, 118, 255, 0.18);
  --globe-equator-color: rgba(51, 118, 255, 0.3);
  --globe-outer-color: rgba(51, 118, 255, 0.25);

  /* Route lines (always on dark hero) */
  --route-color-1: rgba(51, 118, 255, 0.35);
  --route-color-2: rgba(51, 118, 255, 0.22);
  --route-color-3: rgba(51, 118, 255, 0.18);

  /* Scroll progress */
  --progress-gradient: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
}

/* ─────────────────────────────────────────
   3. DARK MODE TOKENS
   ───────────────────────────────────────── */
[data-theme="dark"] {
  /* Backgrounds */
  --bg-base: #060E1A;
  --bg-surface: #0C1828;
  --bg-surface-2: #101E32;
  --bg-surface-3: #162338;
  --bg-dark-section: #050E22;
  --bg-dark-section-2: #040A14;

  /* Navbar */
  --nav-bg: rgba(6, 14, 26, 0.85);
  --nav-bg-scrolled: rgba(6, 14, 26, 0.95);
  --nav-border: rgba(51, 118, 255, 0.15);
  --nav-shadow: 0 2px 20px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(51, 118, 255, 0.12);
  --nav-link-color: rgba(255, 255, 255, 0.8);
  --nav-link-hover: #FFFFFF;
  --nav-logo-name: #FFFFFF;
  --nav-logo-sub: var(--brand-blue-light);

  /* Text */
  --text-primary: #EEF2FF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.45);
  --text-muted: rgba(255, 255, 255, 0.3);
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-muted: rgba(255, 255, 255, 0.5);

  /* Borders */
  --border-color: rgba(51, 118, 255, 0.15);
  --border-strong: rgba(51, 118, 255, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.06);

  /* Cards — "Light" sections become mid-dark */
  --card-bg: #0E1D35;
  --card-bg-hover: #142444;
  --card-border: rgba(51, 118, 255, 0.15);
  --card-border-hover: rgba(51, 118, 255, 0.4);
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 12px 40px rgba(51, 118, 255, 0.2);

  /* Cards — Dark sections */
  --card-dark-bg: rgba(255, 255, 255, 0.04);
  --card-dark-bg-hover: rgba(255, 255, 255, 0.07);
  --card-dark-border: rgba(51, 118, 255, 0.15);
  --card-dark-border-hover: rgba(51, 118, 255, 0.35);

  /* Icons */
  --icon-bg: rgba(51, 118, 255, 0.12);
  --icon-bg-hover: var(--brand-red);
  --icon-color: var(--brand-blue-light);

  /* Form */
  --form-bg: rgba(14, 29, 53, 0.8);
  --form-border: rgba(51, 118, 255, 0.2);
  --form-border-focus: var(--brand-blue);
  --form-text: #EEF2FF;
  --form-placeholder: rgba(255, 255, 255, 0.3);

  /* Section Label */
  --label-color: var(--brand-blue-light);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-red: 0 8px 32px rgba(255, 0, 0, 0.2);
  --shadow-blue: 0 8px 32px rgba(51, 118, 255, 0.2);

  /* Globe */
  --globe-line-color: rgba(51, 118, 255, 0.15);
  --globe-equator-color: rgba(51, 118, 255, 0.25);
  --globe-outer-color: rgba(51, 118, 255, 0.2);
}

/* ─────────────────────────────────────────
   4. Theme Transition (Smooth color switch)
   ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition-property: background-color, border-color, color, fill, stroke, box-shadow;
  transition-duration: var(--transition-theme);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* But don't transition these (causes visual glitches) */
.preloader,
.preloader *,
canvas,
.hero__globe-canvas,
.world-viz__canvas {
  transition: none !important;
}

/* ─────────────────────────────────────────
   5. CSS Reset & Base
   ───────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.preloader-active {
  overflow: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
svg { flex-shrink: 0; }

/* ─────────────────────────────────────────
   6. Accessibility
   ───────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 20px;
  padding: 12px 24px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: calc(var(--z-preloader) + 1);
  transition: top var(--transition-fast) !important;
}
.skip-link:focus { top: 20px; }

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ─────────────────────────────────────────
   7. Typography
   ───────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label-color);
  margin-bottom: 16px;
}

.section-label--light { color: var(--brand-blue-light); }
.section-label__line {
  display: block;
  width: 32px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-title--light { color: #fff; }

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 56px;
}

.section-subtitle--light { color: rgba(255,255,255,0.6); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto 56px;
}

.text-accent { color: var(--brand-red); }
.text-blue { color: var(--brand-blue); }

/* Dark-section overrides */
.section--dark .section-label { color: var(--brand-blue-light); }
.section--dark .section-label__line { background: var(--brand-blue-light); }
.section--dark .section-subtitle { color: rgba(255,255,255,0.55); }
.section--dark .section-title { color: #fff; }

/* ─────────────────────────────────────────
   8. Layout
   ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section--dark {
  background: var(--bg-dark-section);
  color: rgba(255,255,255,0.85);
}

/* ─────────────────────────────────────────
   9. Scroll Progress Indicator
   ───────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--progress-gradient);
  z-index: calc(var(--z-preloader) - 1);
  transition: width 50ms linear !important;
}

/* ─────────────────────────────────────────
   10. PRELOADER — Full Screen
   ───────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  background: #050E22;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 700ms ease, visibility 700ms ease !important;
}

.preloader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader.is-hidden {
  display: none;
}

/* Full-bleed video — true cinematic experience */
.preloader__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: none !important;
}

/* Radial atmosphere behind the video */
.preloader__atmosphere {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    rgba(51, 118, 255, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

/* Brand name overlay — top left */
.preloader__brand {
  position: absolute;
  top: 40px;
  left: 48px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: preloader-brand-in 0.6s ease forwards 0.8s;
}

@keyframes preloader-brand-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.preloader__brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.01em;
}

.preloader__brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--brand-blue-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Progress bar — bottom */
.preloader__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: none;
}

/* Animated loading label */
.preloader__loading-label {
  position: absolute;
  bottom: 120px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FF0000;
  opacity: 0;
  animation: preloader-brand-in 0.5s ease forwards 0.6s;
}

.preloader__loading-dots::after {
  content: '';
  display: inline-block;
  width: 1.6em;
  text-align: left;
  animation: dot-ellipsis 1.4s steps(4, end) infinite;
}

@keyframes dot-ellipsis {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

.preloader__progress-bar {
  height: 5px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  transition: width 60ms linear !important;
}

/* Loading text bottom-right */
.preloader__loading-text {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  opacity: 0;
  animation: preloader-brand-in 0.6s ease forwards 1.2s;
}

/* Cinematic black bars top/bottom (optional premium feel) */
.preloader__bar-top,
.preloader__bar-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  background: #fdfdff;
  z-index: 2;
  pointer-events: none;
  transition: height 600ms ease !important;
}

.preloader__bar-top { top: 0; }
.preloader__bar-bottom { bottom: 0; }

.preloader.is-hiding .preloader__bar-top,
.preloader.is-hiding .preloader__bar-bottom {
  height: 0;
}

/* Globe expand overlay (transition to hero) */
.preloader__globe-expand {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(51, 118, 255, 0.25) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 900ms ease, transform 900ms ease !important;
  pointer-events: none;
  z-index: 4;
}

.preloader__globe-expand.is-expanding {
  opacity: 1;
  transform: scale(4);
}

/* ─────────────────────────────────────────
   11. Navigation — White / Glass
   ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
}

.navbar {
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  padding: 20px 0;
  transition: padding var(--transition-base),
              background var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base) !important;
}

.navbar.is-scrolled {
  padding: 14px 0;
  background: var(--nav-bg-scrolled);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--nav-border);
  box-shadow: var(--nav-shadow);
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar__logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 0;
  transition: transform var(--transition-base) !important;
  box-shadow: none;
}

.navbar__logo:hover .navbar__logo-img {
  transform: scale(1.05);
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.navbar__logo-name {
  font-family: 'Kanit', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--nav-logo-name);
  line-height: 1.15;
  letter-spacing: 0em;
}

.navbar__logo-sub {
  font-family: 'Kanit', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--nav-logo-sub);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Desktop Links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.navbar__link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nav-link-color);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  position: relative;
  letter-spacing: 0.01em;
  transition: color var(--transition-fast),
              background var(--transition-fast) !important;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base) !important;
}

.navbar__link:hover {
  color: var(--nav-link-hover);
  background: rgba(51, 118, 255, 0.06);
}

.navbar__link:hover::after,
.navbar__link.is-active::after {
  transform: scaleX(1);
}

.navbar__link.is-active {
  color: var(--brand-blue);
}

.navbar__link--cta {
  background: var(--brand-red);
  color: #fff !important;
  padding: 9px 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast) !important;
}

.navbar__link--cta::after { display: none; }

.navbar__link--cta:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

/* Nav right side actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(51, 118, 255, 0.08);
  border: 1.5px solid var(--nav-border);
  color: var(--nav-link-color);
  cursor: pointer;
  transition: background var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-spring) !important;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: rgba(51, 118, 255, 0.14);
  border-color: var(--brand-blue);
  transform: scale(1.08);
}

.theme-toggle__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* Light mode: show sun (and hide moon) */
[data-theme="light"] .theme-toggle__moon { opacity: 0; transform: translate(-50%, -50%) rotate(90deg) scale(0.5); }
[data-theme="light"] .theme-toggle__sun { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1); }

/* Dark mode: show moon (and hide sun) */
[data-theme="dark"] .theme-toggle__sun { opacity: 0; transform: translate(-50%, -50%) rotate(-90deg) scale(0.5); }
[data-theme="dark"] .theme-toggle__moon { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1); }

/* Default state before JS runs (show sun) */
.theme-toggle__moon { opacity: 0; transform: translate(-50%, -50%) rotate(90deg) scale(0.5); }
.theme-toggle__sun { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1); }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast) !important;
}

.navbar__hamburger:hover {
  background: rgba(51, 118, 255, 0.08);
}

.navbar__hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--nav-link-color);
  border-radius: 2px;
  transform-origin: left center;
  transition: transform var(--transition-base),
              opacity var(--transition-base) !important;
}

.navbar__hamburger.is-open .navbar__hamburger-line:nth-child(1) { transform: rotate(45deg) translate(1px, -1px); }
.navbar__hamburger.is-open .navbar__hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.is-open .navbar__hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(1px, 1px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-sticky) - 1);
  display: flex;
  align-items: stretch;
  pointer-events: none;
}

.mobile-menu:not([hidden]) { pointer-events: auto; }

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 34, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-base) !important;
}

.mobile-menu:not([hidden]) .mobile-menu__backdrop { opacity: 1; }

.mobile-menu__nav {
  position: relative;
  margin-left: auto;
  width: min(360px, 90vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 100px 32px 48px;
  transform: translateX(100%);
  transition: transform var(--transition-slow) !important;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-menu:not([hidden]) .mobile-menu__nav { transform: translateX(0); }

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast),
              padding-left var(--transition-base) !important;
  letter-spacing: -0.01em;
}

.mobile-menu__link:hover {
  color: var(--brand-blue);
  padding-left: 8px;
}

.mobile-menu__link--cta {
  margin-top: 24px;
  color: var(--brand-red) !important;
  border-bottom-color: transparent;
  font-size: 1.25rem;
}

.mobile-menu__footer {
  margin-top: auto;
  padding-top: 32px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────
   12. Button System
   ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  text-decoration: none;
  user-select: none;
  transition: background var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast),
              color var(--transition-fast) !important;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--transition-fast) !important;
}

.btn:hover::before { opacity: 1; }

.btn--primary {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}

.btn--primary:hover {
  background: var(--brand-red-dark);
  border-color: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn--blue {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.btn--blue:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn--ghost-blue {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn--ghost-blue:hover {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn--full { width: 100%; justify-content: center; }

.btn__icon {
  display: flex;
  align-items: center;
  transition: transform var(--transition-base) !important;
}

.btn:hover .btn__icon { transform: translateX(4px); }

/* ─────────────────────────────────────────
   13. HERO SECTION
   ───────────────────────────────────────── */
.hero {
  min-height: 100svh;
  position: relative;
  background: #050E22;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* ─── Hero Carousel Background ─── */
.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__carousel-track {
  position: absolute;
  inset: 0;
}

.hero__carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.hero__carousel-slide.is-active {
  opacity: 1;
}

.hero__carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Ken-Burns slow zoom on active slide */
  transform: scale(1.08);
  transition: transform 6s ease-out;
  will-change: transform;
}

.hero__carousel-slide.is-active .hero__carousel-img {
  transform: scale(1);
}

/* Multi-layer overlay: bottom-heavy dark + brand blue tint at top */
.hero__carousel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(5, 14, 34, 0.85) 0%,
      rgba(5, 14, 34, 0.72) 40%,
      rgba(5, 14, 34, 0.88) 75%,
      rgba(5, 14, 34, 0.96) 100%);
  pointer-events: none;
}

/* Dot indicators */
.hero__carousel-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero__carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.hero__carousel-dot.is-active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

.hero__carousel-dot:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.65);
  transform: scale(1.2);
}

/* Prev / Next arrows */
.hero__carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 14, 34, 0.45);
  backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero__carousel-arrow:hover {
  background: rgba(51, 118, 255, 0.55);
  border-color: rgba(51, 118, 255, 0.7);
  transform: translateY(-50%) scale(1.08);
}

.hero__carousel-arrow--prev { left: 24px; }
.hero__carousel-arrow--next { right: 24px; }

@media (max-width: 600px) {
  .hero__carousel-arrow {
    width: 36px;
    height: 36px;
  }
  .hero__carousel-arrow--prev { left: 10px; }
  .hero__carousel-arrow--next { right: 10px; }
}

@media (max-width: 400px) {
  .hero__carousel-arrow {
    width: 32px;
    height: 32px;
  }
  .hero__carousel-arrow svg { width: 14px; height: 14px; }
  .hero__carousel-arrow--prev { left: 6px; }
  .hero__carousel-arrow--next { right: 6px; }
}



.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__atmosphere-radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 50% 50%, rgba(51, 118, 255, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 35% 55% at 75% 25%, rgba(51, 118, 255, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 45% 65% at 15% 70%, rgba(51, 118, 255, 0.06) 0%, transparent 55%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(51, 118, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 118, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 75%);
}

/* Trade Routes SVG — hidden */
.hero__routes {
  display: none;
}

.hero__routes-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* Animated trade route lines */
.route-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: draw-route 3.5s ease forwards;
}

.route-path--1 { animation-delay: 0.3s; }
.route-path--2 { animation-delay: 0.7s; }
.route-path--3 { animation-delay: 1.1s; }
.route-path--4 { animation-delay: 0.9s; }
.route-path--5 { animation-delay: 1.4s; }

@keyframes draw-route {
  to { stroke-dashoffset: 0; }
}

/* Animated traveling dots on routes */
.route-traveler {
  animation: travel-dot linear infinite;
}

.route-traveler--1 { animation-duration: 8s; animation-delay: 2s; }
.route-traveler--2 { animation-duration: 10s; animation-delay: 3s; }
.route-traveler--3 { animation-duration: 7s; animation-delay: 4s; }

@keyframes travel-dot {
  0% { opacity: 0; offset-distance: 0%; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { opacity: 0; offset-distance: 100%; }
}

.route-node {
  opacity: 0;
  animation: fade-node 0.4s ease forwards;
}

.route-node:nth-child(6)  { animation-delay: 2.2s; }
.route-node:nth-child(7)  { animation-delay: 2.5s; }
.route-node:nth-child(8)  { animation-delay: 2.8s; }
.route-node:nth-child(9)  { animation-delay: 3.1s; }
.route-node:nth-child(10) { animation-delay: 3.4s; }
.route-node:nth-child(11) { animation-delay: 3.7s; }
.route-node:nth-child(12) { animation-delay: 4.0s; }

@keyframes fade-node { to { opacity: 1; } }

/* Node pulse rings */
.route-pulse {
  opacity: 0;
  transform-origin: center;
  animation: node-pulse 3s ease-out infinite;
}

.route-pulse--1 { animation-delay: 3s; }
.route-pulse--2 { animation-delay: 3.5s; }
.route-pulse--3 { animation-delay: 4s; }
.route-pulse--4 { animation-delay: 4.5s; }

@keyframes node-pulse {
  0%   { opacity: 0; transform: scale(0.5); }
  20%  { opacity: 0.6; }
  100% { opacity: 0; transform: scale(3); }
}

/* Hero Content */
.hero__container {
  position: relative;
  z-index: var(--z-raised);
}

.hero__content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-item 0.7s ease forwards 0.2s;
}

.hero__eyebrow-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  opacity: 0.7;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: reveal-item 0.8s ease forwards 0.4s;
}

.hero__headline-accent {
  color: var(--brand-red);
  display: block;
  -webkit-text-stroke: 0;
}

/* Outlined text style for secondary headline word */
.hero__headline-outline {
  -webkit-text-stroke: 2px var(--brand-blue);
  color: transparent;
}

.hero__subheadline {
  font-size: clamp(0.92rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 36px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(24px);
  animation: reveal-item 0.8s ease forwards 0.6s;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-item 0.8s ease forwards 0.8s;
}

/* Hero Trust Bar */
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(51, 118, 255, 0.2);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-item 0.8s ease forwards 1.0s;
  /* centre the bar inside the centred content block */
  margin: 0 auto;
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 16px 26px;
  position: relative;
}

.hero__trust-item + .hero__trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(51, 118, 255, 0.2);
}

.hero__trust-num {
  font-family: var(--font-num);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero__trust-num--red { color: var(--brand-red); }
.hero__trust-num--blue { color: var(--brand-blue-light); }

.hero__trust-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 48px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: reveal-item 1s ease forwards 1.6s;
  text-decoration: none;
  transition: opacity var(--transition-base) !important;
}

.hero__scroll:hover {
  opacity: 0.85 !important;
}

/* Red-emphasis treatment: pill container */
.hero__scroll-mouse {
  width: 32px;
  height: 50px;
  border: 2px solid rgba(255, 0, 0, 0.55);
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  background: rgba(255, 0, 0, 0.12);
  transition: border-color var(--transition-base), background var(--transition-base) !important;
}

.hero__scroll:hover .hero__scroll-mouse {
  border-color: rgba(255, 0, 0, 0.8);
  background: rgba(255, 0, 0, 0.2);
}

/* Wheel dot — red to match the container */
.hero__scroll-wheel {
  width: 4px;
  height: 10px;
  background: var(--brand-red);
  border-radius: 2px;
  animation: scroll-wheel 2s ease infinite;
}

@keyframes scroll-wheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(16px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  80% { opacity: 1; }
}

.hero__scroll-text {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255, 0, 0, 0.65);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes reveal-item {
  to { opacity: 1; transform: translateY(0); }
}

/* Arc divider */
.arc-divider--hero-to-about {
  position: relative;
  height: 60px;
  margin-top: -60px;
  background: var(--bg-base);
  clip-path: ellipse(65% 100% at 50% 100%);
  z-index: var(--z-raised);
}

/* ─────────────────────────────────────────
   14. About Section
   ───────────────────────────────────────── */
.about {
  background: var(--bg-base);
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(80px, 10vw, 120px);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}

/* Logo Showcase */
.about__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  /* Extra breathing room on the visual column */
  padding: 16px 0;
}

.about__logo-showcase {
  position: relative;
  /*
    360px container (up from 340px) gives the outermost ring
    comfortable space to breathe without clipping.
    overflow:visible — rings intentionally extend beyond bounds.
  */
  width: min(360px, 84vw);
  height: min(360px, 84vw);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}


.about__logo-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(51, 118, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.12); opacity: 1; }
}

.about__logo-img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 60px rgba(51, 118, 255, 0.15));
  transition: transform var(--transition-slow) !important;
}

.about__logo-showcase:hover .about__logo-img {
  transform: scale(1.04);
}

.about__logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: orbit-ring linear infinite;
}

.about__logo-ring--1 {
  /*
    Was 85%: gap from 72%-wide logo = (85-72)/2 = 6.5% ≈ 22px.
    Now 103%: gap = (103-72)/2 = 15.5% ≈ 56px. Clearly visible air.
  */
  width: 103%; height: 103%;
  border-color: rgba(51, 118, 255, 0.22);
  animation-duration: 20s;
}

.about__logo-ring--2 {
  width: 119%; height: 119%;  /* was 100% */
  border-color: rgba(51, 118, 255, 0.11);
  border-style: dashed;
  animation-duration: 35s;
  animation-direction: reverse;
}

.about__logo-ring--3 {
  width: 135%; height: 135%;  /* was 115% */
  border-color: rgba(51, 118, 255, 0.055);
  animation-duration: 55s;
}


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

.about__location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-surface-2);
  color: var(--brand-blue);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* About Content */
.about__description {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

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

.about__highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base) !important;
}

.about__highlight:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.about__highlight-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg);
  border-radius: var(--radius-sm);
  color: var(--icon-color);
  transition: background var(--transition-base), color var(--transition-base) !important;
}

.about__highlight:hover .about__highlight-icon {
  background: var(--brand-red);
  color: #fff;
}

.about__highlight-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.about__highlight-desc {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.55;
}

/* ─────────────────────────────────────────
   15. Products Section
   ───────────────────────────────────────── */
.products {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark-section);
}

.products::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(51, 118, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 90%, rgba(255, 0, 0, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Product Card */
/* Product card image strip */
.product-card__img-wrap {
  position: relative;
  margin: -28px -24px 0;   /* bleed to card edges */
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease !important;
  filter: brightness(0.82) saturate(0.9);
}

.product-card:hover .product-card__img {
  transform: scale(1.07);
  filter: brightness(0.9) saturate(1.05);
}

/* Gradient from image into card body */
.product-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    var(--card-dark-bg) 100%
  );
  pointer-events: none;
}

.product-card {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--card-dark-bg);
  border: 1px solid var(--card-dark-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  /*
    NOTE: overflow:hidden intentionally removed.
    Setting overflow:hidden on a perspective container flattens the browser's
    3D rendering context, which breaks backface-visibility:hidden on the
    flip faces — causing BOTH faces to render at once.
    Clipping is handled by overflow:hidden on .product-card__front / __back.
  */
  cursor: default;
  transition: background var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base) !important;
}


.product-card:hover {
  background: var(--card-dark-bg-hover);
  border-color: var(--card-dark-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(51, 118, 255, 0.2), 0 20px 50px rgba(0,0,0,0.4);
}

.product-card__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-base) !important;
  pointer-events: none;
  border-radius: inherit;
}

.product-card:hover .product-card__glow { opacity: 1; }

.product-card__icon {
  width: 52px;
  height: 52px;
  /*
    margin-top adds dedicated breathing room between the bottom
    of the image strip and this icon. The card gap:12px controls
    other element spacings (name/desc/tag/btn) — only the
    img→icon distance was tight. Total: gap(12) + margin(16) = 28px.
  */
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(51, 118, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--brand-blue-light);
  transition: background var(--transition-base),
              color var(--transition-base),
              transform var(--transition-spring) !important;
}


.product-card:hover .product-card__icon {
  background: var(--brand-red);
  color: #fff;
  transform: scale(1.08) rotate(3deg);
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.product-card__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  flex: 1;
}

.product-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(51, 118, 255, 0.1);
  border: 1px solid rgba(51, 118, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--brand-blue-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: max-content;
  transition: all var(--transition-base) !important;
}

.product-card:hover .product-card__tag {
  background: rgba(255, 0, 0, 0.12);
  border-color: rgba(255, 0, 0, 0.25);
  color: #FF6666;
}

.product-card--featured {
  border-color: rgba(255, 0, 0, 0.2);
  background: linear-gradient(135deg,
    rgba(255, 0, 0, 0.06) 0%,
    rgba(6, 14, 26, 0) 50%,
    rgba(51, 118, 255, 0.04) 100%);
}

.product-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
}

.product-card--featured:hover {
  border-color: rgba(255, 0, 0, 0.35);
}

/* ─────────────────────────────────────────
   16. Why Choose Us
   ───────────────────────────────────────── */
.why-us {
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(51, 118, 255, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(51, 118, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base) !important;
}

.why-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.why-card__number {
  font-family: var(--font-num);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(51, 118, 255, 0.06);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 24px;
  letter-spacing: -0.04em;
  transition: color var(--transition-base) !important;
}

.why-card:hover .why-card__number { color: rgba(255, 0, 0, 0.05); }

.why-card__icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg);
  border-radius: var(--radius-sm);
  color: var(--icon-color);
  flex-shrink: 0;
  transition: background var(--transition-spring),
              color var(--transition-spring),
              transform var(--transition-spring) !important;
}

.why-card:hover .why-card__icon-wrap {
  background: var(--brand-red);
  color: #fff;
  transform: rotate(-5deg) scale(1.1);
}

.why-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.why-card__text {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
}

.why-card__accent-line {
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  border-radius: 3px;
  transition: width var(--transition-slow) !important;
  margin-top: auto;
}

.why-card:hover .why-card__accent-line { width: 60px; }

/* ─────────────────────────────────────────
   17. Global Reach
   ───────────────────────────────────────── */
.global-reach {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark-section-2);
}

.global-reach::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(51, 118, 255, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 100% 30%, rgba(51, 118, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.global-reach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.global-reach__desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 480px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 24px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(51, 118, 255, 0.12);
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-base),
              transform var(--transition-base),
              background var(--transition-base) !important;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  transform: scaleX(0);
  transition: transform var(--transition-base) !important;
}

.stat-card:hover {
  border-color: rgba(51, 118, 255, 0.25);
  transform: translateY(-4px);
  background: rgba(255,255,255,0.05);
}

.stat-card:hover::before { transform: scaleX(1); }

.stat-card__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.stat-counter {
  font-family: var(--font-num);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-card__plus {
  font-family: var(--font-num);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1;
}

.stat-card__label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.stat-card__sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

/* World Visualization */
.global-reach__visual { position: relative; }

.world-viz {
  position: relative;
  width: 100%;
  padding-bottom: 66%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(4, 10, 24, 0.92);
  border: 1px solid rgba(51, 118, 255, 0.18);
  box-shadow: 0 0 60px rgba(51, 118, 255, 0.06) inset;
}

.world-viz__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Animate route lines drawing in */
.map-route {
  stroke-dashoffset: 1000;
  stroke-dasharray: 1000;
  animation: draw-map-route 2.4s ease forwards;
}
.map-route--1 { animation-delay: 0.2s; }
.map-route--2 { animation-delay: 0.5s; }
.map-route--3 { animation-delay: 0.3s; }
.map-route--4 { animation-delay: 0.7s; }
.map-route--5 { animation-delay: 0.9s; }
.map-route--6 { animation-delay: 1.1s; }

@keyframes draw-map-route {
  to { stroke-dashoffset: 0; }
}

/* Landmass hover shimmer */
.map-land path {
  transition: fill 0.3s ease;
}
.map-land path:hover {
  fill: rgba(51, 118, 255, 0.22);
}



/* ─────────────────────────────────────────
   18. Contact Section
   ───────────────────────────────────────── */
.contact {
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(51, 118, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.contact__intro {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 540px;
}

/* Contact Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full { grid-column: span 2; }

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.form-required { color: var(--brand-red); }

.form-input {
  padding: 13px 16px;
  background: var(--form-bg);
  border: 1.5px solid var(--form-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--form-text);
  width: 100%;
  -webkit-appearance: none;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast) !important;
}

.form-input::placeholder { color: var(--form-placeholder); }

.form-input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(51, 118, 255, 0.12);
}

.form-input.input--error {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  justify-content: center;
}

.form-message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 12px;
}

.form-message[hidden] {
  display: none !important;
}

.form-message--success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #16a34a;
}

.form-message--error {
  background: rgba(255, 0, 0, 0.06);
  border: 1px solid rgba(255, 0, 0, 0.18);
  color: var(--brand-red);
}

/* Contact Info Panel */
.contact-info {
  padding: 40px 36px;
  background: var(--bg-dark-section);
  border-radius: var(--radius-xl);
  position: sticky;
  top: 100px;
}

.contact-info__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-info__logo {
  width: 60px; height: 60px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-info__company {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.contact-info__tagline {
  font-size: 0.76rem;
  color: var(--brand-blue-light);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info__item-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(51, 118, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--brand-blue-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info__item-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact-info__item-value {
  font-size: 0.93rem;
  color: #fff;
  font-weight: 500;
}

.contact-info__item-link {
  transition: color var(--transition-fast) !important;
}

.contact-info__item-link:hover { color: var(--brand-blue-light); }

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 28px;
  transition: background var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base) !important;
  width: 100%;
  justify-content: center;
}

.whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.business-hours {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.business-hours__title {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.business-hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.business-hours__row:last-child { border-bottom: none; }

/* ─────────────────────────────────────────
   19. Footer
   ───────────────────────────────────────── */
.site-footer {
  background: #030812;
  color: rgba(255,255,255,0.55);
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 100px) 0 0;
}

.footer__globe-bg {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(51, 118, 255, 0.07);
  pointer-events: none;
}

.footer__globe-bg::before {
  content: '';
  position: absolute;
  inset: 80px;
  border-radius: 50%;
  border: 1px solid rgba(51, 118, 255, 0.05);
}

.footer__container { position: relative; z-index: 1; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo-link {
  display: inline-flex;
  transition: opacity var(--transition-fast) !important;
}

.footer__logo-link:hover { opacity: 0.8; }

.footer__logo-img {
  width: 60px; height: 60px;
  object-fit: contain;
}

.footer__company-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.footer__company-sub {
  font-size: 0.76rem;
  color: var(--brand-blue-light);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.38);
  max-width: 280px;
  margin-top: 4px;
}

.footer__nav-title {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-fast),
              padding-left var(--transition-base) !important;
  display: inline-block;
}

.footer__nav-link:hover {
  color: var(--brand-blue-light);
  padding-left: 6px;
}

.footer__contact { display: flex; flex-direction: column; }

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.footer__contact-item svg { flex-shrink: 0; color: var(--brand-blue-light); margin-top: 2px; }

.footer__contact-link {
  color: inherit;
  transition: color var(--transition-fast) !important;
}

.footer__contact-link:hover { color: var(--brand-blue-light); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.footer__copyright { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer__reg { font-size: 0.76rem; color: rgba(255,255,255,0.18); }

/* ─────────────────────────────────────────
   20. Floating Elements
   ───────────────────────────────────────── */
.float-whatsapp {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: var(--z-overlay);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-spring),
              box-shadow var(--transition-base) !important;
  transform: scale(0);
  animation: wa-entrance 0.6s var(--transition-spring) forwards 2.5s;
}

@keyframes wa-entrance { to { transform: scale(1); } }

.float-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2.5s ease infinite;
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0; }
}

.float-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.float-whatsapp__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #0A1628;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast) !important;
  border: 1px solid rgba(255,255,255,0.1);
}

.float-whatsapp__tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -5px;
  transform: translateY(-50%) rotate(45deg);
  width: 9px; height: 9px;
  background: #0A1628;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.float-whatsapp:hover .float-whatsapp__tooltip { opacity: 1; }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 100px; right: 28px;
  width: 44px; height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  z-index: var(--z-overlay);
  transition: background var(--transition-spring),
              border-color var(--transition-base),
              transform var(--transition-spring),
              box-shadow var(--transition-base) !important;
  box-shadow: var(--shadow-sm);
}

.back-to-top:not([hidden]) {
  animation: fade-in-up 0.3s ease forwards;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.back-to-top:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
}

/* ─────────────────────────────────────────
   21. Scroll Reveal Animations
   ───────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 700ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up--delay-1 { transition-delay: 100ms !important; }
.reveal-up--delay-2 { transition-delay: 200ms !important; }
.reveal-up--delay-3 { transition-delay: 300ms !important; }
.reveal-up--delay-4 { transition-delay: 400ms !important; }

/* Hero items use CSS keyframe animations, not reveal-up */
.hero .reveal-up {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Stagger product cards */
.products__grid .product-card:nth-child(1)  { transition-delay: 0ms !important; }
.products__grid .product-card:nth-child(2)  { transition-delay: 60ms !important; }
.products__grid .product-card:nth-child(3)  { transition-delay: 120ms !important; }
.products__grid .product-card:nth-child(4)  { transition-delay: 180ms !important; }
.products__grid .product-card:nth-child(5)  { transition-delay: 60ms !important; }
.products__grid .product-card:nth-child(6)  { transition-delay: 120ms !important; }
.products__grid .product-card:nth-child(7)  { transition-delay: 180ms !important; }
.products__grid .product-card:nth-child(8)  { transition-delay: 240ms !important; }
.products__grid .product-card:nth-child(9)  { transition-delay: 60ms !important; }
.products__grid .product-card:nth-child(10) { transition-delay: 120ms !important; }
.products__grid .product-card:nth-child(11) { transition-delay: 180ms !important; }

.why-grid .why-card:nth-child(1) { transition-delay: 0ms !important; }
.why-grid .why-card:nth-child(2) { transition-delay: 80ms !important; }
.why-grid .why-card:nth-child(3) { transition-delay: 160ms !important; }
.why-grid .why-card:nth-child(4) { transition-delay: 240ms !important; }

/* Hide arrows on mobile – dots provide navigation on touch */
@media (max-width: 768px) {
  .hero__carousel-arrow { display: none; }
}

@media (max-width: 600px) {
  .hero__carousel-arrow {
    width: 36px;
    height: 36px;
  }
  .hero__carousel-arrow--prev { left: 10px; }
  .hero__carousel-arrow--next { right: 10px; }
}

@media (max-width: 400px) {
  .hero__carousel-arrow {
    width: 32px;
    height: 32px;
  }
  .hero__carousel-arrow svg { width: 14px; height: 14px; }
  .hero__carousel-arrow--prev { left: 6px; }
  .hero__carousel-arrow--next { right: 6px; }
}

.stats-grid .stat-card:nth-child(1) { transition-delay: 0ms !important; }
.stats-grid .stat-card:nth-child(2) { transition-delay: 100ms !important; }
.stats-grid .stat-card:nth-child(3) { transition-delay: 200ms !important; }

/* ─────────────────────────────────────────
   22. Reduced Motion
   ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .reveal-up { opacity: 1 !important; transform: none !important; }
  .route-path { stroke-dashoffset: 0 !important; }
  .route-node { opacity: 1 !important; }
  .about__logo-ring { animation: none !important; }
  .world-marker__pulse { animation: none !important; }
  .float-whatsapp { transform: scale(1) !important; animation: none !important; }

  .hero__eyebrow, .hero__headline, .hero__subheadline,
  .hero__actions, .hero__trust, .hero__scroll {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}

/* ─────────────────────────────────────────
   23. Responsive: Tablet (≤1024px)
   ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }

  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .about__grid { grid-template-columns: 1fr; text-align: center; }
  .about__visual { order: -1; }
  .about__highlights { max-width: 600px; margin: 0 auto; }
  .about__highlight { text-align: left; }

  .global-reach__grid { grid-template-columns: 1fr; gap: 56px; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: span 2; }
}

/* ─────────────────────────────────────────
   24. Responsive: Mobile (≤768px)
   ───────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --container-pad: 16px;
    --section-gap: clamp(48px, 7vw, 80px);
  }

  .hero { padding: 120px 0 60px; align-items: flex-start; }

  .hero__trust {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
  }
  .hero__trust-item {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 6px;
    white-space: normal;
  }
  .hero__trust-num {
    font-size: clamp(1.1rem, 5.5vw, 1.6rem);
  }
  .hero__trust-label {
    font-size: 0.5rem;
    letter-spacing: 0.04em;
    line-height: 1.3;
  }
  .hero__scroll { display: none; }

  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .why-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  /* Stats: keep 3 cols on mobile, shrink padding & font */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
  }
  .stat-card {
    padding: 16px 10px;
  }
  .stat-counter {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .stat-card__plus {
    font-size: clamp(1rem, 4vw, 1.5rem);
  }
  .stat-card__label {
    font-size: 0.72rem;
  }
  .stat-card__sub {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
  }

  .about__highlights { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: span 1; }

  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  .float-whatsapp { bottom: 20px; right: 20px; }
  .back-to-top { bottom: 88px; right: 20px; }

  .preloader__brand { top: 24px; left: 24px; }
  .preloader__loading-text { bottom: 24px; right: 24px; }
}

/* ─────────────────────────────────────────
   25. Responsive: Small Mobile (≤480px)
   ───────────────────────────────────────── */
@media (max-width: 480px) {
  .products__grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .navbar__logo-text { display: none; }

  /* On very small phones, stack stats 1-col if 3-col is too tight */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .stat-card {
    padding: 12px 6px;
  }
  .stat-counter {
    font-size: clamp(1.2rem, 7vw, 1.6rem);
  }
  .stat-card__plus {
    font-size: clamp(0.9rem, 5vw, 1.2rem);
  }
  .stat-card__label {
    font-size: 0.65rem;
  }
  .stat-card__sub {
    display: none; /* hide subtitle on tiny screens */
  }
}

/* ─────────────────────────────────────────
   26. Ultrawide 4K (≥1920px)
   ───────────────────────────────────────── */
@media (min-width: 1920px) {
  :root {
    --container-max: 1440px;
    --container-pad: 60px;
  }
  .products__grid { grid-template-columns: repeat(5, 1fr); }
}

/* ─────────────────────────────────────────
   27. Print
   ───────────────────────────────────────── */
@media print {
  .preloader, .float-whatsapp, .back-to-top,
  .hero__scroll, .scroll-progress, .site-header { display: none !important; }
  .hero { min-height: auto; padding: 40px 0; background: white; color: black; }
  .section--dark { background: white; color: black; }
}

/* ═══════════════════════════════════════════════════════════
   PRODUCTS MEGA MENU
   ─────────────────────────────────────────────────────────── */

/* Wrapper li — makes the mega menu position relative to it */
.navbar__has-mega {
  position: static;
}

/* The Products link with chevron */
.navbar__link--has-mega {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mega-chevron {
  transition: transform var(--transition-base) !important;
  flex-shrink: 0;
}

.navbar__has-mega:hover .mega-chevron,
.navbar__has-mega:focus-within .mega-chevron {
  transform: rotate(180deg);
}

/* The mega menu panel */
.mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  min-width: min(900px, 96vw);
  background: var(--nav-bg-scrolled);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--nav-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15), 0 2px 0 rgba(51,118,255,0.08);
  padding: 28px 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base),
    transform var(--transition-base) !important;
  transform: translateX(-50%) translateY(-6px);
  z-index: calc(var(--z-sticky) + 10);
}

/* Show on hover or keyboard focus-within */
.navbar__has-mega:hover .mega-menu,
.navbar__has-mega:focus-within .mega-menu,
.mega-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Grid of groups */
.mega-menu__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 20px;
}

/* Individual group */
.mega-menu__group {
  padding: 0;
}

.mega-menu__group + .mega-menu__group {
  border-left: 1px solid var(--border-color);
  padding-left: 20px;
}

.mega-menu__group-title {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  margin: 0 0 10px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.mega-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-menu__link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--nav-link-color);
  padding: 5px 6px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast) !important;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.35;
}

a.mega-menu__link:hover {
  color: var(--nav-link-hover);
  background: rgba(51, 118, 255, 0.07);
}

/* Non-linked items (Food-Service Products, Custom Sourcing) */
.mega-menu__link--nolink {
  color: var(--text-tertiary);
  cursor: default;
  font-style: italic;
}

/* ─── Tablet: collapse to 2-column + scrollable ─── */
@media (max-width: 1024px) {
  .mega-menu {
    min-width: min(680px, 94vw);
    padding: 20px 18px;
  }

  .mega-menu__inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── Hide desktop mega menu on mobile (uses mobile drawer instead) ─── */
@media (max-width: 768px) {
  .navbar__has-mega {
    /* The desktop mega menu is never shown on mobile */
    position: static;
  }

  .mega-menu {
    display: none !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   MOBILE MENU — PRODUCTS SUB-NAVIGATION
   ─────────────────────────────────────────────────────────── */

.mobile-menu__has-sub {
  display: flex;
  flex-direction: column;
}

.mobile-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__row .mobile-menu__link {
  flex: 1;
}

.mobile-menu__sub-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--nav-link-color);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast) !important;
}

.mobile-menu__sub-toggle:hover {
  background: rgba(51, 118, 255, 0.08);
  color: var(--brand-blue);
}

.mobile-menu__sub-toggle svg {
  transition: transform var(--transition-base) !important;
}

.mobile-menu__sub-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Sub-list (hidden by default, shown when expanded) */
.mobile-menu__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

/* When not hidden, animate in */
.mobile-menu__sub:not([hidden]) {
  animation: subSlideDown 250ms ease forwards;
}

@keyframes subSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu__sub-group-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  padding: 10px 8px 4px;
}

.mobile-menu__sub-link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--nav-link-color);
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast) !important;
  text-decoration: none;
}

a.mobile-menu__sub-link:hover {
  color: var(--brand-blue);
  background: rgba(51, 118, 255, 0.06);
}

.mobile-menu__sub-link--nolink {
  color: var(--text-tertiary);
  font-style: italic;
  cursor: default;
}


/* ═══════════════════════════════════════════════════════════
   PRODUCT CARD — 3D FLIP INTERACTION
   ─────────────────────────────────────────────────────────── */

/*
  The flip system uses 3 layers:
    article.product-card       — fixed dimensions, perspective container
    .product-card__flipper     — the rotating surface (transform-style: preserve-3d)
    .product-card__front /
    .product-card__back        — opposite faces, each fills the flipper

  When .is-flipped is on the article, the flipper rotates 180° on Y.
  Both faces always occupy the exact same footprint — no height change.
*/

/* Give the card a fixed height so flipping never changes the row height.
   500px gives a comfortable front layout and room for back content. */
.product-card {
  height: 500px;
  perspective: 1200px;
}

/* The rotating drum */
.product-card__flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Flip state: rotate the drum */
.product-card.is-flipped .product-card__flipper {
  transform: rotateY(180deg);
}

/* Both faces share the same stacking position and hide their opposite side */
.product-card__front,
.product-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: inherit;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── FRONT ──────────────────────────────────────────────── */
/*
  The front face is position:absolute so it does NOT inherit the card's
  padding:28px 24px 24px or gap:12px. These must be declared here explicitly.
  The img-wrap's margin:-28px -24px 0 is designed to counteract exactly
  these padding values, so they must match the card's original padding.
*/
.product-card__front {
  padding: 28px 24px 24px;
  gap: 12px;
}

/* View Details — blue-tinted identity (original color, subtle refinements).
   Red is reserved exclusively for the Scroll Wheel call-to-action. */
.product-card__flip-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 12px;
  padding: 9px 14px;
  background: rgba(51, 118, 255, 0.10);  /* slightly stronger than original 0.07 */
  border: 1px solid rgba(51, 118, 255, 0.28); /* clearer than original 0.18 */
  border-radius: var(--radius-sm);
  color: var(--brand-blue-light);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast) !important;
  text-align: left;
  flex-shrink: 0;
}

.product-card__flip-btn:hover {
  background: rgba(51, 118, 255, 0.18);
  border-color: rgba(51, 118, 255, 0.50);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(51, 118, 255, 0.18);
}


/* ── BACK ───────────────────────────────────────────────── */
/*
  Deep YNS navy background so the back face feels part of the same dark
  product section — not a disconnected white card.
  Uses a solid dark-blue anchored to brand values, not a random color.
*/
.product-card__back {
  transform: rotateY(180deg);
  background: #0D1E3D;          /* deep YNS navy — on-brand, readable */
  border: 1px solid rgba(51, 118, 255, 0.35);
  padding: 0;
  justify-content: flex-start;
}

/* Fixed header at top of back — slightly lighter so it reads as a header zone */
.product-card__back-header {
  flex-shrink: 0;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(51, 118, 255, 0.2);
  background: rgba(51, 118, 255, 0.08);
}

.product-card__back-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

/* Scrollable middle area */
.product-card__back-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(51, 118, 255, 0.4) rgba(255,255,255,0.04);
}

.product-card__back-scroll::-webkit-scrollbar {
  width: 4px;
}

.product-card__back-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 2px;
}

.product-card__back-scroll::-webkit-scrollbar-thumb {
  background: rgba(51, 118, 255, 0.45);
  border-radius: 2px;
}

/* Description paragraph on back — light text on dark navy */
.back-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 12px;
}

/* Sub-group headings */
.back-subgroup-title {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 12px 0 6px;
}

/* Submenu list on back */
.back-list {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.back-list li {
  font-family: var(--font-body);
  font-size: 0.79rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 12px;
  position: relative;
}

.back-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--brand-blue-light);
  font-weight: 700;
}

.back-list li strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

/* Compact list variant (no descriptions — 2-column grid) */
.back-list--compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 10px;
}

.back-list--compact li {
  font-size: 0.78rem;
}

/* Note paragraph */
.back-note {
  font-family: var(--font-body);
  font-size: 0.73rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.35);
  margin: 10px 0 0;
  font-style: italic;
  border-top: 1px solid rgba(51, 118, 255, 0.18);
  padding-top: 8px;
}

/* Fixed Back button at bottom of back face */
.product-card__back-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(51, 118, 255, 0.2);
  color: var(--brand-blue-light);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast) !important;
  text-align: left;
}

.product-card__back-btn:hover {
  background: rgba(51, 118, 255, 0.1);
  color: #fff;
}

/* Accessibility: communicate flipped state to screen readers */
.product-card.is-flipped .product-card__front {
  visibility: hidden; /* hidden from AT when face-down */
}

.product-card__back[aria-hidden="true"] {
  visibility: hidden; /* hidden from AT when face-down (JS removes this) */
}

/* ── Reduce motion: skip 3D rotation, just fade ─── */
@media (prefers-reduced-motion: reduce) {
  .product-card__flipper {
    transition: none;
  }

  .product-card__front,
  .product-card__back {
    transition: opacity 200ms linear;
  }

  .product-card__back {
    transform: none;
    opacity: 0;
    pointer-events: none;
  }

  .product-card.is-flipped .product-card__front {
    opacity: 0;
    pointer-events: none;
  }

  .product-card.is-flipped .product-card__back {
    opacity: 1;
    pointer-events: auto;
  }

  .product-card.is-flipped .product-card__flipper {
    transform: none;
  }
}

/* ─── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
  .product-card {
    height: 480px;
  }
}

@media (max-width: 640px) {
  .product-card {
    height: 460px;
  }

  .back-list--compact {
    grid-template-columns: 1fr;
  }

  /* Scroll indicator sits higher on small screens */
  .hero__scroll {
    bottom: 36px;
  }
}


