/* ==========================================================================
   IRONCLAD GLOBAL FREIGHT — MAIN STYLESHEET (v2)
   Layout system: Flexbox throughout (no CSS Grid)
   Design: Steel Navy / Forged Amber / Ocean Teal
   Type: Space Grotesk (display) + Inter (body) + JetBrains Mono (utility)
   ========================================================================== */

/* ---------------------------------------------------------------------- 
   1. DESIGN TOKENS
   ---------------------------------------------------------------------- */
:root {
  --paper: #F6F3EC;
  --paper-alt: #EEE8D9;
  --paper-line: #E2DACB;
  --card: #FFFFFF;

  --navy-950: #0A1A24;
  --navy-900: #0E2233;
  --navy-700: #1B3A4E;
  --navy-500: #3C5468;
  --navy-300: #7A8FA0;

  --amber: #DD8A2E;
  --amber-deep: #B96C1B;
  --amber-pale: #F6D9AC;
  --teal: #0E7C8C;
  --teal-deep: #0A5F6C;
  --teal-pale: #BFE3E6;

  --success: #3F8F5F;

  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --fs-display: clamp(2.4rem, 4vw + 1rem, 5rem);
  --fs-h1: clamp(2.1rem, 2.8vw + 1rem, 3.4rem);
  --fs-h2: clamp(1.75rem, 2.1vw + 1rem, 2.6rem);
  --fs-h3: clamp(1.25rem, 1vw + 1rem, 1.6rem);
  --fs-lead: clamp(1.02rem, 0.5vw + 0.9rem, 1.2rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;
  --sp-9: 6rem;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(10, 26, 36, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 26, 36, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 26, 36, 0.16);
  --shadow-amber: 0 12px 28px rgba(221, 138, 46, 0.28);

  --container: 1240px;
  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--navy-500);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    /* animation-duration: 0.001ms !important; */
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
    scroll-behavior: auto !important;
  }
}

img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { color: var(--navy-500); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

section { position: relative; width: 100%; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------- 
   3. FLEX UTILITIES (used across every layout in this file)
   ---------------------------------------------------------------------- */
.flex-row {
  display: flex;
  flex-wrap: wrap;
}
.flex-col {
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------------------------- 
   4. TYPOGRAPHY UTILITIES
   ---------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--sp-8);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: var(--fs-lead); margin-top: var(--sp-4); }

.text-lead { font-size: var(--fs-lead); color: var(--navy-500); }
.mono-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------- 
   5. BUTTONS
   ---------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 1rem 1.9rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--amber);
  color: var(--navy-950);
  box-shadow: var(--shadow-amber);
}
.btn-primary:hover {
  background: var(--amber-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(221, 138, 46, 0.34);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid rgba(14, 34, 51, 0.28);
}
.btn-ghost:hover {
  border-color: var(--navy-900);
  transform: translateY(-2px);
  background: rgba(14, 34, 51, 0.05);
}
.btn-on-dark {
  color: var(--paper);
  border: 1.5px solid rgba(246, 243, 236, 0.35);
}
.btn-on-dark:hover {
  border-color: var(--paper);
  background: rgba(246, 243, 236, 0.08);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.7rem 1.3rem; font-size: 0.85rem; }
.btn-icon { width: 1.1em; height: 1.1em; transition: transform 0.35s var(--ease); flex-shrink: 0; }
.btn:hover .btn-icon { transform: translateX(3px); }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: ripple-anim 0.6s var(--ease);
  pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(2.6); opacity: 0; } }

/* ---------------------------------------------------------------------- 
   6. HEADER / NAVIGATION
   ---------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  --on-hero: #F6F3EC;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: nowrap;
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(14, 34, 51, 0.08);
  --on-hero: var(--navy-900);
}
.site-header:not(.hero-mode) { --on-hero: var(--navy-900); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--on-hero);
  letter-spacing: -0.01em;
  transition: color 0.4s var(--ease);
  flex-shrink: 0;
}
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--amber);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  flex-wrap: nowrap;
}
.nav-links a {
  position: relative;
  color: var(--on-hero);
  padding-block: 6px;
  transition: color 0.4s var(--ease);
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--amber);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: var(--sp-4); flex-shrink: 0; }

/* compound nav CTA: phone number + "Get a Quote" in one pill */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.3rem;
}
.nav-cta .nav-cta-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(10, 26, 36, 0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-cta .nav-cta-icon svg { width: 16px; height: 16px; }
.nav-cta-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.nav-cta-text small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}
.nav-cta-text strong { font-size: 0.92rem; font-weight: 700; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px; height: 20px;
  z-index: 700;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--on-hero, var(--navy-900));
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.4s var(--ease);
}
.site-header:not(.is-scrolled).hero-mode .hamburger span { background: var(--paper); }
.hamburger.is-open span { background: var(--paper) !important; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--navy-950);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-8) var(--sp-6);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.55s var(--ease), opacity 0.4s var(--ease), visibility 0.55s;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--paper);
  font-weight: 600;
  padding: 0.5rem 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-nav.is-open a { opacity: 1; transform: translateY(0); }
.mobile-nav a:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav a:nth-child(2) { transition-delay: 0.13s; }
.mobile-nav a:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav a:nth-child(4) { transition-delay: 0.23s; }
.mobile-nav a:nth-child(5) { transition-delay: 0.28s; }
.mobile-nav a:nth-child(6) { transition-delay: 0.33s; }
.mobile-nav a:nth-child(7) { transition-delay: 0.38s; }
.mobile-nav-foot {
  margin-top: var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  color: var(--navy-300);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.4s;
}
.mobile-nav.is-open .mobile-nav-foot { opacity: 1; }
.mobile-nav-foot a { display: flex; align-items: center; gap: 8px; color: var(--navy-300); font-size: 0.85rem; padding: 0; }
.mobile-nav-foot svg { width: 15px; height: 15px; color: var(--amber); }

/* ---------------------------------------------------------------------- 
   7. HERO
   ---------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--navy-950);
  padding-top: var(--nav-h);
}

.hero-slides { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(9,20,28,0.94) 0%, rgba(9,20,28,0.6) 45%, rgba(9,20,28,0.4) 70%, rgba(9,20,28,0.68) 100%),
    linear-gradient(90deg, rgba(9,20,28,0.5) 0%, rgba(9,20,28,0.05) 50%);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-block: var(--sp-8) var(--sp-8);
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  align-items: center;
}
.hero-text { flex: 1 1 480px; min-width: 0; }
.hero-video-col { flex: 0 1 380px; min-width: 280px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-pale);
  margin-bottom: var(--sp-5);
  flex-wrap: wrap;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(221,138,46,0.25);
  animation: pulse-dot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(221,138,46,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(221,138,46,0.06); }
}

.hero-content h1 {
  color: var(--paper);
  font-size: var(--fs-display);
  max-width: 15ch;
}
.hero-content .text-lead {
  color: rgba(246,243,236,0.85);
  max-width: 46ch;
  margin-top: var(--sp-5);
}
.hero-ctas {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
  flex-wrap: wrap;
}

/* hero video card (replaces old manifest ticker) */
.hero-video-card {
  background: rgba(15, 30, 41, 0.5);
  border: 1px solid rgba(246,243,236,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  position: relative;
}
.hero-video-card::before, .hero-video-card::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--amber);
  border-style: solid;
  z-index: 2;
}
.hero-video-card::before { top: 7px; left: 7px; border-width: 2px 0 0 2px; }
.hero-video-card::after { bottom: 7px; right: 7px; border-width: 0 2px 2px 0; }

.hero-video-frame {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
}
.hero-video-frame video, .hero-video-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-toggle {
  position: absolute;
  right: var(--sp-3); bottom: var(--sp-3);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(9,20,28,0.65);
  border: 1px solid rgba(246,243,236,0.3);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.video-toggle:hover { background: var(--amber); color: var(--navy-950); transform: scale(1.06); }
.video-toggle svg { width: 15px; height: 15px; }
.video-toggle .icon-play { display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause { display: none; }

.hero-video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) var(--sp-2) var(--sp-1);
  font-family: var(--font-mono);
  color: var(--teal-pale);
}
.hero-video-meta strong { display: block; color: var(--paper); font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; margin-top: 2px; }

.hero-scroll {
  position: absolute;
  left: var(--sp-6);
  bottom: var(--sp-5);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(246,243,236,0.75);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-scroll .line {
  width: 34px; height: 1px;
  background: var(--amber);
  position: relative;
  overflow: hidden;
}

.hero-dots {
  position: absolute;
  right: var(--sp-6);
  bottom: var(--sp-5);
  z-index: 6;
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 26px; height: 3px;
  background: rgba(246,243,236,0.35);
  border-radius: 2px;
  transition: background 0.4s var(--ease), width 0.4s var(--ease);
}
.hero-dots button.is-active { background: var(--amber); width: 42px; }

/* ---------------------------------------------------------------------- 
   8. SECTION SPACING / REVEAL
   ---------------------------------------------------------------------- */
.section { padding-block: var(--sp-9); overflow: hidden; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--navy-950); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark p { color: rgba(246,243,236,0.7); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.08s; }
.reveal-delay-2.in-view { transition-delay: 0.16s; }
.reveal-delay-3.in-view { transition-delay: 0.24s; }
.reveal-delay-4.in-view { transition-delay: 0.32s; }
.reveal-delay-5.in-view { transition-delay: 0.4s; }
.reveal-delay-6.in-view { transition-delay: 0.48s; }

/* ---------------------------------------------------------------------- 
   9. ABOUT (flex)
   ---------------------------------------------------------------------- */
.about-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  align-items: center;
}
.about-copy { flex: 1 1 420px; min-width: 0; }
.about-copy h2 { margin-bottom: var(--sp-5); max-width: 14ch; }
.about-copy p + p { margin-top: var(--sp-4); }

.about-points { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); }
.about-point {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--paper-line);
}
.about-point:first-child { border-top: none; padding-top: 0; }
.about-point .num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--amber-deep); padding-top: 3px; flex-shrink: 0; }
.about-point strong { display: block; font-family: var(--font-display); color: var(--navy-900); font-size: 1.02rem; margin-bottom: 2px; }
.about-point span { font-size: 0.92rem; color: var(--navy-500); }

.about-visual { flex: 1 1 380px; min-width: 280px; position: relative; }
.about-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-frame:hover img { transform: scale(1.06); }
.about-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,26,36,0.7) 100%);
}

.stat-float {
  position: relative;
  margin-top: -60px;
  margin-left: var(--sp-5);
  margin-right: var(--sp-5);
  z-index: 4;
  background: var(--card);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}
.stat-float .stat-item strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--navy-900); line-height: 1; }
.stat-float .stat-item span {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal-deep); display: block; margin-top: 6px;
}

/* ---------------------------------------------------------------------- 
   10. SERVICES (flex-wrap, uniform cards)
   ---------------------------------------------------------------------- */
.services-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.services-head-row .section-head { margin-bottom: 0; }

.services-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}
.service-card {
  position: relative;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14,34,51,0.06);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  flex: 1 1 320px;
  min-width: 0;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(221,138,46,0.35); }

.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--sp-5); gap: var(--sp-3); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(14,124,140,0.12), rgba(221,138,46,0.12));
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-deep);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
  flex-shrink: 0;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.08); background: linear-gradient(150deg, rgba(221,138,46,0.18), rgba(14,124,140,0.18)); }
.service-code {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--navy-300);
  border: 1px solid var(--paper-line); border-radius: var(--r-pill); padding: 5px 12px; white-space: nowrap; flex-shrink: 0;
}

.service-card h3 { margin-bottom: var(--sp-3); }
.service-card p { font-size: 0.94rem; margin-bottom: var(--sp-4); flex-grow: 1; }

.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.service-tags span { font-size: 0.78rem; font-weight: 500; color: var(--navy-700); background: var(--paper-alt); border-radius: var(--r-pill); padding: 5px 12px; }

/* ---------------------------------------------------------------------- 
   11. INDUSTRIES — redesigned, professional cards (flex-wrap)
   ---------------------------------------------------------------------- */
.industries-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}
.industry-card {
  flex: 1 1 200px;
  min-width: 180px;
  background: var(--card);
  border: 1px solid rgba(14,34,51,0.07);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.industry-card:hover::before { transform: scaleX(1); }

.industry-icon-badge {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-pale);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
  flex-shrink: 0;
}
.industry-card:hover .industry-icon-badge {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(150deg, var(--amber), var(--teal-deep));
  color: var(--navy-950);
}
.industry-icon-badge svg { width: 26px; height: 26px; }

.industry-card .idx {
  position: absolute;
  top: var(--sp-5); right: var(--sp-5);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--navy-300);
}
.industry-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-900);
}
.industry-card p { font-size: 0.86rem; color: var(--navy-500); margin: 0; }

/* ---------------------------------------------------------------------- 
   12. PARTNER MARQUEE — continuous scroll
   ---------------------------------------------------------------------- */
.marquee-wrap {
  margin-top: var(--sp-8);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  padding-block: var(--sp-6);
  overflow: hidden;
  position: relative;
}
.marquee-wrap::before, .marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }

.marquee-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-300);
  margin-bottom: var(--sp-5);
}
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: marquee-scroll 120s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-inline: var(--sp-7);
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy-300);
  flex-shrink: 0;
}
.marquee-item svg { width: 20px; height: 20px; color: var(--amber); flex-shrink: 0; opacity: 0.7; }
.marquee-item .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--paper-line); margin-left: var(--sp-7); }

/* ---------------------------------------------------------------------- 
   13. WHY CHOOSE US — unified responsive accordion (flex)
   ---------------------------------------------------------------------- */
.why-accordion { display: flex; flex-direction: column; border-top: 1px solid rgba(246,243,236,0.14); }
.why-acc-item { border-bottom: 1px solid rgba(246,243,236,0.14); }
.why-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-2);
  text-align: left;
  color: rgba(246,243,236,0.7);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.why-acc-trigger:hover { color: var(--paper); }
.why-acc-item.is-open .why-acc-trigger { color: var(--paper); padding-left: var(--sp-4); }
.why-acc-trigger .why-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(246,243,236,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-pale);
  flex-shrink: 0;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.why-acc-trigger .why-icon svg { width: 21px; height: 21px; }
.why-acc-item.is-open .why-icon { background: linear-gradient(150deg, var(--amber), var(--teal-deep)); color: var(--navy-950); }
.why-acc-trigger .why-num { font-family: var(--font-mono); font-size: 0.74rem; color: var(--navy-300); flex-shrink: 0; }
.why-acc-trigger .why-label { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; flex-grow: 1; }
.why-acc-trigger .chev { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.35s var(--ease); color: var(--navy-300); }
.why-acc-item.is-open .chev { transform: rotate(180deg); color: var(--amber); }

.why-acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.why-acc-item.is-open .why-acc-panel { max-height: 400px; }
.why-acc-inner {
   padding: 0 var(--sp-2) var(--sp-6) calc(44px + var(--sp-4) + var(--sp-2)); display: flex; flex-wrap: wrap; gap: var(--sp-6); 
  }
.why-acc-inner p { color: rgba(246,243,236,0.72); font-size: 0.94rem; flex: 1 1 260px; margin: 0; }
.why-acc-inner .why-adv { flex: 1 1 260px; display: flex; flex-direction: column; gap: var(--sp-3); margin: 0; }
.why-acc-inner .why-adv li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: rgba(246,243,236,0.85); }
.why-acc-inner .why-adv svg { width: 16px; height: 16px; color: var(--teal-pale); flex-shrink: 0; margin-top: 2px; }

/* ---------------------------------------------------------------------- 
   14. GLOBAL NETWORK — sample image + region list (flex)
   ---------------------------------------------------------------------- */
.network-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  align-items: center;
}
.network-visual { flex: 1 1 420px; min-width: 280px; }
.network-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.network-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.network-frame:hover img { transform: scale(1.05); }
.network-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,26,36,0.55) 0%, transparent 45%); }
.network-frame-caption {
  position: absolute; left: var(--sp-5); bottom: var(--sp-5); right: var(--sp-5);
  color: var(--paper);
  display: flex; justify-content: space-between; align-items: flex-end;
}
.network-frame-caption strong { font-family: var(--font-display); font-size: 1.1rem; display: block; }
.network-frame-caption .mono-tag { color: var(--amber-pale); }

.network-copy { flex: 1 1 380px; min-width: 280px; }
.network-copy h2 { margin-bottom: var(--sp-4); max-width: 16ch; }
.network-list { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.network-list li {
  flex: 1 1 45%;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--navy-900);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--paper-line);
}
.network-list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ---------------------------------------------------------------------- 
   15. PROJECT GALLERY (flex, uniform cards)
   ---------------------------------------------------------------------- */
.gallery-row { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  flex: 1 1 320px;
  aspect-ratio: 4 / 3.1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--sp-5);
  background: linear-gradient(0deg, rgba(9,20,28,0.85) 0%, transparent 55%);
  color: var(--paper);
}
.gallery-caption .mono-tag { color: var(--amber-pale); margin-bottom: 6px; }
.gallery-caption strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.gallery-zoom {
  position: absolute; top: var(--sp-4); right: var(--sp-4);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(246,243,236,0.16);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-zoom { opacity: 1; transform: scale(1); }
.gallery-zoom svg { width: 17px; height: 17px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(9,15,20,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-6);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-inner { max-width: 1100px; width: 100%; }
.lightbox-inner img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--r-md); }
.lightbox-caption { color: var(--paper); margin-top: var(--sp-4); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.8rem; color: rgba(246,243,236,0.7); }
.lightbox-close {
  position: absolute; top: var(--sp-6); right: var(--sp-6);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(246,243,236,0.3); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(246,243,236,0.12); transform: rotate(90deg); }
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(246,243,236,0.3); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease);
}
.lightbox-nav:hover { background: rgba(246,243,236,0.12); }
.lightbox-nav.prev { left: var(--sp-6); }
.lightbox-nav.next { right: var(--sp-6); }
.lightbox-nav svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------------- 
   16. CTA (no form — contact-focused, flex column, centered)
   ---------------------------------------------------------------------- */
.cta-section { background: var(--navy-950); color: var(--paper); position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; top: -20%; right: -8%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(221,138,46,0.16), transparent 65%);
  pointer-events: none;
}
.cta-section::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(14,124,140,0.16), transparent 65%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.cta-inner .eyebrow { justify-content: center; color: var(--amber-pale); }
.cta-inner .eyebrow::before { background: var(--teal); }
.cta-inner h2 { color: var(--paper); max-width: 16ch; margin-bottom: var(--sp-5); }
.cta-inner p { max-width: 46ch; margin-bottom: var(--sp-7); }

.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center; margin-bottom: var(--sp-8); }

.cta-contacts { display: flex; flex-wrap: wrap; gap: var(--sp-6); justify-content: center; }
.cta-contacts a, .cta-contacts div {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-mono); font-size: 0.9rem; color: rgba(246,243,236,0.85);
}
.cta-contacts svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }

/* ---------------------------------------------------------------------- 
   17. FOOTER (flex)
   ---------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(246,243,236,0.65); padding-top: var(--sp-8); border-top: 1px solid rgba(246,243,236,0.08); }
.footer-row { display: flex; flex-wrap: wrap; gap: var(--sp-7); padding-bottom: var(--sp-8); }
.footer-brand { flex: 2 1 260px; min-width: 220px; }
.footer-brand .brand { color: var(--paper); margin-bottom: var(--sp-4); }
.footer-brand p { max-width: 32ch; font-size: 0.92rem; }
.footer-social { display: flex; gap: 10px; margin-top: var(--sp-5); }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(246,243,236,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-social a:hover { background: var(--amber); border-color: var(--amber); transform: translateY(-3px); color: var(--navy-950); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col { flex: 1 1 160px; min-width: 150px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-pale); margin-bottom: var(--sp-5); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a, .footer-col li { font-size: 0.92rem; color: rgba(246,243,236,0.65); transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.footer-col a:hover { color: var(--paper); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--amber); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(246,243,236,0.08);
  padding-block: var(--sp-5);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; gap: var(--sp-4); flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: var(--sp-5); flex-wrap: wrap; }

/* ---------------------------------------------------------------------- 
   18. BACK TO TOP
   ---------------------------------------------------------------------- */
.to-top {
  position: fixed; bottom: var(--sp-6); right: var(--sp-6); z-index: 400;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy-900); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s, background 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--amber); color: var(--navy-950); }
.to-top svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------------- 
   19. COUNTERS
   ---------------------------------------------------------------------- */
[data-counter] { font-variant-numeric: tabular-nums; }
